in-toto-run Verified for current stable LTS

In Toto Run Command: Scan Image With Trivy And Generate Link File

Use for scan image with trivy and generate link file with In Toto Run. Exact CLI syntax to scan image with trivy and generate link file using In Toto Run.

When to use this: Use for scan image with trivy and generate link file with In Toto Run.

Command Syntax

in-toto-run -n <scan> --signing-key <key_file> -p <report.json> -- /bin/sh -c "trivy --output report.json --format json <path/to/image>"

Command Breakdown

-n
Command Option
Tool-specific option used by this command invocation.
--signing-key
Command Option
Tool-specific option used by this command invocation.
-p
Command Option
Tool-specific option used by this command invocation.
--
Command Option
Tool-specific option used by this command invocation.
-c
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to scan image with trivy and generate link file using In Toto Run.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to In Toto Run directory