Inline suppressions for bicep files? #365
Unanswered
Interface007
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm struggling a bit to find a way to annotate a resource in my bicep file, so that template analyzer will not complain about "AZR-000280".
I am using Microsoft Security DevOps, which tells me "##[error]1. TemplateAnalyzer Error AZR-000280 - File: IaC/modules/openai.bicep. Line: 28. Column 0.". So I assume that TemplateAnalyzer is the tool that is being used here.
This specific resource needs to have "public network access is enabled", so I need to suppress this finding. I don't want to switch off that rule completely, because other instances of this resource might not need public network access to be enabled.
What I already did try:
But I think this is the wrong syntax for TemplateAnalyzer.
Is there even a way to suppress rules on a per-resource basis in this context?
Beta Was this translation helpful? Give feedback.
All reactions