↳ GitHub sourceAnalytics ruleLow

Stale AWS policy attachment to identity

Description

The policy detects 'AWS policies' attached to IAM users or roles that have not used it during the last X days. It is recommended to remove unused policies from identities to reduce risk.
Rule type
Scheduled
Version
1.0.2
Declared status
Available
Query frequency
30m
Query period
30m
Trigger
gt 0

Declared MITRE coverage

Declared sources

Metadata from the source file. No dependencies inferred from KQL.

Connectors

Data types

KQL query

Original query, unchanged.

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 "Stale AWS policy attachment to identity"
| project  EventID, Policy, Severity, Description, Recommendation, URL, Category, Tactics

Declared entities

URL

Related content

Links established from declared identifiers and solution manifests.

Source provenance

GitHub

Displayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.

Source identifier
766a3b1b-0d5b-4a8d-b0d6-7dd379e73567
Additional source files 2Solutions/Authomize/Analytic Rules/Stale_AWS_policy_attachment_to_identity.yamlsource ↗Solutions/Authomize/Data/Solution_Authomize.jsonsolution-membership ↗
GSTEP / CATALOG TRACKING

Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC

GSTEP sync dates, separate from the source content’s publication dates.