Skip to content
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

Updated known issues list of resource types excluded from policy eval #1306

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shanhix1
Copy link
Collaborator

@shanhix1 shanhix1 commented Apr 4, 2024

Updated known issues list of resource types excluded from policy evaluation

- Microsoft.Resources/*, except resource groups and subscriptions.
- For example, `Microsoft.Resources/deployments` and `Microsoft.Resources/templateSpecs` are not evaluated by policy.
- Microsoft.Billing/*
- Microsoft.Capacity/reservationOrders/*
- Microsoft.Help/*
- Microsoft.Diagnostics/*

The following resource types are also excluded from policy evaluation:
- Microsoft.Automation/automationAccounts/jobs
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are excluded only from brownfield evaluation, not greenfield - so maybe should be moved to the section below - though I'm not sure if they're all due to scalability issues, or due to not following the RPC (not supporting list calls at subscription level for example)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@varunkumta are you talking about Microsoft.Automation/automationAccounts/jobs only, or all the resource types in this new list?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all

@@ -228,13 +228,31 @@ All Databricks resources bypass policy enforcement at creation time. Databricks

### Resources that are exempt from policy evaluation
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should also add a section about types that are marked 'internal' in operations api - eg microsoft.devtestlab/schedules

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@varunkumta - can you point me to where I can find these?

@s4parke
Copy link

s4parke commented Jun 27, 2024

Adding Microsoft.Management/managementGroups will close out #1304, thanks!

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.

5 participants