How to Exclude Specific File Names from Scans
-
Set file names to exclude by adding the following flag in the Xray system.yaml file, specifying the file names you want to exclude (separated by a pipe `|`):
indexer: ignoreFileNamesIndexing: "file1.jar|file2.jar|file3.jar" -
After updating the configuration, restart the Xray pods to apply the changes.
-
Force reindex previously scanned artifacts. The specified files will now be excluded from scanning.
Updated 2 months ago
