Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Refactor AWS policy based on activities in the last 60 days

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