Open pamelafox opened 1 year ago
@pamelafox - Hi, are you using azure devops pipeline task "MicrosoftSecurityDevOps@1" ? If yes then I have a query- How are you passing GDN_TEMPLATEANALYZER_ANALYZEDIRECTORY environment variable for scanning bicep template.
in my case I have a folder which has the bicep template.
I have tried below, but thats not working and scanning the complete repo.
If you have any suggestions , pls do share
I am using a GitHub action workflow, not ADO pipeline, which you can see in my attempted PR: https://github.com/Azure-Samples/azure-search-openai-demo/pull/444/files
We have a situation where we use
azd
to deploy Bicep files, and we intentionally leave one of the parameters unspecified, so thatazd
prompts for that parameter.However, the template-analyzer errors out in that case: https://github.com/Azure-Samples/azure-search-openai-demo/actions/runs/5612367638/job/15205930925
I tried providing test.parameters.json with it filled in, but that doesn't work due to issue #47
It'd be great if either #47 was fixed or if it didn't error with an unprovided parameter.