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 "Refactor AWS policy based on activities in the last 60 days."
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics
kind: Scheduled
requiredDataConnectors:
- connectorId: Authomize
dataTypes:
- Authomize_v2_CL
status: Available
triggerOperator: gt
version: 1.0.2
tactics:
- PrivilegeEscalation
queryPeriod: 30m
incidentConfiguration:
createIncident: true
groupingConfiguration:
reopenClosedIncident: false
enabled: true
matchingMethod: AnyAlert
groupByAlertDetails: []
groupByEntities: []
groupByCustomDetails: []
lookbackDuration: 5h
alertDetailsOverride:
alertDescriptionFormat: Refactor AWS policy based on activities in the last 60 days. This is a recommended update to IAM policy on AWS. Review the policy and apply it according to change control process. Authomize will have a recommended policy to be downloaded.
alertnameFormat: Alert from Authomize - Refactor AWS policy based on activities in the last 60 days
alertDynamicProperties:
- alertProperty: AlertLink
value: URL
alertSeverity: Severity
alertTactics: Tactics
queryFrequency: 30m
id: 642de064-c67b-4eb7-98bd-3f8cd51f282c
eventGroupingSettings:
aggregationKind: SingleAlert
relevantTechniques:
- T1078
description: This is a recommended update to IAM policy on AWS. Review the policy and apply it according to change control process. Authomize will have a recommended policy to be downloaded.
customDetails:
AuthomizeEventID: EventID
EventRecommendation: Recommendation
ReferencedURL: URL
EventName: Policy
EventDescription: Description
suppressionEnabled: false
entityMappings:
- entityType: URL
fieldMappings:
- columnName: URL
identifier: Url
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Authomize/Analytic Rules/Refactor_AWS_policy_based_on_activities.yaml
triggerThreshold: 0
name: Refactor AWS policy based on activities in the last 60 days
severity: High
suppressionDuration: 5h
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 "Refactor AWS policy based on activities in the last 60 days."
| project EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics