UNPKG

aws-sdk

Version:
866 lines 185 kB
import {Request} from '../lib/request'; import {Response} from '../lib/response'; import {AWSError} from '../lib/error'; import {Service} from '../lib/service'; import {ServiceConfigurationOptions} from '../lib/service'; import {ConfigBase as Config} from '../lib/config-base'; interface Blob {} declare class Inspector2 extends Service { /** * Constructs a service object. This object has one method for each API operation. */ constructor(options?: Inspector2.Types.ClientConfiguration) config: Config & Inspector2.Types.ClientConfiguration; /** * 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(params: Inspector2.Types.AssociateMemberRequest, callback?: (err: AWSError, data: Inspector2.Types.AssociateMemberResponse) => void): Request<Inspector2.Types.AssociateMemberResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.AssociateMemberResponse) => void): Request<Inspector2.Types.AssociateMemberResponse, AWSError>; /** * Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment. */ batchGetAccountStatus(params: Inspector2.Types.BatchGetAccountStatusRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetAccountStatusResponse) => void): Request<Inspector2.Types.BatchGetAccountStatusResponse, AWSError>; /** * Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment. */ batchGetAccountStatus(callback?: (err: AWSError, data: Inspector2.Types.BatchGetAccountStatusResponse) => void): Request<Inspector2.Types.BatchGetAccountStatusResponse, AWSError>; /** * Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in. */ batchGetCodeSnippet(params: Inspector2.Types.BatchGetCodeSnippetRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetCodeSnippetResponse) => void): Request<Inspector2.Types.BatchGetCodeSnippetResponse, AWSError>; /** * Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in. */ batchGetCodeSnippet(callback?: (err: AWSError, data: Inspector2.Types.BatchGetCodeSnippetResponse) => void): Request<Inspector2.Types.BatchGetCodeSnippetResponse, AWSError>; /** * Gets vulnerability details for findings. */ batchGetFindingDetails(params: Inspector2.Types.BatchGetFindingDetailsRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetFindingDetailsResponse) => void): Request<Inspector2.Types.BatchGetFindingDetailsResponse, AWSError>; /** * Gets vulnerability details for findings. */ batchGetFindingDetails(callback?: (err: AWSError, data: Inspector2.Types.BatchGetFindingDetailsResponse) => void): Request<Inspector2.Types.BatchGetFindingDetailsResponse, AWSError>; /** * Gets free trial status for multiple Amazon Web Services accounts. */ batchGetFreeTrialInfo(params: Inspector2.Types.BatchGetFreeTrialInfoRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetFreeTrialInfoResponse) => void): Request<Inspector2.Types.BatchGetFreeTrialInfoResponse, AWSError>; /** * Gets free trial status for multiple Amazon Web Services accounts. */ batchGetFreeTrialInfo(callback?: (err: AWSError, data: Inspector2.Types.BatchGetFreeTrialInfoResponse) => void): Request<Inspector2.Types.BatchGetFreeTrialInfoResponse, AWSError>; /** * 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(params: Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusResponse) => void): Request<Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusResponse) => void): Request<Inspector2.Types.BatchGetMemberEc2DeepInspectionStatusResponse, AWSError>; /** * 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(params: Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusRequest, callback?: (err: AWSError, data: Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusResponse) => void): Request<Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusResponse) => void): Request<Inspector2.Types.BatchUpdateMemberEc2DeepInspectionStatusResponse, AWSError>; /** * Cancels the given findings report. */ cancelFindingsReport(params: Inspector2.Types.CancelFindingsReportRequest, callback?: (err: AWSError, data: Inspector2.Types.CancelFindingsReportResponse) => void): Request<Inspector2.Types.CancelFindingsReportResponse, AWSError>; /** * Cancels the given findings report. */ cancelFindingsReport(callback?: (err: AWSError, data: Inspector2.Types.CancelFindingsReportResponse) => void): Request<Inspector2.Types.CancelFindingsReportResponse, AWSError>; /** * Cancels a software bill of materials (SBOM) report. */ cancelSbomExport(params: Inspector2.Types.CancelSbomExportRequest, callback?: (err: AWSError, data: Inspector2.Types.CancelSbomExportResponse) => void): Request<Inspector2.Types.CancelSbomExportResponse, AWSError>; /** * Cancels a software bill of materials (SBOM) report. */ cancelSbomExport(callback?: (err: AWSError, data: Inspector2.Types.CancelSbomExportResponse) => void): Request<Inspector2.Types.CancelSbomExportResponse, AWSError>; /** * Creates a CIS scan configuration. */ createCisScanConfiguration(params: Inspector2.Types.CreateCisScanConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.CreateCisScanConfigurationResponse) => void): Request<Inspector2.Types.CreateCisScanConfigurationResponse, AWSError>; /** * Creates a CIS scan configuration. */ createCisScanConfiguration(callback?: (err: AWSError, data: Inspector2.Types.CreateCisScanConfigurationResponse) => void): Request<Inspector2.Types.CreateCisScanConfigurationResponse, AWSError>; /** * Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule. */ createFilter(params: Inspector2.Types.CreateFilterRequest, callback?: (err: AWSError, data: Inspector2.Types.CreateFilterResponse) => void): Request<Inspector2.Types.CreateFilterResponse, AWSError>; /** * Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule. */ createFilter(callback?: (err: AWSError, data: Inspector2.Types.CreateFilterResponse) => void): Request<Inspector2.Types.CreateFilterResponse, AWSError>; /** * 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(params: Inspector2.Types.CreateFindingsReportRequest, callback?: (err: AWSError, data: Inspector2.Types.CreateFindingsReportResponse) => void): Request<Inspector2.Types.CreateFindingsReportResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.CreateFindingsReportResponse) => void): Request<Inspector2.Types.CreateFindingsReportResponse, AWSError>; /** * Creates a software bill of materials (SBOM) report. */ createSbomExport(params: Inspector2.Types.CreateSbomExportRequest, callback?: (err: AWSError, data: Inspector2.Types.CreateSbomExportResponse) => void): Request<Inspector2.Types.CreateSbomExportResponse, AWSError>; /** * Creates a software bill of materials (SBOM) report. */ createSbomExport(callback?: (err: AWSError, data: Inspector2.Types.CreateSbomExportResponse) => void): Request<Inspector2.Types.CreateSbomExportResponse, AWSError>; /** * Deletes a CIS scan configuration. */ deleteCisScanConfiguration(params: Inspector2.Types.DeleteCisScanConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.DeleteCisScanConfigurationResponse) => void): Request<Inspector2.Types.DeleteCisScanConfigurationResponse, AWSError>; /** * Deletes a CIS scan configuration. */ deleteCisScanConfiguration(callback?: (err: AWSError, data: Inspector2.Types.DeleteCisScanConfigurationResponse) => void): Request<Inspector2.Types.DeleteCisScanConfigurationResponse, AWSError>; /** * Deletes a filter resource. */ deleteFilter(params: Inspector2.Types.DeleteFilterRequest, callback?: (err: AWSError, data: Inspector2.Types.DeleteFilterResponse) => void): Request<Inspector2.Types.DeleteFilterResponse, AWSError>; /** * Deletes a filter resource. */ deleteFilter(callback?: (err: AWSError, data: Inspector2.Types.DeleteFilterResponse) => void): Request<Inspector2.Types.DeleteFilterResponse, AWSError>; /** * Describe Amazon Inspector configuration settings for an Amazon Web Services organization. */ describeOrganizationConfiguration(params: Inspector2.Types.DescribeOrganizationConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Inspector2.Types.DescribeOrganizationConfigurationResponse, AWSError>; /** * Describe Amazon Inspector configuration settings for an Amazon Web Services organization. */ describeOrganizationConfiguration(callback?: (err: AWSError, data: Inspector2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Inspector2.Types.DescribeOrganizationConfigurationResponse, AWSError>; /** * 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(params: Inspector2.Types.DisableRequest, callback?: (err: AWSError, data: Inspector2.Types.DisableResponse) => void): Request<Inspector2.Types.DisableResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.DisableResponse) => void): Request<Inspector2.Types.DisableResponse, AWSError>; /** * Disables the Amazon Inspector delegated administrator for your organization. */ disableDelegatedAdminAccount(params: Inspector2.Types.DisableDelegatedAdminAccountRequest, callback?: (err: AWSError, data: Inspector2.Types.DisableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.DisableDelegatedAdminAccountResponse, AWSError>; /** * Disables the Amazon Inspector delegated administrator for your organization. */ disableDelegatedAdminAccount(callback?: (err: AWSError, data: Inspector2.Types.DisableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.DisableDelegatedAdminAccountResponse, AWSError>; /** * Disassociates a member account from an Amazon Inspector delegated administrator. */ disassociateMember(params: Inspector2.Types.DisassociateMemberRequest, callback?: (err: AWSError, data: Inspector2.Types.DisassociateMemberResponse) => void): Request<Inspector2.Types.DisassociateMemberResponse, AWSError>; /** * Disassociates a member account from an Amazon Inspector delegated administrator. */ disassociateMember(callback?: (err: AWSError, data: Inspector2.Types.DisassociateMemberResponse) => void): Request<Inspector2.Types.DisassociateMemberResponse, AWSError>; /** * Enables Amazon Inspector scans for one or more Amazon Web Services accounts. */ enable(params: Inspector2.Types.EnableRequest, callback?: (err: AWSError, data: Inspector2.Types.EnableResponse) => void): Request<Inspector2.Types.EnableResponse, AWSError>; /** * Enables Amazon Inspector scans for one or more Amazon Web Services accounts. */ enable(callback?: (err: AWSError, data: Inspector2.Types.EnableResponse) => void): Request<Inspector2.Types.EnableResponse, AWSError>; /** * Enables the Amazon Inspector delegated administrator for your Organizations organization. */ enableDelegatedAdminAccount(params: Inspector2.Types.EnableDelegatedAdminAccountRequest, callback?: (err: AWSError, data: Inspector2.Types.EnableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.EnableDelegatedAdminAccountResponse, AWSError>; /** * Enables the Amazon Inspector delegated administrator for your Organizations organization. */ enableDelegatedAdminAccount(callback?: (err: AWSError, data: Inspector2.Types.EnableDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.EnableDelegatedAdminAccountResponse, AWSError>; /** * Retrieves a CIS scan report. */ getCisScanReport(params: Inspector2.Types.GetCisScanReportRequest, callback?: (err: AWSError, data: Inspector2.Types.GetCisScanReportResponse) => void): Request<Inspector2.Types.GetCisScanReportResponse, AWSError>; /** * Retrieves a CIS scan report. */ getCisScanReport(callback?: (err: AWSError, data: Inspector2.Types.GetCisScanReportResponse) => void): Request<Inspector2.Types.GetCisScanReportResponse, AWSError>; /** * Retrieves CIS scan result details. */ getCisScanResultDetails(params: Inspector2.Types.GetCisScanResultDetailsRequest, callback?: (err: AWSError, data: Inspector2.Types.GetCisScanResultDetailsResponse) => void): Request<Inspector2.Types.GetCisScanResultDetailsResponse, AWSError>; /** * Retrieves CIS scan result details. */ getCisScanResultDetails(callback?: (err: AWSError, data: Inspector2.Types.GetCisScanResultDetailsResponse) => void): Request<Inspector2.Types.GetCisScanResultDetailsResponse, AWSError>; /** * Retrieves setting configurations for Inspector scans. */ getConfiguration(params: Inspector2.Types.GetConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.GetConfigurationResponse) => void): Request<Inspector2.Types.GetConfigurationResponse, AWSError>; /** * Retrieves setting configurations for Inspector scans. */ getConfiguration(callback?: (err: AWSError, data: Inspector2.Types.GetConfigurationResponse) => void): Request<Inspector2.Types.GetConfigurationResponse, AWSError>; /** * Retrieves information about the Amazon Inspector delegated administrator for your organization. */ getDelegatedAdminAccount(params: Inspector2.Types.GetDelegatedAdminAccountRequest, callback?: (err: AWSError, data: Inspector2.Types.GetDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.GetDelegatedAdminAccountResponse, AWSError>; /** * Retrieves information about the Amazon Inspector delegated administrator for your organization. */ getDelegatedAdminAccount(callback?: (err: AWSError, data: Inspector2.Types.GetDelegatedAdminAccountResponse) => void): Request<Inspector2.Types.GetDelegatedAdminAccountResponse, AWSError>; /** * Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account. */ getEc2DeepInspectionConfiguration(params: Inspector2.Types.GetEc2DeepInspectionConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.GetEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.GetEc2DeepInspectionConfigurationResponse, AWSError>; /** * Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account. */ getEc2DeepInspectionConfiguration(callback?: (err: AWSError, data: Inspector2.Types.GetEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.GetEc2DeepInspectionConfigurationResponse, AWSError>; /** * Gets an encryption key. */ getEncryptionKey(params: Inspector2.Types.GetEncryptionKeyRequest, callback?: (err: AWSError, data: Inspector2.Types.GetEncryptionKeyResponse) => void): Request<Inspector2.Types.GetEncryptionKeyResponse, AWSError>; /** * Gets an encryption key. */ getEncryptionKey(callback?: (err: AWSError, data: Inspector2.Types.GetEncryptionKeyResponse) => void): Request<Inspector2.Types.GetEncryptionKeyResponse, AWSError>; /** * Gets the status of a findings report. */ getFindingsReportStatus(params: Inspector2.Types.GetFindingsReportStatusRequest, callback?: (err: AWSError, data: Inspector2.Types.GetFindingsReportStatusResponse) => void): Request<Inspector2.Types.GetFindingsReportStatusResponse, AWSError>; /** * Gets the status of a findings report. */ getFindingsReportStatus(callback?: (err: AWSError, data: Inspector2.Types.GetFindingsReportStatusResponse) => void): Request<Inspector2.Types.GetFindingsReportStatusResponse, AWSError>; /** * Gets member information for your organization. */ getMember(params: Inspector2.Types.GetMemberRequest, callback?: (err: AWSError, data: Inspector2.Types.GetMemberResponse) => void): Request<Inspector2.Types.GetMemberResponse, AWSError>; /** * Gets member information for your organization. */ getMember(callback?: (err: AWSError, data: Inspector2.Types.GetMemberResponse) => void): Request<Inspector2.Types.GetMemberResponse, AWSError>; /** * Gets details of a software bill of materials (SBOM) report. */ getSbomExport(params: Inspector2.Types.GetSbomExportRequest, callback?: (err: AWSError, data: Inspector2.Types.GetSbomExportResponse) => void): Request<Inspector2.Types.GetSbomExportResponse, AWSError>; /** * Gets details of a software bill of materials (SBOM) report. */ getSbomExport(callback?: (err: AWSError, data: Inspector2.Types.GetSbomExportResponse) => void): Request<Inspector2.Types.GetSbomExportResponse, AWSError>; /** * Lists the permissions an account has to configure Amazon Inspector. */ listAccountPermissions(params: Inspector2.Types.ListAccountPermissionsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListAccountPermissionsResponse) => void): Request<Inspector2.Types.ListAccountPermissionsResponse, AWSError>; /** * Lists the permissions an account has to configure Amazon Inspector. */ listAccountPermissions(callback?: (err: AWSError, data: Inspector2.Types.ListAccountPermissionsResponse) => void): Request<Inspector2.Types.ListAccountPermissionsResponse, AWSError>; /** * Lists CIS scan configurations. */ listCisScanConfigurations(params: Inspector2.Types.ListCisScanConfigurationsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCisScanConfigurationsResponse) => void): Request<Inspector2.Types.ListCisScanConfigurationsResponse, AWSError>; /** * Lists CIS scan configurations. */ listCisScanConfigurations(callback?: (err: AWSError, data: Inspector2.Types.ListCisScanConfigurationsResponse) => void): Request<Inspector2.Types.ListCisScanConfigurationsResponse, AWSError>; /** * Lists scan results aggregated by checks. */ listCisScanResultsAggregatedByChecks(params: Inspector2.Types.ListCisScanResultsAggregatedByChecksRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCisScanResultsAggregatedByChecksResponse) => void): Request<Inspector2.Types.ListCisScanResultsAggregatedByChecksResponse, AWSError>; /** * Lists scan results aggregated by checks. */ listCisScanResultsAggregatedByChecks(callback?: (err: AWSError, data: Inspector2.Types.ListCisScanResultsAggregatedByChecksResponse) => void): Request<Inspector2.Types.ListCisScanResultsAggregatedByChecksResponse, AWSError>; /** * Lists scan results aggregated by a target resource. */ listCisScanResultsAggregatedByTargetResource(params: Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceResponse) => void): Request<Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceResponse, AWSError>; /** * Lists scan results aggregated by a target resource. */ listCisScanResultsAggregatedByTargetResource(callback?: (err: AWSError, data: Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceResponse) => void): Request<Inspector2.Types.ListCisScanResultsAggregatedByTargetResourceResponse, AWSError>; /** * Returns a CIS scan list. */ listCisScans(params: Inspector2.Types.ListCisScansRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCisScansResponse) => void): Request<Inspector2.Types.ListCisScansResponse, AWSError>; /** * Returns a CIS scan list. */ listCisScans(callback?: (err: AWSError, data: Inspector2.Types.ListCisScansResponse) => void): Request<Inspector2.Types.ListCisScansResponse, AWSError>; /** * Lists coverage details for you environment. */ listCoverage(params: Inspector2.Types.ListCoverageRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCoverageResponse) => void): Request<Inspector2.Types.ListCoverageResponse, AWSError>; /** * Lists coverage details for you environment. */ listCoverage(callback?: (err: AWSError, data: Inspector2.Types.ListCoverageResponse) => void): Request<Inspector2.Types.ListCoverageResponse, AWSError>; /** * Lists Amazon Inspector coverage statistics for your environment. */ listCoverageStatistics(params: Inspector2.Types.ListCoverageStatisticsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListCoverageStatisticsResponse) => void): Request<Inspector2.Types.ListCoverageStatisticsResponse, AWSError>; /** * Lists Amazon Inspector coverage statistics for your environment. */ listCoverageStatistics(callback?: (err: AWSError, data: Inspector2.Types.ListCoverageStatisticsResponse) => void): Request<Inspector2.Types.ListCoverageStatisticsResponse, AWSError>; /** * Lists information about the Amazon Inspector delegated administrator of your organization. */ listDelegatedAdminAccounts(params: Inspector2.Types.ListDelegatedAdminAccountsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListDelegatedAdminAccountsResponse) => void): Request<Inspector2.Types.ListDelegatedAdminAccountsResponse, AWSError>; /** * Lists information about the Amazon Inspector delegated administrator of your organization. */ listDelegatedAdminAccounts(callback?: (err: AWSError, data: Inspector2.Types.ListDelegatedAdminAccountsResponse) => void): Request<Inspector2.Types.ListDelegatedAdminAccountsResponse, AWSError>; /** * Lists the filters associated with your account. */ listFilters(params: Inspector2.Types.ListFiltersRequest, callback?: (err: AWSError, data: Inspector2.Types.ListFiltersResponse) => void): Request<Inspector2.Types.ListFiltersResponse, AWSError>; /** * Lists the filters associated with your account. */ listFilters(callback?: (err: AWSError, data: Inspector2.Types.ListFiltersResponse) => void): Request<Inspector2.Types.ListFiltersResponse, AWSError>; /** * Lists aggregated finding data for your environment based on specific criteria. */ listFindingAggregations(params: Inspector2.Types.ListFindingAggregationsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListFindingAggregationsResponse) => void): Request<Inspector2.Types.ListFindingAggregationsResponse, AWSError>; /** * Lists aggregated finding data for your environment based on specific criteria. */ listFindingAggregations(callback?: (err: AWSError, data: Inspector2.Types.ListFindingAggregationsResponse) => void): Request<Inspector2.Types.ListFindingAggregationsResponse, AWSError>; /** * Lists findings for your environment. */ listFindings(params: Inspector2.Types.ListFindingsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListFindingsResponse) => void): Request<Inspector2.Types.ListFindingsResponse, AWSError>; /** * Lists findings for your environment. */ listFindings(callback?: (err: AWSError, data: Inspector2.Types.ListFindingsResponse) => void): Request<Inspector2.Types.ListFindingsResponse, AWSError>; /** * List members associated with the Amazon Inspector delegated administrator for your organization. */ listMembers(params: Inspector2.Types.ListMembersRequest, callback?: (err: AWSError, data: Inspector2.Types.ListMembersResponse) => void): Request<Inspector2.Types.ListMembersResponse, AWSError>; /** * List members associated with the Amazon Inspector delegated administrator for your organization. */ listMembers(callback?: (err: AWSError, data: Inspector2.Types.ListMembersResponse) => void): Request<Inspector2.Types.ListMembersResponse, AWSError>; /** * Lists all tags attached to a given resource. */ listTagsForResource(params: Inspector2.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Inspector2.Types.ListTagsForResourceResponse) => void): Request<Inspector2.Types.ListTagsForResourceResponse, AWSError>; /** * Lists all tags attached to a given resource. */ listTagsForResource(callback?: (err: AWSError, data: Inspector2.Types.ListTagsForResourceResponse) => void): Request<Inspector2.Types.ListTagsForResourceResponse, AWSError>; /** * Lists the Amazon Inspector usage totals over the last 30 days. */ listUsageTotals(params: Inspector2.Types.ListUsageTotalsRequest, callback?: (err: AWSError, data: Inspector2.Types.ListUsageTotalsResponse) => void): Request<Inspector2.Types.ListUsageTotalsResponse, AWSError>; /** * Lists the Amazon Inspector usage totals over the last 30 days. */ listUsageTotals(callback?: (err: AWSError, data: Inspector2.Types.ListUsageTotalsResponse) => void): Request<Inspector2.Types.ListUsageTotalsResponse, AWSError>; /** * Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key. */ resetEncryptionKey(params: Inspector2.Types.ResetEncryptionKeyRequest, callback?: (err: AWSError, data: Inspector2.Types.ResetEncryptionKeyResponse) => void): Request<Inspector2.Types.ResetEncryptionKeyResponse, AWSError>; /** * Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key. */ resetEncryptionKey(callback?: (err: AWSError, data: Inspector2.Types.ResetEncryptionKeyResponse) => void): Request<Inspector2.Types.ResetEncryptionKeyResponse, AWSError>; /** * Lists Amazon Inspector coverage details for a specific vulnerability. */ searchVulnerabilities(params: Inspector2.Types.SearchVulnerabilitiesRequest, callback?: (err: AWSError, data: Inspector2.Types.SearchVulnerabilitiesResponse) => void): Request<Inspector2.Types.SearchVulnerabilitiesResponse, AWSError>; /** * Lists Amazon Inspector coverage details for a specific vulnerability. */ searchVulnerabilities(callback?: (err: AWSError, data: Inspector2.Types.SearchVulnerabilitiesResponse) => void): Request<Inspector2.Types.SearchVulnerabilitiesResponse, AWSError>; /** * 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(params: Inspector2.Types.SendCisSessionHealthRequest, callback?: (err: AWSError, data: Inspector2.Types.SendCisSessionHealthResponse) => void): Request<Inspector2.Types.SendCisSessionHealthResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.SendCisSessionHealthResponse) => void): Request<Inspector2.Types.SendCisSessionHealthResponse, AWSError>; /** * 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(params: Inspector2.Types.SendCisSessionTelemetryRequest, callback?: (err: AWSError, data: Inspector2.Types.SendCisSessionTelemetryResponse) => void): Request<Inspector2.Types.SendCisSessionTelemetryResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.SendCisSessionTelemetryResponse) => void): Request<Inspector2.Types.SendCisSessionTelemetryResponse, AWSError>; /** * 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(params: Inspector2.Types.StartCisSessionRequest, callback?: (err: AWSError, data: Inspector2.Types.StartCisSessionResponse) => void): Request<Inspector2.Types.StartCisSessionResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.StartCisSessionResponse) => void): Request<Inspector2.Types.StartCisSessionResponse, AWSError>; /** * 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(params: Inspector2.Types.StopCisSessionRequest, callback?: (err: AWSError, data: Inspector2.Types.StopCisSessionResponse) => void): Request<Inspector2.Types.StopCisSessionResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.StopCisSessionResponse) => void): Request<Inspector2.Types.StopCisSessionResponse, AWSError>; /** * Adds tags to a resource. */ tagResource(params: Inspector2.Types.TagResourceRequest, callback?: (err: AWSError, data: Inspector2.Types.TagResourceResponse) => void): Request<Inspector2.Types.TagResourceResponse, AWSError>; /** * Adds tags to a resource. */ tagResource(callback?: (err: AWSError, data: Inspector2.Types.TagResourceResponse) => void): Request<Inspector2.Types.TagResourceResponse, AWSError>; /** * Removes tags from a resource. */ untagResource(params: Inspector2.Types.UntagResourceRequest, callback?: (err: AWSError, data: Inspector2.Types.UntagResourceResponse) => void): Request<Inspector2.Types.UntagResourceResponse, AWSError>; /** * Removes tags from a resource. */ untagResource(callback?: (err: AWSError, data: Inspector2.Types.UntagResourceResponse) => void): Request<Inspector2.Types.UntagResourceResponse, AWSError>; /** * Updates a CIS scan configuration. */ updateCisScanConfiguration(params: Inspector2.Types.UpdateCisScanConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateCisScanConfigurationResponse) => void): Request<Inspector2.Types.UpdateCisScanConfigurationResponse, AWSError>; /** * Updates a CIS scan configuration. */ updateCisScanConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateCisScanConfigurationResponse) => void): Request<Inspector2.Types.UpdateCisScanConfigurationResponse, AWSError>; /** * 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(params: Inspector2.Types.UpdateConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateConfigurationResponse) => void): Request<Inspector2.Types.UpdateConfigurationResponse, AWSError>; /** * 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(callback?: (err: AWSError, data: Inspector2.Types.UpdateConfigurationResponse) => void): Request<Inspector2.Types.UpdateConfigurationResponse, AWSError>; /** * Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account. */ updateEc2DeepInspectionConfiguration(params: Inspector2.Types.UpdateEc2DeepInspectionConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse, AWSError>; /** * Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account. */ updateEc2DeepInspectionConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateEc2DeepInspectionConfigurationResponse, AWSError>; /** * Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption. */ updateEncryptionKey(params: Inspector2.Types.UpdateEncryptionKeyRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateEncryptionKeyResponse) => void): Request<Inspector2.Types.UpdateEncryptionKeyResponse, AWSError>; /** * Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption. */ updateEncryptionKey(callback?: (err: AWSError, data: Inspector2.Types.UpdateEncryptionKeyResponse) => void): Request<Inspector2.Types.UpdateEncryptionKeyResponse, AWSError>; /** * Specifies the action that is to be applied to the findings that match the filter. */ updateFilter(params: Inspector2.Types.UpdateFilterRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateFilterResponse) => void): Request<Inspector2.Types.UpdateFilterResponse, AWSError>; /** * Specifies the action that is to be applied to the findings that match the filter. */ updateFilter(callback?: (err: AWSError, data: Inspector2.Types.UpdateFilterResponse) => void): Request<Inspector2.Types.UpdateFilterResponse, AWSError>; /** * Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API. */ updateOrgEc2DeepInspectionConfiguration(params: Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationResponse, AWSError>; /** * Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API. */ updateOrgEc2DeepInspectionConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationResponse) => void): Request<Inspector2.Types.UpdateOrgEc2DeepInspectionConfigurationResponse, AWSError>; /** * Updates the configurations for your Amazon Inspector organization. */ updateOrganizationConfiguration(params: Inspector2.Types.UpdateOrganizationConfigurationRequest, callback?: (err: AWSError, data: Inspector2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Inspector2.Types.UpdateOrganizationConfigurationResponse, AWSError>; /** * Updates the configurations for your Amazon Inspector organization. */ updateOrganizationConfiguration(callback?: (err: AWSError, data: Inspector2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Inspector2.Types.UpdateOrganizationConfigurationResponse, AWSError>; } declare namespace Inspector2 { export interface Account { /** * The ID of the Amazon Web Services account. */ accountId: AccountId; /** * Details of the status of Amazon Inspector scans by resource type. */ resourceStatus: ResourceStatus; /** * The status of Amazon Inspector for the account. */ status: Status; } export interface AccountAggregation { /** * The type of finding. */ findingType?: AggregationFindingType; /** * The type of resource. */ resourceType?: AggregationResourceType; /** * The value to sort by. */ sortBy?: AccountSortBy; /** * The sort order (ascending or descending). */ sortOrder?: SortOrder; } export interface AccountAggregationResponse { /** * The Amazon Web Services account ID. */ accountId?: AccountId; /** * The number of findings that have an exploit available. */ exploitAvailableCount?: Long; /** * Details about the number of fixes. */ fixAvailableCount?: Long; /** * The number of findings by severity. */ severityCounts?: SeverityCounts; } export type AccountId = string; export type AccountIdFilterList = CisStringFilter[]; export type AccountIdSet = AccountId[]; export type AccountList = Account[]; export type AccountSortBy = "CRITICAL"|"HIGH"|"ALL"|string; export interface AccountState { /** * The Amazon Web Services account ID. */ accountId: AccountId; /** * An object detailing which resources Amazon Inspector is enabled to scan for the account. */ resourceState: ResourceState; /** * An object detailing the status of Amazon Inspector for the account. */ state: State; } export type AccountStateList = AccountState[]; export type AggCounts = number; export type AggregationFindingType = "NETWORK_REACHABILITY"|"PACKAGE_VULNERABILITY"|"CODE_VULNERABILITY"|string; export interface AggregationRequest { /** * An object that contains details about an aggregation request based on Amazon Web Services account IDs. */ accountAggregation?: AccountAggregation; /** * An object that contains details about an aggregation request based on Amazon Machine Images (AMIs). */ amiAggregation?: AmiAggregation; /** * An object that contains details about an aggregation request based on Amazon ECR container images. */ awsEcrContainerAggregation?: AwsEcrContainerAggregation; /** * An object that contains details about an aggregation request based on Amazon EC2 instances. */ ec2InstanceAggregation?: Ec2InstanceAggregation; /** * An object that contains details about an aggregation request based on finding types. */ findingTypeAggregation?: FindingTypeAggregation; /** * An object that contains details about an aggregation request based on container image layers. */ imageLayerAggregation?: ImageLayerAggregation; /** * Returns an object with findings aggregated by Amazon Web Services Lambda function. */ lambdaFunctionAggregation?: LambdaFunctionAggregation; /** * Returns an object with findings aggregated by Amazon Web Services Lambda layer. */ lambdaLayerAggregation?: LambdaLayerAggregation; /** * An object that contains details about an aggregation request based on operating system package type. */ packageAggregation?: PackageAggregation; /** * An object that contains details about an aggregation request based on Amazon ECR repositories. */ repositoryAggregation?: RepositoryAggregation; /** * An object that contains details about an aggregation request based on finding title. */ titleAggregation?: TitleAggregation; } export type AggregationResourceType = "AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER_IMAGE"|"AWS_LAMBDA_FUNCTION"|string; export interface AggregationResponse { /** * An object that contains details about an aggregation response based on Amazon Web Services account IDs. */ accountAggregation?: AccountAggregationResponse; /** * An object that contains details about an aggregation response based on Amazon Machine Images (AMIs). */ amiAggregation?: AmiAggregationResponse; /** * An object that contains details about an aggregation response based on Amazon ECR container images. */ awsEcrContainerAggregation?: AwsEcrContainerAggregationResponse; /** * An object that contains details about an aggregation response based on Amazon EC2 instances. */ ec2InstanceAggregation?: Ec2InstanceAggregationResponse; /** * An object that contains details about an aggregation response based on finding types. */ findingTypeAggregation?: FindingTypeAggregationResponse; /** * An object that contains details about an aggregation response based on container image layers. */ imageLayerAggregation?: ImageLayerAggregationResponse; /** * An aggregation of findings by Amazon Web Services Lambda function. */ lambdaFunctionAggregation?: LambdaFunctionAggregationResponse; /** * An aggregation of findings by Amazon Web Services Lambda layer. */ lambdaLayerAggregation?: LambdaLayerAggregationResponse; /** * An object that contains details about an aggregation response based on operating system package type. */ packageAggregation?: PackageAggregationResponse; /** * An object that contains details about an aggregation response based on Amazon ECR repositories. */ repositoryAggregation?: RepositoryAggregationResponse; /** * An object that contains details about an aggregation response based on finding title. */ titleAggregation?: TitleAggregationResponse; } export type AggregationResponseList = AggregationResponse[]; export type AggregationType = "FINDING_TYPE"|"PACKAGE"|"TITLE"|"REPOSITORY"|"AMI"|"AWS_EC2_INSTANCE"|"AWS_ECR_CONTAINER"|"IMAGE_LAYER"|"ACCOUNT"|"AWS_LAMBDA_FUNCTION"|"LAMBDA_LAYER"|string; export interface AmiAggregation { /** * The IDs of AMIs to aggregate findings for. */ amis?: StringFilterList; /** * The value to sort results by. */ sortBy?: AmiSortBy; /** * The order to sort results by. */ sortOrder?: SortOrder; } export interface AmiAggregationResponse { /** * The Amazon Web Services account ID for the AMI. */ accountId?: AccountId; /** * The IDs of Amazon EC2 instances using this AMI. */ affectedInstances?: Long; /** * The ID of the AMI that findings were aggregated for. */ ami: AmiId; /** * An object that contains the count of matched findings per severity. */ severityCounts?: SeverityCounts; } export type AmiId = string; export type AmiSortBy = "CRITICAL"|"HIGH"|"ALL"|"AFFECTED_INSTANCES"|string; export type Architecture = "X86_64"|"ARM64"|string; export type ArchitectureList = Architecture[]; export type Arn = string; export interface AssociateMemberRequest { /** * The Amazon Web Services account ID of the member account to be associated. */ accountId: AccountId; } export interface AssociateMemberResponse { /** * The Amazon Web Services account ID of the successfully associated member account. */ accountId: AccountId; } export interface AtigData { /** * The date and time this vulnerability was first observed. */ firstSeen?: FirstSeen; /** * The date and time this vulnerability was last observed. */ lastSeen?: LastSeen; /** * The commercial sectors this vulnerability targets. */ targets?: Targets; /** * The MITRE ATT&amp;CK tactics, techniques, and procedures (TTPs) associated with vulnerability. */ ttps?: Ttps; } export interface AutoEnable { /** * Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector organization. */ ec2: Boolean; /** * Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector organization. */ ecr: Boolean; /** * Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization. */ lambda?: Boolean; /** * Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization. &lt;/p&gt; */ lambdaCode?: Boolean; } export interface AwsEc2InstanceDetails { /** * The IAM instance profile ARN of the Amazon EC2 instance. */ iamInstanceProfileArn?: NonEmptyString; /** * The image ID of the Amazon EC2 instance. */ imageId?: NonEmptyString; /** * The IPv4 addresses of the Amazon EC2 instance. */ ipV4Addresses?: IpV4AddressList; /** * The IPv6 addresses of the Amazon EC2 instance. */ ipV6Addresses?: IpV6AddressList; /** * The name of the key pair used to launch the Amazon EC2 instance. */ keyName?: NonEmptyString; /** * The date and time the Amazon EC2 instance was launched at. */ launchedAt?: DateTimeTimestamp; /** * The platform of the Amazon EC2 instance. */ platform?: Platform; /** * The subnet ID of the Amazon EC2 instance. */ subnetId?: NonEmptyString; /** * The type of the Amazon EC2 instance. */ type?: NonEmptyString; /** * The VPC ID of the Amazon EC2 instance. */ vpcId?: NonEmptyString; } export interface AwsEcrContainerAggregation { /** * The architecture of the containers. */ architectures?: StringFilterList; /** * The image SHA values. */ imageShas?: StringFilterList; /** * The image tags. */ imageTags?: StringFilterList; /** * The container repositories. */ repositories?: StringFilterList; /** * The container resource IDs. */ resourceIds?: StringFilterList; /** * The value to sort by. */ sortBy?: AwsEcrContainerSortBy; /** * The sort order (ascending or descending). */ sortOrder?: SortOrder; } export interface AwsEcrContainerAggregationResponse { /** * The Amazon Web Services account ID of the account that owns the container. */ accountId?: AccountId; /** * The architecture of the container. */ architecture?: String; /** * The SHA value of the container image. */ imageSha?: String; /** * The container image stags. */ imageTags?: StringList; /** * The container repository. */ repository?: String; /** * The resource ID of the container. */ resourceId: NonEmptyString; /** * The number of finding by severity. */ severityCounts?: SeverityCounts; } export interface AwsEcrContainerImageDetails { /** * The architecture of the Amazon ECR container image. */ architecture?: NonEmptyString; /** * The image author of the Amazon ECR container image. */ author?: String; /** * The image hash of the Amazon ECR container image. */ imageHash: ImageHash; /** * The image tags attached to the Amazon ECR container image. */ imageTags?: ImageTagList; /** * The platform of the Amazon ECR container image. */ platform?: Platform; /** * The date and time the Amazon ECR container image was pushed. */ pushedAt?: Date