Skip to content

Commit 4a529bd

Browse files
committed
feat(bearer): configure scanning and reporting settings
- Add a new configuration file for bearer settings - Set logging level to info - Define reporting options including severity levels and output format - Specify rules for scanning, including disabling default rules and skipping a specific rule - Configure scanning parameters such as domain resolution and exit code settings Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent 4f744b8 commit 4a529bd

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

bearer.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
disable-version-check: false
2+
log-level: info
3+
report:
4+
fail-on-severity: critical,high,medium,low
5+
format: ""
6+
no-color: false
7+
output: ""
8+
report: security
9+
severity: critical,high,medium,low,warning
10+
rule:
11+
disable-default-rules: false
12+
only-rule: []
13+
skip-rule: ["go_lang_logger_leak"]
14+
scan:
15+
context: ""
16+
data_subject_mapping: ""
17+
disable-domain-resolution: true
18+
domain-resolution-timeout: 3s
19+
exit-code: -1
20+
external-rule-dir: []
21+
force: false
22+
hide_progress_bar: false
23+
internal-domains: []
24+
parallel: 0
25+
quiet: false
26+
scanner:
27+
- sast
28+
skip-path: []
29+
skip-test: true

0 commit comments

Comments
 (0)