Azure / CanadaPubSecALZ

This reference implementation is based on Cloud Adoption Framework for Azure and provides an opinionated implementation that enables ITSG-33 regulatory compliance by using NIST SP 800-53 Rev. 4 and Canada Federal PBMM Regulatory Compliance Policy Sets.
MIT License
121 stars 87 forks source link

Fix subscription filtering bug in deployment scripts #375

Closed skeeler closed 1 year ago

skeeler commented 1 year ago

The /scripts/deployment/Functions/Subscriptions.ps1 script does not filter narrowly enough to restrict results to only the true subscription configuration files. Parts of the pipeline/script automation may create intermediate JSON parameter files within this folder hierarchy and do not always remove them. Fix issue by improving on the subscription configuration file filtering logic to only return true JSON subscription configuration files.