Authomize_v2_CL
| where ingestion_time() >= ago(30m)
| extend EventID = id_s, Policy = policy_name_s, Severity = severity_s,Description = description_s,Recommendation = recommendation_s,URL = url_s,Tactics = tactics_s
| where Policy has "Stale AWS policy attachment to identity"
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics
query: |-
Authomize_v2_CL
| where ingestion_time() >= ago(30m)
| extend EventID = id_s, Policy = policy_name_s, Severity = severity_s,Description = description_s,Recommendation = recommendation_s,URL = url_s,Tactics = tactics_s
| where Policy has "Stale AWS policy attachment to identity"
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics
alertDetailsOverride:
alertDynamicProperties:
- alertProperty: AlertLink
value: URL
alertSeverity: Severity
alertDescriptionFormat: Stale AWS policy attachment to identity. The policy detects 'AWS policies' attached to IAM users or roles that have not used it during the last X days. It is recommended to remove unused policies from identities to reduce risk.
alertnameFormat: Alert from Authomize - Stale AWS policy attachment to identity
alertTactics: Tactics
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Authomize/Analytic Rules/Stale_AWS_policy_attachment_to_identity.yaml
name: Stale AWS policy attachment to identity
queryPeriod: 30m
eventGroupingSettings:
aggregationKind: SingleAlert
requiredDataConnectors:
- connectorId: Authomize
dataTypes:
- Authomize_v2_CL
id: 766a3b1b-0d5b-4a8d-b0d6-7dd379e73567
kind: Scheduled
triggerThreshold: 0
triggerOperator: gt
suppressionEnabled: false
queryFrequency: 30m
incidentConfiguration:
createIncident: true
groupingConfiguration:
lookbackDuration: 5h
reopenClosedIncident: false
matchingMethod: AnyAlert
enabled: true
groupByAlertDetails: []
groupByEntities: []
groupByCustomDetails: []
tactics:
- InitialAccess
status: Available
relevantTechniques:
- T1078
version: 1.0.2
description: The policy detects 'AWS policies' attached to IAM users or roles that have not used it during the last X days. It is recommended to remove unused policies from identities to reduce risk.
entityMappings:
- entityType: URL
fieldMappings:
- columnName: URL
identifier: Url
severity: Low
suppressionDuration: 5h
customDetails:
ReferencedURL: URL
EventDescription: Description
EventRecommendation: Recommendation
AuthomizeEventID: EventID
EventName: Policy