alerts
Creates, updates, deletes, gets or lists an alerts resource.
Overview
| Name | alerts |
| Type | Resource |
| Id | azure.security.alerts |
Fields
The following fields are returned by SELECT queries:
- get_resource_group_level
- list_resource_group_level_by_region
- get_subscription_level
- list_by_resource_group
- list_subscription_level_by_region
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
alertDisplayName | string | The display name of the alert. |
alertType | string | Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType). |
alertUri | string | A direct link to the alert page in Azure Portal. |
compromisedEntity | string | The display name of the resource most related to this alert. |
correlationKey | string | Key for corelating related alerts. Alerts with the same correlation key considered to be related. |
description | string | Description of the suspicious activity that was detected. |
endTimeUtc | string (date-time) | The UTC time of the last event or activity included in the alert in ISO8601 format. |
entities | array | A list of entities related to the alert. |
extendedLinks | array | Links related to the alert. |
extendedProperties | object | Custom properties for the alert. |
intent | string | The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents. Known values are: "Unknown", "PreAttack", "InitialAccess", "Persistence", "PrivilegeEscalation", "DefenseEvasion", "CredentialAccess", "Discovery", "LateralMovement", "Execution", "Collection", "Exfiltration", "CommandAndControl", "Impact", "Probing", and "Exploitation". (Unknown, PreAttack, InitialAccess, Persistence, PrivilegeEscalation, DefenseEvasion, CredentialAccess, Discovery, LateralMovement, Execution, Collection, Exfiltration, CommandAndControl, Impact, Probing, Exploitation) |
isIncident | boolean | This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert. |
processingEndTimeUtc | string (date-time) | The UTC processing end time of the alert in ISO8601 format. |
productComponentName | string | The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing _. |
productName | string | The name of the product which published this alert (Microsoft Sentinel, Microsoft Defender for Identity, Microsoft Defender for Endpoint, Microsoft Defender for Office, Microsoft Defender for Cloud Apps, and so on). |
remediationSteps | array | Manual action items to take to remediate the alert. |
resourceIdentifiers | array | The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert. |
severity | string | The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified _. Known values are: "Informational", "Low", "Medium", and "High". (Informational, Low, Medium, High) |
startTimeUtc | string (date-time) | The UTC time of the first event or activity included in the alert in ISO8601 format. |
status | string | The life cycle status of the alert. Known values are: "Active", "InProgress", "Resolved", and "Dismissed". (Active, InProgress, Resolved, Dismissed) |
subTechniques | array | Kill chain related sub-techniques behind the alert. |
supportingEvidence | object | Changing set of properties depending on the supportingEvidence type. |
systemAlertId | string | Unique identifier for the alert. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
techniques | array | kill chain related techniques behind the alert. |
timeGeneratedUtc | string (date-time) | The UTC time the alert was generated in ISO8601 format. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
vendorName | string | The name of the vendor that raises the alert. |
version | string | Schema version. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
alertDisplayName | string | The display name of the alert. |
alertType | string | Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType). |
alertUri | string | A direct link to the alert page in Azure Portal. |
compromisedEntity | string | The display name of the resource most related to this alert. |
correlationKey | string | Key for corelating related alerts. Alerts with the same correlation key considered to be related. |
description | string | Description of the suspicious activity that was detected. |
endTimeUtc | string (date-time) | The UTC time of the last event or activity included in the alert in ISO8601 format. |
entities | array | A list of entities related to the alert. |
extendedLinks | array | Links related to the alert. |
extendedProperties | object | Custom properties for the alert. |
intent | string | The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents. Known values are: "Unknown", "PreAttack", "InitialAccess", "Persistence", "PrivilegeEscalation", "DefenseEvasion", "CredentialAccess", "Discovery", "LateralMovement", "Execution", "Collection", "Exfiltration", "CommandAndControl", "Impact", "Probing", and "Exploitation". (Unknown, PreAttack, InitialAccess, Persistence, PrivilegeEscalation, DefenseEvasion, CredentialAccess, Discovery, LateralMovement, Execution, Collection, Exfiltration, CommandAndControl, Impact, Probing, Exploitation) |
isIncident | boolean | This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert. |
processingEndTimeUtc | string (date-time) | The UTC processing end time of the alert in ISO8601 format. |
productComponentName | string | The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing _. |
productName | string | The name of the product which published this alert (Microsoft Sentinel, Microsoft Defender for Identity, Microsoft Defender for Endpoint, Microsoft Defender for Office, Microsoft Defender for Cloud Apps, and so on). |
remediationSteps | array | Manual action items to take to remediate the alert. |
resourceIdentifiers | array | The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert. |
severity | string | The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified _. Known values are: "Informational", "Low", "Medium", and "High". (Informational, Low, Medium, High) |
startTimeUtc | string (date-time) | The UTC time of the first event or activity included in the alert in ISO8601 format. |
status | string | The life cycle status of the alert. Known values are: "Active", "InProgress", "Resolved", and "Dismissed". (Active, InProgress, Resolved, Dismissed) |
subTechniques | array | Kill chain related sub-techniques behind the alert. |
supportingEvidence | object | Changing set of properties depending on the supportingEvidence type. |
systemAlertId | string | Unique identifier for the alert. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
techniques | array | kill chain related techniques behind the alert. |
timeGeneratedUtc | string (date-time) | The UTC time the alert was generated in ISO8601 format. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
vendorName | string | The name of the vendor that raises the alert. |
version | string | Schema version. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
alertDisplayName | string | The display name of the alert. |
alertType | string | Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType). |
alertUri | string | A direct link to the alert page in Azure Portal. |
compromisedEntity | string | The display name of the resource most related to this alert. |
correlationKey | string | Key for corelating related alerts. Alerts with the same correlation key considered to be related. |
description | string | Description of the suspicious activity that was detected. |
endTimeUtc | string (date-time) | The UTC time of the last event or activity included in the alert in ISO8601 format. |
entities | array | A list of entities related to the alert. |
extendedLinks | array | Links related to the alert. |
extendedProperties | object | Custom properties for the alert. |
intent | string | The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents. Known values are: "Unknown", "PreAttack", "InitialAccess", "Persistence", "PrivilegeEscalation", "DefenseEvasion", "CredentialAccess", "Discovery", "LateralMovement", "Execution", "Collection", "Exfiltration", "CommandAndControl", "Impact", "Probing", and "Exploitation". (Unknown, PreAttack, InitialAccess, Persistence, PrivilegeEscalation, DefenseEvasion, CredentialAccess, Discovery, LateralMovement, Execution, Collection, Exfiltration, CommandAndControl, Impact, Probing, Exploitation) |
isIncident | boolean | This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert. |
processingEndTimeUtc | string (date-time) | The UTC processing end time of the alert in ISO8601 format. |
productComponentName | string | The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing _. |
productName | string | The name of the product which published this alert (Microsoft Sentinel, Microsoft Defender for Identity, Microsoft Defender for Endpoint, Microsoft Defender for Office, Microsoft Defender for Cloud Apps, and so on). |
remediationSteps | array | Manual action items to take to remediate the alert. |
resourceIdentifiers | array | The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert. |
severity | string | The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified _. Known values are: "Informational", "Low", "Medium", and "High". (Informational, Low, Medium, High) |
startTimeUtc | string (date-time) | The UTC time of the first event or activity included in the alert in ISO8601 format. |
status | string | The life cycle status of the alert. Known values are: "Active", "InProgress", "Resolved", and "Dismissed". (Active, InProgress, Resolved, Dismissed) |
subTechniques | array | Kill chain related sub-techniques behind the alert. |
supportingEvidence | object | Changing set of properties depending on the supportingEvidence type. |
systemAlertId | string | Unique identifier for the alert. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
techniques | array | kill chain related techniques behind the alert. |
timeGeneratedUtc | string (date-time) | The UTC time the alert was generated in ISO8601 format. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
vendorName | string | The name of the vendor that raises the alert. |
version | string | Schema version. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
alertDisplayName | string | The display name of the alert. |
alertType | string | Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType). |
alertUri | string | A direct link to the alert page in Azure Portal. |
compromisedEntity | string | The display name of the resource most related to this alert. |
correlationKey | string | Key for corelating related alerts. Alerts with the same correlation key considered to be related. |
description | string | Description of the suspicious activity that was detected. |
endTimeUtc | string (date-time) | The UTC time of the last event or activity included in the alert in ISO8601 format. |
entities | array | A list of entities related to the alert. |
extendedLinks | array | Links related to the alert. |
extendedProperties | object | Custom properties for the alert. |
intent | string | The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents. Known values are: "Unknown", "PreAttack", "InitialAccess", "Persistence", "PrivilegeEscalation", "DefenseEvasion", "CredentialAccess", "Discovery", "LateralMovement", "Execution", "Collection", "Exfiltration", "CommandAndControl", "Impact", "Probing", and "Exploitation". (Unknown, PreAttack, InitialAccess, Persistence, PrivilegeEscalation, DefenseEvasion, CredentialAccess, Discovery, LateralMovement, Execution, Collection, Exfiltration, CommandAndControl, Impact, Probing, Exploitation) |
isIncident | boolean | This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert. |
processingEndTimeUtc | string (date-time) | The UTC processing end time of the alert in ISO8601 format. |
productComponentName | string | The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing _. |
productName | string | The name of the product which published this alert (Microsoft Sentinel, Microsoft Defender for Identity, Microsoft Defender for Endpoint, Microsoft Defender for Office, Microsoft Defender for Cloud Apps, and so on). |
remediationSteps | array | Manual action items to take to remediate the alert. |
resourceIdentifiers | array | The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert. |
severity | string | The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified _. Known values are: "Informational", "Low", "Medium", and "High". (Informational, Low, Medium, High) |
startTimeUtc | string (date-time) | The UTC time of the first event or activity included in the alert in ISO8601 format. |
status | string | The life cycle status of the alert. Known values are: "Active", "InProgress", "Resolved", and "Dismissed". (Active, InProgress, Resolved, Dismissed) |
subTechniques | array | Kill chain related sub-techniques behind the alert. |
supportingEvidence | object | Changing set of properties depending on the supportingEvidence type. |
systemAlertId | string | Unique identifier for the alert. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
techniques | array | kill chain related techniques behind the alert. |
timeGeneratedUtc | string (date-time) | The UTC time the alert was generated in ISO8601 format. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
vendorName | string | The name of the vendor that raises the alert. |
version | string | Schema version. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
alertDisplayName | string | The display name of the alert. |
alertType | string | Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType). |
alertUri | string | A direct link to the alert page in Azure Portal. |
compromisedEntity | string | The display name of the resource most related to this alert. |
correlationKey | string | Key for corelating related alerts. Alerts with the same correlation key considered to be related. |
description | string | Description of the suspicious activity that was detected. |
endTimeUtc | string (date-time) | The UTC time of the last event or activity included in the alert in ISO8601 format. |
entities | array | A list of entities related to the alert. |
extendedLinks | array | Links related to the alert. |
extendedProperties | object | Custom properties for the alert. |
intent | string | The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents. Known values are: "Unknown", "PreAttack", "InitialAccess", "Persistence", "PrivilegeEscalation", "DefenseEvasion", "CredentialAccess", "Discovery", "LateralMovement", "Execution", "Collection", "Exfiltration", "CommandAndControl", "Impact", "Probing", and "Exploitation". (Unknown, PreAttack, InitialAccess, Persistence, PrivilegeEscalation, DefenseEvasion, CredentialAccess, Discovery, LateralMovement, Execution, Collection, Exfiltration, CommandAndControl, Impact, Probing, Exploitation) |
isIncident | boolean | This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert. |
processingEndTimeUtc | string (date-time) | The UTC processing end time of the alert in ISO8601 format. |
productComponentName | string | The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing _. |
productName | string | The name of the product which published this alert (Microsoft Sentinel, Microsoft Defender for Identity, Microsoft Defender for Endpoint, Microsoft Defender for Office, Microsoft Defender for Cloud Apps, and so on). |
remediationSteps | array | Manual action items to take to remediate the alert. |
resourceIdentifiers | array | The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert. |
severity | string | The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified _. Known values are: "Informational", "Low", "Medium", and "High". (Informational, Low, Medium, High) |
startTimeUtc | string (date-time) | The UTC time of the first event or activity included in the alert in ISO8601 format. |
status | string | The life cycle status of the alert. Known values are: "Active", "InProgress", "Resolved", and "Dismissed". (Active, InProgress, Resolved, Dismissed) |
subTechniques | array | Kill chain related sub-techniques behind the alert. |
supportingEvidence | object | Changing set of properties depending on the supportingEvidence type. |
systemAlertId | string | Unique identifier for the alert. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
techniques | array | kill chain related techniques behind the alert. |
timeGeneratedUtc | string (date-time) | The UTC time the alert was generated in ISO8601 format. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
vendorName | string | The name of the vendor that raises the alert. |
version | string | Schema version. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
alertDisplayName | string | The display name of the alert. |
alertType | string | Unique identifier for the detection logic (all alert instances from the same detection logic will have the same alertType). |
alertUri | string | A direct link to the alert page in Azure Portal. |
compromisedEntity | string | The display name of the resource most related to this alert. |
correlationKey | string | Key for corelating related alerts. Alerts with the same correlation key considered to be related. |
description | string | Description of the suspicious activity that was detected. |
endTimeUtc | string (date-time) | The UTC time of the last event or activity included in the alert in ISO8601 format. |
entities | array | A list of entities related to the alert. |
extendedLinks | array | Links related to the alert. |
extendedProperties | object | Custom properties for the alert. |
intent | string | The kill chain related intent behind the alert. For list of supported values, and explanations of Azure Security Center's supported kill chain intents. Known values are: "Unknown", "PreAttack", "InitialAccess", "Persistence", "PrivilegeEscalation", "DefenseEvasion", "CredentialAccess", "Discovery", "LateralMovement", "Execution", "Collection", "Exfiltration", "CommandAndControl", "Impact", "Probing", and "Exploitation". (Unknown, PreAttack, InitialAccess, Persistence, PrivilegeEscalation, DefenseEvasion, CredentialAccess, Discovery, LateralMovement, Execution, Collection, Exfiltration, CommandAndControl, Impact, Probing, Exploitation) |
isIncident | boolean | This field determines whether the alert is an incident (a compound grouping of several alerts) or a single alert. |
processingEndTimeUtc | string (date-time) | The UTC processing end time of the alert in ISO8601 format. |
productComponentName | string | The name of Azure Security Center pricing tier which powering this alert. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-pricing _. |
productName | string | The name of the product which published this alert (Microsoft Sentinel, Microsoft Defender for Identity, Microsoft Defender for Endpoint, Microsoft Defender for Office, Microsoft Defender for Cloud Apps, and so on). |
remediationSteps | array | Manual action items to take to remediate the alert. |
resourceIdentifiers | array | The resource identifiers that can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert. |
severity | string | The risk level of the threat that was detected. Learn more: https://docs.microsoft.com/en-us/azure/security-center/security-center-alerts-overview#how-are-alerts-classified _. Known values are: "Informational", "Low", "Medium", and "High". (Informational, Low, Medium, High) |
startTimeUtc | string (date-time) | The UTC time of the first event or activity included in the alert in ISO8601 format. |
status | string | The life cycle status of the alert. Known values are: "Active", "InProgress", "Resolved", and "Dismissed". (Active, InProgress, Resolved, Dismissed) |
subTechniques | array | Kill chain related sub-techniques behind the alert. |
supportingEvidence | object | Changing set of properties depending on the supportingEvidence type. |
systemAlertId | string | Unique identifier for the alert. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
techniques | array | kill chain related techniques behind the alert. |
timeGeneratedUtc | string (date-time) | The UTC time the alert was generated in ISO8601 format. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
vendorName | string | The name of the vendor that raises the alert. |
version | string | Schema version. |
Methods
The following methods are available for this resource:
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
alert_name | string | Name of the alert object. Required. |
asc_location | string | The location where ASC stores the data of the subscription. can be retrieved from Get locations. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string |
SELECT examples
- get_resource_group_level
- list_resource_group_level_by_region
- get_subscription_level
- list_by_resource_group
- list_subscription_level_by_region
- list
Get an alert that is associated a resource group or a resource in a resource group.
SELECT
id,
name,
alertDisplayName,
alertType,
alertUri,
compromisedEntity,
correlationKey,
description,
endTimeUtc,
entities,
extendedLinks,
extendedProperties,
intent,
isIncident,
processingEndTimeUtc,
productComponentName,
productName,
remediationSteps,
resourceIdentifiers,
severity,
startTimeUtc,
status,
subTechniques,
supportingEvidence,
systemAlertId,
systemData,
techniques,
timeGeneratedUtc,
type,
vendorName,
version
FROM azure.security.alerts
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND asc_location = '{{ asc_location }}' -- required
AND alert_name = '{{ alert_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List all the alerts that are associated with the resource group that are stored in a specific location.
SELECT
id,
name,
alertDisplayName,
alertType,
alertUri,
compromisedEntity,
correlationKey,
description,
endTimeUtc,
entities,
extendedLinks,
extendedProperties,
intent,
isIncident,
processingEndTimeUtc,
productComponentName,
productName,
remediationSteps,
resourceIdentifiers,
severity,
startTimeUtc,
status,
subTechniques,
supportingEvidence,
systemAlertId,
systemData,
techniques,
timeGeneratedUtc,
type,
vendorName,
version
FROM azure.security.alerts
WHERE asc_location = '{{ asc_location }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Get an alert that is associated with a subscription.
SELECT
id,
name,
alertDisplayName,
alertType,
alertUri,
compromisedEntity,
correlationKey,
description,
endTimeUtc,
entities,
extendedLinks,
extendedProperties,
intent,
isIncident,
processingEndTimeUtc,
productComponentName,
productName,
remediationSteps,
resourceIdentifiers,
severity,
startTimeUtc,
status,
subTechniques,
supportingEvidence,
systemAlertId,
systemData,
techniques,
timeGeneratedUtc,
type,
vendorName,
version
FROM azure.security.alerts
WHERE asc_location = '{{ asc_location }}' -- required
AND alert_name = '{{ alert_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List all the alerts that are associated with the resource group.
SELECT
id,
name,
alertDisplayName,
alertType,
alertUri,
compromisedEntity,
correlationKey,
description,
endTimeUtc,
entities,
extendedLinks,
extendedProperties,
intent,
isIncident,
processingEndTimeUtc,
productComponentName,
productName,
remediationSteps,
resourceIdentifiers,
severity,
startTimeUtc,
status,
subTechniques,
supportingEvidence,
systemAlertId,
systemData,
techniques,
timeGeneratedUtc,
type,
vendorName,
version
FROM azure.security.alerts
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List all the alerts that are associated with the subscription that are stored in a specific location.
SELECT
id,
name,
alertDisplayName,
alertType,
alertUri,
compromisedEntity,
correlationKey,
description,
endTimeUtc,
entities,
extendedLinks,
extendedProperties,
intent,
isIncident,
processingEndTimeUtc,
productComponentName,
productName,
remediationSteps,
resourceIdentifiers,
severity,
startTimeUtc,
status,
subTechniques,
supportingEvidence,
systemAlertId,
systemData,
techniques,
timeGeneratedUtc,
type,
vendorName,
version
FROM azure.security.alerts
WHERE asc_location = '{{ asc_location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
List all the alerts that are associated with the subscription.
SELECT
id,
name,
alertDisplayName,
alertType,
alertUri,
compromisedEntity,
correlationKey,
description,
endTimeUtc,
entities,
extendedLinks,
extendedProperties,
intent,
isIncident,
processingEndTimeUtc,
productComponentName,
productName,
remediationSteps,
resourceIdentifiers,
severity,
startTimeUtc,
status,
subTechniques,
supportingEvidence,
systemAlertId,
systemData,
techniques,
timeGeneratedUtc,
type,
vendorName,
version
FROM azure.security.alerts
WHERE subscription_id = '{{ subscription_id }}' -- required
;
Lifecycle Methods
- update_subscription_level_state_to_dismiss
- update_subscription_level_state_to_resolve
- update_subscription_level_state_to_activate
- update_subscription_level_state_to_in_progress
- update_resource_group_level_state_to_resolve
- update_resource_group_level_state_to_dismiss
- update_resource_group_level_state_to_activate
- update_resource_group_level_state_to_in_progress
- simulate
Update the alert's state.
EXEC azure.security.alerts.update_subscription_level_state_to_dismiss
@asc_location='{{ asc_location }}' --required,
@alert_name='{{ alert_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Update the alert's state.
EXEC azure.security.alerts.update_subscription_level_state_to_resolve
@asc_location='{{ asc_location }}' --required,
@alert_name='{{ alert_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Update the alert's state.
EXEC azure.security.alerts.update_subscription_level_state_to_activate
@asc_location='{{ asc_location }}' --required,
@alert_name='{{ alert_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Update the alert's state.
EXEC azure.security.alerts.update_subscription_level_state_to_in_progress
@asc_location='{{ asc_location }}' --required,
@alert_name='{{ alert_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Update the alert's state.
EXEC azure.security.alerts.update_resource_group_level_state_to_resolve
@resource_group_name='{{ resource_group_name }}' --required,
@asc_location='{{ asc_location }}' --required,
@alert_name='{{ alert_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Update the alert's state.
EXEC azure.security.alerts.update_resource_group_level_state_to_dismiss
@resource_group_name='{{ resource_group_name }}' --required,
@asc_location='{{ asc_location }}' --required,
@alert_name='{{ alert_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Update the alert's state.
EXEC azure.security.alerts.update_resource_group_level_state_to_activate
@resource_group_name='{{ resource_group_name }}' --required,
@asc_location='{{ asc_location }}' --required,
@alert_name='{{ alert_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Update the alert's state.
EXEC azure.security.alerts.update_resource_group_level_state_to_in_progress
@resource_group_name='{{ resource_group_name }}' --required,
@asc_location='{{ asc_location }}' --required,
@alert_name='{{ alert_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;
Simulate security alerts.
EXEC azure.security.alerts.simulate
@asc_location='{{ asc_location }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;