AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to ScanSbomAsync.
Namespace: Amazon.InspectorScan
Assembly: AWSSDK.InspectorScan.dll
Version: 3.x.y.z
public abstract ScanSbomResponse ScanSbom( ScanSbomRequest request )
Container for the necessary parameters to execute the ScanSbom service method.
Exception | Condition |
---|---|
AccessDeniedException | You do not have sufficient access to perform this action. |
InternalServerException | The request processing has failed because of an unknown error, exception or failure. |
ThrottlingException | The request was denied due to request throttling. |
ValidationException | The request has failed validation due to missing required fields or having invalid inputs. |
var client = new AmazonInspectorScanClient(); var response = client.ScanSbom(new ScanSbomRequest { OutputFormat = "CYCLONE_DX_1_5", Sbom = new Sbom { } }); Sbom sbom = response.Sbom;
.NET Framework:
Supported in: 4.5 and newer, 3.5