Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊
This playbook lets analysts ask Google Threat Intelligence (GTI) questions directly from a Microsoft Sentinel incident. When an analyst adds an incident comment that starts with '#ask-gti:', the playbook sends the question and the incident context to the GTI Agentspace Session API and posts the answer back to the incident. Follow-up questions on the same incident continue the same multi-turn GTI session, which is tracked with the GTI-Session and GTI-LastProcessed incident tags. The full answer i
| Attribute | Value |
|---|---|
| Type | Playbook |
| Solution | Google Threat Intelligence |
| Source | View on GitHub |
This playbook uses 5 Logic App connectors / built-in actions:
| Connector / Action | Type | Connections | Actions |
|---|---|---|---|
azureblob |
Managed | 2 | 1 |
azureblobkey |
Managed | 0 | 1 |
azuresentinel |
Managed | 1 | 5 |
keyvault |
Managed | 1 | 1 |
http |
Built-in | 0 | 4 |
azureblob (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Upload_Answer_Report_To_Blob | post | /v2/datasets/@{encodeURIComponent(encodeURIComponent(parameters('StorageAccountName')))}/files |
— |
azureblobkey (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Create_Answer_Report_Sas_Link | post | /v2/datasets/@{encodeURIComponent(encodeURIComponent(parameters('StorageAccountName')))}/CreateSharedLinkByPath |
— |
azuresentinel (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Add_Incident_Comment_With_Error | post | /Incidents/Comment |
— |
| Add_Incident_Comment_With_Report_Link | post | /Incidents/Comment |
— |
| Add_Incident_Comment_With_Inline_Answer | post | /Incidents/Comment |
— |
| Update_Incident_Session_Tags | put | /Incidents |
— |
| Add_Incident_Comment_With_Usage_Help | post | /Incidents/Comment |
— |
keyvault (Managed)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Get_GTI_API_Key_From_Key_Vault | get | [concat('/secrets/@{encodeURIComponent(''', parameters('KeyVaultSecretName'), ''')}/value')] |
— |
http (Built-in)| Action | Method | Endpoint | Other |
|---|---|---|---|
| Start_New_GTI_Session | POST | @{concat(parameters('GTIBaseUri'), '/api/v3/agentspace/sessions')} |
— |
| Send_Followup_To_Existing_Session | POST | @{concat(parameters('GTIBaseUri'), '/api/v3/agentspace/sessions/', encodeURIComponent(variables('GTISessionId')))} |
— |
| Restart_Session_After_Expiry | POST | @{concat(parameters('GTIBaseUri'), '/api/v3/agentspace/sessions')} |
— |
| Create_Blob_Container_If_Missing | PUT | https://@{parameters('StorageAccountName')}.blob.@{parameters('StorageEndpointSuffix')}/@{parameters('ContainerName')}?restype=container |
— |
📄 Source: GTISessionAssistant/readme.md
This playbook lets analysts ask Google Threat Intelligence (GTI) questions directly from a Microsoft Sentinel incident. When an analyst adds an incident comment that starts with #ask-gti:, the playbook sends the question and the incident context to the GTI Agentspace Session API and posts the answer back to the incident. Follow-up questions on the same incident continue the same multi-turn GTI session, tracked with the GTI-Session and GTI-LastProcessed incident tags.
The full answer is saved as an HTML page in a private Azure Blob Storage container and shared as a time-limited, read-only SAS link in the incident comment. If saving or linking fails, the answer is posted inline instead.
| Role | Scope |
|---|---|
| Key Vault Secrets User | The Key Vault |
| Storage Blob Data Contributor | The Storage Account |
| Microsoft Sentinel Responder | The Sentinel workspace |
For each: open the resource, go to Access control (IAM), Add role assignment, select the role, choose User, group, or service principal, select the playbook by name, then Review + assign.
The azuresentinel, keyvault and azureblob connections use the playbook's managed identity; azureblobkey uses the supplied storage key. If a connection shows as unauthorized, open it, click Edit API connection, Save, and re-check the role assignments.
Set the BlobRetentionDays parameter (greater than or equal to SASExpiryDays) to create a lifecycle rule that deletes answer pages after that many days. A Storage Account has a single lifecycle policy, so this replaces any existing policy; leave it empty to keep answer pages indefinitely and add a rule manually if the account already has lifecycle rules.
The playbook triggers automatically through the automation rule whenever a comment is added to an incident.
#ask-gti: <your question>.#ask-gti: comment on the same incident to ask a follow-up in the same GTI session.Comments that do not start with #ask-gti: are ignored.
Security notes: the answer link is a bearer token, so anyone with the URL can view the page until it expires.
| Symptom | Cause and fix |
|---|---|
| Run fails at the Key Vault step | The managed identity lacks Key Vault Secrets User, or the Key Vault does not use the Azure RBAC permission model. |
[Content truncated...]
Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊