Azure / Azure/template-analyzer

[FEATURE REQ] Allow excluding files or folders when providing analyze-directory

Open
#387 0 comments 0 reactions 0 assignees View on GitHub
🔍 needs-triage enhancement
Dominant language
C#
Stars
143
Forks
47
PR merge metrics
No merged PRs in 30d

Description

### Please describe the feature or suggestion.

A few of our bicep templates and modules have copies of AVM modules stored next to them in source control (for various reasons) and we don't want the template analyzer to scan this code since we're not going to fix any issues that it finds with them. It would be great if we could have another parameter like `exclude-directory` or something so we can ignore those child folders when we want to analyze multiple bicep files in the same parent fodler without needing to run the tool multiple times.

### Additional context

We're using the Azure DevOps security task to run the tool so we can configure and run multiple tools using a config file without needing to have a step to run each one individually.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.