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

Feature Request - Policy Excemption #87

Closed
ThomasStubergh opened this issue Apr 20, 2022 · 4 comments
Closed

Feature Request - Policy Excemption #87

ThomasStubergh opened this issue Apr 20, 2022 · 4 comments
Labels
idle Inactive for 14 days need-to-triage Requires investigation

Comments

@ThomasStubergh
Copy link

ThomasStubergh commented Apr 20, 2022

Do you have plans to add policy excemption to this very cool github action to deploy policies? We are using it at the moment, but lack the feature to excempt resources from policies when needed.

@ThomasStubergh ThomasStubergh added the need-to-triage Requires investigation label Apr 20, 2022
@github-actions
Copy link

github-actions bot commented May 4, 2022

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label May 4, 2022
@ThomasStubergh
Copy link
Author

Any update on this? It would be a nice feature to also have as a part of this deploy instead of either filtering or handling it in the portal (which we don't want to).

@github-actions github-actions bot removed the idle Inactive for 14 days label Jun 21, 2022
@github-actions
Copy link

github-actions bot commented Jul 5, 2022

This issue is idle because it has been open for 14 days with no activity.

@github-actions github-actions bot added the idle Inactive for 14 days label Jul 5, 2022
@ThomasStubergh
Copy link
Author

I found a way to add exemptions by creating extra policies which do a DeployIfNotExist on the resources which should have an exemption. This means you need one policy which monitors resources, and another policy which gives you the option to remediate the resource so that it is configured with an exemption. Another way to solve it would be to use bicep/terraform or ARM templates where you also add an exemption resource as part of the deployment, but then you need to know the policy assignment ID and policyreference ID as part of the deployment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle Inactive for 14 days need-to-triage Requires investigation
Projects
None yet
Development

No branches or pull requests

1 participant