union prancer_CL
| where deviceProduct_s == 'azure'
| where parse_json(data_data_snapshots_s)[0].type == 'Microsoft.ContainerRegistry/registries'
| where data_data_severity_s == 'High' and data_data_result_s == 'failed'
| extend snapshot = parse_json(data_data_snapshots_s)
| mv-expand snapshot
| extend
id = tostring(snapshot.id),
structure = tostring(snapshot.structure),
reference = tostring(snapshot.reference),
source = tostring(snapshot.source),
collection = tostring(snapshot.collection),
type = tostring(snapshot.type),
region = tostring(snapshot.region),
resourceTypes = tostring(snapshot.resourceTypes),
path = tostring(snapshot.path)
name: Registries Alerts for Prancer
relevantTechniques:
- T1595
id: 08706063-c15e-4d96-beae-9e8d92ccefbb
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Prancer PenSuiteAI Integration/Analytic Rules/Registries_High_Severity.yaml
requiredDataConnectors:
- dataTypes:
- prancer_CL
connectorId: PrancerLogData
eventGroupingSettings:
aggregationKind: SingleAlert
version: 1.0.2
severity: High
triggerThreshold: 0
queryPeriod: 5h
entityMappings:
- fieldMappings:
- identifier: ResourceId
columnName: path
entityType: AzureResource
kind: Scheduled
alertDetailsOverride:
alertDisplayNameFormat: '{{data_data_message_s}}'
alertDescriptionFormat: '{{data_data_description_s}}'
alertDynamicProperties:
- value: data_data_remediation_description_s
alertProperty: RemediationSteps
alertSeverityColumnName: '{{data_data_severity_s}}'
queryFrequency: 5h
status: Available
query: |
union prancer_CL
| where deviceProduct_s == 'azure'
| where parse_json(data_data_snapshots_s)[0].type == 'Microsoft.ContainerRegistry/registries'
| where data_data_severity_s == 'High' and data_data_result_s == 'failed'
| extend snapshot = parse_json(data_data_snapshots_s)
| mv-expand snapshot
| extend
id = tostring(snapshot.id),
structure = tostring(snapshot.structure),
reference = tostring(snapshot.reference),
source = tostring(snapshot.source),
collection = tostring(snapshot.collection),
type = tostring(snapshot.type),
region = tostring(snapshot.region),
resourceTypes = tostring(snapshot.resourceTypes),
path = tostring(snapshot.path)
tactics:
- Reconnaissance
customDetails:
description: |
'High severity registry alerts found by Prancer.'
triggerOperator: gt