You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stusklinar
changed the title
query(Terraform/Azure): Wanting to exclude Keyvault References
query(Terraform/Azure): wanting to exclude Keyvault References
Sep 2, 2024
stusklinar
changed the title
query(Terraform/Azure): wanting to exclude Keyvault References
query(terraform): wanting to exclude Keyvault References
Sep 2, 2024
Platform
Terraform
Provider
Azure
Description
I'm trying to exclude KeyVault References from showing as high/secrets when included in Terraform.
I've written an allow rule - allow anything that starts with
@Microsoft.KeyVault.
which is the patternthen included that in my run
`{
"allowRules": [
{
"description": "Allow Keyvault References",
"regex": "^@Microsoft.KeyVault.*"
}
]
}`
--secrets-regexes-path /path/Pipelines/templates/kics/queries.json
It works, by virtue of now allowing everything.
I tried changing my reference to
@@
expecting that to fail - but it seems to blanket allow all now.The format for AppSettings KeyVault references is as so:
@Microsoft.KeyVault(VaultName=fMyVault;SecretName=mySecret
Thanks
The text was updated successfully, but these errors were encountered: