Skip to content

Commit

Permalink
scan config improved #2923
Browse files Browse the repository at this point in the history
- exclude SecHub reports
- exclude mock data
- exclude go library code
- added scanning for secrets
  • Loading branch information
sven-dmlr committed Feb 21, 2024
1 parent 5f4b789 commit 9a95766
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions sechub.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
{
"apiVersion": "1.0",
"codeScan": {
"use": [
"sechub-sources"
]
},
"codeScan": { "use": [ "sechub-sources" ] },
"secretScan": { "use": [ "sechub-sources" ] },
"data": {
"sources": [
{
"name": "sechub-sources",
"fileSystem": {
"folders": [
"."
]
},
"fileSystem": { "folders": [ "." ] },
"excludes": [
"**/.project",
"**/bin/**",
"**/build/**",
"**/examples/**",
"**/gen/**",
"**/mockdata/**",
"**/tests/**",
"*_test.go",
"*.gradle",
Expand All @@ -29,7 +23,10 @@
"buildSrc/**",
"docs/**",
"gradle/**",
"sechub_report_*.html",
"sechub_report_*.json",
"sechub-cli/pkg/mod/**",
"sechub-cli/src/mercedes-benz.com/sechub/pkg/mod/**",
"sechub-developertools/**",
"sechub-doc/**",
"sechub-examples/**",
Expand All @@ -42,4 +39,4 @@
}
]
}
}
}

0 comments on commit 9a95766

Please sign in to comment.