Azure / AzOps

AzOps is a PowerShell module which deploys (Push) ARM Resource Templates & Bicep files at all Azure scope levels and exports (Pull) ARM resource hierarchy.
https://aka.ms/AzOps
MIT License
384 stars 163 forks source link

Fix Jq filter to allow empty defaultValue for policy definition and set definition #875

Closed Jefajers closed 5 months ago

Jefajers commented 5 months ago

Overview/Summary

This PR fixes #874 by adjusting policyDefinitions.jq and policySetDefinitions.jq to allow defaultValue to be empty.

This PR fixes/adds/changes/removes

  1. Changes policyDefinitions.jq
  2. Changes policySetDefinitions.jq

Breaking Changes

N/A

Testing Evidence

Tests have been performed to evaluate if empty defaultValue is pulled back and persisted while still removing other unwanted empty key value pairs.

As part of this Pull Request I have