File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,20 @@ Linux detection depends on the following:
1111Linux package detection is performed by running [ Syft] ( https://github.com/anchore/syft ) and parsing the output.
1212The output contains the package name, version, and the layer of the container in which it was found.
1313
14+ ### Scanner Scope
15+
16+ By default, this detector invokes Syft with the ` all-layers ` scanning scope (i.e. the Syft argument ` --scope all-layers ` ).
17+
18+ Syft has another scope, ` squashed ` , which can be used to scan only files accessible from the final layer of an image.
19+
20+ The detector argument ` Linux.ImageScanScope ` can be used to configure this option as ` squashed ` or ` all-layers ` when invoking Component Detection.
21+
22+ For example:
23+
24+ ``` sh
25+ --DetectorArgs Linux.ImageScanScope=squashed
26+ ```
27+
1428## Known limitations
1529
1630- Windows container scanning is not supported
You can’t perform that action at this time.
0 commit comments