-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev alz pattern #314
base: main
Are you sure you want to change the base?
Dev alz pattern #314
Conversation
troubleshooting failing remediation
adding displayname
Update Deploy-AppInsightsThrottlingLimit-Alert.json
Update Deploy-ActivityLog-AppInsights-Del.json
Fixed alert remediation
Fixed override tag name
Update Deploy-AppInsightsThrottlingLimit-Alert.json
Refining query to return only records for the selected AppInsights resource
Update Deploy-AppInsightsThrottlingLimit-Alert.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ymehdimsft
Let's work on making the following changes:
- These resource types typically dont exist under the
Management
management group. Therefore we should include these policies not in the Management Initiative. As this regards App Insights it makes sense to add them to the Web Initiative. - The
policies.bicep
will no longer be used, and shouldn't be modified anymore and it will be removed in the near future.
@@ -1660,6 +1660,45 @@ | |||
}, | |||
"LAWDailyCapLimitAlertState": { | |||
"value": "true" | |||
}, | |||
"AppInsightsThrottlingLimitSeverity": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new paramaters should go to the policyAssignmentParametersWeb
section.
@@ -446,6 +446,163 @@ | |||
"displayName": "ALog Analytics Workspace Daily Cap Limit Reached Alert State", | |||
"description": "Alert state for the alert" | |||
} | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the new policies references and paramaters to the Deploy-Web-Alerts.json
@@ -71,6 +71,8 @@ var loadPolicyDefinitions = { | |||
loadTextContent('../../../services/OperationalInsights/workspaces/Deploy-ActivityLog-LAWorkspace-Del.json') | |||
loadTextContent('../../../services/OperationalInsights/workspaces/Deploy-ActivityLog-LAWorkspace-KeyRegen.json') | |||
loadTextContent('../../../services/OperationalInsights/workspaces/Deploy-LAWorkspace-DailyCapLimitReached-Alert.json') | |||
loadTextContent('../../../services/Insights/components/Deploy-AppInsightsThrottlingLimit-Alert.json') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the new lines from here and move them to policies-Web.bicep
@@ -167,6 +167,7 @@ var loadPolicyDefinitions = { | |||
loadTextContent('../../../services/OperationalInsights/workspaces/Deploy-ActivityLog-LAWorkspace-Del.json') | |||
loadTextContent('../../../services/OperationalInsights/workspaces/Deploy-ActivityLog-LAWorkspace-KeyRegen.json') | |||
loadTextContent('../../../services/OperationalInsights/workspaces/Deploy-LAWorkspace-DailyCapLimitReached-Alert.json') | |||
loadTextContent('../../../services/Insights/components/Deploy-AppInsightsThrottlingLimit-Alert') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo this change. This file is no longer required.
Overview/Summary
Replace this with a brief description of what this Pull Request fixes, changes, etc.
This PR fixes/adds/changes/removes
Adds 2 alerts (App Insights Throttling limit reached, App Insights Delete
Breaking Changes
As part of this Pull Request I have
main
branch