OS Manuals

/opt/chainguard/checkov/bin/pyspdxtools

static code and composition analysis tool for IaC

From checkov 3.4.3-r0 (enterprise-packages), captured 2026-11-08 by running pyspdxtools --help (exit 0). permalink

Usage: pyspdxtools [OPTIONS]

  CLI-tool for validating SPDX documents and converting between RDF, TAG-
  VALUE, JSON, YAML and XML formats. Formats are determined by the file
  endings. To use, run: 'pyspdxtools --infile <input file name> --outfile
  <output file name>'

Options:
  -i, --infile TEXT   The file containing the document to be validated or
                      converted.  [required]
  -o, --outfile TEXT  The file to write the converted document to (write a
                      dash for output to stdout or omit for no conversion). If
                      you add the option --graph to the command the generated
                      graph will be written to this file.
  --version TEXT      The SPDX version to be used during parsing and
                      validation ("SPDX-2.2" or "SPDX-2.3"). Will be read from
                      the document if not provided.
  --novalidation      Don't validate the provided document.
  --graph             Generate a relationship graph from the input file. The
                      generated graph is saved to the file specified with
                      --outfile. Note: You need to install the optional
                      dependencies 'networkx' and 'pygraphviz' for this
                      feature.
  --help              Show this message and exit.
Options (6)
OptionDescriptionSource
-i, --infile TEXTThe file containing the document to be validated or converted.help
-o, --outfile TEXTThe file to write the converted document to (write a dash for output to stdout or omit for no conversion).help
--version TEXTThe SPDX version to be used during parsing and validation ("SPDX-2.2" or "SPDX-2.3").help
--novalidationDon't validate the provided document.help
--graphGenerate a relationship graph from the input file.help
--helpShow this message and exit.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.