Community contribution guide for custom policies
jesseloudon opened this issue · 3 comments
Is your feature request related to a problem? Please describe.
Community members may like to contribute a custom policy to this repo but don't know how.
Describe the solution you'd like
Add a community contribution guide with steps defining:
- Branch process
- Language selection
- Folder selection
- Custom Policy creation
- Custom Policy testing
- Language Linting/Validation checks
- PR process
Hey @jesseloudon i have loads of example policies i can share. Should i post the info into here as above?
Hey @jesseloudon i have loads of example policies i can share. Should i post the info into here as above?
Hi @mcdrm - That's awesome! I'm working on the contribution guide which will assist.
In the meantime, assuming you have policies for usage with Bicep:
Custom Definitions should go here: https://github.com/globalbao/azure-policy-as-code/tree/main/Bicep/modules/definitions/custom
Custom Initiatives should go here: https://github.com/globalbao/azure-policy-as-code/tree/main/Bicep/modules/initiatives
You're free to create a branch + submit a PR with your policies and I'll work with you on any other changes to them before merging!
Cheers
@jesseloudon Excellent - more than happy to help contribute. I have them as bicep modules at the moment - i notice you are using JSON and the File Functions - i posted something in the discussions around this - happy to align with this depending on your feedback :)
Let me know and i will get on it.