-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correct manual documentation and playbook example
- Loading branch information
Showing
3 changed files
with
183 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"type": "playbook", | ||
"spec_version": "cacao-2.0", | ||
"id": "playbook--fe65ef7b-e8b1-4ed9-ba60-3c380ae5ab28", | ||
"name": "Example manual", | ||
"description": "This playbook is to demonstrate the manual command definition", | ||
"playbook_types": [ | ||
"notification" | ||
], | ||
"created_by": "identity--ac3c0258-7a81-46e7-a2ae-d34b6d06cc54", | ||
"created": "2025-01-21T14:14:23.263Z", | ||
"modified": "2025-01-21T14:14:23.263Z", | ||
"revoked": false, | ||
"valid_from": "2023-11-20T15:56:00.123Z", | ||
"valid_until": "2123-11-20T15:56:00.123Z", | ||
"priority": 1, | ||
"severity": 1, | ||
"impact": 1, | ||
"labels": [ | ||
"soarca", | ||
"manual" | ||
], | ||
"external_references": [ | ||
{ | ||
"description": "TNO COSSAS" | ||
} | ||
], | ||
"workflow_start": "start--9e7d62b2-88ac-4656-94e1-dbd4413ba008", | ||
"workflow_exception": "end--a6f0b81e-affb-4bca-b4f6-a2d5af908958", | ||
"workflow": { | ||
"start--9e7d62b2-88ac-4656-94e1-dbd4413ba008": { | ||
"name": "Start example flow for manual command", | ||
"on_completion": "action--eb9372d4-d524-49fc-bf24-be26ea084779", | ||
"type": "start" | ||
}, | ||
"action--eb9372d4-d524-49fc-bf24-be26ea084779": { | ||
"name": "manual", | ||
"description": "Instruction to the operator to be executed manually", | ||
"step_variables": { | ||
"__hyperspeed_ready__": { | ||
"type": "string", | ||
"description": "set value to true or false when the request is completed", | ||
"constant": false, | ||
"external": false | ||
} | ||
}, | ||
"on_completion": "end--a6f0b81e-affb-4bca-b4f6-a2d5af908958", | ||
"type": "action", | ||
"commands": [ | ||
{ | ||
"type": "manual", | ||
"command": "prepare Falcon for hyperspeed jump" | ||
} | ||
], | ||
"agent": "soarca-manual-capability--7b0e98db-fa93-42aa-8511-e871c65131b1", | ||
"targets": [ | ||
"individual--9d1f6217-34d5-435c-b29a-6a1af6b664d9" | ||
], | ||
"out_args": [ | ||
"__hyperspeed_ready__" | ||
] | ||
}, | ||
"end--a6f0b81e-affb-4bca-b4f6-a2d5af908958": { | ||
"name": "End Flow", | ||
"type": "end" | ||
} | ||
}, | ||
"agent_definitions": { | ||
"soarca--00040001-1000-1000-a000-000100010001": { | ||
"type": "soarca", | ||
"name": "soarca-manual-capability" | ||
}, | ||
"soarca-manual-capability--7b0e98db-fa93-42aa-8511-e871c65131b1": { | ||
"type": "soarca-manual-capability", | ||
"name": "soarca-manual-capability", | ||
"description": "SOARCA's manual command handler" | ||
} | ||
}, | ||
"target_definitions": { | ||
"individual--9d1f6217-34d5-435c-b29a-6a1af6b664d9": { | ||
"type": "individual", | ||
"name": "Luke Skywalker", | ||
"description": "Darth Vader's son", | ||
"location": { | ||
"name": "Somewhere in a galaxy far far away" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters