Skip to content

Add Configure Log Analytics table data retention policy (Monitoring) - #544

Open
claestom wants to merge 1 commit into
Azure:mainfrom
claestom:policy/law-table-retention
Open

Add Configure Log Analytics table data retention policy (Monitoring)#544
claestom wants to merge 1 commit into
Azure:mainfrom
claestom:policy/law-table-retention

Conversation

@claestom

Copy link
Copy Markdown

Add policy: Configure Log Analytics table data retention (Monitoring)

Custom DeployIfNotExists policy that sets analytics (retentionInDays) and total (totalRetentionInDays) retention on Microsoft.OperationalInsights/workspaces/tables.

  • App* tables are excluded; supports tableNameLike / tableNameNotLike filtering
  • Parameterized effect; includes the Log Analytics Contributor role for remediation
  • Part of a Log Analytics data-retention set - source: https://github.com/claestom/law-retention-guardrails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant