| 1 |
--- |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
create_response_plan: |
| 6 |
before: null |
| 7 |
after: |
| 8 |
name: "Ansible Test Response Plan" |
| 9 |
description: "Test response plan created by Ansible integration test" |
| 10 |
template_status: "published" |
| 11 |
phases: |
| 12 |
- name: "Investigation Phase" |
| 13 |
tasks: |
| 14 |
- name: "Initial Triage" |
| 15 |
description: "Perform initial assessment of the incident" |
| 16 |
is_note_required: true |
| 17 |
owner: "admin" |
| 18 |
searches: |
| 19 |
- name: "Access Over Time" |
| 20 |
description: "Check access patterns" |
| 21 |
spl: "| tstats count from datamodel=Authentication by _time span=10m" |
| 22 |
- name: "Containment Phase" |
| 23 |
tasks: |
| 24 |
- name: "Isolate Systems" |
| 25 |
description: "Isolate affected systems from network" |
| 26 |
is_note_required: false |
| 27 |
owner: "unassigned" |
| 28 |
searches: [] |
| 29 |
|
| 30 |
|
| 31 |
update_response_plan: |
| 32 |
before: |
| 33 |
name: "Ansible Test Response Plan" |
| 34 |
description: "Test response plan created by Ansible integration test" |
| 35 |
template_status: "published" |
| 36 |
after: |
| 37 |
name: "Ansible Test Response Plan" |
| 38 |
description: "Updated test response plan by Ansible integration test" |
| 39 |
template_status: "published" |
| 40 |
phases: |
| 41 |
- name: "Investigation Phase" |
| 42 |
tasks: |
| 43 |
- name: "Initial Triage" |
| 44 |
description: "Updated: Perform thorough initial assessment" |
| 45 |
is_note_required: true |
| 46 |
owner: "admin" |
| 47 |
searches: |
| 48 |
- name: "Access Over Time" |
| 49 |
description: "Check access patterns" |
| 50 |
spl: "| tstats count from datamodel=Authentication by _time span=10m" |
| 51 |
- name: "New Analysis Task" |
| 52 |
description: "Additional analysis task" |
| 53 |
is_note_required: false |
| 54 |
owner: "unassigned" |
| 55 |
searches: [] |
| 56 |
- name: "Containment Phase" |
| 57 |
tasks: |
| 58 |
- name: "Isolate Systems" |
| 59 |
description: "Isolate affected systems from network" |
| 60 |
is_note_required: false |
| 61 |
owner: "unassigned" |
| 62 |
searches: [] |
| 63 |
|
| 64 |
|
| 65 |
create_complex_response_plan: |
| 66 |
before: null |
| 67 |
after: |
| 68 |
name: "Ansible Complex Response Plan" |
| 69 |
description: "Complex response plan with multiple phases and searches" |
| 70 |
template_status: "published" |
| 71 |
phases: |
| 72 |
- name: "Phase 1 - Detection" |
| 73 |
tasks: |
| 74 |
- name: "Run Detection Searches" |
| 75 |
description: "Execute detection searches" |
| 76 |
is_note_required: true |
| 77 |
owner: "admin" |
| 78 |
searches: |
| 79 |
- name: "Failed Logins" |
| 80 |
description: "Check for failed login attempts" |
| 81 |
spl: "index=security action=failure | stats count by user" |
| 82 |
- name: "Anomalous Activity" |
| 83 |
description: "Detect anomalous user behavior" |
| 84 |
spl: "| tstats count from datamodel=Authentication where Authentication.action=failure" |
| 85 |
- name: "Phase 2 - Analysis" |
| 86 |
tasks: |
| 87 |
- name: "Analyze Logs" |
| 88 |
description: "Analyze collected logs" |
| 89 |
is_note_required: true |
| 90 |
owner: "admin" |
| 91 |
searches: [] |
| 92 |
- name: "Review Artifacts" |
| 93 |
description: "Review collected artifacts" |
| 94 |
is_note_required: false |
| 95 |
owner: "unassigned" |
| 96 |
searches: [] |
| 97 |
- name: "Phase 3 - Remediation" |
| 98 |
tasks: |
| 99 |
- name: "Apply Fixes" |
| 100 |
description: "Apply necessary fixes" |
| 101 |
is_note_required: true |
| 102 |
owner: "admin" |
| 103 |
searches: [] |
| 104 |
|
| 105 |
|
| 106 |
create_draft_response_plan: |
| 107 |
before: null |
| 108 |
after: |
| 109 |
name: "Ansible Draft Response Plan" |
| 110 |
description: "Work in progress response plan" |
| 111 |
template_status: "draft" |
| 112 |
phases: |
| 113 |
- name: "Draft Phase" |
| 114 |
tasks: |
| 115 |
- name: "Draft Task" |
| 116 |
description: "Placeholder task" |
| 117 |
is_note_required: false |
| 118 |
owner: "unassigned" |
| 119 |
searches: [] |