-
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
Expand field() expressions for Azure Policy #1323
Comments
Repoduction: Export-AzPolicyAssignmentRuleData -AssignmentFile .\policy\nnn.assignment.json -OutputPath .\policy-rule\ Some additional information about these errors when running
Additional error stack:
|
Simple cases such as Complex cases will need additional complex expression support upstream in PSRule. For example:
|
@BernieWhite, It would be great when issue |
Hi @Marc013, yes we're making progress on Specifically if you have failing built-in policies, please post their resource IDs, so we can add them to tests. i.e. If you have custom policies that are failing, we would appreciate original policy JSON with placeholders for anything sensitive and error message. |
@BernieWhite |
Thanks @Marc013 |
In Azure Policy, we can have field expressions like
field('type')
. We should be able to expand these expressions when emitting JSON rules.Related to #181
The text was updated successfully, but these errors were encountered: