Skip to content

ScanSbomRequest

Source code in docs_src/capo_inspector_scan/types/scan_sbom_request.py
class ScanSbomRequest(TypedDict, closed=True):
    sbom: "capo_inspector_scan.types.sbom.Sbom"
    """<p>The JSON file for the SBOM you want to scan. The SBOM must be in CycloneDX 1.5 format. This format limits you to passing 2000 components before throwing a <code>ValidException</code> error.</p>"""
    output_format: NotRequired["capo_inspector_scan.types.output_format.OutputFormat"]
    """<p>The output format for the vulnerability report.</p>"""

output_format instance-attribute

output_format: NotRequired[OutputFormat]

The output format for the vulnerability report.

sbom instance-attribute

sbom: Sbom

The JSON file for the SBOM you want to scan. The SBOM must be in CycloneDX 1.5 format. This format limits you to passing 2000 components before throwing a ValidException error.