-
Notifications
You must be signed in to change notification settings - Fork 89
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
Validate objects with Azure policy conditions #181
Comments
@BernieWhite I can probably help with this one. Should be able to use the JSON format from PSRule to make this easier to do. |
@ArmaanMcleod I've had quite a bit of time to think about this one. I think for the most part we should provide a way to export Azure Policy assignments and linked definitions into JSON based rules. I say assignments because there may be parameters like many of the built-in policies support. Customers would set these to different values based on their environment. Maybe use the built-in "Allowed locations" policy as a sample case. |
@BernieWhite Would we export Azure Policies with a cmdlet like Let me know what you think. Might need to figure out how we want to design this cmdlet. |
@ArmaanMcleod Yes. I was thinking:
|
PSRule can validate objects with custom PowerShell, YAML or JSON rules.
PSRule for Azure should be able to validate resources based on Azure Policies.
Migrated from microsoft/PSRule#43
The text was updated successfully, but these errors were encountered: