Skip to content

Commit e67887e

Browse files
[MERGE] #172
From PR/MR #172 (feature-unleash-bandit-164-patch-1): - [PATCH] New file .bandit.yml
2 parents 7a9a408 + 4d9b5e1 commit e67887e

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

.bandit.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# .bandit.yml
2+
# Strict configuration for Bandit to enforce comprehensive security checks.
3+
4+
# Define the directories to exclude from scanning.
5+
exclude_dirs:
6+
[]
7+
8+
# Specify files or directories to skip.
9+
skipped_files:
10+
[]
11+
12+
# Indicate the targets to scan.
13+
targets:
14+
- "."
15+
16+
# Configure plugins (tests).
17+
plugins:
18+
# Include all tests for strict scanning.
19+
include:
20+
- "*"
21+
# Exclude no tests.
22+
exclude:
23+
- ""
24+
25+
# Set the severity levels to report.
26+
# Including all levels ensures that even minor issues are reported.
27+
severity:
28+
- LOW
29+
- MEDIUM
30+
- HIGH
31+
32+
# Set the confidence levels to report.
33+
# Including all levels to catch all potential issues.
34+
confidence:
35+
- MEDIUM
36+
- HIGH
37+
38+
# Specify the output format for the reports.
39+
format: "txt"
40+
41+
# Include code snippets in the output for easier debugging.
42+
show_code: true
43+
44+
# Define profiles if needed.
45+
profiles:
46+
full_audit:
47+
include:
48+
- "*"
49+
exclude:
50+
- ""
51+
fast_audit:
52+
include:
53+
- "multicast/*"
54+
exclude:
55+
- "tests/*"
56+
57+
# Enable recursive scanning to cover all subdirectories.
58+
recursive: true
59+
60+
# Disable any inline skips to ensure all code is analyzed.
61+
inline_skips: false

0 commit comments

Comments
 (0)