Add more granular settings for policy export
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Start by tracing the policy export flow and the settings.json handling for Core.SkipResourceType. Compare the two proposed approaches and verify that exemptions, assignments, definitions, and policy set definitions can be filtered independently; done means the selected configuration produces the intended exported resources.
Written by the indexing model from the issue text.
Description
Describe the solution you'd like
I would like to get the possibility to do granular filtering on what policy resources to export. Today we only have the option to configure SkipPolicy: true/false which includes exemptions, assignments, definitions and policysetdefinitions. I have a case where the customer only wants to export some of these and there is no way to filter out just a few of them. Adding for example Microsoft.Authorization/policyExemptions to Core.SkipResourceType will not work.
Suggested solutions:
- Change the logic of policy export to honor any resource types specified in
Core.SkipResourceType. - Add additional properties to
settings.json. E.g.Core.SkipPolicyType.
"Core.SkipPolicyType": [
"policyexemptions",
"policyassignments"
],
- Dominant language
- PowerShell
- Stars
- 420
- Forks
- 174
- Avg merge
- 16d 18h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/AzOps
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
-
triage
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
bug needs-triage service/elbv2
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
hashicorp/terraform-provider-aws#50100 · 1 comment ·