Is your feature request related to a problem? Please describe.
Let's assume a policy have more than one parameter. We want to be able to set those parameters when deploying the policy (in Bicep). Is it possible to have all the parameters of a policy in one object defined in the parameters property of policySetDefinitions? If it's possible, how do we later set this object parameter in policyDefinitions?
Example:
This policy definition seems to have more than one parameter:
https://github.com/globalbao/azure-policy-as-code/blob/main/Bicep/demos/security-governance/deploy-sub-dev.bicep#L75
Currently, the parameters are hard-coded. How can we set those parameters when deploying (for example using parameters files). Please note that there might be several policies with parameters which have similar name. "Effect" is a common parameter name. That is the reason, I am looking for an object per policy.
Is your feature request related to a problem? Please describe.
Let's assume a policy have more than one parameter. We want to be able to set those parameters when deploying the policy (in Bicep). Is it possible to have all the parameters of a policy in one object defined in the parameters property of
policySetDefinitions? If it's possible, how do we later set this object parameter inpolicyDefinitions?Example:
This policy definition seems to have more than one parameter:
https://github.com/globalbao/azure-policy-as-code/blob/main/Bicep/demos/security-governance/deploy-sub-dev.bicep#L75
Currently, the parameters are hard-coded. How can we set those parameters when deploying (for example using parameters files). Please note that there might be several policies with parameters which have similar name. "
Effect" is a common parameter name. That is the reason, I am looking for an object per policy.