File tree Expand file tree Collapse file tree 1 file changed +4
-23
lines changed
Expand file tree Collapse file tree 1 file changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -7,32 +7,23 @@ title = "Code Guardian Security Configuration"
77[extend ]
88useDefault = true
99
10- # Files and paths to ignore (test data, demos, examples)
11- [ allowlist ]
12- description = " Allow test data, demo content, and documentation examples "
10+ [[ allowlists ]]
11+ description = " Global allowlist for Code Guardian "
12+ regexTarget = " secret "
1313paths = [
14- # Test files with intentional test data
1514 " crates/core/src/llm_detectors.rs" ,
1615 " **/*test*.rs" ,
17- " **/*_test.rs" ,
16+ " **/*_test.rs" ,
1817 " **/tests/**" ,
1918 " **/test/**" ,
20-
21- # Documentation and examples with demo data
2219 " examples/**" ,
2320 " docs/**" ,
2421 " *.md" ,
2522 " README*" ,
26-
27- # Scripts with placeholder references
2823 " scripts/**" ,
29-
30- # Configuration and build files
3124 " Cargo.toml" ,
3225 " Cargo.lock" ,
3326 " .github/**" ,
34-
35- # Coverage and generated files
3627 " coverage/**" ,
3728 " target/**" ,
3829 " *.log" ,
@@ -104,14 +95,4 @@ paths = [
10495]
10596
10697# Additional allowlist for specific findings
107- [allowlist .files ]
108- # Allow specific files that contain intentional test data
109- "crates/core/src/llm_detectors.rs" = " Contains test data for LLM detection validation"
110- "examples/llm_detection_demo.md" = " Demo documentation with example API keys"
111- "scripts/generate-docs.sh" = " Documentation generation script with placeholder URLs"
112-
113- # Allowlist for specific commits (if needed for historical data)
114- [allowlist .commits ]
115- # Example: Allow specific commit that contains test data migration
116- # "95f65c37dda67ee497aceb3246c323458d946160" = "Initial test data setup"
11798
You can’t perform that action at this time.
0 commit comments