Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated with a fix and more notes #10103

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion Playbooks/Update-BulkIncidents/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@
"type": "string"
},
"AzureSentinelResourceGroup": {
"defaultValue": "<AZURE SENTINEL - RESOURCEGROUP>",
"defaultValue": "<AZURE SENTINEL - RESOURCEGROUP NAME>",
"type": "string"
},
"AzureSentinelWorkspaceId": {
"defaultValue": "<AZURE SENTINEL - WORKSPACE ID>",
"type": "string"
},
"AzureSentinelWorkspaceName": {
"defaultValue": "<AZURE SENTINEL - WORKSPACE NAME>",
"type": "string"
}
},
"variables": {
Expand Down Expand Up @@ -91,6 +95,10 @@
"SentinelWorkspaceId": {
"defaultValue": "[parameters('AzureSentinelWorkspaceId')]",
"type": "String"
},
"SentinelWorkspaceName": {
"defaultValue": "[parameters('AzureSentinelWorkspaceName')]",
"type": "String"
}
},
"triggers": {
Expand Down Expand Up @@ -187,6 +195,7 @@
"type": "ApiConnection",
"inputs": {
"body": {
"CloseReason": "BenignPositive",
"CloseReasonText": "Bulk Close from KQL - via Playbook"
},
"host": {
Expand Down
12 changes: 11 additions & 1 deletion Playbooks/Update-BulkIncidents/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This Logic App will act as listener, you can pass json object to a HTTP Endpoint

**Additional Post Install Notes:**

The Logic App requires the SecurityIncident Table preview
The Logic App requires the SecurityIncident Table preview, check the Global Paramaters in the editor view of Logic App sometimes paramter SentinelResourceGroup has a prefix of a space causing errors, remove prrefix space from string.

**Usage Notes**

Expand All @@ -23,6 +23,8 @@ You can use Postman, PowerShell, or your favorite shell to send a JSON body to t

At this time the Logic App can only bulk update the Status of Azure Sentinel Incidents.

When finished disable/delete Logic App until next use.

```
<#

Expand All @@ -42,6 +44,13 @@ $uri = "https://prod-38.eastus.logic.azure.com:443/workflows/r794bb6/triggers/re

# Header should be JSON
$header = @{'Content-Type' = 'application/json'}

# See $json examples below
$json =

# Execute and Invoke Web Request to Logic App
Invoke-WebRequest -Uri $uri -Method POST -Body $json -Headers $header

```

```
Expand Down Expand Up @@ -69,3 +78,4 @@ $json = @"
}
"@
```

Loading