Skip to content

Commit 6e64177

Browse files
committed
Second draft
1 parent fab19de commit 6e64177

File tree

11 files changed

+76
-12
lines changed

11 files changed

+76
-12
lines changed

docs/platform-services/automation-service/automation-service-playbooks.md

Lines changed: 76 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -238,31 +238,36 @@ You can test a playbook to verify that it works properly. The test results show
238238

239239
## Playbook payloads
240240

241-
When a playbook is run, a payload is passed from the initial object to the playbook (for example, from an Insight, Entity, or an alert. The variables in the payload can be assigned to parameters and used as inputs for different actions in the playbook.
241+
When a playbook is run, a payload is passed from the initial object to the playbook (for example, from an alert, entity, or Insight. The variables in the payload can be assigned to parameters and used as inputs for different actions in the playbook.
242242

243243
You select the initial object to use for the payload when you [create a playbook](#create-a-new-playbook). In the **Add one or more params as a playbook input** field, you select the kind of trigger that will execute the playbook:
244244
* **Insight**. An [Insight](/docs/cse/get-started-with-cloud-siem/about-cse-insight-ui/) from an [automation in Cloud SIEM](/docs/cse/automation/automations-in-cloud-siem/).
245-
* **Entity**. An [Entity](/docs/cse/records-signals-entities-insights/view-manage-entities/) from an [automation in Cloud SIEM](/docs/cse/automation/automations-in-cloud-siem/).
245+
* **Entity**. An [entity](/docs/cse/records-signals-entities-insights/view-manage-entities/) from an [automation in Cloud SIEM](/docs/cse/automation/automations-in-cloud-siem/).
246246
* **Alert**. An [alert](/docs/alerts/) from an [automated playbook in a monitor](/docs/alerts/monitors/use-playbooks-with-monitors/).
247247
* **Parse from json**. A payload from a [parent playbook](/docs/platform-services/automation-service/automation-service-playbooks/#add-a-playbook-node-to-a-playbook). (You can also select this option if you want to pass a custom payload from an alert.)
248248
* Leave blank if the trigger will be a Cloud SOAR [incident or triage](/docs/cloud-soar/incidents-triage). <br/><img src={useBaseUrl('img/platform-services/automation-service/start-node-parameters.png')} alt="Types of start node parameters" style={{border:'1px solid gray'}} width="400"/>
249249

250-
Following are examples of payloads from each trigger type.
250+
Following are examples of payloads from different trigger types:
251+
* [Alert payload](#alert-payload)
252+
* [Entity payload](#entity-payload)
253+
* [Insight payload](#insight-payload)
251254

252255
### Alert payload
253256

254257
#### View an alert payload
255258

256-
To view the variables available from an alert that triggered a playbook:
257-
1. [View the automated playbooks for an alert](/docs/alerts/monitors/use-playbooks-with-monitors/#view-automated-playbooks-for-an-alert).
258-
1. Expand the playbook name to view the payload. <br/><img src={useBaseUrl('img/alerts/playbook_payload.png')} alt="View playbook payload" style={{border: '1px solid gray'}} width="600" />
259+
1. Access the [alert list](/docs/alerts/monitors/alert-response/#alert-list).
260+
1. Open an alert that uses a playbook.
261+
1. On the alert details page, click the **Playbooks** button to see [automated playbooks](/docs/alerts/monitors/use-playbooks-with-monitors/#view-automated-playbooks-for-an-alert) attached to the alert. <br/><img src={useBaseUrl('img/platform-services/automation-service/playbook-in-alert-new.png')} alt="Playbook on an alert" style={{border: '1px solid gray'}} width="300"/>
262+
1. Click the playbook name. The playbook opens in the Automation Service.
263+
1. To view the playbook's payload, click **>** to the right of the playbook name. <br/><img src={useBaseUrl('img/platform-services/automation-service/playbook-in-alert-1-new.png')} alt="Open playbook payload" style={{border: '1px solid gray'}} width="800"/> <br/>The alert payload appears. <br/><img src={useBaseUrl('img/platform-services/automation-service/alert-payload.png')} alt="Alert payload" style={{border: '1px solid gray'}} width="800"/>
259264

260265
#### Alert payload variables
261266

262-
The below variables are passed in the payload from an alert to a playbook. The fields specific to the query that triggered the alert can be referenced by using `customPlaceholderMap`. For example, if the result of the query includes a field named `user_name`, this can be referenced by called `customPlaceholderMap[].user_name`.
267+
The following variables are passed in the payload from an alert to a playbook. The fields specific to the query that triggered the alert can be referenced by using `customPlaceholderMap`. For example, if the result of the query includes a field named `user_name`, this can be referenced by called `customPlaceholderMap[].user_name`.
263268

264-
| Variable | Description |
265-
| :--- |:---- |
269+
| Variable | Description |
270+
| :-- | :-- |
266271
|`​​Id`|The unique identifier for alert that triggered the playbook.|
267272
|`Name`|The name of the monitor.|
268273
|`Query`|The query used in the monitor.|
@@ -373,10 +378,34 @@ To view the variables available from an alert that triggered a playbook:
373378

374379
### Entity payload
375380

376-
#### View an Entity payload
381+
#### View an entity payload
382+
383+
1. Open an [entity](/docs/cse/records-signals-entities-insights/view-manage-entities/) that uses playbooks (that is, that has [automations](/docs/cse/automation/automations-in-cloud-siem)).
384+
1. Click the **Automations** button at the top of the entity details page to view the automations on the Entity. <br/><img src={useBaseUrl('img/platform-services/automation-service/automation-on-entity-in-cloud-siem.png')} alt="Automation on an Entity in Cloud SIEM" style={{border: '1px solid gray'}} width="800"/>
385+
1. Click **View Playbook** on an automation. The automation's playbook opens in the Automation Service.
386+
1. To view the playbook's payload, click **>** to the right of the playbook name. <br/><img src={useBaseUrl('img/platform-services/automation-service/entity-playbook.png')} alt="Open playbook payload" style={{border: '1px solid gray'}} width="800"/> <br/>The entity payload appears. <br/><img src={useBaseUrl('img/platform-services/automation-service/entity-payload.png')} alt="Entity payload" style={{border: '1px solid gray'}} width="800"/>
377387

378388
#### Entity payload variables
379389

390+
| Variable | Description |
391+
| :-- | :-- |
392+
| `​​Id` | The unique ID of the [entity](/docs/cse/records-signals-entities-insights/view-manage-entities) whose information is provided in the payload.|
393+
|`name` | The entity’s name. ​|
394+
| `tags`| [Tags](/docs/cse/records-signals-entities-insights/tags-insights-signals-entities-rules) attached to the entity.​ |
395+
| `value` | The value of the entity. |
396+
| `hostname`| The hostname of the entity (if the entity is an item that can have a hostname, such as a computer). ​|
397+
| `lastSeen`| When the entity was last seen in a record. ​|
398+
| `firstSeen`| When the entity was first seen in a record. ​|
399+
| `inventory`| The [inventory source](/docs/cse/administration/inventory-sources-and-data/) for the entity (if it originated in an inventory). ​|
400+
| `entityType`| The [type of entity](/docs/cse/records-signals-entities-insights/view-manage-entities/#about-entities). ​|
401+
| `macAddress`| The [medium access control (MAC) address](https://en.wikipedia.org/wiki/MAC_address) assigned to the entity (if the entity is a piece of hardware). ​|
402+
| `reputation`| The reputation score for the entity. ​|
403+
| `sensorZone`| [Sensor zone](/docs/cse/administration/using-sensor-zones/) for the entity. ​|
404+
| `criticality` | The [criticality](/docs/cse/records-signals-entities-insights/entity-criticality/) of the entity. |
405+
| `isSuppressed` | Whether the [entity is suppressed](/docs/cse/records-signals-entities-insights/about-signal-suppression/#suppress-by-entity). |
406+
| `activityScore` | The entity’s [activity score](/docs/cse/get-started-with-cloud-siem/insight-generation-process/#understanding-entity-activity-scores). |
407+
| `recentSignalSeverity` | The most recent [severity](/docs/cse/get-started-with-cloud-siem/insight-generation-process/#about-insight-severity) of the signal that the entity appeared on. |
408+
380409
#### Entity payload example
381410

382411
```json
@@ -404,8 +433,43 @@ To view the variables available from an alert that triggered a playbook:
404433

405434
#### View an Insight payload
406435

436+
1. Open an [Insight](/docs/cse/get-started-with-cloud-siem/about-cse-insight-ui/) that uses playbooks (that is, that has [automations](/docs/cse/automation/automations-in-cloud-siem)).
437+
1. Click the **Automations** button at the top of the Insight details page to view the automations on the Insight. <br/><img src={useBaseUrl('img/platform-services/automation-service/insight-automation.png')} alt="Automations on an Insight" style={{border: '1px solid gray'}} width="800"/>
438+
1. Click **View Playbook** on an automation. The automation's playbook opens in the Automation Service.
439+
1. To view the playbook's payload, click **>** to the right of the playbook name. <br/><img src={useBaseUrl('img/platform-services/automation-service/insight-playbook.png')} alt="Insight playbook" style={{border: '1px solid gray'}} width="800"/> <br/>The Insight payload appears. <br/><img src={useBaseUrl('img/platform-services/automation-service/insight-payload.png')} alt="Insight payload" style={{border: '1px solid gray'}} width="800"/>
440+
407441
#### Insight payload variables
408442

443+
| Variable | Description |
444+
| :-- | :-- |
445+
| `​​id` | The unique ID of the [Insight](/docs/cse/get-started-with-cloud-siem/about-cse-insight-ui/#insight-details-page) whose information is provided in the payload.
446+
| `name` | The name of the Insight. |
447+
| `tags` | [Tags](/docs/cse/records-signals-entities-insights/tags-insights-signals-entities-rules) attached to the Insight. |
448+
| `orgId` | The ID of the Sumo Logic organization where the Insight originated. |
449+
| `closed` | Whether the Insight is closed. |
450+
| `entity` | The [entity](/docs/cse/records-signals-entities-insights/view-manage-entities) the Insight fired on. |
451+
| `source` | The source of the Insight data. |
452+
| `status` | The current status of the Insight. |
453+
| `created` | When the Insight was created. |
454+
| `signals` | The Signals in the Insight. |
455+
| `assignee` | The analyst assigned to the incident. |
456+
| `closedBy` | The analyst who closed the Insight (if it’s status is closed). |
457+
| `severity` | The [severity](/docs/cse/get-started-with-cloud-siem/insight-generation-process/#about-insight-severity) of the Insight. |
458+
| `timestamp` | The timestamp when the Insight fired. |
459+
| `assignedTo` | The analyst assigned to the incident. |
460+
| `confidence` | If sufficient data is available, a [Global Confidence score](/docs/cse/records-signals-entities-insights/global-intelligence-security-insights/) for the Insight is shown. |
461+
| `readableId` | The human-readable ID of the Insight. |
462+
| `resolution` | The [resolution](/docs/cse/administration/manage-custom-insight-resolutions/) of the Insight (if the Insight is resolved). |
463+
| `description` | A description of the Insight. |
464+
| `lastUpdated` | When the Insight was last updated. |
465+
| `lastUpdatedBy` | The analyst who last updated the Insight. |
466+
| `subResolution` | The [sub-resolution](/docs/cse/administration/manage-custom-insight-resolutions/) of the Insight (if the Insight is resolved and if a sub-resolution is applied). |
467+
| `teamAssignedto` | The team the Insight is assigned to. |
468+
| `timeToResponse` | The time it took to respond to the Insight. |
469+
| `timeToDetection` | The time it took to detect the Insight. |
470+
| `involvedEntities` | The entities involved in the Insight. |
471+
| `timeToRemediation` | The time it took to resolve the Insight. |
472+
409473
#### Insight payload example
410474

411475
```json
@@ -622,7 +686,7 @@ To test a playbook before using it in an automation, see [Test a playbook](/docs
622686

623687
#### Open a playbook from an alert
624688

625-
1. Access the [alerts list](/docs/alerts/monitors/alert-response/#alert-list).
689+
1. Access the [alert list](/docs/alerts/monitors/alert-response/#alert-list).
626690
1. Open an alert that uses a playbook.
627691
1. On the alert details page, click the **Playbooks** button to see [automated playbooks](/docs/alerts/monitors/use-playbooks-with-monitors/#view-automated-playbooks-for-an-alert) attached to the alert. <br/><img src={useBaseUrl('img/platform-services/automation-service/playbook-in-alert.png')} alt="Playbook on an alert" style={{border: '1px solid gray'}} width="300"/>
628692
1. Hover your mouse over the icon to the right of the playbook to see its status. In the example above, the playbook completed with errors.
@@ -655,7 +719,7 @@ After you have [opened a playbook that requires investigation](/docs/platform-se
655719
1. Click an action for an explanation of the problem. <br/><img src={useBaseUrl('img/platform-services/automation-service/reason-for-failed-action.png')} alt="Reasons for failed actions on a playbook" style={{border: '1px solid gray'}} width="800"/>
656720
1. For more detailed information about the action, click the **Graph View** in the upper right and then click on the action. A pane opens that displays more information about the action. <br/><img src={useBaseUrl('img/platform-services/automation-service/failed-action-in-graph-view.png')} alt="Failed action in playbook graph view" style={{border: '1px solid gray'}} width="800"/>
657721
1. Sometimes the playbook's payload will provide more information about why an action has a problem. To view the playbook's payload, click **>** to the right of the playbook name. <br/><img src={useBaseUrl('img/platform-services/automation-service/arrow-on-playbook.png')} alt="Open playbook payload" style={{border: '1px solid gray'}} width="300"/>
658-
1. Examine the payload for information that might help you resolve the problem. For example, the payload may be able to tell you if a field has not been properly passed from a previous action, or a field was unintentionally left blank that the action requires.<br/><img src={useBaseUrl('img/platform-services/automation-service/playbook-payload.png')} alt="Playbook payload" style={{border: '1px solid gray'}} width="300"/>
722+
1. Examine the [playbook payload](#playbook-payloads) for information that might help you resolve the problem. For example, the payload may be able to tell you if a field has not been properly passed from a previous action, or a field was unintentionally left blank that the action requires.<br/><img src={useBaseUrl('img/platform-services/automation-service/playbook-payload.png')} alt="Playbook payload" style={{border: '1px solid gray'}} width="300"/>
659723
1. Based on what you uncover during investigation, you may need to make changes to the playbook and then [test the playbook](#test-a-playbook) to ensure it works correctly.
660724

661725

297 KB
Loading
39 KB
Loading
87.2 KB
Loading
278 KB
Loading
141 KB
Loading
240 KB
Loading
232 KB
Loading
106 KB
Loading
126 KB
Loading

0 commit comments

Comments
 (0)