microsoft / industry

This repository provides holistic architecture design and reference implementation for industry cloud based on proven success of large scale deployments and at-scale adoption with customers and partners.
MIT License
250 stars 70 forks source link

Bug: Storage Policies about Min Retention Days and CORs are not effective #432

Closed sasever closed 1 year ago

sasever commented 1 year ago

Steps to reproduce

  1. use Compliant-StoragePolicySetDefinition.json and assign it to a scope 2.a.deploy a storage account with a container without min retention days defined/ or smaller than defined value (by default 7) expected: validation should pass and be able to deploy storage account but get a policy hit for container and cant deploy container obtained: everything validates and deploys

2.b. deploy a storage account with a container with CORS definition. expected: validation should not pass and not be able to deploy storage account obtained: everything validates and deploys

Error Message

No response

Screenshots

No response

Code of Conduct