Exclude Methods from Build Scan
Applying the Custom Filter to the Scan command
Build Scanner CLI
java -jar sl-build-scanner.jar -scan -tokenfile /path/to/sltoken.txt -buildsessionidfile buildSessionId.txt -workspacepath "/path/to/war/files" -fi "*.war" -customFilterFile /path/to/customfilter.jsonSealights plugins configuration
"sealightsJvmParams": {
"sl.customFilterFile": "config/CustomFilter.json"
}Custom Filter Sample file
Ignore Rules Syntax
Filter patterns notation
Class name pattern notation
Exact method signature notation
Method signature regex pattern notation
Filter handling
Last updated
Was this helpful?

