| 1 |
.. _splunk.es.splunk_response_plan_module: |
| 2 |
|
| 3 |
|
| 4 |
****************************** |
| 5 |
splunk.es.splunk_response_plan |
| 6 |
****************************** |
| 7 |
|
| 8 |
**Manage Splunk Enterprise Security response plans** |
| 9 |
|
| 10 |
|
| 11 |
Version added: 5.1.0 |
| 12 |
|
| 13 |
.. contents:: |
| 14 |
:local: |
| 15 |
:depth: 1 |
| 16 |
|
| 17 |
|
| 18 |
Synopsis |
| 19 |
-------- |
| 20 |
- This module allows for creation, update, and deletion of Splunk Enterprise Security response plans (response templates). |
| 21 |
- Response plan names are unique in Splunk ES, so ``name`` is used as the identifier. |
| 22 |
- When ``state=present``, the module creates or updates the response plan. |
| 23 |
- When ``state=absent``, the module deletes the response plan. |
| 24 |
- Phases and tasks are matched by name for updates - existing IDs are preserved for items with matching names, and new IDs are generated for new items. |
| 25 |
- **IMPORTANT - Declarative Approach:** This module uses a declarative approach where the playbook defines the complete desired state. Whatever you define is exactly what will exist after the module runs. Any existing phases, tasks, or searches that are NOT included in your playbook will be REMOVED. This is not a merge operation - it is a full replacement of the response plan structure. |
| 26 |
- For example, if a response plan has phases A, B, C and you only define phase A in your playbook, phases B and C will be deleted. The same applies to tasks within phases and searches within tasks. |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
Parameters |
| 32 |
---------- |
| 33 |
|
| 34 |
.. raw:: html |
| 35 |
|
| 36 |
<table border=0 cellpadding=0 class="documentation-table"> |
| 37 |
<tr> |
| 38 |
<th colspan="4">Parameter</th> |
| 39 |
<th>Choices/<font color="blue">Defaults</font></th> |
| 40 |
<th width="100%">Comments</th> |
| 41 |
</tr> |
| 42 |
<tr> |
| 43 |
<td colspan="4"> |
| 44 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 45 |
<b>api_app</b> |
| 46 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 47 |
<div style="font-size: small"> |
| 48 |
<span style="color: purple">string</span> |
| 49 |
</div> |
| 50 |
</td> |
| 51 |
<td> |
| 52 |
<b>Default:</b><br/><div style="color: blue">"missioncontrol"</div> |
| 53 |
</td> |
| 54 |
<td> |
| 55 |
<div>The app portion of the Splunk API path for the response templates endpoint.</div> |
| 56 |
<div>Override this if your environment uses a different app name.</div> |
| 57 |
</td> |
| 58 |
</tr> |
| 59 |
<tr> |
| 60 |
<td colspan="4"> |
| 61 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 62 |
<b>api_namespace</b> |
| 63 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 64 |
<div style="font-size: small"> |
| 65 |
<span style="color: purple">string</span> |
| 66 |
</div> |
| 67 |
</td> |
| 68 |
<td> |
| 69 |
<b>Default:</b><br/><div style="color: blue">"servicesNS"</div> |
| 70 |
</td> |
| 71 |
<td> |
| 72 |
<div>The namespace portion of the Splunk API path.</div> |
| 73 |
<div>Override this if your environment uses a different namespace.</div> |
| 74 |
</td> |
| 75 |
</tr> |
| 76 |
<tr> |
| 77 |
<td colspan="4"> |
| 78 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 79 |
<b>api_user</b> |
| 80 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 81 |
<div style="font-size: small"> |
| 82 |
<span style="color: purple">string</span> |
| 83 |
</div> |
| 84 |
</td> |
| 85 |
<td> |
| 86 |
<b>Default:</b><br/><div style="color: blue">"nobody"</div> |
| 87 |
</td> |
| 88 |
<td> |
| 89 |
<div>The user portion of the Splunk API path.</div> |
| 90 |
<div>Override this if your environment requires a different user context.</div> |
| 91 |
</td> |
| 92 |
</tr> |
| 93 |
<tr> |
| 94 |
<td colspan="4"> |
| 95 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 96 |
<b>description</b> |
| 97 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 98 |
<div style="font-size: small"> |
| 99 |
<span style="color: purple">string</span> |
| 100 |
</div> |
| 101 |
</td> |
| 102 |
<td> |
| 103 |
</td> |
| 104 |
<td> |
| 105 |
<div>The description of the response plan.</div> |
| 106 |
</td> |
| 107 |
</tr> |
| 108 |
<tr> |
| 109 |
<td colspan="4"> |
| 110 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 111 |
<b>name</b> |
| 112 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 113 |
<div style="font-size: small"> |
| 114 |
<span style="color: purple">string</span> |
| 115 |
/ <span style="color: red">required</span> |
| 116 |
</div> |
| 117 |
</td> |
| 118 |
<td> |
| 119 |
</td> |
| 120 |
<td> |
| 121 |
<div>The name of the response plan.</div> |
| 122 |
<div>This is the unique identifier and is always required.</div> |
| 123 |
<div>Used to look up existing response plans for update or delete operations.</div> |
| 124 |
</td> |
| 125 |
</tr> |
| 126 |
<tr> |
| 127 |
<td colspan="4"> |
| 128 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 129 |
<b>phases</b> |
| 130 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 131 |
<div style="font-size: small"> |
| 132 |
<span style="color: purple">list</span> |
| 133 |
/ <span style="color: purple">elements=dictionary</span> |
| 134 |
</div> |
| 135 |
</td> |
| 136 |
<td> |
| 137 |
</td> |
| 138 |
<td> |
| 139 |
<div>List of phases in the response plan.</div> |
| 140 |
<div>Required when <code>state=present</code>.</div> |
| 141 |
<div>Phases are matched by name for updates.</div> |
| 142 |
<div><b>Note:</b> Only phases defined here will exist after update. Any existing phases not included in this list will be removed from the response plan.</div> |
| 143 |
</td> |
| 144 |
</tr> |
| 145 |
<tr> |
| 146 |
<td class="elbow-placeholder"></td> |
| 147 |
<td colspan="3"> |
| 148 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 149 |
<b>name</b> |
| 150 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 151 |
<div style="font-size: small"> |
| 152 |
<span style="color: purple">string</span> |
| 153 |
/ <span style="color: red">required</span> |
| 154 |
</div> |
| 155 |
</td> |
| 156 |
<td> |
| 157 |
</td> |
| 158 |
<td> |
| 159 |
<div>The name of the phase.</div> |
| 160 |
<div>Used as identifier for matching during updates.</div> |
| 161 |
</td> |
| 162 |
</tr> |
| 163 |
<tr> |
| 164 |
<td class="elbow-placeholder"></td> |
| 165 |
<td colspan="3"> |
| 166 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 167 |
<b>tasks</b> |
| 168 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 169 |
<div style="font-size: small"> |
| 170 |
<span style="color: purple">list</span> |
| 171 |
/ <span style="color: purple">elements=dictionary</span> |
| 172 |
</div> |
| 173 |
</td> |
| 174 |
<td> |
| 175 |
</td> |
| 176 |
<td> |
| 177 |
<div>List of tasks in the phase.</div> |
| 178 |
<div>Tasks are matched by name within their parent phase for updates.</div> |
| 179 |
<div><b>Note:</b> Only tasks defined here will exist in the phase after update. Any existing tasks not included in this list will be removed.</div> |
| 180 |
</td> |
| 181 |
</tr> |
| 182 |
<tr> |
| 183 |
<td class="elbow-placeholder"></td> |
| 184 |
<td class="elbow-placeholder"></td> |
| 185 |
<td colspan="2"> |
| 186 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 187 |
<b>description</b> |
| 188 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 189 |
<div style="font-size: small"> |
| 190 |
<span style="color: purple">string</span> |
| 191 |
</div> |
| 192 |
</td> |
| 193 |
<td> |
| 194 |
</td> |
| 195 |
<td> |
| 196 |
<div>The description of the task.</div> |
| 197 |
</td> |
| 198 |
</tr> |
| 199 |
<tr> |
| 200 |
<td class="elbow-placeholder"></td> |
| 201 |
<td class="elbow-placeholder"></td> |
| 202 |
<td colspan="2"> |
| 203 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 204 |
<b>is_note_required</b> |
| 205 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 206 |
<div style="font-size: small"> |
| 207 |
<span style="color: purple">boolean</span> |
| 208 |
</div> |
| 209 |
</td> |
| 210 |
<td> |
| 211 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 212 |
<li><div style="color: blue"><b>no</b> ←</div></li> |
| 213 |
<li>yes</li> |
| 214 |
</ul> |
| 215 |
</td> |
| 216 |
<td> |
| 217 |
<div>Whether a note is required when completing the task.</div> |
| 218 |
</td> |
| 219 |
</tr> |
| 220 |
<tr> |
| 221 |
<td class="elbow-placeholder"></td> |
| 222 |
<td class="elbow-placeholder"></td> |
| 223 |
<td colspan="2"> |
| 224 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 225 |
<b>name</b> |
| 226 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 227 |
<div style="font-size: small"> |
| 228 |
<span style="color: purple">string</span> |
| 229 |
/ <span style="color: red">required</span> |
| 230 |
</div> |
| 231 |
</td> |
| 232 |
<td> |
| 233 |
</td> |
| 234 |
<td> |
| 235 |
<div>The name of the task.</div> |
| 236 |
<div>Used as identifier for matching during updates.</div> |
| 237 |
</td> |
| 238 |
</tr> |
| 239 |
<tr> |
| 240 |
<td class="elbow-placeholder"></td> |
| 241 |
<td class="elbow-placeholder"></td> |
| 242 |
<td colspan="2"> |
| 243 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 244 |
<b>owner</b> |
| 245 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 246 |
<div style="font-size: small"> |
| 247 |
<span style="color: purple">string</span> |
| 248 |
</div> |
| 249 |
</td> |
| 250 |
<td> |
| 251 |
<b>Default:</b><br/><div style="color: blue">"unassigned"</div> |
| 252 |
</td> |
| 253 |
<td> |
| 254 |
<div>The owner of the task.</div> |
| 255 |
<div>Use <code>admin</code> for the administrator user.</div> |
| 256 |
<div>Use <code>unassigned</code> to leave the task unassigned.</div> |
| 257 |
</td> |
| 258 |
</tr> |
| 259 |
<tr> |
| 260 |
<td class="elbow-placeholder"></td> |
| 261 |
<td class="elbow-placeholder"></td> |
| 262 |
<td colspan="2"> |
| 263 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 264 |
<b>searches</b> |
| 265 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 266 |
<div style="font-size: small"> |
| 267 |
<span style="color: purple">list</span> |
| 268 |
/ <span style="color: purple">elements=dictionary</span> |
| 269 |
</div> |
| 270 |
</td> |
| 271 |
<td> |
| 272 |
</td> |
| 273 |
<td> |
| 274 |
<div>List of saved searches to attach to the task.</div> |
| 275 |
<div>Searches are replaced entirely on update (not merged).</div> |
| 276 |
</td> |
| 277 |
</tr> |
| 278 |
<tr> |
| 279 |
<td class="elbow-placeholder"></td> |
| 280 |
<td class="elbow-placeholder"></td> |
| 281 |
<td class="elbow-placeholder"></td> |
| 282 |
<td colspan="1"> |
| 283 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 284 |
<b>description</b> |
| 285 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 286 |
<div style="font-size: small"> |
| 287 |
<span style="color: purple">string</span> |
| 288 |
</div> |
| 289 |
</td> |
| 290 |
<td> |
| 291 |
</td> |
| 292 |
<td> |
| 293 |
<div>The description of the search.</div> |
| 294 |
</td> |
| 295 |
</tr> |
| 296 |
<tr> |
| 297 |
<td class="elbow-placeholder"></td> |
| 298 |
<td class="elbow-placeholder"></td> |
| 299 |
<td class="elbow-placeholder"></td> |
| 300 |
<td colspan="1"> |
| 301 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 302 |
<b>name</b> |
| 303 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 304 |
<div style="font-size: small"> |
| 305 |
<span style="color: purple">string</span> |
| 306 |
/ <span style="color: red">required</span> |
| 307 |
</div> |
| 308 |
</td> |
| 309 |
<td> |
| 310 |
</td> |
| 311 |
<td> |
| 312 |
<div>The name of the search.</div> |
| 313 |
</td> |
| 314 |
</tr> |
| 315 |
<tr> |
| 316 |
<td class="elbow-placeholder"></td> |
| 317 |
<td class="elbow-placeholder"></td> |
| 318 |
<td class="elbow-placeholder"></td> |
| 319 |
<td colspan="1"> |
| 320 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 321 |
<b>spl</b> |
| 322 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 323 |
<div style="font-size: small"> |
| 324 |
<span style="color: purple">string</span> |
| 325 |
/ <span style="color: red">required</span> |
| 326 |
</div> |
| 327 |
</td> |
| 328 |
<td> |
| 329 |
</td> |
| 330 |
<td> |
| 331 |
<div>The SPL (Search Processing Language) query.</div> |
| 332 |
</td> |
| 333 |
</tr> |
| 334 |
|
| 335 |
|
| 336 |
|
| 337 |
<tr> |
| 338 |
<td colspan="4"> |
| 339 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 340 |
<b>state</b> |
| 341 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 342 |
<div style="font-size: small"> |
| 343 |
<span style="color: purple">string</span> |
| 344 |
</div> |
| 345 |
</td> |
| 346 |
<td> |
| 347 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 348 |
<li><div style="color: blue"><b>present</b> ←</div></li> |
| 349 |
<li>absent</li> |
| 350 |
</ul> |
| 351 |
</td> |
| 352 |
<td> |
| 353 |
<div>The desired state of the response plan.</div> |
| 354 |
<div>Use <code>present</code> to create or update the response plan.</div> |
| 355 |
<div>Use <code>absent</code> to delete the response plan.</div> |
| 356 |
</td> |
| 357 |
</tr> |
| 358 |
<tr> |
| 359 |
<td colspan="4"> |
| 360 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 361 |
<b>template_status</b> |
| 362 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 363 |
<div style="font-size: small"> |
| 364 |
<span style="color: purple">string</span> |
| 365 |
</div> |
| 366 |
</td> |
| 367 |
<td> |
| 368 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 369 |
<li>published</li> |
| 370 |
<li><div style="color: blue"><b>draft</b> ←</div></li> |
| 371 |
</ul> |
| 372 |
</td> |
| 373 |
<td> |
| 374 |
<div>The status of the response plan template.</div> |
| 375 |
<div>Use <code>draft</code> for work-in-progress plans.</div> |
| 376 |
<div>Use <code>published</code> for plans ready for use.</div> |
| 377 |
</td> |
| 378 |
</tr> |
| 379 |
</table> |
| 380 |
<br/> |
| 381 |
|
| 382 |
|
| 383 |
|
| 384 |
|
| 385 |
Examples |
| 386 |
-------- |
| 387 |
|
| 388 |
.. code-block:: yaml |
| 389 |
|
| 390 |
# Create a new response plan with phases and tasks |
| 391 |
- name: Create incident response plan |
| 392 |
splunk.es.splunk_response_plan: |
| 393 |
name: "Incident Response Plan" |
| 394 |
description: "Standard incident response procedure" |
| 395 |
template_status: published |
| 396 |
phases: |
| 397 |
- name: "Investigation" |
| 398 |
tasks: |
| 399 |
- name: "Initial Triage" |
| 400 |
description: "Perform initial assessment of the incident" |
| 401 |
is_note_required: true |
| 402 |
owner: admin |
| 403 |
searches: |
| 404 |
- name: "Access Over Time" |
| 405 |
description: "Check access patterns" |
| 406 |
spl: "| tstats count from datamodel=Authentication by _time span=10m" |
| 407 |
- name: "Gather Evidence" |
| 408 |
description: "Collect relevant logs and artifacts" |
| 409 |
is_note_required: false |
| 410 |
- name: "Containment" |
| 411 |
tasks: |
| 412 |
- name: "Isolate Affected Systems" |
| 413 |
description: "Isolate compromised hosts from network" |
| 414 |
is_note_required: true |
| 415 |
|
| 416 |
# Create a draft response plan |
| 417 |
- name: Create draft response plan |
| 418 |
splunk.es.splunk_response_plan: |
| 419 |
name: "New Response Workflow" |
| 420 |
description: "Work in progress response plan" |
| 421 |
template_status: draft |
| 422 |
phases: |
| 423 |
- name: "Phase 1" |
| 424 |
tasks: |
| 425 |
- name: "Task 1" |
| 426 |
description: "First task" |
| 427 |
|
| 428 |
# Update an existing response plan (adds new task, updates existing) |
| 429 |
- name: Update response plan |
| 430 |
splunk.es.splunk_response_plan: |
| 431 |
name: "Incident Response Plan" |
| 432 |
description: "Updated incident response procedure" |
| 433 |
template_status: published |
| 434 |
phases: |
| 435 |
- name: "Investigation" |
| 436 |
tasks: |
| 437 |
- name: "Initial Triage" |
| 438 |
description: "Updated: Perform thorough initial assessment" |
| 439 |
is_note_required: true |
| 440 |
- name: "New Analysis Task" |
| 441 |
description: "This task will be created" |
| 442 |
is_note_required: false |
| 443 |
- name: "Containment" |
| 444 |
tasks: |
| 445 |
- name: "Isolate Affected Systems" |
| 446 |
description: "Isolate compromised hosts from network" |
| 447 |
|
| 448 |
# Delete a response plan by name |
| 449 |
- name: Delete response plan |
| 450 |
splunk.es.splunk_response_plan: |
| 451 |
name: "Incident Response Plan" |
| 452 |
state: absent |
| 453 |
|
| 454 |
# Example: Declarative update - removes phases/tasks not defined |
| 455 |
# If the response plan currently has phases "Investigation", "Containment", "Recovery" |
| 456 |
# but this playbook only defines "Investigation" and "Containment", then the |
| 457 |
# "Recovery" phase will be DELETED. Same applies to tasks within phases. |
| 458 |
- name: Update response plan (removes Recovery phase if it existed) |
| 459 |
splunk.es.splunk_response_plan: |
| 460 |
name: "Incident Response Plan" |
| 461 |
description: "Updated procedure - Recovery phase removed" |
| 462 |
template_status: published |
| 463 |
phases: |
| 464 |
- name: "Investigation" |
| 465 |
tasks: |
| 466 |
- name: "Initial Triage" |
| 467 |
description: "Perform initial assessment" |
| 468 |
- name: "Containment" |
| 469 |
tasks: |
| 470 |
- name: "Isolate Systems" |
| 471 |
description: "Isolate affected systems" |
| 472 |
|
| 473 |
# Create response plan with custom API path (for non-standard environments) |
| 474 |
- name: Create response plan with custom API path |
| 475 |
splunk.es.splunk_response_plan: |
| 476 |
name: "Custom Response Plan" |
| 477 |
description: "Response plan with custom API configuration" |
| 478 |
template_status: published |
| 479 |
api_namespace: "{{ es_namespace | default('servicesNS') }}" |
| 480 |
api_user: "{{ es_user | default('nobody') }}" |
| 481 |
api_app: "{{ es_app | default('missioncontrol') }}" |
| 482 |
phases: |
| 483 |
- name: "Phase 1" |
| 484 |
tasks: |
| 485 |
- name: "Task 1" |
| 486 |
description: "First task" |
| 487 |
|
| 488 |
|
| 489 |
|
| 490 |
Return Values |
| 491 |
------------- |
| 492 |
Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module: |
| 493 |
|
| 494 |
.. raw:: html |
| 495 |
|
| 496 |
<table border=0 cellpadding=0 class="documentation-table"> |
| 497 |
<tr> |
| 498 |
<th colspan="2">Key</th> |
| 499 |
<th>Returned</th> |
| 500 |
<th width="100%">Description</th> |
| 501 |
</tr> |
| 502 |
<tr> |
| 503 |
<td colspan="2"> |
| 504 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 505 |
<b>changed</b> |
| 506 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 507 |
<div style="font-size: small"> |
| 508 |
<span style="color: purple">boolean</span> |
| 509 |
</div> |
| 510 |
</td> |
| 511 |
<td>always</td> |
| 512 |
<td> |
| 513 |
<div>Whether any changes were made.</div> |
| 514 |
<br/> |
| 515 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 516 |
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">True</div> |
| 517 |
</td> |
| 518 |
</tr> |
| 519 |
<tr> |
| 520 |
<td colspan="2"> |
| 521 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 522 |
<b>msg</b> |
| 523 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 524 |
<div style="font-size: small"> |
| 525 |
<span style="color: purple">string</span> |
| 526 |
</div> |
| 527 |
</td> |
| 528 |
<td>always</td> |
| 529 |
<td> |
| 530 |
<div>Message describing the result.</div> |
| 531 |
<br/> |
| 532 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 533 |
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">Response plan created successfully</div> |
| 534 |
</td> |
| 535 |
</tr> |
| 536 |
<tr> |
| 537 |
<td colspan="2"> |
| 538 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 539 |
<b>response_plan</b> |
| 540 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 541 |
<div style="font-size: small"> |
| 542 |
<span style="color: purple">dictionary</span> |
| 543 |
</div> |
| 544 |
</td> |
| 545 |
<td>always</td> |
| 546 |
<td> |
| 547 |
<div>The response plan result containing before/after states.</div> |
| 548 |
<br/> |
| 549 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 550 |
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">{'before': None, 'after': {'name': 'Incident Response Plan', 'description': 'Standard incident response procedure', 'template_status': 'published', 'phases': [{'name': 'Investigation', 'tasks': [{'name': 'Initial Triage', 'description': 'Perform initial assessment', 'is_note_required': True, 'owner': 'admin', 'searches': [{'name': 'Access Over Time', 'description': 'Check access patterns', 'spl': '| tstats count from datamodel=Authentication'}]}]}]}}</div> |
| 551 |
</td> |
| 552 |
</tr> |
| 553 |
<tr> |
| 554 |
<td class="elbow-placeholder"> </td> |
| 555 |
<td colspan="1"> |
| 556 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 557 |
<b>after</b> |
| 558 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 559 |
<div style="font-size: small"> |
| 560 |
<span style="color: purple">dictionary</span> |
| 561 |
</div> |
| 562 |
</td> |
| 563 |
<td>always</td> |
| 564 |
<td> |
| 565 |
<div>The response plan state after module execution (null if deleted).</div> |
| 566 |
<br/> |
| 567 |
</td> |
| 568 |
</tr> |
| 569 |
<tr> |
| 570 |
<td class="elbow-placeholder"> </td> |
| 571 |
<td colspan="1"> |
| 572 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 573 |
<b>before</b> |
| 574 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 575 |
<div style="font-size: small"> |
| 576 |
<span style="color: purple">dictionary</span> |
| 577 |
</div> |
| 578 |
</td> |
| 579 |
<td>when response plan existed</td> |
| 580 |
<td> |
| 581 |
<div>The response plan state before module execution (null if creating).</div> |
| 582 |
<br/> |
| 583 |
</td> |
| 584 |
</tr> |
| 585 |
|
| 586 |
</table> |
| 587 |
<br/><br/> |
| 588 |
|
| 589 |
|
| 590 |
Status |
| 591 |
------ |
| 592 |
|
| 593 |
|
| 594 |
Authors |
| 595 |
~~~~~~~ |
| 596 |
|
| 597 |
- Ron Gershburg (@rgershbu) |