Interface InspectorScanClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon Inspector Scan is a vulnerability discovery service that scans a provided Software Bill of Materials (SBOM) for security vulnerabilities.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic InspectorScanClientBuilderbuilder()Create a builder that can be used to configure and create aInspectorScanClient.static InspectorScanClientcreate()Create aInspectorScanClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default ScanSbomResponsescanSbom(Consumer<ScanSbomRequest.Builder> scanSbomRequest) Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM.default ScanSbomResponsescanSbom(ScanSbomRequest scanSbomRequest) Scans a provided CycloneDX 1.5 SBOM and reports on any vulnerabilities discovered in that SBOM.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadataMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
scanSbom
default ScanSbomResponse scanSbom(ScanSbomRequest scanSbomRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, InspectorScanException 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.
The output of this action reports NVD and CVSS scores when NVD and CVSS scores are available. Because the output reports both scores, you might notice a discrepency between them. However, you can triage the severity of either score depending on the vendor of your choosing.
- Parameters:
scanSbomRequest-- Returns:
- Result of the ScanSbom operation returned by the service.
- See Also:
-
scanSbom
default ScanSbomResponse scanSbom(Consumer<ScanSbomRequest.Builder> scanSbomRequest) throws InternalServerException, ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, InspectorScanException 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.
The output of this action reports NVD and CVSS scores when NVD and CVSS scores are available. Because the output reports both scores, you might notice a discrepency between them. However, you can triage the severity of either score depending on the vendor of your choosing.
This is a convenience which creates an instance of the
ScanSbomRequest.Builderavoiding the need to create one manually viaScanSbomRequest.builder()- Parameters:
scanSbomRequest- AConsumerthat will call methods onScanSbomRequest.Builderto create a request.- Returns:
- Result of the ScanSbom operation returned by the service.
- See Also:
-
create
Create aInspectorScanClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aInspectorScanClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-