[BUG] Fix handling of multi-line descriptions for policy definition and assignment exports #2973
Labels
bug
Something isn't working
feature: policy-as-rules
Issues that related to exporting policy as rules.
Milestone
Existing rule
No response
Description of the issue
When multi-line descriptions are used the synopsis is broken over multiple lines, creating invalid JSON.
Error messages
No response
Reproduction
/providers/Microsoft.Authorization/policyDefinitions/82bf5b87-728b-4a74-ba4d-6123845cf542
which generates.
Version of PSRule
2.9.0
Version of PSRule for Azure
1.37.0
Additional context
No response
The text was updated successfully, but these errors were encountered: