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