Vaikora - Agent policy violation
| Id | 54262ad1-f346-4246-a13f-9557595ff7bd |
| Rulename | Vaikora - Agent policy violation |
| Description | Identifies AI agent actions explicitly blocked by a Vaikora policy. Repeated violations from the same agent may indicate prompt injection, policy circumvention, or a compromised workflow. |
| Severity | Medium |
| Tactics | Impact DefenseEvasion |
| Techniques | T1078 T1562 |
| Required data connectors | VaikoraSentinel |
| Kind | Scheduled |
| Query frequency | 15m |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | GreaterThan |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Vaikora-Sentinel/Analytic Rules/Vaikora - Agent Policy Violation.yaml |
| Version | 1.0.0 |
| Arm template | 54262ad1-f346-4246-a13f-9557595ff7bd.json |
Vaikora_AgentSignals_CL
| where TimeGenerated > ago(1h)
| where policy_decision_s == "block"
| summarize
ViolationCount = count(),
PolicyIds = make_set(policy_id_s),
ActionTypes = make_set(action_type_s),
ResourceTypes = make_set(resource_type_s),
MaxAnomalyScore = max(anomaly_score_d),
Severities = make_set(severity_s),
LogHashes = make_set(log_hash_s)
by AgentId = agent_id_s
| extend
PolicyList = strcat_array(PolicyIds, ", "),
ActionList = strcat_array(ActionTypes, ", "),
ResourceList = strcat_array(ResourceTypes, ", ")
| where ViolationCount >= 1
queryFrequency: 15m
version: 1.0.0
queryPeriod: 1h
incidentConfiguration:
createIncident: true
groupingConfiguration:
groupByEntities:
- Account
lookbackDuration: 1h
enabled: true
matchingMethod: Selected
reopenClosedIncident: false
relevantTechniques:
- T1078
- T1562
name: Vaikora - Agent policy violation
kind: Scheduled
severity: Medium
tactics:
- Impact
- DefenseEvasion
suppressionEnabled: false
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Vaikora-Sentinel/Analytic Rules/Vaikora - Agent Policy Violation.yaml
requiredDataConnectors:
- dataTypes:
- Vaikora_AgentSignals_CL
connectorId: VaikoraSentinel
triggerOperator: GreaterThan
suppressionDuration: 15m
customDetails:
ViolationCount: ViolationCount
ActionTypes: ActionList
PolicyIds: PolicyList
MaxAnomalyScore: MaxAnomalyScore
id: 54262ad1-f346-4246-a13f-9557595ff7bd
eventGroupingSettings:
aggregationKind: AlertPerResult
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: AgentId
triggerThreshold: 0
query: |
Vaikora_AgentSignals_CL
| where TimeGenerated > ago(1h)
| where policy_decision_s == "block"
| summarize
ViolationCount = count(),
PolicyIds = make_set(policy_id_s),
ActionTypes = make_set(action_type_s),
ResourceTypes = make_set(resource_type_s),
MaxAnomalyScore = max(anomaly_score_d),
Severities = make_set(severity_s),
LogHashes = make_set(log_hash_s)
by AgentId = agent_id_s
| extend
PolicyList = strcat_array(PolicyIds, ", "),
ActionList = strcat_array(ActionTypes, ", "),
ResourceList = strcat_array(ResourceTypes, ", ")
| where ViolationCount >= 1
status: Available
description: |
Identifies AI agent actions explicitly blocked by a Vaikora policy. Repeated violations from the same agent may indicate prompt injection, policy circumvention, or a compromised workflow.