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