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