@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSInspector2 extends Object implements AWSInspector2
AWSInspector2
. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
public AssociateMemberResult associateMember(AssociateMemberRequest request)
AWSInspector2
Associates an Amazon Web Services account with an Amazon Inspector delegated administrator. An HTTP 200 response indicates the association was successfully started, but doesn’t indicate whether it was completed. You can check if the association completed by using ListMembers for multiple accounts or GetMembers for a single account.
associateMember
in interface AWSInspector2
public BatchGetAccountStatusResult batchGetAccountStatus(BatchGetAccountStatusRequest request)
AWSInspector2
Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.
batchGetAccountStatus
in interface AWSInspector2
public BatchGetCodeSnippetResult batchGetCodeSnippet(BatchGetCodeSnippetRequest request)
AWSInspector2
Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.
batchGetCodeSnippet
in interface AWSInspector2
public BatchGetFindingDetailsResult batchGetFindingDetails(BatchGetFindingDetailsRequest request)
AWSInspector2
Gets vulnerability details for findings.
batchGetFindingDetails
in interface AWSInspector2
public BatchGetFreeTrialInfoResult batchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest request)
AWSInspector2
Gets free trial status for multiple Amazon Web Services accounts.
batchGetFreeTrialInfo
in interface AWSInspector2
public BatchGetMemberEc2DeepInspectionStatusResult batchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest request)
AWSInspector2
Retrieves Amazon Inspector deep inspection activation status of multiple member accounts within your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
batchGetMemberEc2DeepInspectionStatus
in interface AWSInspector2
public BatchUpdateMemberEc2DeepInspectionStatusResult batchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest request)
AWSInspector2
Activates or deactivates Amazon Inspector deep inspection for the provided member accounts in your organization. You must be the delegated administrator of an organization in Amazon Inspector to use this API.
batchUpdateMemberEc2DeepInspectionStatus
in interface AWSInspector2
public CancelFindingsReportResult cancelFindingsReport(CancelFindingsReportRequest request)
AWSInspector2
Cancels the given findings report.
cancelFindingsReport
in interface AWSInspector2
public CancelSbomExportResult cancelSbomExport(CancelSbomExportRequest request)
AWSInspector2
Cancels a software bill of materials (SBOM) report.
cancelSbomExport
in interface AWSInspector2
public CreateCisScanConfigurationResult createCisScanConfiguration(CreateCisScanConfigurationRequest request)
AWSInspector2
Creates a CIS scan configuration.
createCisScanConfiguration
in interface AWSInspector2
public CreateFilterResult createFilter(CreateFilterRequest request)
AWSInspector2
Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS
this action creates a suppression rule.
createFilter
in interface AWSInspector2
public CreateFindingsReportResult createFindingsReport(CreateFindingsReportRequest request)
AWSInspector2
Creates a finding report. By default only ACTIVE
findings are returned in the report. To see
SUPRESSED
or CLOSED
findings you must specify a value for the
findingStatus
filter criteria.
createFindingsReport
in interface AWSInspector2
public CreateSbomExportResult createSbomExport(CreateSbomExportRequest request)
AWSInspector2
Creates a software bill of materials (SBOM) report.
createSbomExport
in interface AWSInspector2
public DeleteCisScanConfigurationResult deleteCisScanConfiguration(DeleteCisScanConfigurationRequest request)
AWSInspector2
Deletes a CIS scan configuration.
deleteCisScanConfiguration
in interface AWSInspector2
public DeleteFilterResult deleteFilter(DeleteFilterRequest request)
AWSInspector2
Deletes a filter resource.
deleteFilter
in interface AWSInspector2
public DescribeOrganizationConfigurationResult describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request)
AWSInspector2
Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
describeOrganizationConfiguration
in interface AWSInspector2
public DisableResult disable(DisableRequest request)
AWSInspector2
Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account disables the Amazon Inspector service.
disable
in interface AWSInspector2
public DisableDelegatedAdminAccountResult disableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest request)
AWSInspector2
Disables the Amazon Inspector delegated administrator for your organization.
disableDelegatedAdminAccount
in interface AWSInspector2
public DisassociateMemberResult disassociateMember(DisassociateMemberRequest request)
AWSInspector2
Disassociates a member account from an Amazon Inspector delegated administrator.
disassociateMember
in interface AWSInspector2
public EnableResult enable(EnableRequest request)
AWSInspector2
Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
enable
in interface AWSInspector2
public EnableDelegatedAdminAccountResult enableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest request)
AWSInspector2
Enables the Amazon Inspector delegated administrator for your Organizations organization.
enableDelegatedAdminAccount
in interface AWSInspector2
public GetCisScanReportResult getCisScanReport(GetCisScanReportRequest request)
AWSInspector2
Retrieves a CIS scan report.
getCisScanReport
in interface AWSInspector2
public GetCisScanResultDetailsResult getCisScanResultDetails(GetCisScanResultDetailsRequest request)
AWSInspector2
Retrieves CIS scan result details.
getCisScanResultDetails
in interface AWSInspector2
public GetConfigurationResult getConfiguration(GetConfigurationRequest request)
AWSInspector2
Retrieves setting configurations for Inspector scans.
getConfiguration
in interface AWSInspector2
public GetDelegatedAdminAccountResult getDelegatedAdminAccount(GetDelegatedAdminAccountRequest request)
AWSInspector2
Retrieves information about the Amazon Inspector delegated administrator for your organization.
getDelegatedAdminAccount
in interface AWSInspector2
public GetEc2DeepInspectionConfigurationResult getEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest request)
AWSInspector2
Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account.
getEc2DeepInspectionConfiguration
in interface AWSInspector2
public GetEncryptionKeyResult getEncryptionKey(GetEncryptionKeyRequest request)
AWSInspector2
Gets an encryption key.
getEncryptionKey
in interface AWSInspector2
public GetFindingsReportStatusResult getFindingsReportStatus(GetFindingsReportStatusRequest request)
AWSInspector2
Gets the status of a findings report.
getFindingsReportStatus
in interface AWSInspector2
public GetMemberResult getMember(GetMemberRequest request)
AWSInspector2
Gets member information for your organization.
getMember
in interface AWSInspector2
public GetSbomExportResult getSbomExport(GetSbomExportRequest request)
AWSInspector2
Gets details of a software bill of materials (SBOM) report.
getSbomExport
in interface AWSInspector2
public ListAccountPermissionsResult listAccountPermissions(ListAccountPermissionsRequest request)
AWSInspector2
Lists the permissions an account has to configure Amazon Inspector.
listAccountPermissions
in interface AWSInspector2
public ListCisScanConfigurationsResult listCisScanConfigurations(ListCisScanConfigurationsRequest request)
AWSInspector2
Lists CIS scan configurations.
listCisScanConfigurations
in interface AWSInspector2
public ListCisScanResultsAggregatedByChecksResult listCisScanResultsAggregatedByChecks(ListCisScanResultsAggregatedByChecksRequest request)
AWSInspector2
Lists scan results aggregated by checks.
listCisScanResultsAggregatedByChecks
in interface AWSInspector2
public ListCisScanResultsAggregatedByTargetResourceResult listCisScanResultsAggregatedByTargetResource(ListCisScanResultsAggregatedByTargetResourceRequest request)
AWSInspector2
Lists scan results aggregated by a target resource.
listCisScanResultsAggregatedByTargetResource
in interface AWSInspector2
public ListCisScansResult listCisScans(ListCisScansRequest request)
AWSInspector2
Returns a CIS scan list.
listCisScans
in interface AWSInspector2
public ListCoverageResult listCoverage(ListCoverageRequest request)
AWSInspector2
Lists coverage details for you environment.
listCoverage
in interface AWSInspector2
public ListCoverageStatisticsResult listCoverageStatistics(ListCoverageStatisticsRequest request)
AWSInspector2
Lists Amazon Inspector coverage statistics for your environment.
listCoverageStatistics
in interface AWSInspector2
public ListDelegatedAdminAccountsResult listDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest request)
AWSInspector2
Lists information about the Amazon Inspector delegated administrator of your organization.
listDelegatedAdminAccounts
in interface AWSInspector2
public ListFiltersResult listFilters(ListFiltersRequest request)
AWSInspector2
Lists the filters associated with your account.
listFilters
in interface AWSInspector2
public ListFindingAggregationsResult listFindingAggregations(ListFindingAggregationsRequest request)
AWSInspector2
Lists aggregated finding data for your environment based on specific criteria.
listFindingAggregations
in interface AWSInspector2
public ListFindingsResult listFindings(ListFindingsRequest request)
AWSInspector2
Lists findings for your environment.
listFindings
in interface AWSInspector2
public ListMembersResult listMembers(ListMembersRequest request)
AWSInspector2
List members associated with the Amazon Inspector delegated administrator for your organization.
listMembers
in interface AWSInspector2
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSInspector2
Lists all tags attached to a given resource.
listTagsForResource
in interface AWSInspector2
public ListUsageTotalsResult listUsageTotals(ListUsageTotalsRequest request)
AWSInspector2
Lists the Amazon Inspector usage totals over the last 30 days.
listUsageTotals
in interface AWSInspector2
public ResetEncryptionKeyResult resetEncryptionKey(ResetEncryptionKeyRequest request)
AWSInspector2
Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.
resetEncryptionKey
in interface AWSInspector2
public SearchVulnerabilitiesResult searchVulnerabilities(SearchVulnerabilitiesRequest request)
AWSInspector2
Lists Amazon Inspector coverage details for a specific vulnerability.
searchVulnerabilities
in interface AWSInspector2
public SendCisSessionHealthResult sendCisSessionHealth(SendCisSessionHealthRequest request)
AWSInspector2
Sends a CIS session health. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
sendCisSessionHealth
in interface AWSInspector2
public SendCisSessionTelemetryResult sendCisSessionTelemetry(SendCisSessionTelemetryRequest request)
AWSInspector2
Sends a CIS session telemetry. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
sendCisSessionTelemetry
in interface AWSInspector2
public StartCisSessionResult startCisSession(StartCisSessionRequest request)
AWSInspector2
Starts a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
startCisSession
in interface AWSInspector2
public StopCisSessionResult stopCisSession(StopCisSessionRequest request)
AWSInspector2
Stops a CIS session. This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.
stopCisSession
in interface AWSInspector2
public TagResourceResult tagResource(TagResourceRequest request)
AWSInspector2
Adds tags to a resource.
tagResource
in interface AWSInspector2
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSInspector2
Removes tags from a resource.
untagResource
in interface AWSInspector2
public UpdateCisScanConfigurationResult updateCisScanConfiguration(UpdateCisScanConfigurationRequest request)
AWSInspector2
Updates a CIS scan configuration.
updateCisScanConfiguration
in interface AWSInspector2
public UpdateConfigurationResult updateConfiguration(UpdateConfigurationRequest request)
AWSInspector2
Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.
updateConfiguration
in interface AWSInspector2
public UpdateEc2DeepInspectionConfigurationResult updateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest request)
AWSInspector2
Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.
updateEc2DeepInspectionConfiguration
in interface AWSInspector2
public UpdateEncryptionKeyResult updateEncryptionKey(UpdateEncryptionKeyRequest request)
AWSInspector2
Updates an encryption key. A ResourceNotFoundException
means that an Amazon Web Services owned key
is being used for encryption.
updateEncryptionKey
in interface AWSInspector2
public UpdateFilterResult updateFilter(UpdateFilterRequest request)
AWSInspector2
Specifies the action that is to be applied to the findings that match the filter.
updateFilter
in interface AWSInspector2
public UpdateOrgEc2DeepInspectionConfigurationResult updateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest request)
AWSInspector2
Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.
updateOrgEc2DeepInspectionConfiguration
in interface AWSInspector2
public UpdateOrganizationConfigurationResult updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request)
AWSInspector2
Updates the configurations for your Amazon Inspector organization.
updateOrganizationConfiguration
in interface AWSInspector2
public void shutdown()
AWSInspector2
shutdown
in interface AWSInspector2
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSInspector2
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSInspector2
request
- The originally executed request.