Skip to content

Commit

Permalink
docs: correct plugin warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen committed Dec 4, 2023
1 parent 834593a commit 7a78096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/advanced/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ $ trivy image --format json --output plugin=<plugin_name> [--output-plugin-arg <
Since scan results are passed to the plugin via standard input, plugins must be capable of handling standard input.

!!! warning
To avoid Trivy hanging, you need to read all data from `Stdin` before the plugin exits successfully or stops with an error code.
To avoid Trivy hanging, you need to read all data from `Stdin` before the plugin exits successfully or stops with an error.

While the example passes JSON to the plugin, other formats like SBOM can also be passed (e.g., `--format cyclonedx`).

Expand Down

0 comments on commit 7a78096

Please sign in to comment.