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