Webhook Runbook Conceptual Overviews
Conceptual Overview
The example Webhook Runbook "Webhook Runbook - Simple Example" consists of the following elements:
-
Step-1: Entry-point
-
Runbook node Triggering Entity: Webhook links a Riverbed IQ URL to a Runbook automation. Linking the node to an automation enables the pass-thru of HTTP-request data and context from the calling entity for further processing.
-
-
Step-2: Native Data-format
-
Runbook node Variables: Set Primitive Variable parses data and context from the received HTTP-request and stores the data in Runbook runtime-variables. Runbook runtime-variables are a native Runbook data format which enables the data and context to flow through the Processing Logic.
-
-
Step-3: Processing Logic consists of two separate parallel paths of execution.
-
Path-C1: parses the supplied information out of the HTTPS-payload and captures/visualizes the information for the Runbook execution in a table.
-
Path-C2: processes the supplied information to discern the associated remediation action.
-
Refer to the diagram below for a visual overview of the Runbook. You can download the example Webhook Runbook - Simple Example here.
Runbook Overview
The Webhook Runbook Example implementation was built using the following Runbook Nodes from the palette:
-
Entry-point
-
A1: "SDA Alert" - use of Runbook Node Triggering Entity: Webhook
-
Label: SDA Alert
-
Purpose: enables linking of a Riverbed IQ URL to this Runbook automation and provides for pass-thru of HTTP-request data and context from the calling entity for further processing.
-
-
-
Native Data-format
-
B1: "Store webhook payload" - use of Runbook Node Variables: Set Primitive Variable
-
Label: Store webhook payload
-
Purpose: parses data and context from the received HTTP-request and stores the data and context in Runbook runtime variables.
-
-
-
Processing Logic: consists of two separate parallel paths of execution.
-
Path-C1: parses the supplied information out of the HTTPS-payload and captures/visualizes the information for this Runbook execution in a table.
-
C1: "Get Alert Variables" - use of Runbook Node Functions: Transform
-
Label: Get Alert Variables
-
Purpose: transforms specified Variables into a JSON format that can be processed by downstream nodes.
-
-
D1: "Display Alert Summary" - use of Runbook Node Visualizations: Table
-
Label: Display Alert Summary
-
Purpose: visualizes the supplied Variables (JSON) into a table.
-
-
-
Path-C2: processes the supplied information to discern the associated remediation action (i.e. actionName).
-
C2: "Set actionName" - use of Runbook Node Variables: Set Primitive Variable
-
Label: Set actionName
-
Purpose: applies logic to map the supplied Alert to a recommended remediation (i.e. actionName).
-
-
D2: "alert_name" - use of Runbook Node Logic: Decision Branch
-
Label: alert_name
-
Purpose: determines whether the supplied Alert is known or unknown and directs path of execution accordingly
-
Path-E2: If the Alert is Known, the Runbook continues processing the Alert and associated Remediation.
-
E2: "Get Alert Detail and Remediation Action" - use of Runbook Node Functions: Transform
-
Label: Get Alert Detail and Remediation Action
-
Purpose: transforms specified Variables into a JSON format that can be processed by down-stream nodes.
-
-
F2: "Display Alert and Remediation Detail" - use of Runbook Node Visualizations: Table
-
Label: Display Alert and Remediation Detail
-
Purpose: visualizes the supplied Variables (JSON) in a table.
-
-
-
Path-E3: If the Alert is Unknown, the Runbook stops further processing and logs the Unknown Alert.
-
E3: "Display Unknown Alert" - use of Runbook Node Visualizations: Text
-
Label: Display Unknown Alert
-
Purpose: logs the Unknown Alert in text.
-
-
-
-
-
-