Inspector Scan

2023/11/21 - Inspector Scan - 1 new api methods

Changes  This release adds support for the new Amazon Inspector Scan API. The new Inspector Scan API can synchronously scan SBOMs adhering to the CycloneDX v1.5 format.

ScanSbom (new) Link ΒΆ

Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM. You can generate compatible SBOMs for your resources using the `Amazon Inspector SBOM generator .

See also: AWS API Documentation

Request Syntax

client.scan_sbom(
    sbom={}
    ,
    outputFormat='CYCLONE_DX_1_5'|'INSPECTOR'
)
type sbom

dict

param sbom

[REQUIRED]

The JSON file for the SBOM you want to scan. The SBOM must be in CycloneDX 1.5 format.

type outputFormat

string

param outputFormat

The output format for the vulnerability report.

rtype

dict

returns

Response Syntax

{
    'sbom': {}
}

Response Structure

  • (dict) --

    • sbom (dict) --

      The vulnerability report for the scanned SBOM.