|
| 1 | +{ |
| 2 | + "type": "playbook", |
| 3 | + "spec_version": "cacao-2.0", |
| 4 | + "id": "playbook--4e286394-ff8f-487f-84dd-f7ccf1fa59de", |
| 5 | + "name": "Block AD user", |
| 6 | + "description": "Blocks AD user by providing the AD user name", |
| 7 | + "created_by": "identity--aaacfc1a-fa46-4c1c-85dd-2a0823ce3943", |
| 8 | + "created": "2024-09-04T08:19:39.424Z", |
| 9 | + "modified": "2024-09-04T08:22:25.712Z", |
| 10 | + "revoked": false, |
| 11 | + "playbook_variables": { |
| 12 | + "__user__": { |
| 13 | + "type": "string", |
| 14 | + "constant": false, |
| 15 | + "external": true |
| 16 | + } |
| 17 | + }, |
| 18 | + "workflow_start": "start--4270ba65-31c3-4041-9fa0-17241122bb9f", |
| 19 | + "workflow": { |
| 20 | + "start--4270ba65-31c3-4041-9fa0-17241122bb9f": { |
| 21 | + "on_completion": "action--0a6fbf98-4e75-45fd-9948-8c62908521db", |
| 22 | + "type": "start" |
| 23 | + }, |
| 24 | + "action--0a6fbf98-4e75-45fd-9948-8c62908521db": { |
| 25 | + "name": "Disable account", |
| 26 | + "description": "Disable windows account in AD", |
| 27 | + "on_completion": "end--bfbcfc10-1926-4409-8ea2-bfd1814365b3", |
| 28 | + "type": "action", |
| 29 | + "commands": [ |
| 30 | + { |
| 31 | + "type": "powershell", |
| 32 | + "description": "Block user given to the playbook", |
| 33 | + "command": "Disable-ADAccount -Identity __user__:value" |
| 34 | + } |
| 35 | + ], |
| 36 | + "agent": "soarca--49cde8bd-cc50-4d1a-b60c-8d49a785f4b9", |
| 37 | + "targets": ["net-address--78a788f6-c2b8-4c46-9648-c2cb933c63b2"] |
| 38 | + }, |
| 39 | + "end--bfbcfc10-1926-4409-8ea2-bfd1814365b3": { |
| 40 | + "type": "end" |
| 41 | + } |
| 42 | + }, |
| 43 | + "authentication_info_definitions": { |
| 44 | + "authentication-info--9a2d2fd6-aa6d-4d2e-ad2a-f6f84d544dbc": { |
| 45 | + "type": "user-auth", |
| 46 | + "name": "Domain admin", |
| 47 | + "username": "admin.project", |
| 48 | + "password": "censored", |
| 49 | + "kms": false |
| 50 | + } |
| 51 | + }, |
| 52 | + "agent_definitions": { |
| 53 | + "soarca--49cde8bd-cc50-4d1a-b60c-8d49a785f4b9": { |
| 54 | + "type": "soarca", |
| 55 | + "name": "soarca-powershell" |
| 56 | + } |
| 57 | + }, |
| 58 | + "target_definitions": { |
| 59 | + "net-address--78a788f6-c2b8-4c46-9648-c2cb933c63b2": { |
| 60 | + "type": "net-address", |
| 61 | + "name": "Windows AD DS server", |
| 62 | + "address": { |
| 63 | + "ipv4": ["192.168.1.121"] |
| 64 | + }, |
| 65 | + "port": "5985", |
| 66 | + "authentication_info": "authentication-info--9a2d2fd6-aa6d-4d2e-ad2a-f6f84d544dbc" |
| 67 | + } |
| 68 | + } |
| 69 | +} |
0 commit comments