diff --git a/docs/docs/scanner/vulnerability.md b/docs/docs/scanner/vulnerability.md index 55403dda2207..ef233b4db4da 100644 --- a/docs/docs/scanner/vulnerability.md +++ b/docs/docs/scanner/vulnerability.md @@ -204,7 +204,7 @@ Other common options are documented [here](../configuration/index.md). ### Enabling a subset of package types It's possible to only enable certain package types if you prefer. -You can do so by passing the `--vuln-type` option. +You can do so by passing the `--pkg-types` option. This flag takes a comma-separated list of package types. Available values: @@ -215,7 +215,7 @@ Available values: - Scan language-specific packages (e.g. packages installed by `pip`, `npm`, or `gem`). ```bash -$ trivy image --vuln-type os ruby:2.4.0 +$ trivy image --pkg-types os ruby:2.4.0 ```