last sync: 2022-Jun-28 16:32:57 UTC

Azure Policy definition

Activity log should be retained for at least one year

Name Activity log should be retained for at least one year
Azure Portal
Id b02aacc0-b073-424e-8298-42b22829ee0a
Version 1.0.0
details on versioning
Category Monitoring
Microsoft docs
Description This policy audits the activity log if the retention is not set for 365 days or forever (retention days set to 0).
Mode All
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: AuditIfNotExists
Allowed: (AuditIfNotExists, Disabled)
Used RBAC Role none
Rule Aliases THEN-ExistenceCondition (2)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Insights/logProfiles/retentionPolicy.days microsoft.insights logprofiles properties.retentionPolicy.days false
Microsoft.Insights/logProfiles/retentionPolicy.enabled microsoft.insights logprofiles properties.retentionPolicy.enabled false
Rule ResourceTypes IF (1)
History none
Used in Initiatives
Initiative DisplayName Initiative Id Initiative Category State Type
[Preview]: Reserve Bank of India - IT Framework for NBFC 7f89f09c-48c1-f28d-1bd5-84f3fb22f86c Regulatory Compliance Preview BuiltIn
[Preview]: RMIT Malaysia 97a6d4f1-3bed-4cf4-ac5b-0e444c0408d6 Regulatory Compliance Preview BuiltIn
[Preview]: SWIFT CSP-CSCF v2021 abf84fac-f817-a70c-14b5-47eec767458a Regulatory Compliance Preview BuiltIn
[Preview]: SWIFT CSP-CSCF v2022 7bc7cd6c-4114-ff31-3cac-59be3157596d Regulatory Compliance Preview BuiltIn
CIS Microsoft Azure Foundations Benchmark v1.1.0 1a5bb27d-173f-493e-9568-eb56638dde4d Regulatory Compliance GA BuiltIn
CMMC Level 3 b5629c75-5c77-4422-87b9-2509e680f8de Regulatory Compliance GA BuiltIn