@@ -22,7 +22,7 @@ It can upload results to the **AccuKnox ASPM Platform**, but it can also run in
2222Install from the GitHub release wheel:
2323
2424``` bash
25- pip install https://github.com/accuknox/aspm-scanner-cli/releases/download/v0.14.2 /accuknox_aspm_scanner-0.14.2 -py3-none-any.whl
25+ pip install https://github.com/accuknox/aspm-scanner-cli/releases/download/v0.14.3 /accuknox_aspm_scanner-0.14.3 -py3-none-any.whl
2626```
2727
2828### 2. Restricted or on-prem environment
@@ -295,7 +295,7 @@ accuknox-aspm-scanner scan secret --command "git file://." --container-mode
295295
296296### Container Scan
297297
298- Use for Trivy-based container image scanning.
298+ Use for Trivy-based container image vulnerability scanning and SBOM generation (image or filesystem) .
299299
300300Required:
301301
@@ -306,24 +306,33 @@ Flags used after `container`:
306306- ` --container-mode `
307307- ` --generate-sbom `
308308
309- Typical ` --command ` value :
309+ Typical ` --command ` values :
310310
311311``` bash
312- image nginx:latest
312+ image nginx:latest # image vuln scan or container SBOM
313+ filesystem . # repo/filesystem SBOM (--generate-sbom only)
313314```
314315
315- Example :
316+ Vulnerability scan example :
316317
317318``` bash
318319accuknox-aspm-scanner scan --skip-upload --keep-results container --command " image nginx:latest" --container-mode
319320```
320321
321- SBOM example :
322+ Image SBOM (AccuKnox project classifier ` container ` ) :
322323
323324``` bash
324325accuknox-aspm-scanner scan --skip-upload --keep-results --project-name demo-project container --command " image nginx:latest" --generate-sbom --container-mode
325326```
326327
328+ Filesystem SBOM (AccuKnox project classifier ` application ` ; run from repo root in container mode):
329+
330+ ``` bash
331+ accuknox-aspm-scanner scan --skip-upload --keep-results --project-name demo-project container --command " filesystem ." --generate-sbom --container-mode
332+ ```
333+
334+ SBOM upload requires ` --project-name ` (or ` ACCUKNOX_PROJECT_NAME ` ). ` --project-name ` is not required for vulnerability scans. Legacy env ` ACCUKNOX_PROJECT ` is also accepted.
335+
327336Container mode with AccuKnox upload:
328337
329338``` bash
0 commit comments