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
When using the SARIF output, results are shown for files that match the exclude argument
Reproduction steps
1. Install a module with a bunch of dependencies to a virtual environment at .venv
1. Install bandit[sarif]
1. Run `bandit --format sarif --exclude .venv/* --recursive .`
1. Examine results.sarif
Expected behavior
Results in sarif file respect the choices passed in using --exclude
Bandit version
1.8.3 (Default)
Python version
3.13 (Default)
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the SARIF output, results are shown for files that match the exclude argument
Reproduction steps
1. Install a module with a bunch of dependencies to a virtual environment at .venv 1. Install bandit[sarif] 1. Run `bandit --format sarif --exclude .venv/* --recursive .` 1. Examine results.sarif
Expected behavior
Results in sarif file respect the choices passed in using --exclude
Bandit version
1.8.3 (Default)
Python version
3.13 (Default)
Additional context
No response
The text was updated successfully, but these errors were encountered: