From 3fbfa15acec5029db51d71f52112a4d7511ca36e Mon Sep 17 00:00:00 2001 From: AnaisUrlichs Date: Thu, 9 May 2024 11:19:09 +0100 Subject: [PATCH] add checks namespace information Signed-off-by: AnaisUrlichs --- docs/docs/scanner/misconfiguration/custom/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/scanner/misconfiguration/custom/index.md b/docs/docs/scanner/misconfiguration/custom/index.md index 8442c594bb6a..1df1fd30e530 100644 --- a/docs/docs/scanner/misconfiguration/custom/index.md +++ b/docs/docs/scanner/misconfiguration/custom/index.md @@ -90,7 +90,7 @@ A package name must be unique per policy. ``` By default, only `builtin.*` packages will be evaluated. -If you define custom packages, you have to specify the package prefix via `--namespaces` option. +If you define custom packages, you have to specify the package prefix via `--namespaces` option. By default, Trivy only runs in its own namespace, unless specified by the user. Note that the custom namespace does not have to be `user` as in this example. It could be anything user-defined. ``` bash trivy conf --policy /path/to/custom_policies --namespaces user /path/to/config_dir