From a0e7fd5146c5b694c4406a19de6e1a2d7d4d6074 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 11 Nov 2024 19:12:23 +0000 Subject: [PATCH] feat(client-inspector2): Adds support for filePath filter. --- .../src/commands/AssociateMemberCommand.ts | 3 - .../commands/BatchGetAccountStatusCommand.ts | 3 - .../commands/BatchGetCodeSnippetCommand.ts | 3 - .../commands/BatchGetFindingDetailsCommand.ts | 3 - .../commands/BatchGetFreeTrialInfoCommand.ts | 3 - ...GetMemberEc2DeepInspectionStatusCommand.ts | 3 - ...ateMemberEc2DeepInspectionStatusCommand.ts | 3 - .../commands/CancelFindingsReportCommand.ts | 3 - .../src/commands/CancelSbomExportCommand.ts | 3 - .../CreateCisScanConfigurationCommand.ts | 3 - .../src/commands/CreateFilterCommand.ts | 4 +- .../commands/CreateFindingsReportCommand.ts | 4 +- .../src/commands/CreateSbomExportCommand.ts | 3 - .../DeleteCisScanConfigurationCommand.ts | 3 - .../src/commands/DeleteFilterCommand.ts | 3 - ...escribeOrganizationConfigurationCommand.ts | 3 - .../src/commands/DisableCommand.ts | 3 - .../DisableDelegatedAdminAccountCommand.ts | 3 - .../src/commands/DisassociateMemberCommand.ts | 3 - .../src/commands/EnableCommand.ts | 3 - .../EnableDelegatedAdminAccountCommand.ts | 3 - .../src/commands/GetCisScanReportCommand.ts | 3 - .../GetCisScanResultDetailsCommand.ts | 3 - .../GetDelegatedAdminAccountCommand.ts | 3 - ...etEc2DeepInspectionConfigurationCommand.ts | 3 - .../src/commands/GetEncryptionKeyCommand.ts | 3 - .../GetFindingsReportStatusCommand.ts | 4 +- .../src/commands/GetMemberCommand.ts | 3 - .../src/commands/GetSbomExportCommand.ts | 3 - .../commands/ListAccountPermissionsCommand.ts | 3 - .../ListCisScanConfigurationsCommand.ts | 3 - ...CisScanResultsAggregatedByChecksCommand.ts | 3 - ...esultsAggregatedByTargetResourceCommand.ts | 3 - .../src/commands/ListCisScansCommand.ts | 3 - .../src/commands/ListCoverageCommand.ts | 2 +- .../ListDelegatedAdminAccountsCommand.ts | 3 - .../src/commands/ListFiltersCommand.ts | 4 +- .../src/commands/ListFindingsCommand.ts | 1 + .../src/commands/ListMembersCommand.ts | 3 - .../src/commands/ListUsageTotalsCommand.ts | 3 - .../src/commands/ResetEncryptionKeyCommand.ts | 3 - .../commands/SearchVulnerabilitiesCommand.ts | 3 - .../commands/SendCisSessionHealthCommand.ts | 3 - .../SendCisSessionTelemetryCommand.ts | 3 - .../src/commands/StartCisSessionCommand.ts | 3 - .../src/commands/StopCisSessionCommand.ts | 5 +- .../UpdateCisScanConfigurationCommand.ts | 3 - .../commands/UpdateConfigurationCommand.ts | 3 - ...teEc2DeepInspectionConfigurationCommand.ts | 3 - .../commands/UpdateEncryptionKeyCommand.ts | 3 - .../src/commands/UpdateFilterCommand.ts | 4 +- ...rgEc2DeepInspectionConfigurationCommand.ts | 3 - .../UpdateOrganizationConfigurationCommand.ts | 3 - .../client-inspector2/src/models/models_0.ts | 20 +- .../src/protocols/Aws_restJson1.ts | 2 + .../sdk-codegen/aws-models/inspector2.json | 30894 ++++++++-------- 56 files changed, 15487 insertions(+), 15592 deletions(-) diff --git a/clients/client-inspector2/src/commands/AssociateMemberCommand.ts b/clients/client-inspector2/src/commands/AssociateMemberCommand.ts index 612cf7adef7c..7a0757cf836d 100644 --- a/clients/client-inspector2/src/commands/AssociateMemberCommand.ts +++ b/clients/client-inspector2/src/commands/AssociateMemberCommand.ts @@ -54,9 +54,6 @@ export interface AssociateMemberCommandOutput extends AssociateMemberResponse, _ * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/BatchGetAccountStatusCommand.ts b/clients/client-inspector2/src/commands/BatchGetAccountStatusCommand.ts index 30389eedf158..dbee60a52eaf 100644 --- a/clients/client-inspector2/src/commands/BatchGetAccountStatusCommand.ts +++ b/clients/client-inspector2/src/commands/BatchGetAccountStatusCommand.ts @@ -101,9 +101,6 @@ export interface BatchGetAccountStatusCommandOutput extends BatchGetAccountStatu * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/BatchGetCodeSnippetCommand.ts b/clients/client-inspector2/src/commands/BatchGetCodeSnippetCommand.ts index 947fe8f1d513..312991d83b2b 100644 --- a/clients/client-inspector2/src/commands/BatchGetCodeSnippetCommand.ts +++ b/clients/client-inspector2/src/commands/BatchGetCodeSnippetCommand.ts @@ -81,9 +81,6 @@ export interface BatchGetCodeSnippetCommandOutput extends BatchGetCodeSnippetRes * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/BatchGetFindingDetailsCommand.ts b/clients/client-inspector2/src/commands/BatchGetFindingDetailsCommand.ts index 9a02cb92a847..9aab535a4099 100644 --- a/clients/client-inspector2/src/commands/BatchGetFindingDetailsCommand.ts +++ b/clients/client-inspector2/src/commands/BatchGetFindingDetailsCommand.ts @@ -97,9 +97,6 @@ export interface BatchGetFindingDetailsCommandOutput extends BatchGetFindingDeta * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/BatchGetFreeTrialInfoCommand.ts b/clients/client-inspector2/src/commands/BatchGetFreeTrialInfoCommand.ts index 34cb2bcf4b9f..0a490977d6e3 100644 --- a/clients/client-inspector2/src/commands/BatchGetFreeTrialInfoCommand.ts +++ b/clients/client-inspector2/src/commands/BatchGetFreeTrialInfoCommand.ts @@ -75,9 +75,6 @@ export interface BatchGetFreeTrialInfoCommandOutput extends BatchGetFreeTrialInf * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/BatchGetMemberEc2DeepInspectionStatusCommand.ts b/clients/client-inspector2/src/commands/BatchGetMemberEc2DeepInspectionStatusCommand.ts index 78067ccb0111..30cbac9e6d7d 100644 --- a/clients/client-inspector2/src/commands/BatchGetMemberEc2DeepInspectionStatusCommand.ts +++ b/clients/client-inspector2/src/commands/BatchGetMemberEc2DeepInspectionStatusCommand.ts @@ -78,9 +78,6 @@ export interface BatchGetMemberEc2DeepInspectionStatusCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.ts b/clients/client-inspector2/src/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.ts index c5e5c562df67..f5db7730985b 100644 --- a/clients/client-inspector2/src/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.ts +++ b/clients/client-inspector2/src/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.ts @@ -81,9 +81,6 @@ export interface BatchUpdateMemberEc2DeepInspectionStatusCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/CancelFindingsReportCommand.ts b/clients/client-inspector2/src/commands/CancelFindingsReportCommand.ts index 3ae125a5ba17..5d7618931616 100644 --- a/clients/client-inspector2/src/commands/CancelFindingsReportCommand.ts +++ b/clients/client-inspector2/src/commands/CancelFindingsReportCommand.ts @@ -54,9 +54,6 @@ export interface CancelFindingsReportCommandOutput extends CancelFindingsReportR * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/CancelSbomExportCommand.ts b/clients/client-inspector2/src/commands/CancelSbomExportCommand.ts index 641ffdb360e6..b996911512ad 100644 --- a/clients/client-inspector2/src/commands/CancelSbomExportCommand.ts +++ b/clients/client-inspector2/src/commands/CancelSbomExportCommand.ts @@ -54,9 +54,6 @@ export interface CancelSbomExportCommandOutput extends CancelSbomExportResponse, * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/CreateCisScanConfigurationCommand.ts b/clients/client-inspector2/src/commands/CreateCisScanConfigurationCommand.ts index 67adb10d057c..7343c7ac23e6 100644 --- a/clients/client-inspector2/src/commands/CreateCisScanConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/CreateCisScanConfigurationCommand.ts @@ -93,9 +93,6 @@ export interface CreateCisScanConfigurationCommandOutput extends CreateCisScanCo * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/CreateFilterCommand.ts b/clients/client-inspector2/src/commands/CreateFilterCommand.ts index c10c10e77d24..41c54b6af26d 100644 --- a/clients/client-inspector2/src/commands/CreateFilterCommand.ts +++ b/clients/client-inspector2/src/commands/CreateFilterCommand.ts @@ -141,6 +141,7 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad * architecture: "", * sourceLayerHash: "", * sourceLambdaLayerArn: "", + * filePath: "", * }, * ], * relatedVulnerabilities: "", @@ -188,9 +189,6 @@ export interface CreateFilterCommandOutput extends CreateFilterResponse, __Metad * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link BadRequestException} (client fault) *

One or more tags submitted as part of the request is not valid.

diff --git a/clients/client-inspector2/src/commands/CreateFindingsReportCommand.ts b/clients/client-inspector2/src/commands/CreateFindingsReportCommand.ts index 821027cb4485..80bd778b22fe 100644 --- a/clients/client-inspector2/src/commands/CreateFindingsReportCommand.ts +++ b/clients/client-inspector2/src/commands/CreateFindingsReportCommand.ts @@ -139,6 +139,7 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR * architecture: "", * sourceLayerHash: "", * sourceLambdaLayerArn: "", + * filePath: "", * }, * ], * relatedVulnerabilities: "", @@ -187,9 +188,6 @@ export interface CreateFindingsReportCommandOutput extends CreateFindingsReportR * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/CreateSbomExportCommand.ts b/clients/client-inspector2/src/commands/CreateSbomExportCommand.ts index 18cab155f049..170e58b9c3a2 100644 --- a/clients/client-inspector2/src/commands/CreateSbomExportCommand.ts +++ b/clients/client-inspector2/src/commands/CreateSbomExportCommand.ts @@ -106,9 +106,6 @@ export interface CreateSbomExportCommandOutput extends CreateSbomExportResponse, * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/DeleteCisScanConfigurationCommand.ts b/clients/client-inspector2/src/commands/DeleteCisScanConfigurationCommand.ts index 97cc8d305b66..cdb7796384c5 100644 --- a/clients/client-inspector2/src/commands/DeleteCisScanConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/DeleteCisScanConfigurationCommand.ts @@ -54,9 +54,6 @@ export interface DeleteCisScanConfigurationCommandOutput extends DeleteCisScanCo * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/DeleteFilterCommand.ts b/clients/client-inspector2/src/commands/DeleteFilterCommand.ts index 9639feb33a10..77117942c2f9 100644 --- a/clients/client-inspector2/src/commands/DeleteFilterCommand.ts +++ b/clients/client-inspector2/src/commands/DeleteFilterCommand.ts @@ -54,9 +54,6 @@ export interface DeleteFilterCommandOutput extends DeleteFilterResponse, __Metad * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/DescribeOrganizationConfigurationCommand.ts b/clients/client-inspector2/src/commands/DescribeOrganizationConfigurationCommand.ts index 42a33b5e5dcc..aac041e5bade 100644 --- a/clients/client-inspector2/src/commands/DescribeOrganizationConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/DescribeOrganizationConfigurationCommand.ts @@ -66,9 +66,6 @@ export interface DescribeOrganizationConfigurationCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/DisableCommand.ts b/clients/client-inspector2/src/commands/DisableCommand.ts index fe729547389b..c46701d32023 100644 --- a/clients/client-inspector2/src/commands/DisableCommand.ts +++ b/clients/client-inspector2/src/commands/DisableCommand.ts @@ -85,9 +85,6 @@ export interface DisableCommandOutput extends DisableResponse, __MetadataBearer * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/DisableDelegatedAdminAccountCommand.ts b/clients/client-inspector2/src/commands/DisableDelegatedAdminAccountCommand.ts index a2946a9d1c10..2ce73ca8c70b 100644 --- a/clients/client-inspector2/src/commands/DisableDelegatedAdminAccountCommand.ts +++ b/clients/client-inspector2/src/commands/DisableDelegatedAdminAccountCommand.ts @@ -59,9 +59,6 @@ export interface DisableDelegatedAdminAccountCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link ConflictException} (client fault) *

A conflict occurred.

diff --git a/clients/client-inspector2/src/commands/DisassociateMemberCommand.ts b/clients/client-inspector2/src/commands/DisassociateMemberCommand.ts index 5fafc87fe694..1ec875cfa69f 100644 --- a/clients/client-inspector2/src/commands/DisassociateMemberCommand.ts +++ b/clients/client-inspector2/src/commands/DisassociateMemberCommand.ts @@ -54,9 +54,6 @@ export interface DisassociateMemberCommandOutput extends DisassociateMemberRespo * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/EnableCommand.ts b/clients/client-inspector2/src/commands/EnableCommand.ts index afb4acc6e20c..f9632416704a 100644 --- a/clients/client-inspector2/src/commands/EnableCommand.ts +++ b/clients/client-inspector2/src/commands/EnableCommand.ts @@ -85,9 +85,6 @@ export interface EnableCommandOutput extends EnableResponse, __MetadataBearer {} * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/EnableDelegatedAdminAccountCommand.ts b/clients/client-inspector2/src/commands/EnableDelegatedAdminAccountCommand.ts index eeb9216ee8fb..af1612a013c6 100644 --- a/clients/client-inspector2/src/commands/EnableDelegatedAdminAccountCommand.ts +++ b/clients/client-inspector2/src/commands/EnableDelegatedAdminAccountCommand.ts @@ -60,9 +60,6 @@ export interface EnableDelegatedAdminAccountCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link ConflictException} (client fault) *

A conflict occurred.

diff --git a/clients/client-inspector2/src/commands/GetCisScanReportCommand.ts b/clients/client-inspector2/src/commands/GetCisScanReportCommand.ts index 4c783d55905a..9cd8f3f73bcd 100644 --- a/clients/client-inspector2/src/commands/GetCisScanReportCommand.ts +++ b/clients/client-inspector2/src/commands/GetCisScanReportCommand.ts @@ -59,9 +59,6 @@ export interface GetCisScanReportCommandOutput extends GetCisScanReportResponse, * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/GetCisScanResultDetailsCommand.ts b/clients/client-inspector2/src/commands/GetCisScanResultDetailsCommand.ts index 2602bdb45e6d..dd2dce316ba2 100644 --- a/clients/client-inspector2/src/commands/GetCisScanResultDetailsCommand.ts +++ b/clients/client-inspector2/src/commands/GetCisScanResultDetailsCommand.ts @@ -108,9 +108,6 @@ export interface GetCisScanResultDetailsCommandOutput extends GetCisScanResultDe * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/GetDelegatedAdminAccountCommand.ts b/clients/client-inspector2/src/commands/GetDelegatedAdminAccountCommand.ts index 2e5a22c10655..7404b1aade23 100644 --- a/clients/client-inspector2/src/commands/GetDelegatedAdminAccountCommand.ts +++ b/clients/client-inspector2/src/commands/GetDelegatedAdminAccountCommand.ts @@ -56,9 +56,6 @@ export interface GetDelegatedAdminAccountCommandOutput extends GetDelegatedAdmin * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/GetEc2DeepInspectionConfigurationCommand.ts b/clients/client-inspector2/src/commands/GetEc2DeepInspectionConfigurationCommand.ts index 89067ee858a4..6eb7d8ad9402 100644 --- a/clients/client-inspector2/src/commands/GetEc2DeepInspectionConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/GetEc2DeepInspectionConfigurationCommand.ts @@ -68,9 +68,6 @@ export interface GetEc2DeepInspectionConfigurationCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/GetEncryptionKeyCommand.ts b/clients/client-inspector2/src/commands/GetEncryptionKeyCommand.ts index 3e71dacd1923..a69fef508405 100644 --- a/clients/client-inspector2/src/commands/GetEncryptionKeyCommand.ts +++ b/clients/client-inspector2/src/commands/GetEncryptionKeyCommand.ts @@ -55,9 +55,6 @@ export interface GetEncryptionKeyCommandOutput extends GetEncryptionKeyResponse, * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/GetFindingsReportStatusCommand.ts b/clients/client-inspector2/src/commands/GetFindingsReportStatusCommand.ts index 407ec1cf50a2..7569be35fc81 100644 --- a/clients/client-inspector2/src/commands/GetFindingsReportStatusCommand.ts +++ b/clients/client-inspector2/src/commands/GetFindingsReportStatusCommand.ts @@ -153,6 +153,7 @@ export interface GetFindingsReportStatusCommandOutput extends GetFindingsReportS * // architecture: "", * // sourceLayerHash: "", * // sourceLambdaLayerArn: "", + * // filePath: "", * // }, * // ], * // relatedVulnerabilities: "", @@ -190,9 +191,6 @@ export interface GetFindingsReportStatusCommandOutput extends GetFindingsReportS * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/GetMemberCommand.ts b/clients/client-inspector2/src/commands/GetMemberCommand.ts index d6443b536857..8f93e2470187 100644 --- a/clients/client-inspector2/src/commands/GetMemberCommand.ts +++ b/clients/client-inspector2/src/commands/GetMemberCommand.ts @@ -59,9 +59,6 @@ export interface GetMemberCommandOutput extends GetMemberResponse, __MetadataBea * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/GetSbomExportCommand.ts b/clients/client-inspector2/src/commands/GetSbomExportCommand.ts index 97562601fac8..f73cffa262d2 100644 --- a/clients/client-inspector2/src/commands/GetSbomExportCommand.ts +++ b/clients/client-inspector2/src/commands/GetSbomExportCommand.ts @@ -110,9 +110,6 @@ export interface GetSbomExportCommandOutput extends GetSbomExportResponse, __Met * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListAccountPermissionsCommand.ts b/clients/client-inspector2/src/commands/ListAccountPermissionsCommand.ts index 796f84236e46..2071dffceb2e 100644 --- a/clients/client-inspector2/src/commands/ListAccountPermissionsCommand.ts +++ b/clients/client-inspector2/src/commands/ListAccountPermissionsCommand.ts @@ -62,9 +62,6 @@ export interface ListAccountPermissionsCommandOutput extends ListAccountPermissi * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListCisScanConfigurationsCommand.ts b/clients/client-inspector2/src/commands/ListCisScanConfigurationsCommand.ts index 257f6b54010e..2a92a668ff19 100644 --- a/clients/client-inspector2/src/commands/ListCisScanConfigurationsCommand.ts +++ b/clients/client-inspector2/src/commands/ListCisScanConfigurationsCommand.ts @@ -124,9 +124,6 @@ export interface ListCisScanConfigurationsCommandOutput extends ListCisScanConfi * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListCisScanResultsAggregatedByChecksCommand.ts b/clients/client-inspector2/src/commands/ListCisScanResultsAggregatedByChecksCommand.ts index 9dbf421f852f..4f6258789d67 100644 --- a/clients/client-inspector2/src/commands/ListCisScanResultsAggregatedByChecksCommand.ts +++ b/clients/client-inspector2/src/commands/ListCisScanResultsAggregatedByChecksCommand.ts @@ -120,9 +120,6 @@ export interface ListCisScanResultsAggregatedByChecksCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListCisScanResultsAggregatedByTargetResourceCommand.ts b/clients/client-inspector2/src/commands/ListCisScanResultsAggregatedByTargetResourceCommand.ts index 803b837f29f8..b2eaf11a45ce 100644 --- a/clients/client-inspector2/src/commands/ListCisScanResultsAggregatedByTargetResourceCommand.ts +++ b/clients/client-inspector2/src/commands/ListCisScanResultsAggregatedByTargetResourceCommand.ts @@ -144,9 +144,6 @@ export interface ListCisScanResultsAggregatedByTargetResourceCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListCisScansCommand.ts b/clients/client-inspector2/src/commands/ListCisScansCommand.ts index c50a79d5dcdf..d4cb0e1f1325 100644 --- a/clients/client-inspector2/src/commands/ListCisScansCommand.ts +++ b/clients/client-inspector2/src/commands/ListCisScansCommand.ts @@ -141,9 +141,6 @@ export interface ListCisScansCommandOutput extends ListCisScansResponse, __Metad * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListCoverageCommand.ts b/clients/client-inspector2/src/commands/ListCoverageCommand.ts index 04a4f5d678a6..9423bd130779 100644 --- a/clients/client-inspector2/src/commands/ListCoverageCommand.ts +++ b/clients/client-inspector2/src/commands/ListCoverageCommand.ts @@ -28,7 +28,7 @@ export interface ListCoverageCommandInput extends ListCoverageRequest {} export interface ListCoverageCommandOutput extends ListCoverageResponse, __MetadataBearer {} /** - *

Lists coverage details for you environment.

+ *

Lists coverage details for your environment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-inspector2/src/commands/ListDelegatedAdminAccountsCommand.ts b/clients/client-inspector2/src/commands/ListDelegatedAdminAccountsCommand.ts index d900d4b2000c..287c1e8f2154 100644 --- a/clients/client-inspector2/src/commands/ListDelegatedAdminAccountsCommand.ts +++ b/clients/client-inspector2/src/commands/ListDelegatedAdminAccountsCommand.ts @@ -62,9 +62,6 @@ export interface ListDelegatedAdminAccountsCommandOutput extends ListDelegatedAd * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListFiltersCommand.ts b/clients/client-inspector2/src/commands/ListFiltersCommand.ts index d8371a7b5f67..ec23cbe0b533 100644 --- a/clients/client-inspector2/src/commands/ListFiltersCommand.ts +++ b/clients/client-inspector2/src/commands/ListFiltersCommand.ts @@ -154,6 +154,7 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat * // architecture: "", * // sourceLayerHash: "", * // sourceLambdaLayerArn: "", + * // filePath: "", * // }, * // ], * // relatedVulnerabilities: "", @@ -202,9 +203,6 @@ export interface ListFiltersCommandOutput extends ListFiltersResponse, __Metadat * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListFindingsCommand.ts b/clients/client-inspector2/src/commands/ListFindingsCommand.ts index 336df2a6806d..fa1f643c9cd0 100644 --- a/clients/client-inspector2/src/commands/ListFindingsCommand.ts +++ b/clients/client-inspector2/src/commands/ListFindingsCommand.ts @@ -141,6 +141,7 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad * architecture: "", * sourceLayerHash: "", * sourceLambdaLayerArn: "", + * filePath: "", * }, * ], * relatedVulnerabilities: "", diff --git a/clients/client-inspector2/src/commands/ListMembersCommand.ts b/clients/client-inspector2/src/commands/ListMembersCommand.ts index 475b97f0b1f1..8db294c70591 100644 --- a/clients/client-inspector2/src/commands/ListMembersCommand.ts +++ b/clients/client-inspector2/src/commands/ListMembersCommand.ts @@ -65,9 +65,6 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ListUsageTotalsCommand.ts b/clients/client-inspector2/src/commands/ListUsageTotalsCommand.ts index ff2450a434ea..a7d7b2c66efa 100644 --- a/clients/client-inspector2/src/commands/ListUsageTotalsCommand.ts +++ b/clients/client-inspector2/src/commands/ListUsageTotalsCommand.ts @@ -71,9 +71,6 @@ export interface ListUsageTotalsCommandOutput extends ListUsageTotalsResponse, _ * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/ResetEncryptionKeyCommand.ts b/clients/client-inspector2/src/commands/ResetEncryptionKeyCommand.ts index 6c15c4a9f003..4f56d75eef18 100644 --- a/clients/client-inspector2/src/commands/ResetEncryptionKeyCommand.ts +++ b/clients/client-inspector2/src/commands/ResetEncryptionKeyCommand.ts @@ -53,9 +53,6 @@ export interface ResetEncryptionKeyCommandOutput extends ResetEncryptionKeyRespo * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/SearchVulnerabilitiesCommand.ts b/clients/client-inspector2/src/commands/SearchVulnerabilitiesCommand.ts index 6c9f15a9fb17..bcfbf73a1395 100644 --- a/clients/client-inspector2/src/commands/SearchVulnerabilitiesCommand.ts +++ b/clients/client-inspector2/src/commands/SearchVulnerabilitiesCommand.ts @@ -112,9 +112,6 @@ export interface SearchVulnerabilitiesCommandOutput extends SearchVulnerabilitie * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/SendCisSessionHealthCommand.ts b/clients/client-inspector2/src/commands/SendCisSessionHealthCommand.ts index 5b7b91115b20..2d3b5ef8b143 100644 --- a/clients/client-inspector2/src/commands/SendCisSessionHealthCommand.ts +++ b/clients/client-inspector2/src/commands/SendCisSessionHealthCommand.ts @@ -57,9 +57,6 @@ export interface SendCisSessionHealthCommandOutput extends SendCisSessionHealthR * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link ConflictException} (client fault) *

A conflict occurred.

diff --git a/clients/client-inspector2/src/commands/SendCisSessionTelemetryCommand.ts b/clients/client-inspector2/src/commands/SendCisSessionTelemetryCommand.ts index 02703ec65249..49c2fc31b207 100644 --- a/clients/client-inspector2/src/commands/SendCisSessionTelemetryCommand.ts +++ b/clients/client-inspector2/src/commands/SendCisSessionTelemetryCommand.ts @@ -64,9 +64,6 @@ export interface SendCisSessionTelemetryCommandOutput extends SendCisSessionTele * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link ConflictException} (client fault) *

A conflict occurred.

diff --git a/clients/client-inspector2/src/commands/StartCisSessionCommand.ts b/clients/client-inspector2/src/commands/StartCisSessionCommand.ts index d15acd1ddfbc..482bd0a3bed3 100644 --- a/clients/client-inspector2/src/commands/StartCisSessionCommand.ts +++ b/clients/client-inspector2/src/commands/StartCisSessionCommand.ts @@ -59,9 +59,6 @@ export interface StartCisSessionCommandOutput extends StartCisSessionResponse, _ * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link ConflictException} (client fault) *

A conflict occurred.

diff --git a/clients/client-inspector2/src/commands/StopCisSessionCommand.ts b/clients/client-inspector2/src/commands/StopCisSessionCommand.ts index eab70a4ce14f..d704f1c1d0c7 100644 --- a/clients/client-inspector2/src/commands/StopCisSessionCommand.ts +++ b/clients/client-inspector2/src/commands/StopCisSessionCommand.ts @@ -31,7 +31,7 @@ export interface StopCisSessionCommandOutput extends StopCisSessionResponse, __M *

* 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. + * The Amazon Inspector SSM plugin calls this API to stop a CIS scan session for the scan ID supplied by the service. *

* @example * Use a bare-bones client and the command you need to make an API call. @@ -78,9 +78,6 @@ export interface StopCisSessionCommandOutput extends StopCisSessionResponse, __M * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link ConflictException} (client fault) *

A conflict occurred.

diff --git a/clients/client-inspector2/src/commands/UpdateCisScanConfigurationCommand.ts b/clients/client-inspector2/src/commands/UpdateCisScanConfigurationCommand.ts index df94880a31ef..f306da6c0ead 100644 --- a/clients/client-inspector2/src/commands/UpdateCisScanConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/UpdateCisScanConfigurationCommand.ts @@ -91,9 +91,6 @@ export interface UpdateCisScanConfigurationCommandOutput extends UpdateCisScanCo * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/UpdateConfigurationCommand.ts b/clients/client-inspector2/src/commands/UpdateConfigurationCommand.ts index 9d812735e3e9..5d361a65dd8f 100644 --- a/clients/client-inspector2/src/commands/UpdateConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/UpdateConfigurationCommand.ts @@ -58,9 +58,6 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/UpdateEc2DeepInspectionConfigurationCommand.ts b/clients/client-inspector2/src/commands/UpdateEc2DeepInspectionConfigurationCommand.ts index 0c1e4b2bf63c..0eabc07f3ca8 100644 --- a/clients/client-inspector2/src/commands/UpdateEc2DeepInspectionConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/UpdateEc2DeepInspectionConfigurationCommand.ts @@ -72,9 +72,6 @@ export interface UpdateEc2DeepInspectionConfigurationCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/UpdateEncryptionKeyCommand.ts b/clients/client-inspector2/src/commands/UpdateEncryptionKeyCommand.ts index 7f063549cf3f..61ae23ef1913 100644 --- a/clients/client-inspector2/src/commands/UpdateEncryptionKeyCommand.ts +++ b/clients/client-inspector2/src/commands/UpdateEncryptionKeyCommand.ts @@ -54,9 +54,6 @@ export interface UpdateEncryptionKeyCommandOutput extends UpdateEncryptionKeyRes * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/UpdateFilterCommand.ts b/clients/client-inspector2/src/commands/UpdateFilterCommand.ts index 8010e524bc1d..18b488318c05 100644 --- a/clients/client-inspector2/src/commands/UpdateFilterCommand.ts +++ b/clients/client-inspector2/src/commands/UpdateFilterCommand.ts @@ -141,6 +141,7 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad * architecture: "", * sourceLayerHash: "", * sourceLambdaLayerArn: "", + * filePath: "", * }, * ], * relatedVulnerabilities: "", @@ -186,9 +187,6 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.ts b/clients/client-inspector2/src/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.ts index df97808ba2ca..c0679a949795 100644 --- a/clients/client-inspector2/src/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.ts @@ -63,9 +63,6 @@ export interface UpdateOrgEc2DeepInspectionConfigurationCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/commands/UpdateOrganizationConfigurationCommand.ts b/clients/client-inspector2/src/commands/UpdateOrganizationConfigurationCommand.ts index ca4ddfd0ea39..2b1e6cb74ce5 100644 --- a/clients/client-inspector2/src/commands/UpdateOrganizationConfigurationCommand.ts +++ b/clients/client-inspector2/src/commands/UpdateOrganizationConfigurationCommand.ts @@ -69,9 +69,6 @@ export interface UpdateOrganizationConfigurationCommandOutput * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* * @throws {@link InternalServerException} (server fault) *

The request has failed due to an internal failure of the Amazon Inspector service.

diff --git a/clients/client-inspector2/src/models/models_0.ts b/clients/client-inspector2/src/models/models_0.ts index 84d5687ee5b7..ed08c7e23b35 100644 --- a/clients/client-inspector2/src/models/models_0.ts +++ b/clients/client-inspector2/src/models/models_0.ts @@ -5,9 +5,6 @@ import { Inspector2ServiceException as __BaseException } from "./Inspector2Servi /** *

You do not have sufficient access to perform this action.

- *

- * For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. - *

* @public */ export class AccessDeniedException extends __BaseException { @@ -2295,6 +2292,9 @@ export type PackageType = (typeof PackageType)[keyof typeof PackageType]; * @enum */ export const Runtime = { + DOTNETCORE_3_1: "DOTNETCORE_3_1", + DOTNET_6: "DOTNET_6", + DOTNET_7: "DOTNET_7", GO_1_X: "GO_1_X", JAVA_11: "JAVA_11", JAVA_17: "JAVA_17", @@ -2306,9 +2306,12 @@ export const Runtime = { NODEJS_16_X: "NODEJS_16_X", NODEJS_18_X: "NODEJS_18_X", PYTHON_3_10: "PYTHON_3_10", + PYTHON_3_11: "PYTHON_3_11", PYTHON_3_7: "PYTHON_3_7", PYTHON_3_8: "PYTHON_3_8", PYTHON_3_9: "PYTHON_3_9", + RUBY_2_7: "RUBY_2_7", + RUBY_3_2: "RUBY_3_2", UNSUPPORTED: "UNSUPPORTED", } as const; @@ -4697,7 +4700,7 @@ export interface CoverageFilterCriteria { lastScannedAt?: CoverageDateFilter[]; /** - *

The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are EC2_SSM_AGENT_BASED and EC2_HYBRID.

+ *

The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are EC2_SSM_AGENT_BASED and EC2_AGENTLESS.

* @public */ scanMode?: CoverageStringFilter[]; @@ -5259,6 +5262,12 @@ export interface PackageFilter { * @public */ sourceLambdaLayerArn?: StringFilter; + + /** + *

An object that contains details on the package file path to filter on.

+ * @public + */ + filePath?: StringFilter; } /** @@ -6726,6 +6735,7 @@ export const PackageManager = { BUNDLER: "BUNDLER", CARGO: "CARGO", COMPOSER: "COMPOSER", + DOTNET_CORE: "DOTNET_CORE", GEMSPEC: "GEMSPEC", GOBINARY: "GOBINARY", GOMOD: "GOMOD", @@ -7564,7 +7574,7 @@ export interface GetSbomExportResponse { errorMessage?: string; /** - *

Contains details of the Amazon S3 bucket and KMS key used to export findings.

+ *

Contains details of the Amazon S3 bucket and KMS key used to export findings

* @public */ s3Destination?: Destination; diff --git a/clients/client-inspector2/src/protocols/Aws_restJson1.ts b/clients/client-inspector2/src/protocols/Aws_restJson1.ts index 2327e5e4aafa..78fe04405e31 100644 --- a/clients/client-inspector2/src/protocols/Aws_restJson1.ts +++ b/clients/client-inspector2/src/protocols/Aws_restJson1.ts @@ -3422,6 +3422,7 @@ const se_PackageFilter = (input: PackageFilter, context: __SerdeContext): any => return take(input, { architecture: _json, epoch: (_) => se_NumberFilter(_, context), + filePath: _json, name: _json, release: _json, sourceLambdaLayerArn: _json, @@ -4297,6 +4298,7 @@ const de_PackageFilter = (output: any, context: __SerdeContext): PackageFilter = return take(output, { architecture: _json, epoch: (_: any) => de_NumberFilter(_, context), + filePath: _json, name: _json, release: _json, sourceLambdaLayerArn: _json, diff --git a/codegen/sdk-codegen/aws-models/inspector2.json b/codegen/sdk-codegen/aws-models/inspector2.json index 97f840031f06..c74f7553c8c3 100644 --- a/codegen/sdk-codegen/aws-models/inspector2.json +++ b/codegen/sdk-codegen/aws-models/inspector2.json @@ -1,15504 +1,15534 @@ { - "smithy": "2.0", - "shapes": { - "com.amazonaws.inspector2#AccessDeniedException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

You do not have sufficient access to perform this action.

\n

\n For Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region.\n

", - "smithy.api#error": "client", - "smithy.api#httpError": 403 - } - }, - "com.amazonaws.inspector2#Account": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The ID of the Amazon Web Services account.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.inspector2#Status", - "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector for the account.

", - "smithy.api#required": {} - } - }, - "resourceStatus": { - "target": "com.amazonaws.inspector2#ResourceStatus", - "traits": { - "smithy.api#documentation": "

Details of the status of Amazon Inspector scans by resource type.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.

" - } - }, - "com.amazonaws.inspector2#AccountAggregation": { - "type": "structure", - "members": { - "findingType": { - "target": "com.amazonaws.inspector2#AggregationFindingType", - "traits": { - "smithy.api#documentation": "

The type of finding.

" - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#AggregationResourceType", - "traits": { - "smithy.api#documentation": "

The type of resource.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The sort order (ascending or descending).

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#AccountSortBy", - "traits": { - "smithy.api#documentation": "

The value to sort by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on\n Amazon Web Services accounts.

" - } - }, - "com.amazonaws.inspector2#AccountAggregationResponse": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID.

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

The number of findings by severity.

" - } - }, - "exploitAvailableCount": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

\n The number of findings that have an exploit available.\n

" - } - }, - "fixAvailableCount": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

\n Details about the number of fixes.\n

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An aggregation of findings by Amazon Web Services account ID.

" - } - }, - "com.amazonaws.inspector2#AccountId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 12, - "max": 12 - }, - "smithy.api#pattern": "^\\d{12}$" - } - }, - "com.amazonaws.inspector2#AccountIdFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#AccountIdSet": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#AccountId" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - }, - "smithy.api#uniqueItems": {} - } - }, - "com.amazonaws.inspector2#AccountList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Account" - } - }, - "com.amazonaws.inspector2#AccountSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#AccountState": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID.

", - "smithy.api#required": {} - } - }, - "state": { - "target": "com.amazonaws.inspector2#State", - "traits": { - "smithy.api#documentation": "

An object detailing the status of Amazon Inspector for the account.

", - "smithy.api#required": {} - } - }, - "resourceState": { - "target": "com.amazonaws.inspector2#ResourceState", - "traits": { - "smithy.api#documentation": "

An object detailing which resources Amazon Inspector is enabled to scan for the account.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.

" - } - }, - "com.amazonaws.inspector2#AccountStateList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#AccountState" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#AggCounts": { - "type": "long", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.inspector2#AggregationFindingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NETWORK_REACHABILITY", - "name": "NETWORK_REACHABILITY" - }, - { - "value": "PACKAGE_VULNERABILITY", - "name": "PACKAGE_VULNERABILITY" - }, - { - "value": "CODE_VULNERABILITY", - "name": "CODE_VULNERABILITY" - } - ] - } - }, - "com.amazonaws.inspector2#AggregationRequest": { - "type": "union", - "members": { - "accountAggregation": { - "target": "com.amazonaws.inspector2#AccountAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon Web Services account\n IDs.

" - } - }, - "amiAggregation": { - "target": "com.amazonaws.inspector2#AmiAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon Machine\n Images (AMIs).

" - } - }, - "awsEcrContainerAggregation": { - "target": "com.amazonaws.inspector2#AwsEcrContainerAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon ECR container\n images.

" - } - }, - "ec2InstanceAggregation": { - "target": "com.amazonaws.inspector2#Ec2InstanceAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon EC2\n instances.

" - } - }, - "findingTypeAggregation": { - "target": "com.amazonaws.inspector2#FindingTypeAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on finding types.

" - } - }, - "imageLayerAggregation": { - "target": "com.amazonaws.inspector2#ImageLayerAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on container image\n layers.

" - } - }, - "packageAggregation": { - "target": "com.amazonaws.inspector2#PackageAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on operating system\n package type.

" - } - }, - "repositoryAggregation": { - "target": "com.amazonaws.inspector2#RepositoryAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon ECR repositories.

" - } - }, - "titleAggregation": { - "target": "com.amazonaws.inspector2#TitleAggregation", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation request based on finding title.

" - } - }, - "lambdaLayerAggregation": { - "target": "com.amazonaws.inspector2#LambdaLayerAggregation", - "traits": { - "smithy.api#documentation": "

Returns an object with findings aggregated by Amazon Web Services Lambda layer.

" - } - }, - "lambdaFunctionAggregation": { - "target": "com.amazonaws.inspector2#LambdaFunctionAggregation", - "traits": { - "smithy.api#documentation": "

Returns an object with findings aggregated by Amazon Web Services Lambda function.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details about an aggregation request.

" - } - }, - "com.amazonaws.inspector2#AggregationResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_EC2_INSTANCE", - "name": "AWS_EC2_INSTANCE" - }, - { - "value": "AWS_ECR_CONTAINER_IMAGE", - "name": "AWS_ECR_CONTAINER_IMAGE" - }, - { - "value": "AWS_LAMBDA_FUNCTION", - "name": "AWS_LAMBDA_FUNCTION" - } - ] - } - }, - "com.amazonaws.inspector2#AggregationResponse": { - "type": "union", - "members": { - "accountAggregation": { - "target": "com.amazonaws.inspector2#AccountAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon Web Services account\n IDs.

" - } - }, - "amiAggregation": { - "target": "com.amazonaws.inspector2#AmiAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon Machine\n Images (AMIs).

" - } - }, - "awsEcrContainerAggregation": { - "target": "com.amazonaws.inspector2#AwsEcrContainerAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon ECR container\n images.

" - } - }, - "ec2InstanceAggregation": { - "target": "com.amazonaws.inspector2#Ec2InstanceAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon EC2\n instances.

" - } - }, - "findingTypeAggregation": { - "target": "com.amazonaws.inspector2#FindingTypeAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on finding types.

" - } - }, - "imageLayerAggregation": { - "target": "com.amazonaws.inspector2#ImageLayerAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on container image\n layers.

" - } - }, - "packageAggregation": { - "target": "com.amazonaws.inspector2#PackageAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on operating system\n package type.

" - } - }, - "repositoryAggregation": { - "target": "com.amazonaws.inspector2#RepositoryAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon ECR\n repositories.

" - } - }, - "titleAggregation": { - "target": "com.amazonaws.inspector2#TitleAggregationResponse", - "traits": { - "smithy.api#documentation": "

An object that contains details about an aggregation response based on finding title.

" - } - }, - "lambdaLayerAggregation": { - "target": "com.amazonaws.inspector2#LambdaLayerAggregationResponse", - "traits": { - "smithy.api#documentation": "

An aggregation of findings by Amazon Web Services Lambda layer.

" - } - }, - "lambdaFunctionAggregation": { - "target": "com.amazonaws.inspector2#LambdaFunctionAggregationResponse", - "traits": { - "smithy.api#documentation": "

An aggregation of findings by Amazon Web Services Lambda function.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A structure that contains details about the results of an aggregation type.

" - } - }, - "com.amazonaws.inspector2#AggregationResponseList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#AggregationResponse" - } - }, - "com.amazonaws.inspector2#AggregationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FINDING_TYPE", - "name": "FINDING_TYPE" - }, - { - "value": "PACKAGE", - "name": "PACKAGE" - }, - { - "value": "TITLE", - "name": "TITLE" - }, - { - "value": "REPOSITORY", - "name": "REPOSITORY" - }, - { - "value": "AMI", - "name": "AMI" - }, - { - "value": "AWS_EC2_INSTANCE", - "name": "AWS_EC2_INSTANCE" - }, - { - "value": "AWS_ECR_CONTAINER", - "name": "AWS_ECR_CONTAINER" - }, - { - "value": "IMAGE_LAYER", - "name": "IMAGE_LAYER" - }, - { - "value": "ACCOUNT", - "name": "ACCOUNT" - }, - { - "value": "AWS_LAMBDA_FUNCTION", - "name": "AWS_LAMBDA_FUNCTION" - }, - { - "value": "LAMBDA_LAYER", - "name": "LAMBDA_LAYER" - } - ] - } - }, - "com.amazonaws.inspector2#AmiAggregation": { - "type": "structure", - "members": { - "amis": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The IDs of AMIs to aggregate findings for.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to sort results by.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#AmiSortBy", - "traits": { - "smithy.api#documentation": "

The value to sort results by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define an aggregation based on Amazon machine images (AMIs).

" - } - }, - "com.amazonaws.inspector2#AmiAggregationResponse": { - "type": "structure", - "members": { - "ami": { - "target": "com.amazonaws.inspector2#AmiId", - "traits": { - "smithy.api#documentation": "

The ID of the AMI that findings were aggregated for.

", - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID for the AMI.

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

An object that contains the count of matched findings per severity.

" - } - }, - "affectedInstances": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The IDs of Amazon EC2 instances using this AMI.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains the results of a finding aggregation by AMI.

" - } - }, - "com.amazonaws.inspector2#AmiId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^ami-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" - } - }, - "com.amazonaws.inspector2#AmiSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - }, - { - "value": "AFFECTED_INSTANCES", - "name": "AFFECTED_INSTANCES" - } - ] - } - }, - "com.amazonaws.inspector2#Architecture": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "X86_64", - "name": "X86_64" - }, - { - "value": "ARM64", - "name": "ARM64" - } - ] - } - }, - "com.amazonaws.inspector2#ArchitectureList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Architecture" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.inspector2#Arn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1011 - } - } - }, - "com.amazonaws.inspector2#AssociateMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#AssociateMemberRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#AssociateMemberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/members/associate" - } - } - }, - "com.amazonaws.inspector2#AssociateMemberRequest": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the member account to be associated.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#AssociateMemberResponse": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the successfully associated member account.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#AtigData": { - "type": "structure", - "members": { - "firstSeen": { - "target": "com.amazonaws.inspector2#FirstSeen", - "traits": { - "smithy.api#documentation": "

The date and time this vulnerability was first observed.

" - } - }, - "lastSeen": { - "target": "com.amazonaws.inspector2#LastSeen", - "traits": { - "smithy.api#documentation": "

The date and time this vulnerability was last observed.

" - } - }, - "targets": { - "target": "com.amazonaws.inspector2#Targets", - "traits": { - "smithy.api#documentation": "

The commercial sectors this vulnerability targets.

" - } - }, - "ttps": { - "target": "com.amazonaws.inspector2#Ttps", - "traits": { - "smithy.api#documentation": "

The MITRE ATT&CK tactics, techniques, and procedures (TTPs) associated with vulnerability.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Threat Intel Group (ATIG) details for a specific vulnerability.

" - } - }, - "com.amazonaws.inspector2#AutoEnable": { - "type": "structure", - "members": { - "ec2": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector\n organization.

", - "smithy.api#required": {} - } - }, - "ecr": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector\n organization.

", - "smithy.api#required": {} - } - }, - "lambda": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.\n

" - } - }, - "lambdaCode": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization.\n \n

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.

" - } - }, - "com.amazonaws.inspector2#AwsEc2InstanceDetails": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The type of the Amazon EC2 instance.

" - } - }, - "imageId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The image ID of the Amazon EC2 instance.

" - } - }, - "ipV4Addresses": { - "target": "com.amazonaws.inspector2#IpV4AddressList", - "traits": { - "smithy.api#documentation": "

The IPv4 addresses of the Amazon EC2 instance.

" - } - }, - "ipV6Addresses": { - "target": "com.amazonaws.inspector2#IpV6AddressList", - "traits": { - "smithy.api#documentation": "

The IPv6 addresses of the Amazon EC2 instance.

" - } - }, - "keyName": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The name of the key pair used to launch the Amazon EC2 instance.

" - } - }, - "iamInstanceProfileArn": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The IAM instance profile ARN of the Amazon EC2 instance.

" - } - }, - "vpcId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The VPC ID of the Amazon EC2 instance.

" - } - }, - "subnetId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The subnet ID of the Amazon EC2 instance.

" - } - }, - "launchedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time the Amazon EC2 instance was launched at.

" - } - }, - "platform": { - "target": "com.amazonaws.inspector2#Platform", - "traits": { - "smithy.api#documentation": "

The platform of the Amazon EC2 instance.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details of the Amazon EC2 instance involved in a finding.

" - } - }, - "com.amazonaws.inspector2#AwsEcrContainerAggregation": { - "type": "structure", - "members": { - "resourceIds": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The container resource IDs.

" - } - }, - "imageShas": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The image SHA values.

" - } - }, - "repositories": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The container repositories.

" - } - }, - "architectures": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The architecture of the containers.

" - } - }, - "imageTags": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The image tags.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The sort order (ascending or descending).

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#AwsEcrContainerSortBy", - "traits": { - "smithy.api#documentation": "

The value to sort by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An aggregation of information about Amazon ECR containers.

" - } - }, - "com.amazonaws.inspector2#AwsEcrContainerAggregationResponse": { - "type": "structure", - "members": { - "resourceId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The resource ID of the container.

", - "smithy.api#required": {} - } - }, - "imageSha": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The SHA value of the container image.

" - } - }, - "repository": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The container repository.

" - } - }, - "architecture": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The architecture of the container.

" - } - }, - "imageTags": { - "target": "com.amazonaws.inspector2#StringList", - "traits": { - "smithy.api#documentation": "

The container image stags.

" - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the account that owns the container.

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

The number of finding by severity.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An aggregation of information about Amazon ECR containers.

" - } - }, - "com.amazonaws.inspector2#AwsEcrContainerImageDetails": { - "type": "structure", - "members": { - "repositoryName": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The name of the repository the Amazon ECR container image resides in.

", - "smithy.api#required": {} - } - }, - "imageTags": { - "target": "com.amazonaws.inspector2#ImageTagList", - "traits": { - "smithy.api#documentation": "

The image tags attached to the Amazon ECR container image.

" - } - }, - "pushedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time the Amazon ECR container image was pushed.

" - } - }, - "author": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The image author of the Amazon ECR container image.

" - } - }, - "architecture": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The architecture of the Amazon ECR container image.

" - } - }, - "imageHash": { - "target": "com.amazonaws.inspector2#ImageHash", - "traits": { - "smithy.api#documentation": "

The image hash of the Amazon ECR container image.

", - "smithy.api#required": {} - } - }, - "registry": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The registry for the Amazon ECR container image.

", - "smithy.api#required": {} - } - }, - "platform": { - "target": "com.amazonaws.inspector2#Platform", - "traits": { - "smithy.api#documentation": "

The platform of the Amazon ECR container image.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The image details of the Amazon ECR container image.

" - } - }, - "com.amazonaws.inspector2#AwsEcrContainerSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#AwsLambdaFunctionDetails": { - "type": "structure", - "members": { - "functionName": { - "target": "com.amazonaws.inspector2#FunctionName", - "traits": { - "smithy.api#documentation": "

The name of the Amazon Web Services Lambda function.

", - "smithy.api#required": {} - } - }, - "runtime": { - "target": "com.amazonaws.inspector2#Runtime", - "traits": { - "smithy.api#documentation": "

The runtime environment for the Amazon Web Services Lambda function.

", - "smithy.api#required": {} - } - }, - "codeSha256": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The SHA256 hash of the Amazon Web Services Lambda function's deployment package.

", - "smithy.api#required": {} - } - }, - "version": { - "target": "com.amazonaws.inspector2#Version", - "traits": { - "smithy.api#documentation": "

The version of the Amazon Web Services Lambda function.

", - "smithy.api#required": {} - } - }, - "executionRoleArn": { - "target": "com.amazonaws.inspector2#ExecutionRoleArn", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Lambda function's execution role.

", - "smithy.api#required": {} - } - }, - "layers": { - "target": "com.amazonaws.inspector2#LayerList", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Lambda function's \n layers. A Lambda function can have up to five layers.

" - } - }, - "vpcConfig": { - "target": "com.amazonaws.inspector2#LambdaVpcConfig", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Lambda function's networking configuration.

" - } - }, - "packageType": { - "target": "com.amazonaws.inspector2#PackageType", - "traits": { - "smithy.api#documentation": "

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

" - } - }, - "architectures": { - "target": "com.amazonaws.inspector2#ArchitectureList", - "traits": { - "smithy.api#documentation": "

The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the \n valid values. The default architecture value is x86_64.

" - } - }, - "lastModifiedAt": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time that a user last updated the configuration, in ISO 8601 format\n

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A summary of information about the Amazon Web Services Lambda function.

" - } - }, - "com.amazonaws.inspector2#BadRequestException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

One or more tags submitted as part of the request is not valid.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.inspector2#BatchGetAccountStatus": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#BatchGetAccountStatusRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#BatchGetAccountStatusResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/status/batch/get" - } - } - }, - "com.amazonaws.inspector2#BatchGetAccountStatusRequest": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#AccountIdSet", - "traits": { - "smithy.api#documentation": "

The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.

" - } - } - } - }, - "com.amazonaws.inspector2#BatchGetAccountStatusResponse": { - "type": "structure", - "members": { - "accounts": { - "target": "com.amazonaws.inspector2#AccountStateList", - "traits": { - "smithy.api#documentation": "

An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.

", - "smithy.api#required": {} - } - }, - "failedAccounts": { - "target": "com.amazonaws.inspector2#FailedAccountList", - "traits": { - "smithy.api#documentation": "

An array of objects detailing any accounts that failed to enable Amazon Inspector and why.

" - } - } - } - }, - "com.amazonaws.inspector2#BatchGetCodeSnippet": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#BatchGetCodeSnippetRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#BatchGetCodeSnippetResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/codesnippet/batchget" - } - } - }, - "com.amazonaws.inspector2#BatchGetCodeSnippetRequest": { - "type": "structure", - "members": { - "findingArns": { - "target": "com.amazonaws.inspector2#FindingArns", - "traits": { - "smithy.api#documentation": "

An array of finding ARNs for the findings you want to retrieve code snippets from.

", - "smithy.api#length": { - "min": 1, - "max": 10 - }, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#BatchGetCodeSnippetResponse": { - "type": "structure", - "members": { - "codeSnippetResults": { - "target": "com.amazonaws.inspector2#CodeSnippetResultList", - "traits": { - "smithy.api#documentation": "

The retrieved code snippets associated with the provided finding ARNs.

" - } - }, - "errors": { - "target": "com.amazonaws.inspector2#CodeSnippetErrorList", - "traits": { - "smithy.api#documentation": "

Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#BatchGetFindingDetails": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#BatchGetFindingDetailsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#BatchGetFindingDetailsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets vulnerability details for findings.

", - "smithy.api#examples": [ - { - "title": "Sample BatchGetFindingDetails Call", - "input": { - "findingArns": [ - "arn:aws:inspector2:eu-west-1:123456789012:finding/78b88cc9aa1d78b6e14fde90d774dde7", - "arn:aws:inspector2:eu-west-1:111111111111:finding/78b88cc9aa1d78b6e14fde90d874dde7" - ] - }, - "output": { - "findingDetails": [ - { - "findingArn": "arn:aws:inspector2:eu-west-1:123456789012:finding/78b88cc9aa1d78b6e14fde90d774dde7", - "cisaData": { - "dateAdded": 1688580990, - "dateDue": 1688580999, - "action": "For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks." - }, - "riskScore": 66, - "evidences": [ - { - "evidenceRule": "Historically Linked to Penetration Testing Tools", - "evidenceDetail": "2 sightings on 1 source", - "severity": "Low" - } - ], - "ttps": [ - "TA0001", - "TA0002" - ], - "tools": [ - "Metasploit" - ], - "exploitObserved": { - "lastSeen": 1688580990, - "firstSeen": 1688580800 - }, - "referenceUrls": [ - "https://nvd.nist.gov/vuln/detail/CVE-2019-20367" - ], - "cwes": [ - "cwe-1234" - ], - "epssScore": 0.85 - } - ], - "errors": [ - { - "findingArn": "arn:aws:inspector2:eu-west-1:111111111111:finding/78b88cc9aa1d78b6e14fde90d874dde7", - "errorCode": "ACCESS_DENIED", - "errorMessage": "You don't have permission to access this finding" - } - ] - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/findings/details/batch/get" - } - } - }, - "com.amazonaws.inspector2#BatchGetFindingDetailsRequest": { - "type": "structure", - "members": { - "findingArns": { - "target": "com.amazonaws.inspector2#FindingArnList", - "traits": { - "smithy.api#documentation": "

A list of finding ARNs.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#BatchGetFindingDetailsResponse": { - "type": "structure", - "members": { - "findingDetails": { - "target": "com.amazonaws.inspector2#FindingDetails", - "traits": { - "smithy.api#documentation": "

A finding's vulnerability details.

" - } - }, - "errors": { - "target": "com.amazonaws.inspector2#FindingDetailsErrorList", - "traits": { - "smithy.api#documentation": "

Error information for findings that details could not be returned for.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#BatchGetFreeTrialInfo": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#BatchGetFreeTrialInfoRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#BatchGetFreeTrialInfoResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets free trial status for multiple Amazon Web Services accounts.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/freetrialinfo/batchget" - } - } - }, - "com.amazonaws.inspector2#BatchGetFreeTrialInfoRequest": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#MeteringAccountIdList", - "traits": { - "smithy.api#documentation": "

The account IDs to get free trial status for.

", - "smithy.api#length": { - "min": 1, - "max": 100 - }, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#BatchGetFreeTrialInfoResponse": { - "type": "structure", - "members": { - "accounts": { - "target": "com.amazonaws.inspector2#FreeTrialAccountInfoList", - "traits": { - "smithy.api#documentation": "

An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.\n

", - "smithy.api#required": {} - } - }, - "failedAccounts": { - "target": "com.amazonaws.inspector2#FreeTrialInfoErrorList", - "traits": { - "smithy.api#documentation": "

An array of objects detailing any accounts that free trial data could not be returned for.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatus": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/ec2deepinspectionstatus/member/batch/get" - } - } - }, - "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusRequest": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#AccountIdSet", - "traits": { - "smithy.api#documentation": "

The unique identifiers for the Amazon Web Services accounts to retrieve Amazon Inspector deep inspection activation status for.\n \n

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusResponse": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList", - "traits": { - "smithy.api#documentation": "

An array of objects that provide details on the activation status of Amazon Inspector deep inspection for each of the requested accounts.\n \n

" - } - }, - "failedAccountIds": { - "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList", - "traits": { - "smithy.api#documentation": "

An array of objects that provide details on any accounts that failed to activate Amazon Inspector deep inspection and why.\n \n

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatus": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/ec2deepinspectionstatus/member/batch/update" - } - } - }, - "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusRequest": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusList", - "traits": { - "smithy.api#documentation": "

The unique identifiers for the Amazon Web Services accounts to change Amazon Inspector deep inspection status for.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusResponse": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList", - "traits": { - "smithy.api#documentation": "

An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status was successfully changed for. \n

" - } - }, - "failedAccountIds": { - "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList", - "traits": { - "smithy.api#documentation": "

An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status could not be successfully changed for. \n

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#BenchmarkProfile": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 128 - } - } - }, - "com.amazonaws.inspector2#BenchmarkVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 8 - } - } - }, - "com.amazonaws.inspector2#CancelFindingsReport": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#CancelFindingsReportRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#CancelFindingsReportResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Cancels the given findings report.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/reporting/cancel" - } - } - }, - "com.amazonaws.inspector2#CancelFindingsReportRequest": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The ID of the report to be canceled.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#CancelFindingsReportResponse": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The ID of the canceled report.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#CancelSbomExport": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#CancelSbomExportRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#CancelSbomExportResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Cancels a software bill of materials (SBOM) report.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/sbomexport/cancel" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#CancelSbomExportRequest": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The report ID of the SBOM export to cancel.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#CancelSbomExportResponse": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The report ID of the canceled SBOM export.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#CheckCount": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0, - "max": 65536 - } - } - }, - "com.amazonaws.inspector2#CheckIdFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CisAccountIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#AccountId" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10000 - }, - "smithy.api#uniqueItems": {} - } - }, - "com.amazonaws.inspector2#CisCheckAggregation": { - "type": "structure", - "members": { - "scanArn": { - "target": "com.amazonaws.inspector2#CisScanArn", - "traits": { - "smithy.api#documentation": "

The scan ARN for the CIS check scan ARN.

", - "smithy.api#required": {} - } - }, - "checkId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The check ID for the CIS check.

" - } - }, - "title": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The CIS check title.

" - } - }, - "checkDescription": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The description for the CIS check.

" - } - }, - "level": { - "target": "com.amazonaws.inspector2#CisSecurityLevel", - "traits": { - "smithy.api#documentation": "

The CIS check level.

" - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The account ID for the CIS check.

" - } - }, - "statusCounts": { - "target": "com.amazonaws.inspector2#StatusCounts", - "traits": { - "smithy.api#documentation": "

The CIS check status counts.

" - } - }, - "platform": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The CIS check platform.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A CIS check.

" - } - }, - "com.amazonaws.inspector2#CisCheckAggregationList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisCheckAggregation" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1000 - } - } - }, - "com.amazonaws.inspector2#CisDateFilter": { - "type": "structure", - "members": { - "earliestScanStartTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The CIS date filter's earliest scan start time.

" - } - }, - "latestScanStartTime": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The CIS date filter's latest scan start time.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS date filter.

" - } - }, - "com.amazonaws.inspector2#CisFindingArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws(-gov|-cn)?:inspector2:[-.a-z0-9]{0,20}:\\d{12}:owner/\\d{12}/cis-finding/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" - } - }, - "com.amazonaws.inspector2#CisFindingArnFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CisFindingStatus": { - "type": "enum", - "members": { - "PASSED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PASSED" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "SKIPPED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SKIPPED" - } - } - } - }, - "com.amazonaws.inspector2#CisFindingStatusComparison": { - "type": "enum", - "members": { - "EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EQUALS" - } - } - } - }, - "com.amazonaws.inspector2#CisFindingStatusFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CisFindingStatusComparison", - "traits": { - "smithy.api#documentation": "

The comparison value of the CIS finding status filter.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#CisFindingStatus", - "traits": { - "smithy.api#documentation": "

The value of the CIS finding status filter.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS finding status filter.

" - } - }, - "com.amazonaws.inspector2#CisFindingStatusFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisFindingStatusFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - }, - "smithy.api#uniqueItems": {} - } - }, - "com.amazonaws.inspector2#CisNumberFilter": { - "type": "structure", - "members": { - "upperInclusive": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The CIS number filter's upper inclusive.

" - } - }, - "lowerInclusive": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The CIS number filter's lower inclusive.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS number filter.

" - } - }, - "com.amazonaws.inspector2#CisNumberFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisNumberFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - }, - "smithy.api#uniqueItems": {} - } - }, - "com.amazonaws.inspector2#CisOwnerId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\d{12}|o-[a-z0-9]{10,32}$" - } - }, - "com.amazonaws.inspector2#CisReportFormat": { - "type": "enum", - "members": { - "PDF": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PDF" - } - }, - "CSV": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CSV" - } - } - } - }, - "com.amazonaws.inspector2#CisReportStatus": { - "type": "enum", - "members": { - "SUCCEEDED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SUCCEEDED" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IN_PROGRESS" - } - } - } - }, - "com.amazonaws.inspector2#CisResultStatus": { - "type": "enum", - "members": { - "PASSED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PASSED" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "SKIPPED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SKIPPED" - } - } - } - }, - "com.amazonaws.inspector2#CisResultStatusComparison": { - "type": "enum", - "members": { - "EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EQUALS" - } - } - } - }, - "com.amazonaws.inspector2#CisResultStatusFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CisResultStatusComparison", - "traits": { - "smithy.api#documentation": "

The comparison value of the CIS result status filter.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#CisResultStatus", - "traits": { - "smithy.api#documentation": "

The value of the CIS result status filter.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS result status filter.

" - } - }, - "com.amazonaws.inspector2#CisResultStatusFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisResultStatusFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CisRuleDetails": { - "type": "blob", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1000 - } - } - }, - "com.amazonaws.inspector2#CisRuleStatus": { - "type": "enum", - "members": { - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "PASSED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PASSED" - } - }, - "NOT_EVALUATED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NOT_EVALUATED" - } - }, - "INFORMATIONAL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INFORMATIONAL" - } - }, - "UNKNOWN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UNKNOWN" - } - }, - "NOT_APPLICABLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NOT_APPLICABLE" - } - }, - "ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ERROR" - } - } - } - }, - "com.amazonaws.inspector2#CisScan": { - "type": "structure", - "members": { - "scanArn": { - "target": "com.amazonaws.inspector2#CisScanArn", - "traits": { - "smithy.api#documentation": "

The CIS scan's ARN.

", - "smithy.api#required": {} - } - }, - "scanConfigurationArn": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArn", - "traits": { - "smithy.api#documentation": "

The CIS scan's configuration ARN.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.inspector2#CisScanStatus", - "traits": { - "smithy.api#documentation": "

The CIS scan's status.

" - } - }, - "scanName": { - "target": "com.amazonaws.inspector2#CisScanName", - "traits": { - "smithy.api#documentation": "

The the name of the scan configuration that's associated with this scan.

" - } - }, - "scanDate": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The CIS scan's date.

" - } - }, - "failedChecks": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The CIS scan's failed checks.

" - } - }, - "totalChecks": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The CIS scan's total checks.

" - } - }, - "targets": { - "target": "com.amazonaws.inspector2#CisTargets", - "traits": { - "smithy.api#documentation": "

The CIS scan's targets.

" - } - }, - "scheduledBy": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The account or organization that schedules the CIS scan.

" - } - }, - "securityLevel": { - "target": "com.amazonaws.inspector2#CisSecurityLevel", - "traits": { - "smithy.api#documentation": "

\n The security level for the CIS scan. \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS scan.

" - } - }, - "com.amazonaws.inspector2#CisScanArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws(-us-gov|-cn)?:inspector2:[-.a-z0-9]{0,20}:\\d{12}:owner/(\\d{12}|o-[a-z0-9]{10,32})/cis-scan/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" - } - }, - "com.amazonaws.inspector2#CisScanArnFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CisScanConfiguration": { - "type": "structure", - "members": { - "scanConfigurationArn": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArn", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration's scan configuration ARN.

", - "smithy.api#required": {} - } - }, - "ownerId": { - "target": "com.amazonaws.inspector2#CisOwnerId", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration's owner ID.

" - } - }, - "scanName": { - "target": "com.amazonaws.inspector2#CisScanName", - "traits": { - "smithy.api#documentation": "

The name of the CIS scan configuration.

" - } - }, - "securityLevel": { - "target": "com.amazonaws.inspector2#CisSecurityLevel", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration's security level.

" - } - }, - "schedule": { - "target": "com.amazonaws.inspector2#Schedule", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration's schedule.

" - } - }, - "targets": { - "target": "com.amazonaws.inspector2#CisTargets", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration's targets.

" - } - }, - "tags": { - "target": "com.amazonaws.inspector2#CisTagMap", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration's tags.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS scan configuration.

" - } - }, - "com.amazonaws.inspector2#CisScanConfigurationArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws(-us-gov|-cn)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:owner/(o-[a-z0-9]+|[0-9]{12})/cis-configuration/[0-9a-fA-F-]+$" - } - }, - "com.amazonaws.inspector2#CisScanConfigurationArnFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CisScanConfigurationList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisScanConfiguration" - }, - "traits": { - "smithy.api#length": { - "max": 100 - } - } - }, - "com.amazonaws.inspector2#CisScanConfigurationsSortBy": { - "type": "enum", - "members": { - "SCAN_NAME": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SCAN_NAME" - } - }, - "SCAN_CONFIGURATION_ARN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SCAN_CONFIGURATION_ARN" - } - } - } - }, - "com.amazonaws.inspector2#CisScanDateFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisDateFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.inspector2#CisScanList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisScan" - }, - "traits": { - "smithy.api#length": { - "max": 50 - } - } - }, - "com.amazonaws.inspector2#CisScanName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.inspector2#CisScanNameFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CisScanResultDetails": { - "type": "structure", - "members": { - "scanArn": { - "target": "com.amazonaws.inspector2#CisScanArn", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' scan ARN.

", - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' account ID.

" - } - }, - "targetResourceId": { - "target": "com.amazonaws.inspector2#ResourceId", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' target resource ID.

" - } - }, - "platform": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' platform.

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#CisFindingStatus", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' status.

" - } - }, - "statusReason": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' status reason.

" - } - }, - "checkId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' check ID.

" - } - }, - "title": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' title.

" - } - }, - "checkDescription": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The account ID that's associated with the CIS scan result details.

" - } - }, - "remediation": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' remediation.

" - } - }, - "level": { - "target": "com.amazonaws.inspector2#CisSecurityLevel", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' level.

" - } - }, - "findingArn": { - "target": "com.amazonaws.inspector2#CisFindingArn", - "traits": { - "smithy.api#documentation": "

The CIS scan result details' finding ARN.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS scan result details.

" - } - }, - "com.amazonaws.inspector2#CisScanResultDetailsFilterCriteria": { - "type": "structure", - "members": { - "findingStatusFilters": { - "target": "com.amazonaws.inspector2#CisFindingStatusFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's finding status filters.

" - } - }, - "checkIdFilters": { - "target": "com.amazonaws.inspector2#CheckIdFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's check ID filters.

" - } - }, - "titleFilters": { - "target": "com.amazonaws.inspector2#TitleFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's title filters.

" - } - }, - "securityLevelFilters": { - "target": "com.amazonaws.inspector2#CisSecurityLevelFilterList", - "traits": { - "smithy.api#documentation": "

\n The criteria's security level filters. . \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

" - } - }, - "findingArnFilters": { - "target": "com.amazonaws.inspector2#CisFindingArnFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's finding ARN filters.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS scan result details filter criteria.

" - } - }, - "com.amazonaws.inspector2#CisScanResultDetailsList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisScanResultDetails" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1000 - } - } - }, - "com.amazonaws.inspector2#CisScanResultDetailsSortBy": { - "type": "enum", - "members": { - "CHECK_ID": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CHECK_ID" - } - }, - "STATUS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STATUS" - } - } - } - }, - "com.amazonaws.inspector2#CisScanResultsAggregatedByChecksFilterCriteria": { - "type": "structure", - "members": { - "accountIdFilters": { - "target": "com.amazonaws.inspector2#OneAccountIdFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's account ID filters.

" - } - }, - "checkIdFilters": { - "target": "com.amazonaws.inspector2#CheckIdFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's check ID filters.

" - } - }, - "titleFilters": { - "target": "com.amazonaws.inspector2#TitleFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's title filters.

" - } - }, - "platformFilters": { - "target": "com.amazonaws.inspector2#PlatformFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's platform filters.

" - } - }, - "failedResourcesFilters": { - "target": "com.amazonaws.inspector2#CisNumberFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's failed resources filters.

" - } - }, - "securityLevelFilters": { - "target": "com.amazonaws.inspector2#CisSecurityLevelFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's security level filters.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The scan results aggregated by checks filter criteria.

" - } - }, - "com.amazonaws.inspector2#CisScanResultsAggregatedByChecksSortBy": { - "type": "enum", - "members": { - "CHECK_ID": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CHECK_ID" - } - }, - "TITLE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TITLE" - } - }, - "PLATFORM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PLATFORM" - } - }, - "FAILED_COUNTS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED_COUNTS" - } - }, - "SECURITY_LEVEL": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SECURITY_LEVEL" - } - } - } - }, - "com.amazonaws.inspector2#CisScanResultsAggregatedByTargetResourceFilterCriteria": { - "type": "structure", - "members": { - "accountIdFilters": { - "target": "com.amazonaws.inspector2#AccountIdFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's account ID filters.

" - } - }, - "statusFilters": { - "target": "com.amazonaws.inspector2#CisResultStatusFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's status filter.

" - } - }, - "checkIdFilters": { - "target": "com.amazonaws.inspector2#CheckIdFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's check ID filters.

" - } - }, - "targetResourceIdFilters": { - "target": "com.amazonaws.inspector2#ResourceIdFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's target resource ID filters.

" - } - }, - "targetResourceTagFilters": { - "target": "com.amazonaws.inspector2#ResourceTagFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's target resource tag filters.

" - } - }, - "platformFilters": { - "target": "com.amazonaws.inspector2#PlatformFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's platform filters.

" - } - }, - "targetStatusFilters": { - "target": "com.amazonaws.inspector2#TargetStatusFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's target status filters.

" - } - }, - "targetStatusReasonFilters": { - "target": "com.amazonaws.inspector2#TargetStatusReasonFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's target status reason filters.

" - } - }, - "failedChecksFilters": { - "target": "com.amazonaws.inspector2#CisNumberFilterList", - "traits": { - "smithy.api#documentation": "

The criteria's failed checks filters.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The scan results aggregated by target resource filter criteria.

" - } - }, - "com.amazonaws.inspector2#CisScanResultsAggregatedByTargetResourceSortBy": { - "type": "enum", - "members": { - "RESOURCE_ID": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "RESOURCE_ID" - } - }, - "FAILED_COUNTS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED_COUNTS" - } - }, - "ACCOUNT_ID": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ACCOUNT_ID" - } - }, - "PLATFORM": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PLATFORM" - } - }, - "TARGET_STATUS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TARGET_STATUS" - } - }, - "TARGET_STATUS_REASON": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TARGET_STATUS_REASON" - } - } - } - }, - "com.amazonaws.inspector2#CisScanResultsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#CisScanStatus": { - "type": "enum", - "members": { - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "COMPLETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "COMPLETED" - } - }, - "CANCELLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CANCELLED" - } - }, - "IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "IN_PROGRESS" - } - } - } - }, - "com.amazonaws.inspector2#CisScanStatusComparison": { - "type": "enum", - "members": { - "EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EQUALS" - } - } - } - }, - "com.amazonaws.inspector2#CisScanStatusFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CisScanStatusComparison", - "traits": { - "smithy.api#documentation": "

The filter comparison value.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#CisScanStatus", - "traits": { - "smithy.api#documentation": "

The filter value.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS scan status filter.

" - } - }, - "com.amazonaws.inspector2#CisScanStatusFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisScanStatusFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - }, - "smithy.api#uniqueItems": {} - } - }, - "com.amazonaws.inspector2#CisScheduledByFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CisSecurityLevel": { - "type": "enum", - "members": { - "LEVEL_1": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LEVEL_1" - } - }, - "LEVEL_2": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "LEVEL_2" - } - } - } - }, - "com.amazonaws.inspector2#CisSecurityLevelComparison": { - "type": "enum", - "members": { - "EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EQUALS" - } - } - } - }, - "com.amazonaws.inspector2#CisSecurityLevelFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CisSecurityLevelComparison", - "traits": { - "smithy.api#documentation": "

The CIS security filter comparison value.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#CisSecurityLevel", - "traits": { - "smithy.api#documentation": "

The CIS security filter value.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

\n The CIS security level filter. \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

" - } - }, - "com.amazonaws.inspector2#CisSecurityLevelFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisSecurityLevelFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CisSessionMessage": { - "type": "structure", - "members": { - "ruleId": { - "target": "com.amazonaws.inspector2#RuleId", - "traits": { - "smithy.api#documentation": "

The rule ID for the CIS session message.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.inspector2#CisRuleStatus", - "traits": { - "smithy.api#documentation": "

The status of the CIS session message.

", - "smithy.api#required": {} - } - }, - "cisRuleDetails": { - "target": "com.amazonaws.inspector2#CisRuleDetails", - "traits": { - "smithy.api#documentation": "

The CIS rule details for the CIS session message.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS session message.

" - } - }, - "com.amazonaws.inspector2#CisSessionMessages": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisSessionMessage" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 150 - } - } - }, - "com.amazonaws.inspector2#CisSortOrder": { - "type": "enum", - "members": { - "ASC": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ASC" - } - }, - "DESC": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "DESC" - } - } - } - }, - "com.amazonaws.inspector2#CisStringComparison": { - "type": "enum", - "members": { - "EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EQUALS" - } - }, - "PREFIX": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "PREFIX" - } - }, - "NOT_EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "NOT_EQUALS" - } - } - } - }, - "com.amazonaws.inspector2#CisStringFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CisStringComparison", - "traits": { - "smithy.api#documentation": "

The comparison value of the CIS string filter.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The value of the CIS string filter.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS string filter.

" - } - }, - "com.amazonaws.inspector2#CisTagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.inspector2#MapKey" - }, - "value": { - "target": "com.amazonaws.inspector2#MapValue" - } - }, - "com.amazonaws.inspector2#CisTargetResourceAggregation": { - "type": "structure", - "members": { - "scanArn": { - "target": "com.amazonaws.inspector2#CisScanArn", - "traits": { - "smithy.api#documentation": "

The scan ARN for the CIS target resource.

", - "smithy.api#required": {} - } - }, - "targetResourceId": { - "target": "com.amazonaws.inspector2#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the target resource.

" - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The account ID for the CIS target resource.

" - } - }, - "targetResourceTags": { - "target": "com.amazonaws.inspector2#TargetResourceTags", - "traits": { - "smithy.api#documentation": "

The tag for the target resource.

" - } - }, - "statusCounts": { - "target": "com.amazonaws.inspector2#StatusCounts", - "traits": { - "smithy.api#documentation": "

The target resource status counts.

" - } - }, - "platform": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The platform for the CIS target resource.

" - } - }, - "targetStatus": { - "target": "com.amazonaws.inspector2#CisTargetStatus", - "traits": { - "smithy.api#documentation": "

The status of the target resource.

" - } - }, - "targetStatusReason": { - "target": "com.amazonaws.inspector2#CisTargetStatusReason", - "traits": { - "smithy.api#documentation": "

The reason for the target resource.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS target resource aggregation.

" - } - }, - "com.amazonaws.inspector2#CisTargetResourceAggregationList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisTargetResourceAggregation" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1000 - } - } - }, - "com.amazonaws.inspector2#CisTargetStatus": { - "type": "enum", - "members": { - "TIMED_OUT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TIMED_OUT" - } - }, - "CANCELLED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "CANCELLED" - } - }, - "COMPLETED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "COMPLETED" - } - } - } - }, - "com.amazonaws.inspector2#CisTargetStatusComparison": { - "type": "enum", - "members": { - "EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EQUALS" - } - } - } - }, - "com.amazonaws.inspector2#CisTargetStatusFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CisTargetStatusComparison", - "traits": { - "smithy.api#documentation": "

The comparison value of the CIS target status filter.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#CisTargetStatus", - "traits": { - "smithy.api#documentation": "

The value of the CIS target status filter.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS target status filter.

" - } - }, - "com.amazonaws.inspector2#CisTargetStatusReason": { - "type": "enum", - "members": { - "SCAN_IN_PROGRESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SCAN_IN_PROGRESS" - } - }, - "UNSUPPORTED_OS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UNSUPPORTED_OS" - } - }, - "SSM_UNMANAGED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SSM_UNMANAGED" - } - } - } - }, - "com.amazonaws.inspector2#CisTargetStatusReasonFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CisTargetStatusComparison", - "traits": { - "smithy.api#documentation": "

The comparison value of the CIS target status reason filter.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#CisTargetStatusReason", - "traits": { - "smithy.api#documentation": "

The value of the CIS target status reason filter.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS target status reason filter.

" - } - }, - "com.amazonaws.inspector2#CisTargets": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#CisAccountIdList", - "traits": { - "smithy.api#documentation": "

The CIS target account ids.

" - } - }, - "targetResourceTags": { - "target": "com.amazonaws.inspector2#TargetResourceTags", - "traits": { - "smithy.api#documentation": "

The CIS target resource tags.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The CIS targets.

" - } - }, - "com.amazonaws.inspector2#CisaAction": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#CisaData": { - "type": "structure", - "members": { - "dateAdded": { - "target": "com.amazonaws.inspector2#CisaDateAdded", - "traits": { - "smithy.api#documentation": "

The date and time CISA added this vulnerability to their catalogue.

" - } - }, - "dateDue": { - "target": "com.amazonaws.inspector2#CisaDateDue", - "traits": { - "smithy.api#documentation": "

The date and time CISA expects a fix to have been provided vulnerability.

" - } - }, - "action": { - "target": "com.amazonaws.inspector2#CisaAction", - "traits": { - "smithy.api#documentation": "

The remediation action recommended by CISA for this vulnerability.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The Cybersecurity and Infrastructure Security Agency (CISA) details for a specific vulnerability.

" - } - }, - "com.amazonaws.inspector2#CisaDateAdded": { - "type": "timestamp" - }, - "com.amazonaws.inspector2#CisaDateDue": { - "type": "timestamp" - }, - "com.amazonaws.inspector2#ClientToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazonaws.inspector2#CodeFilePath": { - "type": "structure", - "members": { - "fileName": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The name of the file the code vulnerability was found in.

", - "smithy.api#required": {} - } - }, - "filePath": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The file path to the code that a vulnerability was found in.

", - "smithy.api#required": {} - } - }, - "startLine": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#default": null, - "smithy.api#documentation": "

The line number of the first line of code that a vulnerability was found in.

", - "smithy.api#required": {} - } - }, - "endLine": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#default": null, - "smithy.api#documentation": "

The line number of the last line of code that a vulnerability was found in.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information on where a code vulnerability is located in your Lambda function.

" - } - }, - "com.amazonaws.inspector2#CodeLine": { - "type": "structure", - "members": { - "content": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The content of a line of code

", - "smithy.api#length": { - "min": 0, - "max": 240 - }, - "smithy.api#required": {} - } - }, - "lineNumber": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The line number that a section of code is located at.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information on the lines of code associated with a code snippet.

" - } - }, - "com.amazonaws.inspector2#CodeLineList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CodeLine" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 20 - } - } - }, - "com.amazonaws.inspector2#CodeSnippetError": { - "type": "structure", - "members": { - "findingArn": { - "target": "com.amazonaws.inspector2#FindingArn", - "traits": { - "smithy.api#documentation": "

The ARN of the finding that a code snippet couldn't be retrieved for.

", - "smithy.api#required": {} - } - }, - "errorCode": { - "target": "com.amazonaws.inspector2#CodeSnippetErrorCode", - "traits": { - "smithy.api#documentation": "

The error code for the error that prevented a code snippet from being retrieved.

", - "smithy.api#required": {} - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The error message received when Amazon Inspector failed to retrieve a code snippet.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information about any errors encountered while trying to retrieve a code snippet.

" - } - }, - "com.amazonaws.inspector2#CodeSnippetErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "CODE_SNIPPET_NOT_FOUND", - "name": "CODE_SNIPPET_NOT_FOUND" - }, - { - "value": "INVALID_INPUT", - "name": "INVALID_INPUT" - } - ] - } - }, - "com.amazonaws.inspector2#CodeSnippetErrorList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CodeSnippetError" - } - }, - "com.amazonaws.inspector2#CodeSnippetResult": { - "type": "structure", - "members": { - "findingArn": { - "target": "com.amazonaws.inspector2#FindingArn", - "traits": { - "smithy.api#documentation": "

The ARN of a finding that the code snippet is associated with.

" - } - }, - "startLine": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The line number of the first line of a code snippet.

" - } - }, - "endLine": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The line number of the last line of a code snippet.

" - } - }, - "codeSnippet": { - "target": "com.amazonaws.inspector2#CodeLineList", - "traits": { - "smithy.api#documentation": "

Contains information on the retrieved code snippet.

" - } - }, - "suggestedFixes": { - "target": "com.amazonaws.inspector2#SuggestedFixes", - "traits": { - "smithy.api#documentation": "

Details of a suggested code fix.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information on a code snippet retrieved by Amazon Inspector from a code vulnerability finding.

" - } - }, - "com.amazonaws.inspector2#CodeSnippetResultList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CodeSnippetResult" - } - }, - "com.amazonaws.inspector2#CodeVulnerabilityDetails": { - "type": "structure", - "members": { - "filePath": { - "target": "com.amazonaws.inspector2#CodeFilePath", - "traits": { - "smithy.api#documentation": "

Contains information on where the code vulnerability is located in your code.

", - "smithy.api#required": {} - } - }, - "detectorTags": { - "target": "com.amazonaws.inspector2#DetectorTagList", - "traits": { - "smithy.api#documentation": "

The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.

" - } - }, - "referenceUrls": { - "target": "com.amazonaws.inspector2#ReferenceUrls", - "traits": { - "smithy.api#documentation": "

A URL containing supporting documentation about the code vulnerability detected.

" - } - }, - "ruleId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The identifier for a rule that was used to detect the code vulnerability.

" - } - }, - "sourceLambdaLayerArn": { - "target": "com.amazonaws.inspector2#LambdaLayerArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.

" - } - }, - "detectorId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see Amazon CodeGuru\n Detector Library.

", - "smithy.api#required": {} - } - }, - "detectorName": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The name of the detector used to identify the code vulnerability. For more information on detectors see CodeGuru Detector Library.

", - "smithy.api#required": {} - } - }, - "cwes": { - "target": "com.amazonaws.inspector2#CweList", - "traits": { - "smithy.api#documentation": "

The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information on the code vulnerability identified in your Lambda function.

" - } - }, - "com.amazonaws.inspector2#Component": { - "type": "string" - }, - "com.amazonaws.inspector2#ComponentType": { - "type": "string" - }, - "com.amazonaws.inspector2#ComputePlatform": { - "type": "structure", - "members": { - "vendor": { - "target": "com.amazonaws.inspector2#Vendor", - "traits": { - "smithy.api#documentation": "

The compute platform vendor.

" - } - }, - "product": { - "target": "com.amazonaws.inspector2#Product", - "traits": { - "smithy.api#documentation": "

The compute platform product.

" - } - }, - "version": { - "target": "com.amazonaws.inspector2#PlatformVersion", - "traits": { - "smithy.api#documentation": "

The compute platform version.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A compute platform.

" - } - }, - "com.amazonaws.inspector2#ConflictException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The ID of the conflicting resource.

", - "smithy.api#required": {} - } - }, - "resourceType": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The type of the conflicting resource.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

A conflict occurred.

", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.inspector2#Counts": { - "type": "structure", - "members": { - "count": { - "target": "com.amazonaws.inspector2#AggCounts", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The number of resources.

" - } - }, - "groupKey": { - "target": "com.amazonaws.inspector2#GroupKey", - "traits": { - "smithy.api#documentation": "

The key associated with this group

" - } - } - }, - "traits": { - "smithy.api#documentation": "

a structure that contains information on the count of resources within a group.

" - } - }, - "com.amazonaws.inspector2#CountsList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Counts" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.inspector2#CoverageDateFilter": { - "type": "structure", - "members": { - "startInclusive": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

A timestamp representing the start of the time period to filter results by.

" - } - }, - "endInclusive": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

A timestamp representing the end of the time period to filter results by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details of a coverage date filter.

" - } - }, - "com.amazonaws.inspector2#CoverageDateFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CoverageDateFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CoverageFilterCriteria": { - "type": "structure", - "members": { - "scanStatusCode": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

The scan status code to filter on. Valid values are: ValidationException, InternalServerException, ResourceNotFoundException, BadRequestException, and ThrottlingException.

" - } - }, - "scanStatusReason": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

The scan status reason to filter on.

" - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

An array of Amazon Web Services account IDs to return coverage statistics for.

" - } - }, - "resourceId": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

An array of Amazon Web Services resource IDs to return coverage statistics for.

" - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE, AWS_LAMBDA_FUNCTION, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY or AWS_ACCOUNT.

" - } - }, - "scanType": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

An array of Amazon Inspector scan types to return coverage statistics for.

" - } - }, - "ecrRepositoryName": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon ECR repository name to filter on.

" - } - }, - "ecrImageTags": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon ECR image tags to filter on.

" - } - }, - "ec2InstanceTags": { - "target": "com.amazonaws.inspector2#CoverageMapFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon EC2 instance tags to filter on.

" - } - }, - "lambdaFunctionName": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

Returns coverage statistics for Amazon Web Services Lambda functions filtered by function names.

" - } - }, - "lambdaFunctionTags": { - "target": "com.amazonaws.inspector2#CoverageMapFilterList", - "traits": { - "smithy.api#documentation": "

Returns coverage statistics for Amazon Web Services Lambda functions filtered by tag.

" - } - }, - "lambdaFunctionRuntime": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

Returns coverage statistics for Amazon Web Services Lambda functions filtered by runtime.

" - } - }, - "lastScannedAt": { - "target": "com.amazonaws.inspector2#CoverageDateFilterList", - "traits": { - "smithy.api#documentation": "

Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range.

" - } - }, - "scanMode": { - "target": "com.amazonaws.inspector2#CoverageStringFilterList", - "traits": { - "smithy.api#documentation": "

The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are EC2_SSM_AGENT_BASED and EC2_HYBRID.

" - } - }, - "imagePulledAt": { - "target": "com.amazonaws.inspector2#CoverageDateFilterList", - "traits": { - "smithy.api#documentation": "

The date an image was last pulled at.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A structure that identifies filter criteria for GetCoverageStatistics.

" - } - }, - "com.amazonaws.inspector2#CoverageMapComparison": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQUALS", - "name": "EQUALS" - } - ] - } - }, - "com.amazonaws.inspector2#CoverageMapFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CoverageMapComparison", - "traits": { - "smithy.api#documentation": "

The operator to compare coverage on.

", - "smithy.api#required": {} - } - }, - "key": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The tag key associated with the coverage map filter.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The tag value associated with the coverage map filter.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details of a coverage map filter.

" - } - }, - "com.amazonaws.inspector2#CoverageMapFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CoverageMapFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CoverageResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_EC2_INSTANCE", - "name": "AWS_EC2_INSTANCE" - }, - { - "value": "AWS_ECR_CONTAINER_IMAGE", - "name": "AWS_ECR_CONTAINER_IMAGE" - }, - { - "value": "AWS_ECR_REPOSITORY", - "name": "AWS_ECR_REPOSITORY" - }, - { - "value": "AWS_LAMBDA_FUNCTION", - "name": "AWS_LAMBDA_FUNCTION" - } - ] - } - }, - "com.amazonaws.inspector2#CoverageStringComparison": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQUALS", - "name": "EQUALS" - }, - { - "value": "NOT_EQUALS", - "name": "NOT_EQUALS" - } - ] - } - }, - "com.amazonaws.inspector2#CoverageStringFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#CoverageStringComparison", - "traits": { - "smithy.api#documentation": "

The operator to compare strings on.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#CoverageStringInput", - "traits": { - "smithy.api#documentation": "

The value to compare strings on.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details of a coverage string filter.

" - } - }, - "com.amazonaws.inspector2#CoverageStringFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CoverageStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#CoverageStringInput": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#CoveredResource": { - "type": "structure", - "members": { - "resourceType": { - "target": "com.amazonaws.inspector2#CoverageResourceType", - "traits": { - "smithy.api#documentation": "

The type of the covered resource.

", - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "com.amazonaws.inspector2#ResourceId", - "traits": { - "smithy.api#documentation": "

The ID of the covered resource.

", - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the covered resource.

", - "smithy.api#required": {} - } - }, - "scanType": { - "target": "com.amazonaws.inspector2#ScanType", - "traits": { - "smithy.api#documentation": "

The Amazon Inspector scan type covering the resource.

", - "smithy.api#required": {} - } - }, - "scanStatus": { - "target": "com.amazonaws.inspector2#ScanStatus", - "traits": { - "smithy.api#documentation": "

The status of the scan covering the resource.

" - } - }, - "resourceMetadata": { - "target": "com.amazonaws.inspector2#ResourceScanMetadata", - "traits": { - "smithy.api#documentation": "

An object that contains details about the metadata.

" - } - }, - "lastScannedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time the resource was last checked for vulnerabilities.

" - } - }, - "scanMode": { - "target": "com.amazonaws.inspector2#ScanMode", - "traits": { - "smithy.api#documentation": "

The scan method that is applied to the instance.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that contains details about a resource covered by Amazon Inspector.

" - } - }, - "com.amazonaws.inspector2#CoveredResources": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CoveredResource" - } - }, - "com.amazonaws.inspector2#CreateCisScanConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#CreateCisScanConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#CreateCisScanConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates a CIS scan configuration.

", - "smithy.api#examples": [ - { - "title": "Sample CreateCisScanConfiguration Call", - "input": { - "scanName": "sample", - "securityLevel": "LEVEL_1", - "schedule": { - "daily": { - "startTime": { - "timeOfDay": "12:34", - "timezone": "UTC" - } - } - }, - "targets": { - "accountIds": [ - "SELF" - ], - "targetResourceTags": { - "key": [ - "value" - ] - } - } - }, - "output": { - "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38" - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan-configuration/create" - } - } - }, - "com.amazonaws.inspector2#CreateCisScanConfigurationRequest": { - "type": "structure", - "members": { - "scanName": { - "target": "com.amazonaws.inspector2#CisScanName", - "traits": { - "smithy.api#documentation": "

The scan name for the CIS scan configuration.

", - "smithy.api#required": {} - } - }, - "securityLevel": { - "target": "com.amazonaws.inspector2#CisSecurityLevel", - "traits": { - "smithy.api#documentation": "

\n The security level for the CIS scan configuration. \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

", - "smithy.api#required": {} - } - }, - "schedule": { - "target": "com.amazonaws.inspector2#Schedule", - "traits": { - "smithy.api#documentation": "

The schedule for the CIS scan configuration.

", - "smithy.api#required": {} - } - }, - "targets": { - "target": "com.amazonaws.inspector2#CreateCisTargets", - "traits": { - "smithy.api#documentation": "

The targets for the CIS scan configuration.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.inspector2#CisTagMap", - "traits": { - "smithy.api#documentation": "

The tags for the CIS scan configuration.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#CreateCisScanConfigurationResponse": { - "type": "structure", - "members": { - "scanConfigurationArn": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArn", - "traits": { - "smithy.api#documentation": "

The scan configuration ARN for the CIS scan configuration.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#CreateCisTargets": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#TargetAccountList", - "traits": { - "smithy.api#documentation": "

The CIS target account ids.

", - "smithy.api#required": {} - } - }, - "targetResourceTags": { - "target": "com.amazonaws.inspector2#TargetResourceTags", - "traits": { - "smithy.api#documentation": "

The CIS target resource tags.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Creates CIS targets.

" - } - }, - "com.amazonaws.inspector2#CreateFilter": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#CreateFilterRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#CreateFilterResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#BadRequestException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ServiceQuotaExceededException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/filters/create" - } - } - }, - "com.amazonaws.inspector2#CreateFilterRequest": { - "type": "structure", - "members": { - "action": { - "target": "com.amazonaws.inspector2#FilterAction", - "traits": { - "smithy.api#documentation": "

Defines the action that is to be applied to the findings that match the filter.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.inspector2#FilterDescription", - "traits": { - "smithy.api#documentation": "

A description of the filter.

" - } - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#FilterCriteria", - "traits": { - "smithy.api#documentation": "

Defines the criteria to be used in the filter for querying findings.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.inspector2#FilterName", - "traits": { - "smithy.api#documentation": "

The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters\n include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not\n allowed.

", - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

A list of tags for the filter.

" - } - }, - "reason": { - "target": "com.amazonaws.inspector2#FilterReason", - "traits": { - "smithy.api#documentation": "

The reason for creating the filter.

" - } - } - } - }, - "com.amazonaws.inspector2#CreateFilterResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.inspector2#FilterArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the successfully created filter.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#CreateFindingsReport": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#CreateFindingsReportRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#CreateFindingsReportResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/reporting/create" - } - } - }, - "com.amazonaws.inspector2#CreateFindingsReportRequest": { - "type": "structure", - "members": { - "filterCriteria": { - "target": "com.amazonaws.inspector2#FilterCriteria", - "traits": { - "smithy.api#documentation": "

The filter criteria to apply to the results of the finding report.

" - } - }, - "reportFormat": { - "target": "com.amazonaws.inspector2#ReportFormat", - "traits": { - "smithy.api#documentation": "

The format to generate the report in.

", - "smithy.api#required": {} - } - }, - "s3Destination": { - "target": "com.amazonaws.inspector2#Destination", - "traits": { - "smithy.api#documentation": "

The Amazon S3 export destination for the report.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#CreateFindingsReportResponse": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The ID of the report.

" - } - } - } - }, - "com.amazonaws.inspector2#CreateSbomExport": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#CreateSbomExportRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#CreateSbomExportResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Creates a software bill of materials (SBOM) report.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/sbomexport/create" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#CreateSbomExportRequest": { - "type": "structure", - "members": { - "resourceFilterCriteria": { - "target": "com.amazonaws.inspector2#ResourceFilterCriteria", - "traits": { - "smithy.api#documentation": "

The resource filter criteria for the software bill of materials (SBOM) report.

" - } - }, - "reportFormat": { - "target": "com.amazonaws.inspector2#SbomReportFormat", - "traits": { - "smithy.api#documentation": "

The output format for the software bill of materials (SBOM) report.

", - "smithy.api#required": {} - } - }, - "s3Destination": { - "target": "com.amazonaws.inspector2#Destination", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#CreateSbomExportResponse": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The report ID for the software bill of materials (SBOM) report.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#Currency": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "USD", - "value": "USD" - } - ] - } - }, - "com.amazonaws.inspector2#Cvss2": { - "type": "structure", - "members": { - "baseScore": { - "target": "com.amazonaws.inspector2#Cvss2BaseScore", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The CVSS v2 base score for the vulnerability.

" - } - }, - "scoringVector": { - "target": "com.amazonaws.inspector2#Cvss2ScoringVector", - "traits": { - "smithy.api#documentation": "

The scoring vector associated with the CVSS v2 score.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The Common Vulnerability Scoring System (CVSS) version 2 details for the vulnerability.

" - } - }, - "com.amazonaws.inspector2#Cvss2BaseScore": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.inspector2#Cvss2ScoringVector": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#Cvss3": { - "type": "structure", - "members": { - "baseScore": { - "target": "com.amazonaws.inspector2#Cvss3BaseScore", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The CVSS v3 base score for the vulnerability.

" - } - }, - "scoringVector": { - "target": "com.amazonaws.inspector2#Cvss3ScoringVector", - "traits": { - "smithy.api#documentation": "

The scoring vector associated with the CVSS v3 score.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The Common Vulnerability Scoring System (CVSS) version 3 details for the vulnerability.

" - } - }, - "com.amazonaws.inspector2#Cvss3BaseScore": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.inspector2#Cvss3ScoringVector": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#CvssScore": { - "type": "structure", - "members": { - "baseScore": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "

The base CVSS score used for the finding.

", - "smithy.api#required": {} - } - }, - "scoringVector": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The vector string of the CVSS score.

", - "smithy.api#required": {} - } - }, - "version": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The version of CVSS used for the score.

", - "smithy.api#required": {} - } - }, - "source": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The source of the CVSS score.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The CVSS score for a finding.

" - } - }, - "com.amazonaws.inspector2#CvssScoreAdjustment": { - "type": "structure", - "members": { - "metric": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The metric used to adjust the CVSS score.

", - "smithy.api#required": {} - } - }, - "reason": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The reason the CVSS score has been adjustment.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Details on adjustments Amazon Inspector made to the CVSS score for a finding.

" - } - }, - "com.amazonaws.inspector2#CvssScoreAdjustmentList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CvssScoreAdjustment" - } - }, - "com.amazonaws.inspector2#CvssScoreDetails": { - "type": "structure", - "members": { - "scoreSource": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The source for the CVSS score.

", - "smithy.api#required": {} - } - }, - "cvssSource": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The source of the CVSS data.

" - } - }, - "version": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The CVSS version used in scoring.

", - "smithy.api#required": {} - } - }, - "score": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "

The CVSS score.

", - "smithy.api#required": {} - } - }, - "scoringVector": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The vector for the CVSS score.

", - "smithy.api#required": {} - } - }, - "adjustments": { - "target": "com.amazonaws.inspector2#CvssScoreAdjustmentList", - "traits": { - "smithy.api#documentation": "

An object that contains details about adjustment Amazon Inspector made to the CVSS score.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about the CVSS score.

" - } - }, - "com.amazonaws.inspector2#CvssScoreList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CvssScore" - } - }, - "com.amazonaws.inspector2#Cwe": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#CweList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#NonEmptyString" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#Cwes": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Cwe" - }, - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#DailySchedule": { - "type": "structure", - "members": { - "startTime": { - "target": "com.amazonaws.inspector2#Time", - "traits": { - "smithy.api#documentation": "

The schedule start time.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

A daily schedule.

" - } - }, - "com.amazonaws.inspector2#DateFilter": { - "type": "structure", - "members": { - "startInclusive": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

A timestamp representing the start of the time period filtered on.

" - } - }, - "endInclusive": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

A timestamp representing the end of the time period filtered on.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details on the time range used to filter findings.

" - } - }, - "com.amazonaws.inspector2#DateFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#DateFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#DateTimeTimestamp": { - "type": "timestamp" - }, - "com.amazonaws.inspector2#Day": { - "type": "enum", - "members": { - "SUN": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SUN" - } - }, - "MON": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MON" - } - }, - "TUE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "TUE" - } - }, - "WED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "WED" - } - }, - "THU": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "THU" - } - }, - "FRI": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FRI" - } - }, - "SAT": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SAT" - } - } - } - }, - "com.amazonaws.inspector2#DaysList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Day" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 7 - }, - "smithy.api#uniqueItems": {} - } - }, - "com.amazonaws.inspector2#DelegatedAdmin": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.

" - } - }, - "relationshipStatus": { - "target": "com.amazonaws.inspector2#RelationshipStatus", - "traits": { - "smithy.api#documentation": "

The status of the Amazon Inspector delegated administrator.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details of the Amazon Inspector delegated administrator for your organization.

" - } - }, - "com.amazonaws.inspector2#DelegatedAdminAccount": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#DelegatedAdminStatus", - "traits": { - "smithy.api#documentation": "

The status of the Amazon Inspector delegated administrator.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details of the Amazon Inspector delegated administrator for your organization.

" - } - }, - "com.amazonaws.inspector2#DelegatedAdminAccountList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#DelegatedAdminAccount" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 5 - } - } - }, - "com.amazonaws.inspector2#DelegatedAdminStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLE_IN_PROGRESS", - "name": "DISABLE_IN_PROGRESS" - } - ] - } - }, - "com.amazonaws.inspector2#DeleteCisScanConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#DeleteCisScanConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#DeleteCisScanConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes a CIS scan configuration.

", - "smithy.api#examples": [ - { - "title": "Sample DeleteCisScanConfiguration Call", - "input": { - "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38" - }, - "output": { - "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38" - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan-configuration/delete" - } - } - }, - "com.amazonaws.inspector2#DeleteCisScanConfigurationRequest": { - "type": "structure", - "members": { - "scanConfigurationArn": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArn", - "traits": { - "smithy.api#documentation": "

The ARN of the CIS scan configuration.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#DeleteCisScanConfigurationResponse": { - "type": "structure", - "members": { - "scanConfigurationArn": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArn", - "traits": { - "smithy.api#documentation": "

The ARN of the CIS scan configuration.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#DeleteFilter": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#DeleteFilterRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#DeleteFilterResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Deletes a filter resource.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/filters/delete" - } - } - }, - "com.amazonaws.inspector2#DeleteFilterRequest": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.inspector2#FilterArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the filter to be deleted.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#DeleteFilterResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.inspector2#FilterArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the filter that has been deleted.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#DescribeOrganizationConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#DescribeOrganizationConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#DescribeOrganizationConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Describe Amazon Inspector configuration settings for an Amazon Web Services organization.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/organizationconfiguration/describe" - } - } - }, - "com.amazonaws.inspector2#DescribeOrganizationConfigurationRequest": { - "type": "structure", - "members": {} - }, - "com.amazonaws.inspector2#DescribeOrganizationConfigurationResponse": { - "type": "structure", - "members": { - "autoEnable": { - "target": "com.amazonaws.inspector2#AutoEnable", - "traits": { - "smithy.api#documentation": "

The scan types are automatically enabled for new members of your organization.

" - } - }, - "maxAccountLimitReached": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Represents whether your organization has reached the maximum Amazon Web Services account limit for Amazon Inspector.

" - } - } - } - }, - "com.amazonaws.inspector2#Destination": { - "type": "structure", - "members": { - "bucketName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket to export findings to.

", - "smithy.api#required": {} - } - }, - "keyPrefix": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The prefix that the findings will be written under.

" - } - }, - "kmsKeyArn": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The ARN of the KMS key used to encrypt data when exporting findings.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details of the Amazon S3 bucket and KMS key used to export findings.

" - } - }, - "com.amazonaws.inspector2#DetectionPlatforms": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#NonEmptyString" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#DetectorTagList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#NonEmptyString" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#Disable": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#DisableRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#DisableResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account\n disables the Amazon Inspector service.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/disable" - } - } - }, - "com.amazonaws.inspector2#DisableDelegatedAdminAccount": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#DisableDelegatedAdminAccountRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#DisableDelegatedAdminAccountResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#ConflictException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Disables the Amazon Inspector delegated administrator for your organization.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/delegatedadminaccounts/disable" - } - } - }, - "com.amazonaws.inspector2#DisableDelegatedAdminAccountRequest": { - "type": "structure", - "members": { - "delegatedAdminAccountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#DisableDelegatedAdminAccountResponse": { - "type": "structure", - "members": { - "delegatedAdminAccountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the successfully disabled delegated administrator.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#DisableRequest": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#AccountIdSet", - "traits": { - "smithy.api#documentation": "

An array of account IDs you want to disable Amazon Inspector scans for.

" - } - }, - "resourceTypes": { - "target": "com.amazonaws.inspector2#DisableResourceTypeList", - "traits": { - "smithy.api#documentation": "

The resource scan types you want to disable.

" - } - } - } - }, - "com.amazonaws.inspector2#DisableResourceTypeList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#ResourceScanType" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 3 - } - } - }, - "com.amazonaws.inspector2#DisableResponse": { - "type": "structure", - "members": { - "accounts": { - "target": "com.amazonaws.inspector2#AccountList", - "traits": { - "smithy.api#documentation": "

Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are\n provided for each account.

", - "smithy.api#required": {} - } - }, - "failedAccounts": { - "target": "com.amazonaws.inspector2#FailedAccountList", - "traits": { - "smithy.api#documentation": "

Information on any accounts for which Amazon Inspector scans could not be disabled. Details are\n provided for each account.

" - } - } - } - }, - "com.amazonaws.inspector2#DisassociateMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#DisassociateMemberRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#DisassociateMemberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Disassociates a member account from an Amazon Inspector delegated administrator.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/members/disassociate" - } - } - }, - "com.amazonaws.inspector2#DisassociateMemberRequest": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the member account to disassociate.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#DisassociateMemberResponse": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the successfully disassociated member.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#Ec2Configuration": { - "type": "structure", - "members": { - "scanMode": { - "target": "com.amazonaws.inspector2#Ec2ScanMode", - "traits": { - "smithy.api#documentation": "

The scan method that is applied to the instance.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Enables agent-based scanning, which scans instances that are not managed by SSM.

" - } - }, - "com.amazonaws.inspector2#Ec2ConfigurationState": { - "type": "structure", - "members": { - "scanModeState": { - "target": "com.amazonaws.inspector2#Ec2ScanModeState", - "traits": { - "smithy.api#documentation": "

An object that contains details about the state of the Amazon EC2 scan mode.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the state of the EC2 scan configuration for your environment.

" - } - }, - "com.amazonaws.inspector2#Ec2DeepInspectionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVATED", - "name": "ACTIVATED" - }, - { - "value": "DEACTIVATED", - "name": "DEACTIVATED" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] - } - }, - "com.amazonaws.inspector2#Ec2InstanceAggregation": { - "type": "structure", - "members": { - "amis": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.

" - } - }, - "operatingSystems": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The operating system types to aggregate findings for. Valid values must be uppercase and\n underscore separated, examples are ORACLE_LINUX_7 and\n ALPINE_LINUX_3_8.

" - } - }, - "instanceIds": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon EC2 instance IDs to aggregate findings for.

" - } - }, - "instanceTags": { - "target": "com.amazonaws.inspector2#MapFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon EC2 instance tags to aggregate findings for.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to sort results by.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#Ec2InstanceSortBy", - "traits": { - "smithy.api#documentation": "

The value to sort results by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define an aggregation based on Amazon EC2 instances.

" - } - }, - "com.amazonaws.inspector2#Ec2InstanceAggregationResponse": { - "type": "structure", - "members": { - "instanceId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon EC2 instance ID.

", - "smithy.api#required": {} - } - }, - "ami": { - "target": "com.amazonaws.inspector2#AmiId", - "traits": { - "smithy.api#documentation": "

The Amazon Machine Image (AMI) of the Amazon EC2 instance.

" - } - }, - "operatingSystem": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The operating system of the Amazon EC2 instance.

" - } - }, - "instanceTags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

The tags attached to the instance.

" - } - }, - "accountId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account for the Amazon EC2 instance.

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

An object that contains the count of matched findings per severity.

" - } - }, - "networkFindings": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The number of network findings for the Amazon EC2 instance.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains the results of a finding aggregation by Amazon EC2 instance.

" - } - }, - "com.amazonaws.inspector2#Ec2InstanceSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NETWORK_FINDINGS", - "name": "NETWORK_FINDINGS" - }, - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#Ec2Metadata": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

The tags attached to the instance.

" - } - }, - "amiId": { - "target": "com.amazonaws.inspector2#AmiId", - "traits": { - "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) used to launch the instance.

" - } - }, - "platform": { - "target": "com.amazonaws.inspector2#Ec2Platform", - "traits": { - "smithy.api#documentation": "

The platform of the instance.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Meta data details of an Amazon EC2 instance.

" - } - }, - "com.amazonaws.inspector2#Ec2Platform": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WINDOWS", - "name": "WINDOWS" - }, - { - "value": "LINUX", - "name": "LINUX" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - }, - { - "value": "MACOS", - "name": "MACOS" - } - ] - } - }, - "com.amazonaws.inspector2#Ec2ScanMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EC2_SSM_AGENT_BASED", - "name": "EC2_SSM_AGENT_BASED" - }, - { - "value": "EC2_HYBRID", - "name": "EC2_HYBRID" - } - ] - } - }, - "com.amazonaws.inspector2#Ec2ScanModeState": { - "type": "structure", - "members": { - "scanMode": { - "target": "com.amazonaws.inspector2#Ec2ScanMode", - "traits": { - "smithy.api#documentation": "

The scan method that is applied to the instance.

" - } - }, - "scanModeStatus": { - "target": "com.amazonaws.inspector2#Ec2ScanModeStatus", - "traits": { - "smithy.api#documentation": "

The status of the Amazon EC2 scan mode setting.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The state of your Amazon EC2 scan mode configuration.

" - } - }, - "com.amazonaws.inspector2#Ec2ScanModeStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "PENDING", - "name": "PENDING" - } - ] - } - }, - "com.amazonaws.inspector2#EcrConfiguration": { - "type": "structure", - "members": { - "rescanDuration": { - "target": "com.amazonaws.inspector2#EcrRescanDuration", - "traits": { - "smithy.api#documentation": "

The rescan duration configured for image push date.

", - "smithy.api#required": {} - } - }, - "pullDateRescanDuration": { - "target": "com.amazonaws.inspector2#EcrPullDateRescanDuration", - "traits": { - "smithy.api#documentation": "

The rescan duration configured for image pull date.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the ECR automated re-scan duration setting for your environment.

" - } - }, - "com.amazonaws.inspector2#EcrConfigurationState": { - "type": "structure", - "members": { - "rescanDurationState": { - "target": "com.amazonaws.inspector2#EcrRescanDurationState", - "traits": { - "smithy.api#documentation": "

An object that contains details about the state of the ECR re-scan settings.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the state of the ECR scans for your environment.

" - } - }, - "com.amazonaws.inspector2#EcrContainerImageMetadata": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.inspector2#TagList", - "traits": { - "smithy.api#documentation": "

Tags associated with the Amazon ECR image metadata.

" - } - }, - "imagePulledAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date an image was last pulled at.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information on the Amazon ECR image metadata associated with a finding.

" - } - }, - "com.amazonaws.inspector2#EcrPullDateRescanDuration": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DAYS_14", - "name": "DAYS_14" - }, - { - "value": "DAYS_30", - "name": "DAYS_30" - }, - { - "value": "DAYS_60", - "name": "DAYS_60" - }, - { - "value": "DAYS_90", - "name": "DAYS_90" - }, - { - "value": "DAYS_180", - "name": "DAYS_180" - } - ] - } - }, - "com.amazonaws.inspector2#EcrRepositoryMetadata": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The name of the Amazon ECR repository.

" - } - }, - "scanFrequency": { - "target": "com.amazonaws.inspector2#EcrScanFrequency", - "traits": { - "smithy.api#documentation": "

The frequency of scans.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information on the Amazon ECR repository metadata associated with a finding.

" - } - }, - "com.amazonaws.inspector2#EcrRescanDuration": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LIFETIME", - "name": "LIFETIME" - }, - { - "value": "DAYS_30", - "name": "DAYS_30" - }, - { - "value": "DAYS_180", - "name": "DAYS_180" - }, - { - "value": "DAYS_14", - "name": "DAYS_14" - }, - { - "value": "DAYS_60", - "name": "DAYS_60" - }, - { - "value": "DAYS_90", - "name": "DAYS_90" - } - ] - } - }, - "com.amazonaws.inspector2#EcrRescanDurationState": { - "type": "structure", - "members": { - "rescanDuration": { - "target": "com.amazonaws.inspector2#EcrRescanDuration", - "traits": { - "smithy.api#documentation": "

The rescan duration configured for image push date.\n \n

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#EcrRescanDurationStatus", - "traits": { - "smithy.api#documentation": "

The status of changes to the ECR automated re-scan duration.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

A timestamp representing when the last time the ECR scan duration setting was changed.

" - } - }, - "pullDateRescanDuration": { - "target": "com.amazonaws.inspector2#EcrPullDateRescanDuration", - "traits": { - "smithy.api#documentation": "

The rescan duration configured for image pull date.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the state of your ECR re-scan duration settings. The ECR re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the duration configured for image pull date, and the duration configured for image pull date, the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

" - } - }, - "com.amazonaws.inspector2#EcrRescanDurationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUCCESS", - "name": "SUCCESS" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] - } - }, - "com.amazonaws.inspector2#EcrScanFrequency": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MANUAL", - "name": "MANUAL" - }, - { - "value": "SCAN_ON_PUSH", - "name": "SCAN_ON_PUSH" - }, - { - "value": "CONTINUOUS_SCAN", - "name": "CONTINUOUS_SCAN" - } - ] - } - }, - "com.amazonaws.inspector2#Enable": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#EnableRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#EnableResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Enables Amazon Inspector scans for one or more Amazon Web Services accounts.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/enable" - } - } - }, - "com.amazonaws.inspector2#EnableDelegatedAdminAccount": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#EnableDelegatedAdminAccountRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#EnableDelegatedAdminAccountResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#ConflictException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Enables the Amazon Inspector delegated administrator for your Organizations organization.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/delegatedadminaccounts/enable" - } - } - }, - "com.amazonaws.inspector2#EnableDelegatedAdminAccountRequest": { - "type": "structure", - "members": { - "delegatedAdminAccountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

", - "smithy.api#required": {} - } - }, - "clientToken": { - "target": "com.amazonaws.inspector2#ClientToken", - "traits": { - "smithy.api#documentation": "

The idempotency token for the request.

", - "smithy.api#idempotencyToken": {} - } - } - } - }, - "com.amazonaws.inspector2#EnableDelegatedAdminAccountResponse": { - "type": "structure", - "members": { - "delegatedAdminAccountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#EnableRequest": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#AccountIdSet", - "traits": { - "smithy.api#documentation": "

A list of account IDs you want to enable Amazon Inspector scans for.

" - } - }, - "resourceTypes": { - "target": "com.amazonaws.inspector2#EnableResourceTypeList", - "traits": { - "smithy.api#documentation": "

The resource scan types you want to enable.

", - "smithy.api#required": {} - } - }, - "clientToken": { - "target": "com.amazonaws.inspector2#ClientToken", - "traits": { - "smithy.api#documentation": "

The idempotency token for the request.

", - "smithy.api#idempotencyToken": {} - } - } - } - }, - "com.amazonaws.inspector2#EnableResourceTypeList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#ResourceScanType" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 3 - } - } - }, - "com.amazonaws.inspector2#EnableResponse": { - "type": "structure", - "members": { - "accounts": { - "target": "com.amazonaws.inspector2#AccountList", - "traits": { - "smithy.api#documentation": "

Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are\n provided for each account.

", - "smithy.api#required": {} - } - }, - "failedAccounts": { - "target": "com.amazonaws.inspector2#FailedAccountList", - "traits": { - "smithy.api#documentation": "

Information on any accounts for which Amazon Inspector scans could not be enabled. Details are\n provided for each account.

" - } - } - } - }, - "com.amazonaws.inspector2#Epss": { - "type": "structure", - "members": { - "score": { - "target": "com.amazonaws.inspector2#EpssScore", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The Exploit Prediction Scoring System (EPSS) score.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the Exploit Prediction Scoring System (EPSS) score.

" - } - }, - "com.amazonaws.inspector2#EpssDetails": { - "type": "structure", - "members": { - "score": { - "target": "com.amazonaws.inspector2#EpssScoreValue", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The EPSS score.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the Exploit Prediction Scoring System (EPSS) score for a finding.

" - } - }, - "com.amazonaws.inspector2#EpssScore": { - "type": "double", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.inspector2#EpssScoreValue": { - "type": "double", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0.0, - "max": 1.0 - } - } - }, - "com.amazonaws.inspector2#ErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALREADY_ENABLED", - "name": "ALREADY_ENABLED" - }, - { - "value": "ENABLE_IN_PROGRESS", - "name": "ENABLE_IN_PROGRESS" - }, - { - "value": "DISABLE_IN_PROGRESS", - "name": "DISABLE_IN_PROGRESS" - }, - { - "value": "SUSPEND_IN_PROGRESS", - "name": "SUSPEND_IN_PROGRESS" - }, - { - "value": "RESOURCE_NOT_FOUND", - "name": "RESOURCE_NOT_FOUND" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" - }, - { - "value": "SSM_UNAVAILABLE", - "name": "SSM_UNAVAILABLE" - }, - { - "value": "SSM_THROTTLED", - "name": "SSM_THROTTLED" - }, - { - "value": "EVENTBRIDGE_UNAVAILABLE", - "name": "EVENTBRIDGE_UNAVAILABLE" - }, - { - "value": "EVENTBRIDGE_THROTTLED", - "name": "EVENTBRIDGE_THROTTLED" - }, - { - "value": "RESOURCE_SCAN_NOT_DISABLED", - "name": "RESOURCE_SCAN_NOT_DISABLED" - }, - { - "value": "DISASSOCIATE_ALL_MEMBERS", - "name": "DISASSOCIATE_ALL_MEMBERS" - }, - { - "value": "ACCOUNT_IS_ISOLATED", - "name": "ACCOUNT_IS_ISOLATED" - }, - { - "value": "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", - "name": "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED" - }, - { - "value": "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED", - "name": "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED" - } - ] - } - }, - "com.amazonaws.inspector2#ErrorMessage": { - "type": "string" - }, - "com.amazonaws.inspector2#Evidence": { - "type": "structure", - "members": { - "evidenceRule": { - "target": "com.amazonaws.inspector2#EvidenceRule", - "traits": { - "smithy.api#documentation": "

The evidence rule.

" - } - }, - "evidenceDetail": { - "target": "com.amazonaws.inspector2#EvidenceDetail", - "traits": { - "smithy.api#documentation": "

The evidence details.

" - } - }, - "severity": { - "target": "com.amazonaws.inspector2#EvidenceSeverity", - "traits": { - "smithy.api#documentation": "

The evidence severity.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details of the evidence for a vulnerability identified in a finding.

" - } - }, - "com.amazonaws.inspector2#EvidenceDetail": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#EvidenceList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Evidence" - } - }, - "com.amazonaws.inspector2#EvidenceRule": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#EvidenceSeverity": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#ExecutionRoleArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$" - } - }, - "com.amazonaws.inspector2#ExploitAvailable": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "YES", - "name": "YES" - }, - { - "value": "NO", - "name": "NO" - } - ] - } - }, - "com.amazonaws.inspector2#ExploitObserved": { - "type": "structure", - "members": { - "lastSeen": { - "target": "com.amazonaws.inspector2#LastSeen", - "traits": { - "smithy.api#documentation": "

The date an time when the exploit was last seen.

" - } - }, - "firstSeen": { - "target": "com.amazonaws.inspector2#FirstSeen", - "traits": { - "smithy.api#documentation": "

The date an time when the exploit was first seen.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information on when this exploit was observed.

" - } - }, - "com.amazonaws.inspector2#ExploitabilityDetails": { - "type": "structure", - "members": { - "lastKnownExploitAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time of the last exploit associated with a finding discovered in your environment.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details of an exploit available for a finding discovered in your environment.

" - } - }, - "com.amazonaws.inspector2#ExternalReportStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUCCEEDED", - "name": "SUCCEEDED" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - }, - { - "value": "FAILED", - "name": "FAILED" - } - ] - } - }, - "com.amazonaws.inspector2#FailedAccount": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.inspector2#Status", - "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector for the account.

" - } - }, - "resourceStatus": { - "target": "com.amazonaws.inspector2#ResourceStatus", - "traits": { - "smithy.api#documentation": "

An object detailing which resources Amazon Inspector is enabled to scan for the account.

" - } - }, - "errorCode": { - "target": "com.amazonaws.inspector2#ErrorCode", - "traits": { - "smithy.api#documentation": "

The error code explaining why the account failed to enable Amazon Inspector.

", - "smithy.api#required": {} - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The error message received when the account failed to enable Amazon Inspector.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

An object with details on why an account failed to enable Amazon Inspector.

" - } - }, - "com.amazonaws.inspector2#FailedAccountList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FailedAccount" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusState": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member that failed to activate Amazon Inspector deep inspection.

", - "smithy.api#required": {} - } - }, - "ec2ScanStatus": { - "target": "com.amazonaws.inspector2#Status", - "traits": { - "smithy.api#documentation": "

The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection.

" - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The error message explaining why the account failed to activate Amazon Inspector deep inspection.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that contains details about a member account in your organization that failed to activate Amazon Inspector deep inspection.

" - } - }, - "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusState" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#FilePath": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#Filter": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.inspector2#FilterArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) associated with this filter.

", - "smithy.api#required": {} - } - }, - "ownerId": { - "target": "com.amazonaws.inspector2#OwnerId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the account that created the filter.

", - "smithy.api#required": {} - } - }, - "name": { - "target": "com.amazonaws.inspector2#FilterName", - "traits": { - "smithy.api#documentation": "

The name of the filter.

", - "smithy.api#required": {} - } - }, - "criteria": { - "target": "com.amazonaws.inspector2#FilterCriteria", - "traits": { - "smithy.api#documentation": "

Details on the filter criteria associated with this filter.

", - "smithy.api#required": {} - } - }, - "action": { - "target": "com.amazonaws.inspector2#FilterAction", - "traits": { - "smithy.api#documentation": "

The action that is to be applied to the findings that match the filter.

", - "smithy.api#required": {} - } - }, - "createdAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time this filter was created at.

", - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time the filter was last updated at.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.inspector2#FilterDescription", - "traits": { - "smithy.api#documentation": "

A description of the filter.

" - } - }, - "reason": { - "target": "com.amazonaws.inspector2#FilterReason", - "traits": { - "smithy.api#documentation": "

The reason for the filter.

" - } - }, - "tags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

The tags attached to the filter.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about a filter.

" - } - }, - "com.amazonaws.inspector2#FilterAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "SUPPRESS", - "name": "SUPPRESS" - } - ] - } - }, - "com.amazonaws.inspector2#FilterArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.inspector2#FilterArnList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FilterArn" - } - }, - "com.amazonaws.inspector2#FilterCriteria": { - "type": "structure", - "members": { - "findingArn": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the finding ARNs used to filter findings.

" - } - }, - "awsAccountId": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details of the Amazon Web Services account IDs used to filter findings.

" - } - }, - "findingType": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the finding types used to filter findings.

" - } - }, - "severity": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the severity used to filter findings.

" - } - }, - "firstObservedAt": { - "target": "com.amazonaws.inspector2#DateFilterList", - "traits": { - "smithy.api#documentation": "

Details on the date and time a finding was first seen used to filter findings.

" - } - }, - "lastObservedAt": { - "target": "com.amazonaws.inspector2#DateFilterList", - "traits": { - "smithy.api#documentation": "

Details on the date and time a finding was last seen used to filter findings.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.inspector2#DateFilterList", - "traits": { - "smithy.api#documentation": "

Details on the date and time a finding was last updated at used to filter findings.

" - } - }, - "findingStatus": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the finding status types used to filter findings.

" - } - }, - "title": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the finding title used to filter findings.

" - } - }, - "inspectorScore": { - "target": "com.amazonaws.inspector2#NumberFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon Inspector score to filter on.

" - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the resource types used to filter findings.

" - } - }, - "resourceId": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the resource IDs used to filter findings.

" - } - }, - "resourceTags": { - "target": "com.amazonaws.inspector2#MapFilterList", - "traits": { - "smithy.api#documentation": "

Details on the resource tags used to filter findings.

" - } - }, - "ec2InstanceImageId": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details of the Amazon EC2 instance image IDs used to filter findings.

" - } - }, - "ec2InstanceVpcId": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details of the Amazon EC2 instance VPC IDs used to filter findings.

" - } - }, - "ec2InstanceSubnetId": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details of the Amazon EC2 instance subnet IDs used to filter findings.

" - } - }, - "ecrImagePushedAt": { - "target": "com.amazonaws.inspector2#DateFilterList", - "traits": { - "smithy.api#documentation": "

Details on the Amazon ECR image push date and time used to filter findings.

" - } - }, - "ecrImageArchitecture": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details of the Amazon ECR image architecture types used to filter findings.

" - } - }, - "ecrImageRegistry": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the Amazon ECR registry used to filter findings.

" - } - }, - "ecrImageRepositoryName": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the name of the Amazon ECR repository used to filter findings.

" - } - }, - "ecrImageTags": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The tags attached to the Amazon ECR container image.

" - } - }, - "ecrImageHash": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details of the Amazon ECR image hashes used to filter findings.

" - } - }, - "portRange": { - "target": "com.amazonaws.inspector2#PortRangeFilterList", - "traits": { - "smithy.api#documentation": "

Details on the port ranges used to filter findings.

" - } - }, - "networkProtocol": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on network protocol used to filter findings.

" - } - }, - "componentId": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details of the component IDs used to filter findings.

" - } - }, - "componentType": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details of the component types used to filter findings.

" - } - }, - "vulnerabilityId": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the vulnerability ID used to filter findings.

" - } - }, - "vulnerabilitySource": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the vulnerability type used to filter findings.

" - } - }, - "vendorSeverity": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the vendor severity used to filter findings.

" - } - }, - "vulnerablePackages": { - "target": "com.amazonaws.inspector2#PackageFilterList", - "traits": { - "smithy.api#documentation": "

Details on the vulnerable packages used to filter findings.

" - } - }, - "relatedVulnerabilities": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on the related vulnerabilities used to filter findings.

" - } - }, - "fixAvailable": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

" - } - }, - "lambdaFunctionName": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by the name of the function.

" - } - }, - "lambdaFunctionLayers": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by the function's \n layers. A Lambda function can have up to five layers.

" - } - }, - "lambdaFunctionRuntime": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by the runtime environment for the Lambda function.

" - } - }, - "lambdaFunctionLastModifiedAt": { - "target": "com.amazonaws.inspector2#DateFilterList", - "traits": { - "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by the date and time that a user last updated the configuration, in ISO 8601 format\n

" - } - }, - "lambdaFunctionExecutionRoleArn": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by execution role.

" - } - }, - "exploitAvailable": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda findings by the availability of exploits.

" - } - }, - "codeVulnerabilityDetectorName": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The name of the detector used to identify a code vulnerability in a Lambda function used to filter findings.

" - } - }, - "codeVulnerabilityDetectorTags": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The detector type tag associated with the vulnerability used to filter findings. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.

" - } - }, - "codeVulnerabilityFilePath": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The file path to the file in a Lambda function that contains a code vulnerability used to filter findings.

" - } - }, - "epssScore": { - "target": "com.amazonaws.inspector2#NumberFilterList", - "traits": { - "smithy.api#documentation": "

The EPSS score used to filter findings.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details on the criteria used to define the filter.

" - } - }, - "com.amazonaws.inspector2#FilterDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 512 - } - } - }, - "com.amazonaws.inspector2#FilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Filter" - } - }, - "com.amazonaws.inspector2#FilterName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.inspector2#FilterReason": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 512 - } - } - }, - "com.amazonaws.inspector2#Finding": { - "type": "structure", - "members": { - "findingArn": { - "target": "com.amazonaws.inspector2#FindingArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the finding.

", - "smithy.api#required": {} - } - }, - "awsAccountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID associated with the finding.

", - "smithy.api#required": {} - } - }, - "type": { - "target": "com.amazonaws.inspector2#FindingType", - "traits": { - "smithy.api#documentation": "

The type of the finding. The type value determines the valid values for resource in your request. For more information, see Finding types in the Amazon Inspector user guide.

", - "smithy.api#required": {} - } - }, - "description": { - "target": "com.amazonaws.inspector2#FindingDescription", - "traits": { - "smithy.api#documentation": "

The description of the finding.

", - "smithy.api#required": {} - } - }, - "title": { - "target": "com.amazonaws.inspector2#FindingTitle", - "traits": { - "smithy.api#documentation": "

The title of the finding.

" - } - }, - "remediation": { - "target": "com.amazonaws.inspector2#Remediation", - "traits": { - "smithy.api#documentation": "

An object that contains the details about how to remediate a finding.

", - "smithy.api#required": {} - } - }, - "severity": { - "target": "com.amazonaws.inspector2#Severity", - "traits": { - "smithy.api#documentation": "

The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.

", - "smithy.api#required": {} - } - }, - "firstObservedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time that the finding was first observed.

", - "smithy.api#required": {} - } - }, - "lastObservedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

\n The date and time the finding was last observed. \n This timestamp for this field remains unchanged until a finding is updated.\n

", - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time the finding was last updated at.

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#FindingStatus", - "traits": { - "smithy.api#documentation": "

The status of the finding.

", - "smithy.api#required": {} - } - }, - "resources": { - "target": "com.amazonaws.inspector2#ResourceList", - "traits": { - "smithy.api#documentation": "

Contains information on the resources involved in a finding. The resource value determines the valid values for type in your request. For more information, see Finding types in the Amazon Inspector user guide.

", - "smithy.api#required": {} - } - }, - "inspectorScore": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "

The Amazon Inspector score given to the finding.

" - } - }, - "inspectorScoreDetails": { - "target": "com.amazonaws.inspector2#InspectorScoreDetails", - "traits": { - "smithy.api#documentation": "

An object that contains details of the Amazon Inspector score.

" - } - }, - "networkReachabilityDetails": { - "target": "com.amazonaws.inspector2#NetworkReachabilityDetails", - "traits": { - "smithy.api#documentation": "

An object that contains the details of a network reachability finding.

" - } - }, - "packageVulnerabilityDetails": { - "target": "com.amazonaws.inspector2#PackageVulnerabilityDetails", - "traits": { - "smithy.api#documentation": "

An object that contains the details of a package vulnerability finding.

" - } - }, - "fixAvailable": { - "target": "com.amazonaws.inspector2#FixAvailable", - "traits": { - "smithy.api#documentation": "

Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

" - } - }, - "exploitAvailable": { - "target": "com.amazonaws.inspector2#ExploitAvailable", - "traits": { - "smithy.api#documentation": "

If a finding discovered in your environment has an exploit available.

" - } - }, - "exploitabilityDetails": { - "target": "com.amazonaws.inspector2#ExploitabilityDetails", - "traits": { - "smithy.api#documentation": "

The details of an exploit available for a finding discovered in your environment.

" - } - }, - "codeVulnerabilityDetails": { - "target": "com.amazonaws.inspector2#CodeVulnerabilityDetails", - "traits": { - "smithy.api#documentation": "

Details about the code vulnerability identified in a Lambda function used to filter findings.

" - } - }, - "epss": { - "target": "com.amazonaws.inspector2#EpssDetails", - "traits": { - "smithy.api#documentation": "

The finding's EPSS score.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about an Amazon Inspector finding.

" - } - }, - "com.amazonaws.inspector2#FindingArn": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 100 - }, - "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:finding/[a-f0-9]{32}$" - } - }, - "com.amazonaws.inspector2#FindingArnList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FindingArn" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#FindingArns": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FindingArn" - } - }, - "com.amazonaws.inspector2#FindingDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#FindingDetail": { - "type": "structure", - "members": { - "findingArn": { - "target": "com.amazonaws.inspector2#FindingArn", - "traits": { - "smithy.api#documentation": "

The finding ARN that the vulnerability details are associated with.

" - } - }, - "cisaData": { - "target": "com.amazonaws.inspector2#CisaData" - }, - "riskScore": { - "target": "com.amazonaws.inspector2#RiskScore", - "traits": { - "smithy.api#documentation": "

The risk score of the vulnerability.

" - } - }, - "evidences": { - "target": "com.amazonaws.inspector2#EvidenceList", - "traits": { - "smithy.api#documentation": "

Information on the evidence of the vulnerability.

" - } - }, - "ttps": { - "target": "com.amazonaws.inspector2#Ttps", - "traits": { - "smithy.api#documentation": "

The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.

" - } - }, - "tools": { - "target": "com.amazonaws.inspector2#Tools", - "traits": { - "smithy.api#documentation": "

The known malware tools or kits that can exploit the vulnerability.

" - } - }, - "exploitObserved": { - "target": "com.amazonaws.inspector2#ExploitObserved" - }, - "referenceUrls": { - "target": "com.amazonaws.inspector2#VulnerabilityReferenceUrls", - "traits": { - "smithy.api#documentation": "

The reference URLs for the vulnerability data.

" - } - }, - "cwes": { - "target": "com.amazonaws.inspector2#Cwes", - "traits": { - "smithy.api#documentation": "

The Common Weakness Enumerations (CWEs) associated with the vulnerability.

" - } - }, - "epssScore": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "

The Exploit Prediction Scoring System (EPSS) score of the vulnerability.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details of the vulnerability identified in a finding.

" - } - }, - "com.amazonaws.inspector2#FindingDetails": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FindingDetail" - }, - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#FindingDetailsError": { - "type": "structure", - "members": { - "findingArn": { - "target": "com.amazonaws.inspector2#FindingArn", - "traits": { - "smithy.api#documentation": "

The finding ARN that returned an error.

", - "smithy.api#required": {} - } - }, - "errorCode": { - "target": "com.amazonaws.inspector2#FindingDetailsErrorCode", - "traits": { - "smithy.api#documentation": "

The error code.

", - "smithy.api#required": {} - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The error message.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about an error encountered when trying to return vulnerability data for a finding.

" - } - }, - "com.amazonaws.inspector2#FindingDetailsErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "FINDING_DETAILS_NOT_FOUND", - "name": "FINDING_DETAILS_NOT_FOUND" - }, - { - "value": "INVALID_INPUT", - "name": "INVALID_INPUT" - } - ] - } - }, - "com.amazonaws.inspector2#FindingDetailsErrorList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FindingDetailsError" - } - }, - "com.amazonaws.inspector2#FindingList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Finding" - }, - "traits": { - "smithy.api#length": { - "max": 25 - } - } - }, - "com.amazonaws.inspector2#FindingStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "SUPPRESSED", - "name": "SUPPRESSED" - }, - { - "value": "CLOSED", - "name": "CLOSED" - } - ] - } - }, - "com.amazonaws.inspector2#FindingTitle": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#FindingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NETWORK_REACHABILITY", - "name": "NETWORK_REACHABILITY" - }, - { - "value": "PACKAGE_VULNERABILITY", - "name": "PACKAGE_VULNERABILITY" - }, - { - "value": "CODE_VULNERABILITY", - "name": "CODE_VULNERABILITY" - } - ] - } - }, - "com.amazonaws.inspector2#FindingTypeAggregation": { - "type": "structure", - "members": { - "findingType": { - "target": "com.amazonaws.inspector2#AggregationFindingType", - "traits": { - "smithy.api#documentation": "

The finding type to aggregate.

" - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#AggregationResourceType", - "traits": { - "smithy.api#documentation": "

The resource type to aggregate.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to sort results by.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#FindingTypeSortBy", - "traits": { - "smithy.api#documentation": "

The value to sort results by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define an aggregation based on finding type.

" - } - }, - "com.amazonaws.inspector2#FindingTypeAggregationResponse": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The ID of the Amazon Web Services account associated with the findings.

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

The value to sort results by.

" - } - }, - "exploitAvailableCount": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The number of findings that have an exploit available.

" - } - }, - "fixAvailableCount": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

\n Details about the number of fixes.\n

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains the results of a finding type aggregation.

" - } - }, - "com.amazonaws.inspector2#FindingTypeSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#FirstSeen": { - "type": "timestamp" - }, - "com.amazonaws.inspector2#FixAvailable": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "YES", - "name": "YES" - }, - { - "value": "NO", - "name": "NO" - }, - { - "value": "PARTIAL", - "name": "PARTIAL" - } - ] - } - }, - "com.amazonaws.inspector2#FreeTrialAccountInfo": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#MeteringAccountId", - "traits": { - "smithy.api#documentation": "

The account associated with the Amazon Inspector free trial information.

", - "smithy.api#required": {} - } - }, - "freeTrialInfo": { - "target": "com.amazonaws.inspector2#FreeTrialInfoList", - "traits": { - "smithy.api#documentation": "

Contains information about the Amazon Inspector free trial for an account.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about the Amazon Inspector free trial for an account.

" - } - }, - "com.amazonaws.inspector2#FreeTrialAccountInfoList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FreeTrialAccountInfo" - } - }, - "com.amazonaws.inspector2#FreeTrialInfo": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.inspector2#FreeTrialType", - "traits": { - "smithy.api#documentation": "

The type of scan covered by the Amazon Inspector free trail.

", - "smithy.api#required": {} - } - }, - "start": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time that the Amazon Inspector free trail started for a given account.

", - "smithy.api#required": {} - } - }, - "end": { - "target": "smithy.api#Timestamp", - "traits": { - "smithy.api#documentation": "

The date and time that the Amazon Inspector free trail ends for a given account.

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.inspector2#FreeTrialStatus", - "traits": { - "smithy.api#documentation": "

The order to sort results by.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that contains information about the Amazon Inspector free trial for an account.

" - } - }, - "com.amazonaws.inspector2#FreeTrialInfoError": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#MeteringAccountId", - "traits": { - "smithy.api#documentation": "

The account associated with the Amazon Inspector free trial information.

", - "smithy.api#required": {} - } - }, - "code": { - "target": "com.amazonaws.inspector2#FreeTrialInfoErrorCode", - "traits": { - "smithy.api#documentation": "

The error code.

", - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The error message returned.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about an error received while accessing free trail data for an account.

" - } - }, - "com.amazonaws.inspector2#FreeTrialInfoErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "ACCESS_DENIED", - "value": "ACCESS_DENIED" - }, - { - "name": "INTERNAL_ERROR", - "value": "INTERNAL_ERROR" - } - ] - } - }, - "com.amazonaws.inspector2#FreeTrialInfoErrorList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FreeTrialInfoError" - } - }, - "com.amazonaws.inspector2#FreeTrialInfoList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#FreeTrialInfo" - } - }, - "com.amazonaws.inspector2#FreeTrialStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "ACTIVE", - "value": "ACTIVE" - }, - { - "name": "INACTIVE", - "value": "INACTIVE" - } - ] - } - }, - "com.amazonaws.inspector2#FreeTrialType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "EC2", - "value": "EC2" - }, - { - "name": "ECR", - "value": "ECR" - }, - { - "name": "LAMBDA", - "value": "LAMBDA" - }, - { - "name": "LAMBDA_CODE", - "value": "LAMBDA_CODE" - } - ] - } - }, - "com.amazonaws.inspector2#FunctionName": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$" - } - }, - "com.amazonaws.inspector2#GetCisScanReport": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetCisScanReportRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetCisScanReportResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves a CIS scan report.

", - "smithy.api#examples": [ - { - "title": "Sample GetCisScanReport Call", - "input": { - "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", - "reportFormat": "PDF" - }, - "output": { - "url": "www.s3.amazon.com/abcdef", - "status": "SUCCEEDED" - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan/report/get" - } - } - }, - "com.amazonaws.inspector2#GetCisScanReportRequest": { - "type": "structure", - "members": { - "scanArn": { - "target": "com.amazonaws.inspector2#CisScanArn", - "traits": { - "smithy.api#documentation": "

The scan ARN.

", - "smithy.api#required": {} - } - }, - "targetAccounts": { - "target": "com.amazonaws.inspector2#ReportTargetAccounts", - "traits": { - "smithy.api#documentation": "

The target accounts.

" - } - }, - "reportFormat": { - "target": "com.amazonaws.inspector2#CisReportFormat", - "traits": { - "smithy.api#default": "PDF", - "smithy.api#documentation": "

\n The format of the report. \n Valid values are PDF and CSV. \n If no value is specified, the report format defaults to PDF.\n

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#GetCisScanReportResponse": { - "type": "structure", - "members": { - "url": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

\n The URL where a PDF or CSV of the CIS scan report can be downloaded.\n

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#CisReportStatus", - "traits": { - "smithy.api#documentation": "

The status.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#GetCisScanResultDetails": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetCisScanResultDetailsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetCisScanResultDetailsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves CIS scan result details.

", - "smithy.api#examples": [ - { - "title": "Sample GetCisScanResultDetails Call", - "input": { - "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", - "targetResourceId": "i-12341234", - "accountId": "123412341234" - }, - "output": { - "scanResultDetails": [ - { - "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", - "accountId": "123412341234", - "targetResourceId": "i-12341234", - "platform": "AMAZON_LINUX_2", - "status": "PASSED", - "checkId": "1.1.1.1", - "title": "title1", - "checkDescription": "description", - "remediation": "fix", - "level": "LEVEL_1" - } - ] - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan-result/details/get" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "scanResultDetails", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.inspector2#GetCisScanResultDetailsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 1000 - } - } - }, - "com.amazonaws.inspector2#GetCisScanResultDetailsRequest": { - "type": "structure", - "members": { - "scanArn": { - "target": "com.amazonaws.inspector2#CisScanArn", - "traits": { - "smithy.api#documentation": "

The scan ARN.

", - "smithy.api#required": {} - } - }, - "targetResourceId": { - "target": "com.amazonaws.inspector2#ResourceId", - "traits": { - "smithy.api#documentation": "

The target resource ID.

", - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The account ID.

", - "smithy.api#required": {} - } - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#CisScanResultDetailsFilterCriteria", - "traits": { - "smithy.api#documentation": "

The filter criteria.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#CisScanResultDetailsSortBy", - "traits": { - "smithy.api#default": "CHECK_ID", - "smithy.api#documentation": "

The sort by order.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#CisSortOrder", - "traits": { - "smithy.api#documentation": "

The sort order.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#GetCisScanResultDetailsMaxResults", - "traits": { - "smithy.api#default": 300, - "smithy.api#documentation": "

The maximum number of CIS scan result details to be returned in a single page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#GetCisScanResultDetailsResponse": { - "type": "structure", - "members": { - "scanResultDetails": { - "target": "com.amazonaws.inspector2#CisScanResultDetailsList", - "traits": { - "smithy.api#documentation": "

The scan result details.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#GetConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves setting configurations for Inspector scans.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/configuration/get" - } - } - }, - "com.amazonaws.inspector2#GetConfigurationRequest": { - "type": "structure", - "members": {} - }, - "com.amazonaws.inspector2#GetConfigurationResponse": { - "type": "structure", - "members": { - "ecrConfiguration": { - "target": "com.amazonaws.inspector2#EcrConfigurationState", - "traits": { - "smithy.api#documentation": "

Specifies how the ECR automated re-scan duration is currently configured for your environment.

" - } - }, - "ec2Configuration": { - "target": "com.amazonaws.inspector2#Ec2ConfigurationState", - "traits": { - "smithy.api#documentation": "

Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.

" - } - } - } - }, - "com.amazonaws.inspector2#GetDelegatedAdminAccount": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetDelegatedAdminAccountRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetDelegatedAdminAccountResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves information about the Amazon Inspector delegated administrator for your\n organization.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/delegatedadminaccounts/get" - } - } - }, - "com.amazonaws.inspector2#GetDelegatedAdminAccountRequest": { - "type": "structure", - "members": {} - }, - "com.amazonaws.inspector2#GetDelegatedAdminAccountResponse": { - "type": "structure", - "members": { - "delegatedAdmin": { - "target": "com.amazonaws.inspector2#DelegatedAdmin", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

" - } - } - } - }, - "com.amazonaws.inspector2#GetEc2DeepInspectionConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - } - ], - "traits": { - "smithy.api#documentation": "

Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account. \n

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/ec2deepinspectionconfiguration/get" - } - } - }, - "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationResponse": { - "type": "structure", - "members": { - "packagePaths": { - "target": "com.amazonaws.inspector2#PathList", - "traits": { - "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths for your account.

" - } - }, - "orgPackagePaths": { - "target": "com.amazonaws.inspector2#PathList", - "traits": { - "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths for your organization.

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", - "traits": { - "smithy.api#documentation": "

The activation status of Amazon Inspector deep inspection in your account.

" - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#GetEncryptionKey": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetEncryptionKeyRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetEncryptionKeyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets an encryption key.

", - "smithy.api#http": { - "code": 200, - "method": "GET", - "uri": "/encryptionkey/get" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.inspector2#GetEncryptionKeyRequest": { - "type": "structure", - "members": { - "scanType": { - "target": "com.amazonaws.inspector2#ScanType", - "traits": { - "smithy.api#documentation": "

The scan type the key encrypts.

", - "smithy.api#httpQuery": "scanType", - "smithy.api#required": {} - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#ResourceType", - "traits": { - "smithy.api#documentation": "

The resource type the key encrypts.

", - "smithy.api#httpQuery": "resourceType", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#GetEncryptionKeyResponse": { - "type": "structure", - "members": { - "kmsKeyId": { - "target": "com.amazonaws.inspector2#KmsKeyArn", - "traits": { - "smithy.api#documentation": "

A kms key ID.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#GetFindingsReportStatus": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetFindingsReportStatusRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetFindingsReportStatusResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets the status of a findings report.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/reporting/status/get" - } - } - }, - "com.amazonaws.inspector2#GetFindingsReportStatusRequest": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The ID of the report to retrieve the status of.

" - } - } - } - }, - "com.amazonaws.inspector2#GetFindingsReportStatusResponse": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The ID of the report.

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#ExternalReportStatus", - "traits": { - "smithy.api#documentation": "

The status of the report.

" - } - }, - "errorCode": { - "target": "com.amazonaws.inspector2#ReportingErrorCode", - "traits": { - "smithy.api#documentation": "

The error code of the report.

" - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#ErrorMessage", - "traits": { - "smithy.api#documentation": "

The error message of the report.

" - } - }, - "destination": { - "target": "com.amazonaws.inspector2#Destination", - "traits": { - "smithy.api#documentation": "

The destination of the report.

" - } - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#FilterCriteria", - "traits": { - "smithy.api#documentation": "

The filter criteria associated with the report.

" - } - } - } - }, - "com.amazonaws.inspector2#GetMember": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetMemberRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetMemberResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets member information for your organization.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/members/get" - } - } - }, - "com.amazonaws.inspector2#GetMemberRequest": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the member account to retrieve information on.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#GetMemberResponse": { - "type": "structure", - "members": { - "member": { - "target": "com.amazonaws.inspector2#Member", - "traits": { - "smithy.api#documentation": "

Details of the retrieved member account.

" - } - } - } - }, - "com.amazonaws.inspector2#GetSbomExport": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#GetSbomExportRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#GetSbomExportResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Gets details of a software bill of materials (SBOM) report.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/sbomexport/get" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#GetSbomExportRequest": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The report ID of the SBOM export to get details for.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#GetSbomExportResponse": { - "type": "structure", - "members": { - "reportId": { - "target": "com.amazonaws.inspector2#ReportId", - "traits": { - "smithy.api#documentation": "

The report ID of the software bill of materials (SBOM) report.

" - } - }, - "format": { - "target": "com.amazonaws.inspector2#SbomReportFormat", - "traits": { - "smithy.api#documentation": "

The format of the software bill of materials (SBOM) report.

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#ExternalReportStatus", - "traits": { - "smithy.api#documentation": "

The status of the software bill of materials (SBOM) report.

" - } - }, - "errorCode": { - "target": "com.amazonaws.inspector2#ReportingErrorCode", - "traits": { - "smithy.api#documentation": "

An error code.

" - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

An error message.

" - } - }, - "s3Destination": { - "target": "com.amazonaws.inspector2#Destination" - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#ResourceFilterCriteria", - "traits": { - "smithy.api#documentation": "

Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#GroupKey": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SCAN_STATUS_CODE", - "name": "SCAN_STATUS_CODE" - }, - { - "value": "SCAN_STATUS_REASON", - "name": "SCAN_STATUS_REASON" - }, - { - "value": "ACCOUNT_ID", - "name": "ACCOUNT_ID" - }, - { - "value": "RESOURCE_TYPE", - "name": "RESOURCE_TYPE" - }, - { - "value": "ECR_REPOSITORY_NAME", - "name": "ECR_REPOSITORY_NAME" - } - ] - } - }, - "com.amazonaws.inspector2#ImageHash": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 71, - "max": 71 - }, - "smithy.api#pattern": "^sha256:[a-z0-9]{64}$" - } - }, - "com.amazonaws.inspector2#ImageLayerAggregation": { - "type": "structure", - "members": { - "repositories": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The repository associated with the container image hosting the layers.

" - } - }, - "resourceIds": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The ID of the container image layer.

" - } - }, - "layerHashes": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The hashes associated with the layers.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to sort results by.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#ImageLayerSortBy", - "traits": { - "smithy.api#documentation": "

The value to sort results by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define an aggregation based on container image layers.

" - } - }, - "com.amazonaws.inspector2#ImageLayerAggregationResponse": { - "type": "structure", - "members": { - "repository": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The repository the layer resides in.

", - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The resource ID of the container image layer.

", - "smithy.api#required": {} - } - }, - "layerHash": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The layer hash.

", - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The ID of the Amazon Web Services account that owns the container image hosting the layer image.

", - "smithy.api#required": {} - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

An object that represents the count of matched findings per severity.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains the results of a finding aggregation by image layer.

" - } - }, - "com.amazonaws.inspector2#ImageLayerSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#ImageTagList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#NonEmptyString" - } - }, - "com.amazonaws.inspector2#Inspector2": { - "type": "service", - "version": "2020-06-08", - "operations": [ - { - "target": "com.amazonaws.inspector2#AssociateMember" - }, - { - "target": "com.amazonaws.inspector2#BatchGetAccountStatus" - }, - { - "target": "com.amazonaws.inspector2#BatchGetCodeSnippet" - }, - { - "target": "com.amazonaws.inspector2#BatchGetFindingDetails" - }, - { - "target": "com.amazonaws.inspector2#BatchGetFreeTrialInfo" - }, - { - "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatus" - }, - { - "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatus" - }, - { - "target": "com.amazonaws.inspector2#CancelFindingsReport" - }, - { - "target": "com.amazonaws.inspector2#CancelSbomExport" - }, - { - "target": "com.amazonaws.inspector2#CreateCisScanConfiguration" - }, - { - "target": "com.amazonaws.inspector2#CreateFilter" - }, - { - "target": "com.amazonaws.inspector2#CreateFindingsReport" - }, - { - "target": "com.amazonaws.inspector2#CreateSbomExport" - }, - { - "target": "com.amazonaws.inspector2#DeleteCisScanConfiguration" - }, - { - "target": "com.amazonaws.inspector2#DeleteFilter" - }, - { - "target": "com.amazonaws.inspector2#DescribeOrganizationConfiguration" - }, - { - "target": "com.amazonaws.inspector2#Disable" - }, - { - "target": "com.amazonaws.inspector2#DisableDelegatedAdminAccount" - }, - { - "target": "com.amazonaws.inspector2#DisassociateMember" - }, - { - "target": "com.amazonaws.inspector2#Enable" - }, - { - "target": "com.amazonaws.inspector2#EnableDelegatedAdminAccount" - }, - { - "target": "com.amazonaws.inspector2#GetCisScanReport" - }, - { - "target": "com.amazonaws.inspector2#GetCisScanResultDetails" - }, - { - "target": "com.amazonaws.inspector2#GetConfiguration" - }, - { - "target": "com.amazonaws.inspector2#GetDelegatedAdminAccount" - }, - { - "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfiguration" - }, - { - "target": "com.amazonaws.inspector2#GetEncryptionKey" - }, - { - "target": "com.amazonaws.inspector2#GetFindingsReportStatus" - }, - { - "target": "com.amazonaws.inspector2#GetMember" - }, - { - "target": "com.amazonaws.inspector2#GetSbomExport" - }, - { - "target": "com.amazonaws.inspector2#ListAccountPermissions" - }, - { - "target": "com.amazonaws.inspector2#ListCisScanConfigurations" - }, - { - "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecks" - }, - { - "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResource" - }, - { - "target": "com.amazonaws.inspector2#ListCisScans" - }, - { - "target": "com.amazonaws.inspector2#ListCoverage" - }, - { - "target": "com.amazonaws.inspector2#ListCoverageStatistics" - }, - { - "target": "com.amazonaws.inspector2#ListDelegatedAdminAccounts" - }, - { - "target": "com.amazonaws.inspector2#ListFilters" - }, - { - "target": "com.amazonaws.inspector2#ListFindingAggregations" - }, - { - "target": "com.amazonaws.inspector2#ListFindings" - }, - { - "target": "com.amazonaws.inspector2#ListMembers" - }, - { - "target": "com.amazonaws.inspector2#ListTagsForResource" - }, - { - "target": "com.amazonaws.inspector2#ListUsageTotals" - }, - { - "target": "com.amazonaws.inspector2#ResetEncryptionKey" - }, - { - "target": "com.amazonaws.inspector2#SearchVulnerabilities" - }, - { - "target": "com.amazonaws.inspector2#SendCisSessionHealth" - }, - { - "target": "com.amazonaws.inspector2#SendCisSessionTelemetry" - }, - { - "target": "com.amazonaws.inspector2#StartCisSession" - }, - { - "target": "com.amazonaws.inspector2#StopCisSession" - }, - { - "target": "com.amazonaws.inspector2#TagResource" - }, - { - "target": "com.amazonaws.inspector2#UntagResource" - }, - { - "target": "com.amazonaws.inspector2#UpdateCisScanConfiguration" - }, - { - "target": "com.amazonaws.inspector2#UpdateConfiguration" - }, - { - "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfiguration" - }, - { - "target": "com.amazonaws.inspector2#UpdateEncryptionKey" - }, - { - "target": "com.amazonaws.inspector2#UpdateFilter" - }, - { - "target": "com.amazonaws.inspector2#UpdateOrganizationConfiguration" - }, - { - "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfiguration" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "Inspector2", - "arnNamespace": "inspector2", - "cloudTrailEventSource": "inspector2.amazon.aws", - "cloudFormationName": "Inspector2" - }, - "aws.auth#sigv4": { - "name": "inspector2" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "*" - ] - }, - "smithy.api#documentation": "

Amazon Inspector is a vulnerability discovery service that automates continuous scanning for\n security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.

", - "smithy.api#title": "Inspector2", - "smithy.rules#endpointRuleSet": { - "version": "1.0", - "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, - "UseDualStack": { - "builtIn": "AWS::UseDualStack", - "required": true, - "default": false, - "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean" - }, - "UseFIPS": { - "builtIn": "AWS::UseFIPS", - "required": true, - "default": false, - "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean" - }, - "Endpoint": { - "builtIn": "SDK::Endpoint", - "required": false, - "documentation": "Override the endpoint used to send this request", - "type": "String" - } - }, - "rules": [ - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Endpoint" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "error": "Invalid Configuration: FIPS and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://inspector2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://inspector2-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://inspector2.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://inspector2.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.ap-east-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.ap-south-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.ca-central-1.amazonaws.com" - } - }, - "params": { - "Region": "ca-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.eu-north-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.eu-south-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.eu-west-3.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-3", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.me-south-1.amazonaws.com" - } - }, - "params": { - "Region": "me-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.sa-east-1.amazonaws.com" - } - }, - "params": { - "Region": "sa-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-west-1.amazonaws.com" - } - }, - "params": { - "Region": "us-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://inspector2-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://inspector2-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://inspector2.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://inspector2-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://inspector2.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.inspector2#InspectorScoreDetails": { - "type": "structure", - "members": { - "adjustedCvss": { - "target": "com.amazonaws.inspector2#CvssScoreDetails", - "traits": { - "smithy.api#documentation": "

An object that contains details about the CVSS score given to a finding.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about the Amazon Inspector score given to a finding.

" - } - }, - "com.amazonaws.inspector2#InternalServerException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "retryAfterSeconds": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The number of seconds to wait before retrying the request.

", - "smithy.api#httpHeader": "Retry-After" - } - } - }, - "traits": { - "smithy.api#documentation": "

The request has failed due to an internal failure of the Amazon Inspector service.

", - "smithy.api#error": "server", - "smithy.api#httpError": 500, - "smithy.api#retryable": {} - } - }, - "com.amazonaws.inspector2#IpV4Address": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 7, - "max": 15 - }, - "smithy.api#pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" - } - }, - "com.amazonaws.inspector2#IpV4AddressList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#IpV4Address" - } - }, - "com.amazonaws.inspector2#IpV6Address": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 47 - } - } - }, - "com.amazonaws.inspector2#IpV6AddressList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#IpV6Address" - } - }, - "com.amazonaws.inspector2#KmsKeyArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:aws(-(us-gov|cn))?:kms:([a-z0-9][-.a-z0-9]{0,62})?:[0-9]{12}?:key/(([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|(mrk-[0-9a-zA-Z]{32}))$" - } - }, - "com.amazonaws.inspector2#LambdaFunctionAggregation": { - "type": "structure", - "members": { - "resourceIds": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The resource IDs to include in the aggregation results.

" - } - }, - "functionNames": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Lambda function names to include in the aggregation results.

" - } - }, - "runtimes": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

Returns findings aggregated by Amazon Web Services Lambda function runtime environments.

" - } - }, - "functionTags": { - "target": "com.amazonaws.inspector2#MapFilterList", - "traits": { - "smithy.api#documentation": "

The tags to include in the aggregation results.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to use for sorting the results.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#LambdaFunctionSortBy", - "traits": { - "smithy.api#documentation": "

The finding severity to use for sorting the results.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define a findings aggregation based on Amazon Web Services Lambda functions.

" - } - }, - "com.amazonaws.inspector2#LambdaFunctionAggregationResponse": { - "type": "structure", - "members": { - "resourceId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The resource IDs included in the aggregation results.

", - "smithy.api#required": {} - } - }, - "functionName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Lambda function names included in the aggregation results.

" - } - }, - "runtime": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The runtimes included in the aggregation results.

" - } - }, - "lambdaTags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

The tags included in the aggregation results.

" - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The ID of the Amazon Web Services account that owns the Amazon Web Services Lambda function.\n

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts" - }, - "lastModifiedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date that the Amazon Web Services Lambda function included in the aggregation results was last changed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains the results of an Amazon Web Services Lambda function finding aggregation.

" - } - }, - "com.amazonaws.inspector2#LambdaFunctionMetadata": { - "type": "structure", - "members": { - "functionTags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

The resource tags on an Amazon Web Services Lambda function.

" - } - }, - "layers": { - "target": "com.amazonaws.inspector2#LambdaLayerList", - "traits": { - "smithy.api#documentation": "

The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.

" - } - }, - "functionName": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The name of a function.

" - } - }, - "runtime": { - "target": "com.amazonaws.inspector2#Runtime", - "traits": { - "smithy.api#documentation": "

An Amazon Web Services Lambda function's runtime.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Lambda function metadata.

" - } - }, - "com.amazonaws.inspector2#LambdaFunctionSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#LambdaLayerAggregation": { - "type": "structure", - "members": { - "functionNames": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The names of the Amazon Web Services Lambda functions associated with the layers.

" - } - }, - "resourceIds": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The resource IDs for the Amazon Web Services Lambda function layers.

" - } - }, - "layerArns": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.\n

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to use for sorting the results.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#LambdaLayerSortBy", - "traits": { - "smithy.api#documentation": "

The finding severity to use for sorting the results.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define a findings aggregation based on an Amazon Web Services Lambda function's layers.

" - } - }, - "com.amazonaws.inspector2#LambdaLayerAggregationResponse": { - "type": "structure", - "members": { - "functionName": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The names of the Amazon Web Services Lambda functions associated with the layers.

", - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Resource ID of the Amazon Web Services Lambda function layer.

", - "smithy.api#required": {} - } - }, - "layerArn": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.

", - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The account ID of the Amazon Web Services Lambda function layer.

", - "smithy.api#required": {} - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts" - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains the results of an Amazon Web Services Lambda function layer finding aggregation.

" - } - }, - "com.amazonaws.inspector2#LambdaLayerArn": { - "type": "string", - "traits": { - "smithy.api#pattern": "^arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+$" - } - }, - "com.amazonaws.inspector2#LambdaLayerList": { - "type": "list", - "member": { - "target": "smithy.api#String" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 5 - } - } - }, - "com.amazonaws.inspector2#LambdaLayerSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#LambdaVpcConfig": { - "type": "structure", - "members": { - "subnetIds": { - "target": "com.amazonaws.inspector2#SubnetIdList", - "traits": { - "smithy.api#documentation": "

A list of VPC subnet IDs.

" - } - }, - "securityGroupIds": { - "target": "com.amazonaws.inspector2#SecurityGroupIdList", - "traits": { - "smithy.api#documentation": "

The VPC security groups and subnets that are attached to an Amazon Web Services Lambda function. For more information, see VPC Settings.

" - } - }, - "vpcId": { - "target": "com.amazonaws.inspector2#VpcId", - "traits": { - "smithy.api#documentation": "

The ID of the VPC.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The VPC security groups and subnets that are attached to an Amazon Web Services Lambda function. For more information, see VPC Settings.

" - } - }, - "com.amazonaws.inspector2#LastSeen": { - "type": "timestamp" - }, - "com.amazonaws.inspector2#LayerList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#LambdaLayerArn" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.inspector2#ListAccountPermissions": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListAccountPermissionsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListAccountPermissionsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the permissions an account has to configure Amazon Inspector.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/accountpermissions/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "permissions" - } - } - }, - "com.amazonaws.inspector2#ListAccountPermissionsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#ListAccountPermissionsRequest": { - "type": "structure", - "members": { - "service": { - "target": "com.amazonaws.inspector2#Service", - "traits": { - "smithy.api#documentation": "

The service scan type to check permissions for.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#ListAccountPermissionsMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListAccountPermissionsResponse": { - "type": "structure", - "members": { - "permissions": { - "target": "com.amazonaws.inspector2#Permissions", - "traits": { - "smithy.api#documentation": "

Contains details on the permissions an account has to configure Amazon Inspector.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListCisScanConfigurations": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListCisScanConfigurationsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListCisScanConfigurationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists CIS scan configurations.

", - "smithy.api#examples": [ - { - "title": "Sample ListCisScanConfigurations Call", - "input": {}, - "output": { - "scanConfigurations": [ - { - "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38", - "ownerId": "123412341234", - "scanName": "sample", - "securityLevel": "LEVEL_1", - "schedule": { - "daily": { - "startTime": { - "timeOfDay": "12:34", - "timezone": "UTC" - } - } - }, - "targets": { - "accountIds": [ - "123412341234" - ], - "targetResourceTags": { - "key": [ - "value" - ] - } - } - } - ] - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan-configuration/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "scanConfigurations", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.inspector2#ListCisScanConfigurationsFilterCriteria": { - "type": "structure", - "members": { - "scanNameFilters": { - "target": "com.amazonaws.inspector2#CisScanNameFilterList", - "traits": { - "smithy.api#documentation": "

The list of scan name filters.

" - } - }, - "targetResourceTagFilters": { - "target": "com.amazonaws.inspector2#ResourceTagFilterList", - "traits": { - "smithy.api#documentation": "

The list of target resource tag filters.

" - } - }, - "scanConfigurationArnFilters": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArnFilterList", - "traits": { - "smithy.api#documentation": "

The list of scan configuration ARN filters.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A list of CIS scan configurations filter criteria.

" - } - }, - "com.amazonaws.inspector2#ListCisScanConfigurationsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#ListCisScanConfigurationsRequest": { - "type": "structure", - "members": { - "filterCriteria": { - "target": "com.amazonaws.inspector2#ListCisScanConfigurationsFilterCriteria", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration filter criteria.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#CisScanConfigurationsSortBy", - "traits": { - "smithy.api#default": "SCAN_NAME", - "smithy.api#documentation": "

The CIS scan configuration sort by order.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#CisSortOrder", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration sort order order.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#ListCisScanConfigurationsMaxResults", - "traits": { - "smithy.api#default": 100, - "smithy.api#documentation": "

The maximum number of CIS scan configurations to be returned in a single page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#ListCisScanConfigurationsResponse": { - "type": "structure", - "members": { - "scanConfigurations": { - "target": "com.amazonaws.inspector2#CisScanConfigurationList", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration scan configurations.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecks": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecksRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecksResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists scan results aggregated by checks.

", - "smithy.api#examples": [ - { - "title": "Sample ListCisScanResultsAggregatedByChecks Call", - "input": { - "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38" - }, - "output": { - "checkAggregations": [ - { - "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", - "checkId": "1.1.1.1", - "title": "title1", - "checkDescription": "description", - "level": "LEVEL_1", - "accountId": "123412341234", - "statusCounts": { - "failed": 0, - "skipped": 1, - "passed": 2 - }, - "platform": "AMAZON_LINUX_2" - } - ] - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan-result/check/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "checkAggregations", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecksRequest": { - "type": "structure", - "members": { - "scanArn": { - "target": "com.amazonaws.inspector2#CisScanArn", - "traits": { - "smithy.api#documentation": "

The scan ARN.

", - "smithy.api#required": {} - } - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#CisScanResultsAggregatedByChecksFilterCriteria", - "traits": { - "smithy.api#documentation": "

The filter criteria.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#CisScanResultsAggregatedByChecksSortBy", - "traits": { - "smithy.api#default": "FAILED_COUNTS", - "smithy.api#documentation": "

The sort by order.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#CisSortOrder", - "traits": { - "smithy.api#documentation": "

The sort order.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#CisScanResultsMaxResults", - "traits": { - "smithy.api#default": 100, - "smithy.api#documentation": "

The maximum number of scan results aggregated by checks to be returned in a single page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecksResponse": { - "type": "structure", - "members": { - "checkAggregations": { - "target": "com.amazonaws.inspector2#CisCheckAggregationList", - "traits": { - "smithy.api#documentation": "

The check aggregations.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResourceRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists scan results aggregated by a target resource.

", - "smithy.api#examples": [ - { - "title": "Sample ListCisScanResultsAggregatedByTargetResource Call", - "input": { - "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38" - }, - "output": { - "targetResourceAggregations": [ - { - "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", - "targetResourceId": "i-12341234", - "accountId": "123412341234", - "targetResourceTags": { - "key": [ - "value" - ] - }, - "statusCounts": { - "failed": 0, - "skipped": 1, - "passed": 2 - }, - "platform": "AMAZON_LINUX_2", - "targetStatus": "COMPLETED" - } - ] - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan-result/resource/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "targetResourceAggregations", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResourceRequest": { - "type": "structure", - "members": { - "scanArn": { - "target": "com.amazonaws.inspector2#CisScanArn", - "traits": { - "smithy.api#documentation": "

The scan ARN.

", - "smithy.api#required": {} - } - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#CisScanResultsAggregatedByTargetResourceFilterCriteria", - "traits": { - "smithy.api#documentation": "

The filter criteria.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#CisScanResultsAggregatedByTargetResourceSortBy", - "traits": { - "smithy.api#default": "FAILED_COUNTS", - "smithy.api#documentation": "

The sort by order.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#CisSortOrder", - "traits": { - "smithy.api#documentation": "

The sort order.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#CisScanResultsMaxResults", - "traits": { - "smithy.api#default": 100, - "smithy.api#documentation": "

The maximum number of scan results aggregated by a target resource to be returned in a single page of results.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResourceResponse": { - "type": "structure", - "members": { - "targetResourceAggregations": { - "target": "com.amazonaws.inspector2#CisTargetResourceAggregationList", - "traits": { - "smithy.api#documentation": "

The resource aggregations.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#ListCisScans": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListCisScansRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListCisScansResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Returns a CIS scan list.

", - "smithy.api#examples": [ - { - "title": "Sample ListCisScans Call", - "input": {}, - "output": { - "scans": [ - { - "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", - "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38", - "status": "COMPLETED", - "scanName": "sample", - "scanDate": "2023-04-12T23:20:50.52Z", - "failedChecks": 2, - "totalChecks": 150, - "targets": { - "accountIds": [ - "123412341234" - ], - "targetResourceTags": { - "key": [ - "value" - ] - } - }, - "scheduledBy": "Delegated Admin", - "securityLevel": "LEVEL_1" - } - ] - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "scans", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.inspector2#ListCisScansDetailLevel": { - "type": "enum", - "members": { - "ORGANIZATION": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "ORGANIZATION" - } - }, - "MEMBER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "MEMBER" - } - } - } - }, - "com.amazonaws.inspector2#ListCisScansFilterCriteria": { - "type": "structure", - "members": { - "scanNameFilters": { - "target": "com.amazonaws.inspector2#CisScanNameFilterList", - "traits": { - "smithy.api#documentation": "

The list of scan name filters.

" - } - }, - "targetResourceTagFilters": { - "target": "com.amazonaws.inspector2#ResourceTagFilterList", - "traits": { - "smithy.api#documentation": "

The list of target resource tag filters.

" - } - }, - "targetResourceIdFilters": { - "target": "com.amazonaws.inspector2#ResourceIdFilterList", - "traits": { - "smithy.api#documentation": "

The list of target resource ID filters.

" - } - }, - "scanStatusFilters": { - "target": "com.amazonaws.inspector2#CisScanStatusFilterList", - "traits": { - "smithy.api#documentation": "

The list of scan status filters.

" - } - }, - "scanAtFilters": { - "target": "com.amazonaws.inspector2#CisScanDateFilterList", - "traits": { - "smithy.api#documentation": "

The list of scan at filters.

" - } - }, - "scanConfigurationArnFilters": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArnFilterList", - "traits": { - "smithy.api#documentation": "

The list of scan configuration ARN filters.

" - } - }, - "scanArnFilters": { - "target": "com.amazonaws.inspector2#CisScanArnFilterList", - "traits": { - "smithy.api#documentation": "

The list of scan ARN filters.

" - } - }, - "scheduledByFilters": { - "target": "com.amazonaws.inspector2#CisScheduledByFilterList", - "traits": { - "smithy.api#documentation": "

The list of scheduled by filters.

" - } - }, - "failedChecksFilters": { - "target": "com.amazonaws.inspector2#CisNumberFilterList", - "traits": { - "smithy.api#documentation": "

The list of failed checks filters.

" - } - }, - "targetAccountIdFilters": { - "target": "com.amazonaws.inspector2#AccountIdFilterList", - "traits": { - "smithy.api#documentation": "

The list of target account ID filters.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A list of CIS scans filter criteria.

" - } - }, - "com.amazonaws.inspector2#ListCisScansMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#ListCisScansRequest": { - "type": "structure", - "members": { - "filterCriteria": { - "target": "com.amazonaws.inspector2#ListCisScansFilterCriteria", - "traits": { - "smithy.api#documentation": "

The CIS scan filter criteria.

" - } - }, - "detailLevel": { - "target": "com.amazonaws.inspector2#ListCisScansDetailLevel", - "traits": { - "smithy.api#documentation": "

The detail applied to the CIS scan.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#ListCisScansSortBy", - "traits": { - "smithy.api#default": "SCAN_START_DATE", - "smithy.api#documentation": "

The CIS scans sort by order.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#CisSortOrder", - "traits": { - "smithy.api#documentation": "

The CIS scans sort order.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#ListCisScansMaxResults", - "traits": { - "smithy.api#default": 100, - "smithy.api#documentation": "

The maximum number of results to be returned.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#ListCisScansResponse": { - "type": "structure", - "members": { - "scans": { - "target": "com.amazonaws.inspector2#CisScanList", - "traits": { - "smithy.api#documentation": "

The CIS scans.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#ListCisScansSortBy": { - "type": "enum", - "members": { - "STATUS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "STATUS" - } - }, - "SCHEDULED_BY": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SCHEDULED_BY" - } - }, - "SCAN_START_DATE": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SCAN_START_DATE" - } - }, - "FAILED_CHECKS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED_CHECKS" - } - } - } - }, - "com.amazonaws.inspector2#ListCoverage": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListCoverageRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListCoverageResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists coverage details for you environment.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/coverage/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "coveredResources" - } - } - }, - "com.amazonaws.inspector2#ListCoverageMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 200 - } - } - }, - "com.amazonaws.inspector2#ListCoverageRequest": { - "type": "structure", - "members": { - "maxResults": { - "target": "com.amazonaws.inspector2#ListCoverageMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" - } - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#CoverageFilterCriteria", - "traits": { - "smithy.api#documentation": "

An object that contains details on the filters to apply to the coverage data for your\n environment.

" - } - } - } - }, - "com.amazonaws.inspector2#ListCoverageResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - }, - "coveredResources": { - "target": "com.amazonaws.inspector2#CoveredResources", - "traits": { - "smithy.api#documentation": "

An object that contains details on the covered resources in your environment.

" - } - } - } - }, - "com.amazonaws.inspector2#ListCoverageStatistics": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListCoverageStatisticsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListCoverageStatisticsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists Amazon Inspector coverage statistics for your environment.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/coverage/statistics/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "countsByGroup" - } - } - }, - "com.amazonaws.inspector2#ListCoverageStatisticsRequest": { - "type": "structure", - "members": { - "filterCriteria": { - "target": "com.amazonaws.inspector2#CoverageFilterCriteria", - "traits": { - "smithy.api#documentation": "

An object that contains details on the filters to apply to the coverage data for your\n environment.

" - } - }, - "groupBy": { - "target": "com.amazonaws.inspector2#GroupKey", - "traits": { - "smithy.api#documentation": "

The value to group the results by.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListCoverageStatisticsResponse": { - "type": "structure", - "members": { - "countsByGroup": { - "target": "com.amazonaws.inspector2#CountsList", - "traits": { - "smithy.api#documentation": "

An array with the number for each group.

" - } - }, - "totalCounts": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The total number for all groups.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListDelegatedAdminAccounts": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListDelegatedAdminAccountsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListDelegatedAdminAccountsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists information about the Amazon Inspector delegated administrator of your\n organization.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/delegatedadminaccounts/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "delegatedAdminAccounts" - } - } - }, - "com.amazonaws.inspector2#ListDelegatedAdminAccountsRequest": { - "type": "structure", - "members": { - "maxResults": { - "target": "com.amazonaws.inspector2#ListDelegatedAdminMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListDelegatedAdminAccountsResponse": { - "type": "structure", - "members": { - "delegatedAdminAccounts": { - "target": "com.amazonaws.inspector2#DelegatedAdminAccountList", - "traits": { - "smithy.api#documentation": "

Details of the Amazon Inspector delegated administrator of your organization.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListDelegatedAdminMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.inspector2#ListFilterMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#ListFilters": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListFiltersRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListFiltersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the filters associated with your account.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/filters/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "filters" - } - } - }, - "com.amazonaws.inspector2#ListFiltersRequest": { - "type": "structure", - "members": { - "arns": { - "target": "com.amazonaws.inspector2#FilterArnList", - "traits": { - "smithy.api#documentation": "

The Amazon resource number (ARN) of the filter.

" - } - }, - "action": { - "target": "com.amazonaws.inspector2#FilterAction", - "traits": { - "smithy.api#documentation": "

The action the filter applies to matched findings.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#ListFilterMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" - } - } - } - }, - "com.amazonaws.inspector2#ListFiltersResponse": { - "type": "structure", - "members": { - "filters": { - "target": "com.amazonaws.inspector2#FilterList", - "traits": { - "smithy.api#documentation": "

Contains details on the filters associated with your account.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListFindingAggregations": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListFindingAggregationsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListFindingAggregationsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists aggregated finding data for your environment based on specific criteria.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/findings/aggregation/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "responses" - } - } - }, - "com.amazonaws.inspector2#ListFindingAggregationsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#ListFindingAggregationsRequest": { - "type": "structure", - "members": { - "aggregationType": { - "target": "com.amazonaws.inspector2#AggregationType", - "traits": { - "smithy.api#documentation": "

The type of the aggregation request.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#ListFindingAggregationsMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" - } - }, - "accountIds": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account IDs to retrieve finding aggregation data for.

" - } - }, - "aggregationRequest": { - "target": "com.amazonaws.inspector2#AggregationRequest", - "traits": { - "smithy.api#documentation": "

Details of the aggregation request that is used to filter your aggregation results.

" - } - } - } - }, - "com.amazonaws.inspector2#ListFindingAggregationsResponse": { - "type": "structure", - "members": { - "aggregationType": { - "target": "com.amazonaws.inspector2#AggregationType", - "traits": { - "smithy.api#documentation": "

The type of aggregation to perform.

", - "smithy.api#required": {} - } - }, - "responses": { - "target": "com.amazonaws.inspector2#AggregationResponseList", - "traits": { - "smithy.api#documentation": "

Objects that contain the results of an aggregation operation.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListFindings": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListFindingsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListFindingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists findings for your environment.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/findings/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "findings" - } - } - }, - "com.amazonaws.inspector2#ListFindingsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#ListFindingsRequest": { - "type": "structure", - "members": { - "maxResults": { - "target": "com.amazonaws.inspector2#ListFindingsMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" - } - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#FilterCriteria", - "traits": { - "smithy.api#documentation": "

Details on the filters to apply to your finding results.

" - } - }, - "sortCriteria": { - "target": "com.amazonaws.inspector2#SortCriteria", - "traits": { - "smithy.api#documentation": "

Details on the sort criteria to apply to your finding results.

" - } - } - } - }, - "com.amazonaws.inspector2#ListFindingsResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - }, - "findings": { - "target": "com.amazonaws.inspector2#FindingList", - "traits": { - "smithy.api#documentation": "

Contains details on the findings in your environment.

" - } - } - } - }, - "com.amazonaws.inspector2#ListMembers": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListMembersRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListMembersResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

List members associated with the Amazon Inspector delegated administrator for your\n organization.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/members/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "members" - } - } - }, - "com.amazonaws.inspector2#ListMembersMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.inspector2#ListMembersRequest": { - "type": "structure", - "members": { - "onlyAssociated": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Specifies whether to list only currently associated members if True or to\n list all members within the organization if False.

" - } - }, - "maxResults": { - "target": "com.amazonaws.inspector2#ListMembersMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" - } - } - } - }, - "com.amazonaws.inspector2#ListMembersResponse": { - "type": "structure", - "members": { - "members": { - "target": "com.amazonaws.inspector2#MemberList", - "traits": { - "smithy.api#documentation": "

An object that contains details for each member account.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination parameter to be used on the next list operation to retrieve more\n items.

" - } - } - } - }, - "com.amazonaws.inspector2#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListTagsForResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists all tags attached to a given resource.

", - "smithy.api#http": { - "uri": "/tags/{resourceArn}", - "method": "GET" - }, - "smithy.api#readonly": {} - } - }, - "com.amazonaws.inspector2#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.inspector2#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon resource number (ARN) of the resource to list tags of.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#ListTagsForResourceResponse": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

The tags associated with the resource.

" - } - } - } - }, - "com.amazonaws.inspector2#ListUsageTotals": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ListUsageTotalsRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ListUsageTotalsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists the Amazon Inspector usage totals over the last 30 days.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/usage/list" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults", - "items": "totals" - } - } - }, - "com.amazonaws.inspector2#ListUsageTotalsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 500 - } - } - }, - "com.amazonaws.inspector2#ListUsageTotalsNextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.inspector2#ListUsageTotalsRequest": { - "type": "structure", - "members": { - "maxResults": { - "target": "com.amazonaws.inspector2#ListUsageTotalsMaxResults", - "traits": { - "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#ListUsageTotalsNextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" - } - }, - "accountIds": { - "target": "com.amazonaws.inspector2#UsageAccountIdList", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account IDs to retrieve usage totals for.

" - } - } - } - }, - "com.amazonaws.inspector2#ListUsageTotalsResponse": { - "type": "structure", - "members": { - "nextToken": { - "target": "com.amazonaws.inspector2#ListUsageTotalsNextToken", - "traits": { - "smithy.api#documentation": "

The pagination parameter to be used on the next list operation to retrieve more items.

" - } - }, - "totals": { - "target": "com.amazonaws.inspector2#UsageTotalList", - "traits": { - "smithy.api#documentation": "

An object with details on the total usage for the requested account.

" - } - } - } - }, - "com.amazonaws.inspector2#MapComparison": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQUALS", - "name": "EQUALS" - } - ] - } - }, - "com.amazonaws.inspector2#MapFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#MapComparison", - "traits": { - "smithy.api#documentation": "

The operator to use when comparing values in the filter.

", - "smithy.api#required": {} - } - }, - "key": { - "target": "com.amazonaws.inspector2#MapKey", - "traits": { - "smithy.api#documentation": "

The tag key used in the filter.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#MapValue", - "traits": { - "smithy.api#documentation": "

The tag value used in the filter.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that describes details of a map filter.

" - } - }, - "com.amazonaws.inspector2#MapFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#MapFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#MapKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.inspector2#MapValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 256 - } - } - }, - "com.amazonaws.inspector2#Member": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the member account.

" - } - }, - "relationshipStatus": { - "target": "com.amazonaws.inspector2#RelationshipStatus", - "traits": { - "smithy.api#documentation": "

The status of the member account.

" - } - }, - "delegatedAdminAccountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.

" - } - }, - "updatedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

A timestamp showing when the status of this member was last updated.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details on a member account in your organization.

" - } - }, - "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatus": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member.

", - "smithy.api#required": {} - } - }, - "activateDeepInspection": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Whether Amazon Inspector deep inspection is active in the account. If TRUE Amazon Inspector deep inspection is active, if FALSE it is not active.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that contains details about the status of Amazon Inspector deep inspection for a member account in your organization.

" - } - }, - "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatus" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusState": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member

", - "smithy.api#required": {} - } - }, - "status": { - "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", - "traits": { - "smithy.api#documentation": "

The state of Amazon Inspector deep inspection in the member account.

" - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The error message explaining why the account failed to activate Amazon Inspector deep inspection.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that contains details about the state of Amazon Inspector deep inspection for a member account.

" - } - }, - "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusState" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#MemberList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Member" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.inspector2#MeteringAccountId": { - "type": "string", - "traits": { - "smithy.api#pattern": "[0-9]{12}" - } - }, - "com.amazonaws.inspector2#MeteringAccountIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#MeteringAccountId" - } - }, - "com.amazonaws.inspector2#MonthlyCostEstimate": { - "type": "double", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#MonthlySchedule": { - "type": "structure", - "members": { - "startTime": { - "target": "com.amazonaws.inspector2#Time", - "traits": { - "smithy.api#documentation": "

The monthly schedule's start time.

", - "smithy.api#required": {} - } - }, - "day": { - "target": "com.amazonaws.inspector2#Day", - "traits": { - "smithy.api#documentation": "

The monthly schedule's day.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

A monthly schedule.

" - } - }, - "com.amazonaws.inspector2#NetworkPath": { - "type": "structure", - "members": { - "steps": { - "target": "com.amazonaws.inspector2#StepList", - "traits": { - "smithy.api#documentation": "

The details on the steps in the network path.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information on the network path associated with a finding.

" - } - }, - "com.amazonaws.inspector2#NetworkProtocol": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TCP", - "name": "TCP" - }, - { - "value": "UDP", - "name": "UDP" - } - ] - } - }, - "com.amazonaws.inspector2#NetworkReachabilityDetails": { - "type": "structure", - "members": { - "openPortRange": { - "target": "com.amazonaws.inspector2#PortRange", - "traits": { - "smithy.api#documentation": "

An object that contains details about the open port range associated with a finding.

", - "smithy.api#required": {} - } - }, - "protocol": { - "target": "com.amazonaws.inspector2#NetworkProtocol", - "traits": { - "smithy.api#documentation": "

The protocol associated with a finding.

", - "smithy.api#required": {} - } - }, - "networkPath": { - "target": "com.amazonaws.inspector2#NetworkPath", - "traits": { - "smithy.api#documentation": "

An object that contains details about a network path associated with a finding.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains the details of a network reachability finding.

" - } - }, - "com.amazonaws.inspector2#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 1000000 - } - } - }, - "com.amazonaws.inspector2#NonEmptyString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, - "com.amazonaws.inspector2#NonEmptyStringList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#NonEmptyString" - } - }, - "com.amazonaws.inspector2#NumberFilter": { - "type": "structure", - "members": { - "upperInclusive": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "

The highest number to be included in the filter.

" - } - }, - "lowerInclusive": { - "target": "smithy.api#Double", - "traits": { - "smithy.api#documentation": "

The lowest number to be included in the filter.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that describes the details of a number filter.

" - } - }, - "com.amazonaws.inspector2#NumberFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#NumberFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#OneAccountIdFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.inspector2#OneTimeSchedule": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "

A one time schedule.

" - } - }, - "com.amazonaws.inspector2#Operation": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLE_SCANNING", - "name": "ENABLE_SCANNING" - }, - { - "value": "DISABLE_SCANNING", - "name": "DISABLE_SCANNING" - }, - { - "value": "ENABLE_REPOSITORY", - "name": "ENABLE_REPOSITORY" - }, - { - "value": "DISABLE_REPOSITORY", - "name": "DISABLE_REPOSITORY" - } - ] - } - }, - "com.amazonaws.inspector2#OwnerId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 12, - "max": 34 - }, - "smithy.api#pattern": "(^\\d{12}$)|(^o-[a-z0-9]{10,32}$)" - } - }, - "com.amazonaws.inspector2#PackageAggregation": { - "type": "structure", - "members": { - "packageNames": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The names of packages to aggregate findings on.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to sort results by.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#PackageSortBy", - "traits": { - "smithy.api#documentation": "

The value to sort results by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define an aggregation based on operating system package type.

" - } - }, - "com.amazonaws.inspector2#PackageAggregationResponse": { - "type": "structure", - "members": { - "packageName": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The name of the operating system package.

", - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The ID of the Amazon Web Services account associated with the findings.

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

An object that contains the count of matched findings per severity.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains the results of a finding aggregation by image layer.

" - } - }, - "com.amazonaws.inspector2#PackageArchitecture": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } - }, - "com.amazonaws.inspector2#PackageEpoch": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.inspector2#PackageFilter": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.inspector2#StringFilter", - "traits": { - "smithy.api#documentation": "

An object that contains details on the name of the package to filter on.

" - } - }, - "version": { - "target": "com.amazonaws.inspector2#StringFilter", - "traits": { - "smithy.api#documentation": "

The package version to filter on.

" - } - }, - "epoch": { - "target": "com.amazonaws.inspector2#NumberFilter", - "traits": { - "smithy.api#documentation": "

An object that contains details on the package epoch to filter on.

" - } - }, - "release": { - "target": "com.amazonaws.inspector2#StringFilter", - "traits": { - "smithy.api#documentation": "

An object that contains details on the package release to filter on.

" - } - }, - "architecture": { - "target": "com.amazonaws.inspector2#StringFilter", - "traits": { - "smithy.api#documentation": "

An object that contains details on the package architecture type to filter on.

" - } - }, - "sourceLayerHash": { - "target": "com.amazonaws.inspector2#StringFilter", - "traits": { - "smithy.api#documentation": "

An object that contains details on the source layer hash to filter on.

" - } - }, - "sourceLambdaLayerArn": { - "target": "com.amazonaws.inspector2#StringFilter" - } - }, - "traits": { - "smithy.api#documentation": "

Contains information on the details of a package filter.

" - } - }, - "com.amazonaws.inspector2#PackageFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#PackageFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#PackageManager": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "BUNDLER", - "name": "BUNDLER" - }, - { - "value": "CARGO", - "name": "CARGO" - }, - { - "value": "COMPOSER", - "name": "COMPOSER" - }, - { - "value": "NPM", - "name": "NPM" - }, - { - "value": "NUGET", - "name": "NUGET" - }, - { - "value": "PIPENV", - "name": "PIPENV" - }, - { - "value": "POETRY", - "name": "POETRY" - }, - { - "value": "YARN", - "name": "YARN" - }, - { - "value": "GOBINARY", - "name": "GOBINARY" - }, - { - "value": "GOMOD", - "name": "GOMOD" - }, - { - "value": "JAR", - "name": "JAR" - }, - { - "value": "OS", - "name": "OS" - }, - { - "value": "PIP", - "name": "PIP" - }, - { - "value": "PYTHONPKG", - "name": "PYTHONPKG" - }, - { - "value": "NODEPKG", - "name": "NODEPKG" - }, - { - "value": "POM", - "name": "POM" - }, - { - "value": "GEMSPEC", - "name": "GEMSPEC" - } - ] - } - }, - "com.amazonaws.inspector2#PackageName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#PackageRelease": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#PackageSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#PackageType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMAGE", - "name": "IMAGE" - }, - { - "value": "ZIP", - "name": "ZIP" - } - ] - } - }, - "com.amazonaws.inspector2#PackageVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#PackageVulnerabilityDetails": { - "type": "structure", - "members": { - "vulnerabilityId": { - "target": "com.amazonaws.inspector2#VulnerabilityId", - "traits": { - "smithy.api#documentation": "

The ID given to this vulnerability.

", - "smithy.api#required": {} - } - }, - "vulnerablePackages": { - "target": "com.amazonaws.inspector2#VulnerablePackageList", - "traits": { - "smithy.api#documentation": "

The packages impacted by this vulnerability.

" - } - }, - "source": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The source of the vulnerability information.

", - "smithy.api#required": {} - } - }, - "cvss": { - "target": "com.amazonaws.inspector2#CvssScoreList", - "traits": { - "smithy.api#documentation": "

An object that contains details about the CVSS score of a finding.

" - } - }, - "relatedVulnerabilities": { - "target": "com.amazonaws.inspector2#VulnerabilityIdList", - "traits": { - "smithy.api#documentation": "

One or more vulnerabilities related to the one identified in this finding.

" - } - }, - "sourceUrl": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

A URL to the source of the vulnerability information.

" - } - }, - "vendorSeverity": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The severity the vendor has given to this vulnerability type.

" - } - }, - "vendorCreatedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time that this vulnerability was first added to the vendor's database.

" - } - }, - "vendorUpdatedAt": { - "target": "com.amazonaws.inspector2#DateTimeTimestamp", - "traits": { - "smithy.api#documentation": "

The date and time the vendor last updated this vulnerability in their database.

" - } - }, - "referenceUrls": { - "target": "com.amazonaws.inspector2#NonEmptyStringList", - "traits": { - "smithy.api#documentation": "

One or more URLs that contain details about this vulnerability type.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information about a package vulnerability finding.

" - } - }, - "com.amazonaws.inspector2#Path": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 512 - }, - "smithy.api#pattern": "^(?:/(?:\\.[-\\w]+|[-\\w]+(?:\\.[-\\w]+)?))+/?$" - } - }, - "com.amazonaws.inspector2#PathList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Path" - }, - "traits": { - "smithy.api#length": { - "max": 5 - } - } - }, - "com.amazonaws.inspector2#Permission": { - "type": "structure", - "members": { - "service": { - "target": "com.amazonaws.inspector2#Service", - "traits": { - "smithy.api#documentation": "

The services that the permissions allow an account to perform the given operations for.

", - "smithy.api#required": {} - } - }, - "operation": { - "target": "com.amazonaws.inspector2#Operation", - "traits": { - "smithy.api#documentation": "

The operations that can be performed with the given permissions.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains information on the permissions an account has within Amazon Inspector.

" - } - }, - "com.amazonaws.inspector2#Permissions": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Permission" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#Platform": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#PlatformFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#PlatformVersion": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 8 - } - } - }, - "com.amazonaws.inspector2#Port": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 0, - "max": 65535 - } - } - }, - "com.amazonaws.inspector2#PortRange": { - "type": "structure", - "members": { - "begin": { - "target": "com.amazonaws.inspector2#Port", - "traits": { - "smithy.api#documentation": "

The beginning port in a port range.

", - "smithy.api#required": {} - } - }, - "end": { - "target": "com.amazonaws.inspector2#Port", - "traits": { - "smithy.api#documentation": "

The ending port in a port range.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the port range associated with a finding.

" - } - }, - "com.amazonaws.inspector2#PortRangeFilter": { - "type": "structure", - "members": { - "beginInclusive": { - "target": "com.amazonaws.inspector2#Port", - "traits": { - "smithy.api#documentation": "

The port number the port range begins at.

" - } - }, - "endInclusive": { - "target": "com.amazonaws.inspector2#Port", - "traits": { - "smithy.api#documentation": "

The port number the port range ends at.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that describes the details of a port range filter.

" - } - }, - "com.amazonaws.inspector2#PortRangeFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#PortRangeFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#Product": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 32 - } - } - }, - "com.amazonaws.inspector2#Reason": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#Recommendation": { - "type": "structure", - "members": { - "text": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The recommended course of action to remediate the finding.

" - } - }, - "Url": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The URL address to the CVE remediation recommendations.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the recommended course of action to remediate the finding.

" - } - }, - "com.amazonaws.inspector2#ReferenceUrls": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#NonEmptyString" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#RelatedVulnerabilities": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#RelatedVulnerability" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.inspector2#RelatedVulnerability": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#RelationshipStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATED", - "name": "CREATED" - }, - { - "value": "INVITED", - "name": "INVITED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "REMOVED", - "name": "REMOVED" - }, - { - "value": "RESIGNED", - "name": "RESIGNED" - }, - { - "value": "DELETED", - "name": "DELETED" - }, - { - "value": "EMAIL_VERIFICATION_IN_PROGRESS", - "name": "EMAIL_VERIFICATION_IN_PROGRESS" - }, - { - "value": "EMAIL_VERIFICATION_FAILED", - "name": "EMAIL_VERIFICATION_FAILED" - }, - { - "value": "REGION_DISABLED", - "name": "REGION_DISABLED" - }, - { - "value": "ACCOUNT_SUSPENDED", - "name": "ACCOUNT_SUSPENDED" - }, - { - "value": "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER", - "name": "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER" - } - ] - } - }, - "com.amazonaws.inspector2#Remediation": { - "type": "structure", - "members": { - "recommendation": { - "target": "com.amazonaws.inspector2#Recommendation", - "traits": { - "smithy.api#documentation": "

An object that contains information about the recommended course of action to remediate the finding.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Information on how to remediate a finding.

" - } - }, - "com.amazonaws.inspector2#ReportFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CSV", - "name": "CSV" - }, - { - "value": "JSON", - "name": "JSON" - } - ] - } - }, - "com.amazonaws.inspector2#ReportId": { - "type": "string", - "traits": { - "smithy.api#pattern": "\\b[a-f0-9]{8}\\b-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-\\b[a-f0-9]{12}\\b" - } - }, - "com.amazonaws.inspector2#ReportTargetAccounts": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#AccountId" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - } - } - }, - "com.amazonaws.inspector2#ReportingErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" - }, - { - "value": "INVALID_PERMISSIONS", - "name": "INVALID_PERMISSIONS" - }, - { - "value": "NO_FINDINGS_FOUND", - "name": "NO_FINDINGS_FOUND" - }, - { - "value": "BUCKET_NOT_FOUND", - "name": "BUCKET_NOT_FOUND" - }, - { - "value": "INCOMPATIBLE_BUCKET_REGION", - "name": "INCOMPATIBLE_BUCKET_REGION" - }, - { - "value": "MALFORMED_KMS_KEY", - "name": "MALFORMED_KMS_KEY" - } - ] - } - }, - "com.amazonaws.inspector2#RepositoryAggregation": { - "type": "structure", - "members": { - "repositories": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The names of repositories to aggregate findings on.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to sort results by.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#RepositorySortBy", - "traits": { - "smithy.api#documentation": "

The value to sort results by.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define an aggregation based on repository.

" - } - }, - "com.amazonaws.inspector2#RepositoryAggregationResponse": { - "type": "structure", - "members": { - "repository": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The name of the repository associated with the findings.

", - "smithy.api#required": {} - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The ID of the Amazon Web Services account associated with the findings.

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

An object that represent the count of matched findings per severity.

" - } - }, - "affectedImages": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The number of container images impacted by the findings.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains details on the results of a finding aggregation by repository.

" - } - }, - "com.amazonaws.inspector2#RepositorySortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - }, - { - "value": "AFFECTED_IMAGES", - "name": "AFFECTED_IMAGES" - } - ] - } - }, - "com.amazonaws.inspector2#ResetEncryptionKey": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#ResetEncryptionKeyRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#ResetEncryptionKeyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.

", - "smithy.api#http": { - "code": 200, - "method": "PUT", - "uri": "/encryptionkey/reset" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#ResetEncryptionKeyRequest": { - "type": "structure", - "members": { - "scanType": { - "target": "com.amazonaws.inspector2#ScanType", - "traits": { - "smithy.api#documentation": "

The scan type the key encrypts.

", - "smithy.api#required": {} - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#ResourceType", - "traits": { - "smithy.api#documentation": "

The resource type the key encrypts.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#ResetEncryptionKeyResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#Resource": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.inspector2#ResourceType", - "traits": { - "smithy.api#documentation": "

The type of resource.

", - "smithy.api#required": {} - } - }, - "id": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The ID of the resource.

", - "smithy.api#required": {} - } - }, - "partition": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The partition of the resource.

" - } - }, - "region": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Region the impacted resource is located in.

" - } - }, - "tags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

The tags attached to the resource.

" - } - }, - "details": { - "target": "com.amazonaws.inspector2#ResourceDetails", - "traits": { - "smithy.api#documentation": "

An object that contains details about the resource involved in a finding.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the resource involved in a finding.

" - } - }, - "com.amazonaws.inspector2#ResourceDetails": { - "type": "structure", - "members": { - "awsEc2Instance": { - "target": "com.amazonaws.inspector2#AwsEc2InstanceDetails", - "traits": { - "smithy.api#documentation": "

An object that contains details about the Amazon EC2 instance involved in the finding.

" - } - }, - "awsEcrContainerImage": { - "target": "com.amazonaws.inspector2#AwsEcrContainerImageDetails", - "traits": { - "smithy.api#documentation": "

An object that contains details about the Amazon ECR container image involved in the finding.

" - } - }, - "awsLambdaFunction": { - "target": "com.amazonaws.inspector2#AwsLambdaFunctionDetails", - "traits": { - "smithy.api#documentation": "

A summary of the information about an Amazon Web Services Lambda function affected by a finding.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details about the resource involved in the finding.

" - } - }, - "com.amazonaws.inspector2#ResourceFilterCriteria": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#ResourceStringFilterList", - "traits": { - "smithy.api#documentation": "

The account IDs used as resource filter criteria.

" - } - }, - "resourceId": { - "target": "com.amazonaws.inspector2#ResourceStringFilterList", - "traits": { - "smithy.api#documentation": "

The resource IDs used as resource filter criteria.

" - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#ResourceStringFilterList", - "traits": { - "smithy.api#documentation": "

The resource types used as resource filter criteria.

" - } - }, - "ecrRepositoryName": { - "target": "com.amazonaws.inspector2#ResourceStringFilterList", - "traits": { - "smithy.api#documentation": "

The ECR repository names used as resource filter criteria.

" - } - }, - "lambdaFunctionName": { - "target": "com.amazonaws.inspector2#ResourceStringFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Lambda function name used as resource filter criteria.

" - } - }, - "ecrImageTags": { - "target": "com.amazonaws.inspector2#ResourceStringFilterList", - "traits": { - "smithy.api#documentation": "

The ECR image tags used as resource filter criteria.

" - } - }, - "ec2InstanceTags": { - "target": "com.amazonaws.inspector2#ResourceMapFilterList", - "traits": { - "smithy.api#documentation": "

The EC2 instance tags used as resource filter criteria.

" - } - }, - "lambdaFunctionTags": { - "target": "com.amazonaws.inspector2#ResourceMapFilterList", - "traits": { - "smithy.api#documentation": "

The Amazon Web Services Lambda function tags used as resource filter criteria.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The resource filter criteria for a Software bill of materials (SBOM) report.

" - } - }, - "com.amazonaws.inspector2#ResourceId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 10, - "max": 341 - }, - "smithy.api#pattern": "(^arn:.*:ecr:.*:\\d{12}:repository\\/(?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*(\\/sha256:[a-z0-9]{64})?$)|(^i-([a-z0-9]{8}|[a-z0-9]{17}|\\\\*)$|(^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$))" - } - }, - "com.amazonaws.inspector2#ResourceIdFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#ResourceList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Resource" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#ResourceMapComparison": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQUALS", - "name": "EQUALS" - } - ] - } - }, - "com.amazonaws.inspector2#ResourceMapFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#ResourceMapComparison", - "traits": { - "smithy.api#documentation": "

The filter's comparison.

", - "smithy.api#required": {} - } - }, - "key": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The filter's key.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The filter's value.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A resource map filter for a software bill of material report.

" - } - }, - "com.amazonaws.inspector2#ResourceMapFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#ResourceMapFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#ResourceNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The operation tried to access an invalid resource. Make sure the resource is specified correctly.

", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.inspector2#ResourceScanMetadata": { - "type": "structure", - "members": { - "ecrRepository": { - "target": "com.amazonaws.inspector2#EcrRepositoryMetadata", - "traits": { - "smithy.api#documentation": "

An object that contains details about the repository an Amazon ECR image resides in.

" - } - }, - "ecrImage": { - "target": "com.amazonaws.inspector2#EcrContainerImageMetadata", - "traits": { - "smithy.api#documentation": "

An object that contains details about the container metadata for an Amazon ECR image.

" - } - }, - "ec2": { - "target": "com.amazonaws.inspector2#Ec2Metadata", - "traits": { - "smithy.api#documentation": "

An object that contains metadata details for an Amazon EC2 instance.

" - } - }, - "lambdaFunction": { - "target": "com.amazonaws.inspector2#LambdaFunctionMetadata", - "traits": { - "smithy.api#documentation": "

An object that contains metadata details for an Amazon Web Services Lambda function.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that contains details about the metadata for an Amazon ECR resource.

" - } - }, - "com.amazonaws.inspector2#ResourceScanType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EC2", - "name": "EC2" - }, - { - "value": "ECR", - "name": "ECR" - }, - { - "value": "LAMBDA", - "name": "LAMBDA" - }, - { - "value": "LAMBDA_CODE", - "name": "LAMBDA_CODE" - } - ] - } - }, - "com.amazonaws.inspector2#ResourceState": { - "type": "structure", - "members": { - "ec2": { - "target": "com.amazonaws.inspector2#State", - "traits": { - "smithy.api#documentation": "

An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

", - "smithy.api#required": {} - } - }, - "ecr": { - "target": "com.amazonaws.inspector2#State", - "traits": { - "smithy.api#documentation": "

An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

", - "smithy.api#required": {} - } - }, - "lambda": { - "target": "com.amazonaws.inspector2#State" - }, - "lambdaCode": { - "target": "com.amazonaws.inspector2#State" - } - }, - "traits": { - "smithy.api#documentation": "

Details the state of Amazon Inspector for each resource type Amazon Inspector scans.

" - } - }, - "com.amazonaws.inspector2#ResourceStatus": { - "type": "structure", - "members": { - "ec2": { - "target": "com.amazonaws.inspector2#Status", - "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector scanning for Amazon EC2 resources.

", - "smithy.api#required": {} - } - }, - "ecr": { - "target": "com.amazonaws.inspector2#Status", - "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector scanning for Amazon ECR resources.

", - "smithy.api#required": {} - } - }, - "lambda": { - "target": "com.amazonaws.inspector2#Status", - "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector scanning for Amazon Web Services Lambda function.

" - } - }, - "lambdaCode": { - "target": "com.amazonaws.inspector2#Status", - "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions. \n

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Details the status of Amazon Inspector for each resource type Amazon Inspector scans.

" - } - }, - "com.amazonaws.inspector2#ResourceStringComparison": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQUALS", - "name": "EQUALS" - }, - { - "value": "NOT_EQUALS", - "name": "NOT_EQUALS" - } - ] - } - }, - "com.amazonaws.inspector2#ResourceStringFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#ResourceStringComparison", - "traits": { - "smithy.api#documentation": "

The filter's comparison.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#ResourceStringInput", - "traits": { - "smithy.api#documentation": "

The filter's value.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

A resource string filter for a software bill of materials report.

" - } - }, - "com.amazonaws.inspector2#ResourceStringFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#ResourceStringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#ResourceStringInput": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#ResourceTagFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#TagFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_EC2_INSTANCE", - "name": "AWS_EC2_INSTANCE" - }, - { - "value": "AWS_ECR_CONTAINER_IMAGE", - "name": "AWS_ECR_CONTAINER_IMAGE" - }, - { - "value": "AWS_ECR_REPOSITORY", - "name": "AWS_ECR_REPOSITORY" - }, - { - "value": "AWS_LAMBDA_FUNCTION", - "name": "AWS_LAMBDA_FUNCTION" - } - ] - } - }, - "com.amazonaws.inspector2#RiskScore": { - "type": "integer" - }, - "com.amazonaws.inspector2#RuleId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 500 - } - } - }, - "com.amazonaws.inspector2#Runtime": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NODEJS", - "name": "NODEJS" - }, - { - "value": "NODEJS_12_X", - "name": "NODEJS_12_X" - }, - { - "value": "NODEJS_14_X", - "name": "NODEJS_14_X" - }, - { - "value": "NODEJS_16_X", - "name": "NODEJS_16_X" - }, - { - "value": "JAVA_8", - "name": "JAVA_8" - }, - { - "value": "JAVA_8_AL2", - "name": "JAVA_8_AL2" - }, - { - "value": "JAVA_11", - "name": "JAVA_11" - }, - { - "value": "PYTHON_3_7", - "name": "PYTHON_3_7" - }, - { - "value": "PYTHON_3_8", - "name": "PYTHON_3_8" - }, - { - "value": "PYTHON_3_9", - "name": "PYTHON_3_9" - }, - { - "value": "UNSUPPORTED", - "name": "UNSUPPORTED" - }, - { - "value": "NODEJS_18_X", - "name": "NODEJS_18_X" - }, - { - "value": "GO_1_X", - "name": "GO_1_X" - }, - { - "value": "JAVA_17", - "name": "JAVA_17" - }, - { - "value": "PYTHON_3_10", - "name": "PYTHON_3_10" - } - ] - } - }, - "com.amazonaws.inspector2#SbomReportFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CYCLONEDX_1_4", - "name": "CYCLONEDX_1_4" - }, - { - "value": "SPDX_2_3", - "name": "SPDX_2_3" - } - ] - } - }, - "com.amazonaws.inspector2#ScanMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EC2_SSM_AGENT_BASED", - "name": "EC2_SSM_AGENT_BASED" - }, - { - "value": "EC2_AGENTLESS", - "name": "EC2_AGENTLESS" - } - ] - } - }, - "com.amazonaws.inspector2#ScanStatus": { - "type": "structure", - "members": { - "statusCode": { - "target": "com.amazonaws.inspector2#ScanStatusCode", - "traits": { - "smithy.api#documentation": "

The status code of the scan.

", - "smithy.api#required": {} - } - }, - "reason": { - "target": "com.amazonaws.inspector2#ScanStatusReason", - "traits": { - "smithy.api#documentation": "

The scan status. Possible return values and descriptions are:

\n

\n PENDING_INITIAL_SCAN - This resource has been identified for scanning, results will be available soon.

\n

\n ACCESS_DENIED - Resource access policy restricting Amazon Inspector access. Please update the IAM policy.

\n

\n INTERNAL_ERROR - Amazon Inspector has encountered an internal error for this resource. Amazon Inspector service will automatically resolve the issue and resume the scanning. No action required from the user.

\n

\n UNMANAGED_EC2_INSTANCE - The EC2 instance is not managed by SSM, please use the following SSM automation to remediate the issue: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html. Once the instance becomes managed by SSM, Inspector will automatically begin scanning this instance.

\n

\n UNSUPPORTED_OS - Amazon Inspector does not support this OS, architecture, or image manifest type at this time. To see a complete list of supported operating systems see: https://docs.aws.amazon.com/inspector/latest/user/supported.html.

\n

\n SCAN_ELIGIBILITY_EXPIRED - The configured scan duration has lapsed for this image.

\n

\n RESOURCE_TERMINATED - This resource has been terminated. The findings and coverage associated with this resource are in the process of being cleaned up.

\n

\n SUCCESSFUL - The scan was successful.

\n

\n NO_RESOURCES_FOUND - Reserved for future use.

\n

\n IMAGE_SIZE_EXCEEDED - Reserved for future use.

\n

\n SCAN_FREQUENCY_MANUAL - This image will not be covered by Amazon Inspector due to the repository scan frequency configuration.

\n

\n SCAN_FREQUENCY_SCAN_ON_PUSH - This image will be scanned one time and will not new findings because of the scan frequency configuration.

\n

\n EC2_INSTANCE_STOPPED - This EC2 instance is in a stopped state, therefore, Amazon Inspector will pause scanning. The existing findings will continue to exist until the instance is terminated. Once the instance is re-started, Inspector will automatically start scanning the instance again. Please note that you will not be charged for this instance while it’s in a stopped state.

\n

\n PENDING_DISABLE - This resource is pending cleanup during disablement. The customer will not be billed while a resource is in the pending disable status.

\n

\n NO INVENTORY - Amazon Inspector couldn’t find software application inventory to scan for vulnerabilities. This might be caused due to required Amazon Inspector associations being deleted or failing to run on your resource. Please verify the status of InspectorInventoryCollection-do-not-delete association in the SSM console for the resource. Additionally, you can verify the instance’s inventory in the SSM Fleet Manager console.

\n

\n STALE_INVENTORY - Amazon Inspector wasn’t able to collect an updated software application inventory in the last 7 days. Please confirm the required Amazon Inspector associations still exist and you can still see an updated inventory in the SSM console.

\n

\n EXCLUDED_BY_TAG - This resource was not scanned because it has been excluded by a tag.

\n

\n UNSUPPORTED_RUNTIME - The function was not scanned because it has an unsupported runtime. To see a complete list of supported runtimes see: https://docs.aws.amazon.com/inspector/latest/user/supported.html.

\n

\n UNSUPPORTED_MEDIA_TYPE - The ECR image has an unsupported media type.

\n

\n UNSUPPORTED_CONFIG_FILE - Reserved for future use.

\n

\n DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED - The instance has exceeded the 5000 package limit for Amazon Inspector Deep inspection. To resume Deep inspection for this instance you can try to adjust the custom paths associated with the account.

\n

\n DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED - The SSM agent couldn't send inventory to Amazon Inspector because the SSM quota for Inventory data collected per instance per day has already been reached for this instance.

\n

\n DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED - Amazon Inspector failed to extract the package inventory because the package collection time exceeding the maximum threshold of 15 minutes.

\n

\n DEEP_INSPECTION_NO_INVENTORY The Amazon Inspector plugin hasn't yet been able to collect an inventory of packages for this instance. This is usually the result of a pending scan, however, if this status persists after 6 hours, use SSM to ensure that the required Amazon Inspector associations exist and are running for the instance.

\n

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The status of the scan.

" - } - }, - "com.amazonaws.inspector2#ScanStatusCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" - } - ] - } - }, - "com.amazonaws.inspector2#ScanStatusReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING_INITIAL_SCAN", - "name": "PENDING_INITIAL_SCAN" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" - }, - { - "value": "UNMANAGED_EC2_INSTANCE", - "name": "UNMANAGED_EC2_INSTANCE" - }, - { - "value": "UNSUPPORTED_OS", - "name": "UNSUPPORTED_OS" - }, - { - "value": "SCAN_ELIGIBILITY_EXPIRED", - "name": "SCAN_ELIGIBILITY_EXPIRED" - }, - { - "value": "RESOURCE_TERMINATED", - "name": "RESOURCE_TERMINATED" - }, - { - "value": "SUCCESSFUL", - "name": "SUCCESSFUL" - }, - { - "value": "NO_RESOURCES_FOUND", - "name": "NO_RESOURCES_FOUND" - }, - { - "value": "IMAGE_SIZE_EXCEEDED", - "name": "IMAGE_SIZE_EXCEEDED" - }, - { - "value": "SCAN_FREQUENCY_MANUAL", - "name": "SCAN_FREQUENCY_MANUAL" - }, - { - "value": "SCAN_FREQUENCY_SCAN_ON_PUSH", - "name": "SCAN_FREQUENCY_SCAN_ON_PUSH" - }, - { - "value": "EC2_INSTANCE_STOPPED", - "name": "EC2_INSTANCE_STOPPED" - }, - { - "value": "PENDING_DISABLE", - "name": "PENDING_DISABLE" - }, - { - "value": "NO_INVENTORY", - "name": "NO_INVENTORY" - }, - { - "value": "STALE_INVENTORY", - "name": "STALE_INVENTORY" - }, - { - "value": "EXCLUDED_BY_TAG", - "name": "EXCLUDED_BY_TAG" - }, - { - "value": "UNSUPPORTED_RUNTIME", - "name": "UNSUPPORTED_RUNTIME" - }, - { - "value": "UNSUPPORTED_MEDIA_TYPE", - "name": "UNSUPPORTED_MEDIA_TYPE" - }, - { - "value": "UNSUPPORTED_CONFIG_FILE", - "name": "UNSUPPORTED_CONFIG_FILE" - }, - { - "value": "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED", - "name": "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" - }, - { - "value": "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED", - "name": "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" - }, - { - "value": "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED", - "name": "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" - }, - { - "value": "DEEP_INSPECTION_NO_INVENTORY", - "name": "DEEP_INSPECTION_NO_INVENTORY" - }, - { - "value": "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED", - "name": "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED" - }, - { - "value": "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED", - "name": "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED" - } - ] - } - }, - "com.amazonaws.inspector2#ScanType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NETWORK", - "name": "NETWORK" - }, - { - "value": "PACKAGE", - "name": "PACKAGE" - }, - { - "value": "CODE", - "name": "CODE" - } - ] - } - }, - "com.amazonaws.inspector2#Schedule": { - "type": "union", - "members": { - "oneTime": { - "target": "com.amazonaws.inspector2#OneTimeSchedule", - "traits": { - "smithy.api#documentation": "

The schedule's one time.

" - } - }, - "daily": { - "target": "com.amazonaws.inspector2#DailySchedule", - "traits": { - "smithy.api#documentation": "

The schedule's daily.

" - } - }, - "weekly": { - "target": "com.amazonaws.inspector2#WeeklySchedule", - "traits": { - "smithy.api#documentation": "

The schedule's weekly.

" - } - }, - "monthly": { - "target": "com.amazonaws.inspector2#MonthlySchedule", - "traits": { - "smithy.api#documentation": "

The schedule's monthly.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A schedule.

" - } - }, - "com.amazonaws.inspector2#SearchVulnerabilities": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#SearchVulnerabilitiesRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#SearchVulnerabilitiesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Lists Amazon Inspector coverage details for a specific vulnerability.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/vulnerabilities/search" - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "vulnerabilities" - } - } - }, - "com.amazonaws.inspector2#SearchVulnerabilitiesFilterCriteria": { - "type": "structure", - "members": { - "vulnerabilityIds": { - "target": "com.amazonaws.inspector2#VulnIdList", - "traits": { - "smithy.api#documentation": "

The IDs for specific vulnerabilities.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Details on the criteria used to define the filter for a vulnerability search.\n

" - } - }, - "com.amazonaws.inspector2#SearchVulnerabilitiesRequest": { - "type": "structure", - "members": { - "filterCriteria": { - "target": "com.amazonaws.inspector2#SearchVulnerabilitiesFilterCriteria", - "traits": { - "smithy.api#documentation": "

The criteria used to filter the results of a vulnerability search.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#SearchVulnerabilitiesResponse": { - "type": "structure", - "members": { - "vulnerabilities": { - "target": "com.amazonaws.inspector2#Vulnerabilities", - "traits": { - "smithy.api#documentation": "

Details about the listed vulnerability.

", - "smithy.api#required": {} - } - }, - "nextToken": { - "target": "com.amazonaws.inspector2#NextToken", - "traits": { - "smithy.api#documentation": "

The pagination parameter to be used on the next list operation to retrieve more items.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#SecurityGroupId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^sg-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" - } - }, - "com.amazonaws.inspector2#SecurityGroupIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#SecurityGroupId" - }, - "traits": { - "smithy.api#length": { - "max": 5 - } - } - }, - "com.amazonaws.inspector2#SendCisSessionHealth": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#SendCisSessionHealthRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#SendCisSessionHealthResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#ConflictException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

\n Sends a CIS session health. \n This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. \n The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.\n

", - "smithy.api#examples": [ - { - "title": "Sample SendCisSessionHealth Call", - "input": { - "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38", - "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31" - }, - "output": {} - } - ], - "smithy.api#http": { - "code": 200, - "method": "PUT", - "uri": "/cissession/health/send" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#SendCisSessionHealthRequest": { - "type": "structure", - "members": { - "scanJobId": { - "target": "com.amazonaws.inspector2#UUID", - "traits": { - "smithy.api#documentation": "

A unique identifier for the scan job.

", - "smithy.api#required": {} - } - }, - "sessionToken": { - "target": "com.amazonaws.inspector2#UUID", - "traits": { - "smithy.api#documentation": "

The unique token that identifies the CIS session.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#SendCisSessionHealthResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#SendCisSessionTelemetry": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#SendCisSessionTelemetryRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#SendCisSessionTelemetryResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#ConflictException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

\n Sends a CIS session telemetry. \n This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. \n The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.\n

", - "smithy.api#examples": [ - { - "title": "Sample SendCisSessionTelemetry Call", - "input": { - "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38", - "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31", - "messages": [ - { - "ruleId": "1.12.1", - "status": "FAILED", - "cisRuleDetails": "dGVzdCBleGFtcGxlCg==" - }, - { - "ruleId": "1.2.1", - "status": "PASSED", - "cisRuleDetails": "dGVzdCBleGFtcGxlCg==dGVzdCBleGFtcGxlCg" - } - ] - }, - "output": {} - } - ], - "smithy.api#http": { - "code": 200, - "method": "PUT", - "uri": "/cissession/telemetry/send" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#SendCisSessionTelemetryRequest": { - "type": "structure", - "members": { - "scanJobId": { - "target": "com.amazonaws.inspector2#UUID", - "traits": { - "smithy.api#documentation": "

A unique identifier for the scan job.

", - "smithy.api#required": {} - } - }, - "sessionToken": { - "target": "com.amazonaws.inspector2#UUID", - "traits": { - "smithy.api#documentation": "

The unique token that identifies the CIS session.

", - "smithy.api#required": {} - } - }, - "messages": { - "target": "com.amazonaws.inspector2#CisSessionMessages", - "traits": { - "smithy.api#documentation": "

The CIS session telemetry messages.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#SendCisSessionTelemetryResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#Service": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EC2", - "name": "EC2" - }, - { - "value": "ECR", - "name": "ECR" - }, - { - "value": "LAMBDA", - "name": "LAMBDA" - } - ] - } - }, - "com.amazonaws.inspector2#ServiceQuotaExceededException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "resourceId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The ID of the resource that exceeds a service quota.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

You have exceeded your service quota. To perform the requested action, remove some of\n the relevant resources, or use Service Quotas to request a service quota increase.

", - "smithy.api#error": "client", - "smithy.api#httpError": 402 - } - }, - "com.amazonaws.inspector2#Severity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INFORMATIONAL", - "name": "INFORMATIONAL" - }, - { - "value": "LOW", - "name": "LOW" - }, - { - "value": "MEDIUM", - "name": "MEDIUM" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "UNTRIAGED", - "name": "UNTRIAGED" - } - ] - } - }, - "com.amazonaws.inspector2#SeverityCounts": { - "type": "structure", - "members": { - "all": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The total count of findings from all severities.

" - } - }, - "medium": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The total count of medium severity findings.

" - } - }, - "high": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The total count of high severity findings.

" - } - }, - "critical": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "

The total count of critical severity findings.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that contains the counts of aggregated finding per severity.

" - } - }, - "com.amazonaws.inspector2#SortCriteria": { - "type": "structure", - "members": { - "field": { - "target": "com.amazonaws.inspector2#SortField", - "traits": { - "smithy.api#documentation": "

The finding detail field by which results are sorted.

", - "smithy.api#required": {} - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order by which findings are sorted.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the criteria used to sort finding results.

" - } - }, - "com.amazonaws.inspector2#SortField": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_ACCOUNT_ID", - "name": "AWS_ACCOUNT_ID" - }, - { - "value": "FINDING_TYPE", - "name": "FINDING_TYPE" - }, - { - "value": "SEVERITY", - "name": "SEVERITY" - }, - { - "value": "FIRST_OBSERVED_AT", - "name": "FIRST_OBSERVED_AT" - }, - { - "value": "LAST_OBSERVED_AT", - "name": "LAST_OBSERVED_AT" - }, - { - "value": "FINDING_STATUS", - "name": "FINDING_STATUS" - }, - { - "value": "RESOURCE_TYPE", - "name": "RESOURCE_TYPE" - }, - { - "value": "ECR_IMAGE_PUSHED_AT", - "name": "ECR_IMAGE_PUSHED_AT" - }, - { - "value": "ECR_IMAGE_REPOSITORY_NAME", - "name": "ECR_IMAGE_REPOSITORY_NAME" - }, - { - "value": "ECR_IMAGE_REGISTRY", - "name": "ECR_IMAGE_REGISTRY" - }, - { - "value": "NETWORK_PROTOCOL", - "name": "NETWORK_PROTOCOL" - }, - { - "value": "COMPONENT_TYPE", - "name": "COMPONENT_TYPE" - }, - { - "value": "VULNERABILITY_ID", - "name": "VULNERABILITY_ID" - }, - { - "value": "VULNERABILITY_SOURCE", - "name": "VULNERABILITY_SOURCE" - }, - { - "value": "INSPECTOR_SCORE", - "name": "INSPECTOR_SCORE" - }, - { - "value": "VENDOR_SEVERITY", - "name": "VENDOR_SEVERITY" - }, - { - "value": "EPSS_SCORE", - "name": "EPSS_SCORE" - } - ] - } - }, - "com.amazonaws.inspector2#SortOrder": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ASC", - "name": "ASC" - }, - { - "value": "DESC", - "name": "DESC" - } - ] - } - }, - "com.amazonaws.inspector2#SourceLayerHash": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 71, - "max": 71 - }, - "smithy.api#pattern": "^sha256:[a-z0-9]{64}$" - } - }, - "com.amazonaws.inspector2#StartCisSession": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#StartCisSessionRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#StartCisSessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#ConflictException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

\n Starts a CIS session. \n This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. \n The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.\n

", - "smithy.api#examples": [ - { - "title": "Sample SendCisSessionHealth Call", - "input": { - "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38", - "message": { - "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31" - } - }, - "output": {} - } - ], - "smithy.api#http": { - "code": 200, - "method": "PUT", - "uri": "/cissession/start" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#StartCisSessionMessage": { - "type": "structure", - "members": { - "sessionToken": { - "target": "com.amazonaws.inspector2#UUID", - "traits": { - "smithy.api#documentation": "

The unique token that identifies the CIS session.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The start CIS session message.

" - } - }, - "com.amazonaws.inspector2#StartCisSessionRequest": { - "type": "structure", - "members": { - "scanJobId": { - "target": "com.amazonaws.inspector2#UUID", - "traits": { - "smithy.api#documentation": "

A unique identifier for the scan job.

", - "smithy.api#required": {} - } - }, - "message": { - "target": "com.amazonaws.inspector2#StartCisSessionMessage", - "traits": { - "smithy.api#documentation": "

The start CIS session message.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#StartCisSessionResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#State": { - "type": "structure", - "members": { - "status": { - "target": "com.amazonaws.inspector2#Status", - "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector for the account.

", - "smithy.api#required": {} - } - }, - "errorCode": { - "target": "com.amazonaws.inspector2#ErrorCode", - "traits": { - "smithy.api#documentation": "

The error code explaining why the account failed to enable Amazon Inspector.

", - "smithy.api#required": {} - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The error message received when the account failed to enable Amazon Inspector.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that described the state of Amazon Inspector scans for an account.

" - } - }, - "com.amazonaws.inspector2#Status": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLING", - "name": "ENABLING" - }, - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLING", - "name": "DISABLING" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "SUSPENDING", - "name": "SUSPENDING" - }, - { - "value": "SUSPENDED", - "name": "SUSPENDED" - } - ] - } - }, - "com.amazonaws.inspector2#StatusCounts": { - "type": "structure", - "members": { - "failed": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The number of checks that failed.

" - } - }, - "skipped": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The number of checks that were skipped.

" - } - }, - "passed": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The number of checks that passed.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The status counts.

" - } - }, - "com.amazonaws.inspector2#Step": { - "type": "structure", - "members": { - "componentId": { - "target": "com.amazonaws.inspector2#Component", - "traits": { - "smithy.api#documentation": "

The component ID.

", - "smithy.api#required": {} - } - }, - "componentType": { - "target": "com.amazonaws.inspector2#ComponentType", - "traits": { - "smithy.api#documentation": "

The component type.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

Details about the step associated with a finding.

" - } - }, - "com.amazonaws.inspector2#StepList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Step" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 30 - } - } - }, - "com.amazonaws.inspector2#StopCisMessageProgress": { - "type": "structure", - "members": { - "totalChecks": { - "target": "com.amazonaws.inspector2#CheckCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The progress' total checks.

" - } - }, - "successfulChecks": { - "target": "com.amazonaws.inspector2#CheckCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The progress' successful checks.

" - } - }, - "failedChecks": { - "target": "com.amazonaws.inspector2#CheckCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The progress' failed checks.

" - } - }, - "notEvaluatedChecks": { - "target": "com.amazonaws.inspector2#CheckCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The progress' not evaluated checks.

" - } - }, - "unknownChecks": { - "target": "com.amazonaws.inspector2#CheckCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The progress' unknown checks.

" - } - }, - "notApplicableChecks": { - "target": "com.amazonaws.inspector2#CheckCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The progress' not applicable checks.

" - } - }, - "informationalChecks": { - "target": "com.amazonaws.inspector2#CheckCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The progress' informational checks.

" - } - }, - "errorChecks": { - "target": "com.amazonaws.inspector2#CheckCount", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The progress' error checks.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The stop CIS message progress.

" - } - }, - "com.amazonaws.inspector2#StopCisSession": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#StopCisSessionRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#StopCisSessionResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#ConflictException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

\n Stops a CIS session. \n This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. \n The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.\n

", - "smithy.api#examples": [ - { - "title": "Sample StopCisSession Call", - "input": { - "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38", - "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31", - "message": { - "status": "FAILED", - "reason": "Failure Reason", - "progress": { - "informationalChecks": 1, - "errorChecks": 1, - "successfulChecks": 5, - "notApplicableChecks": 0, - "totalChecks": 10, - "unknownChecks": 0, - "notEvaluatedChecks": 2, - "failedChecks": 0 - }, - "computePlatform": { - "vendor": "canonical", - "product": "ubuntu", - "version": "20.04" - }, - "benchmarkVersion": "2.0.0", - "benchmarkProfile": "xccdf_org.cisecurity.benchmarks_profile_Level_1" - } - }, - "output": {} - } - ], - "smithy.api#http": { - "code": 200, - "method": "PUT", - "uri": "/cissession/stop" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#StopCisSessionMessage": { - "type": "structure", - "members": { - "status": { - "target": "com.amazonaws.inspector2#StopCisSessionStatus", - "traits": { - "smithy.api#documentation": "

The status of the message.

", - "smithy.api#required": {} - } - }, - "reason": { - "target": "com.amazonaws.inspector2#Reason", - "traits": { - "smithy.api#documentation": "

The reason for the message.

" - } - }, - "progress": { - "target": "com.amazonaws.inspector2#StopCisMessageProgress", - "traits": { - "smithy.api#documentation": "

The progress of the message.

", - "smithy.api#required": {} - } - }, - "computePlatform": { - "target": "com.amazonaws.inspector2#ComputePlatform", - "traits": { - "smithy.api#documentation": "

The message compute platform.

" - } - }, - "benchmarkVersion": { - "target": "com.amazonaws.inspector2#BenchmarkVersion", - "traits": { - "smithy.api#documentation": "

The message benchmark version.

" - } - }, - "benchmarkProfile": { - "target": "com.amazonaws.inspector2#BenchmarkProfile", - "traits": { - "smithy.api#documentation": "

The message benchmark profile.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The stop CIS session message.

" - } - }, - "com.amazonaws.inspector2#StopCisSessionRequest": { - "type": "structure", - "members": { - "scanJobId": { - "target": "com.amazonaws.inspector2#UUID", - "traits": { - "smithy.api#documentation": "

A unique identifier for the scan job.

", - "smithy.api#required": {} - } - }, - "sessionToken": { - "target": "com.amazonaws.inspector2#UUID", - "traits": { - "smithy.api#documentation": "

The unique token that identifies the CIS session.

", - "smithy.api#required": {} - } - }, - "message": { - "target": "com.amazonaws.inspector2#StopCisSessionMessage", - "traits": { - "smithy.api#documentation": "

The stop CIS session message.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#StopCisSessionResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#StopCisSessionStatus": { - "type": "enum", - "members": { - "SUCCESS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SUCCESS" - } - }, - "FAILED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "FAILED" - } - }, - "INTERRUPTED": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "INTERRUPTED" - } - }, - "UNSUPPORTED_OS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "UNSUPPORTED_OS" - } - } - } - }, - "com.amazonaws.inspector2#StringComparison": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EQUALS", - "name": "EQUALS" - }, - { - "value": "PREFIX", - "name": "PREFIX" - }, - { - "value": "NOT_EQUALS", - "name": "NOT_EQUALS" - } - ] - } - }, - "com.amazonaws.inspector2#StringFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#StringComparison", - "traits": { - "smithy.api#documentation": "

The operator to use when comparing values in the filter.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#StringInput", - "traits": { - "smithy.api#documentation": "

The value to filter on.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that describes the details of a string filter.

" - } - }, - "com.amazonaws.inspector2#StringFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#StringFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#StringInput": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#StringList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#NonEmptyString" - } - }, - "com.amazonaws.inspector2#SubnetId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^subnet-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" - } - }, - "com.amazonaws.inspector2#SubnetIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#SubnetId" - }, - "traits": { - "smithy.api#length": { - "max": 16 - } - } - }, - "com.amazonaws.inspector2#SuggestedFix": { - "type": "structure", - "members": { - "description": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The fix's description.

", - "smithy.api#length": { - "min": 1, - "max": 1000 - } - } - }, - "code": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The fix's code.

", - "smithy.api#length": { - "min": 1, - "max": 2500 - } - } - } - }, - "traits": { - "smithy.api#documentation": "

A suggested fix for a vulnerability in your Lambda function code.

" - } - }, - "com.amazonaws.inspector2#SuggestedFixes": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#SuggestedFix" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.inspector2#TagComparison": { - "type": "enum", - "members": { - "EQUALS": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "EQUALS" - } - } - } - }, - "com.amazonaws.inspector2#TagFilter": { - "type": "structure", - "members": { - "comparison": { - "target": "com.amazonaws.inspector2#TagComparison", - "traits": { - "smithy.api#documentation": "

The tag filter comparison value.

", - "smithy.api#required": {} - } - }, - "key": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The tag filter key.

", - "smithy.api#required": {} - } - }, - "value": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The tag filter value.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The tag filter.

" - } - }, - "com.amazonaws.inspector2#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" - } - }, - "com.amazonaws.inspector2#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.inspector2#TagList": { - "type": "list", - "member": { - "target": "smithy.api#String" - } - }, - "com.amazonaws.inspector2#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.inspector2#MapKey" - }, - "value": { - "target": "com.amazonaws.inspector2#MapValue" - } - }, - "com.amazonaws.inspector2#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#TagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#BadRequestException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Adds tags to a resource.

", - "smithy.api#http": { - "uri": "/tags/{resourceArn}", - "method": "POST" - }, - "smithy.api#idempotent": {} - } - }, - "com.amazonaws.inspector2#TagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.inspector2#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to apply a tag to.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.inspector2#TagMap", - "traits": { - "smithy.api#documentation": "

The tags to be added to a resource.

", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#TagResourceResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.inspector2#TagValueList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#TargetResourceTagsValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.inspector2#Target": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 - } - } - }, - "com.amazonaws.inspector2#TargetAccount": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\d{12}|ALL_ACCOUNTS|SELF$" - } - }, - "com.amazonaws.inspector2#TargetAccountList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#TargetAccount" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10000 - }, - "smithy.api#uniqueItems": {} - } - }, - "com.amazonaws.inspector2#TargetResourceTags": { - "type": "map", - "key": { - "target": "com.amazonaws.inspector2#TargetResourceTagsKey" - }, - "value": { - "target": "com.amazonaws.inspector2#TagValueList" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 - } - } - }, - "com.amazonaws.inspector2#TargetResourceTagsKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=\\-@]*$" - } - }, - "com.amazonaws.inspector2#TargetResourceTagsValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.inspector2#TargetStatusFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisTargetStatusFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#TargetStatusReasonFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisTargetStatusReasonFilter" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#Targets": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Target" - }, - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#ThrottlingException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "retryAfterSeconds": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "

The number of seconds to wait before retrying the request.

", - "smithy.api#httpHeader": "Retry-After" - } - } - }, - "traits": { - "smithy.api#documentation": "

The limit on the number of requests per second was exceeded.

", - "smithy.api#error": "client", - "smithy.api#httpError": 429, - "smithy.api#retryable": { - "throttling": true - } - } - }, - "com.amazonaws.inspector2#Time": { - "type": "structure", - "members": { - "timeOfDay": { - "target": "com.amazonaws.inspector2#TimeOfDay", - "traits": { - "smithy.api#documentation": "

The time of day in 24-hour format (00:00).

", - "smithy.api#required": {} - } - }, - "timezone": { - "target": "com.amazonaws.inspector2#Timezone", - "traits": { - "smithy.api#documentation": "

The timezone.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

The time.

" - } - }, - "com.amazonaws.inspector2#TimeOfDay": { - "type": "string", - "traits": { - "smithy.api#pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$" - } - }, - "com.amazonaws.inspector2#Timezone": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.inspector2#TitleAggregation": { - "type": "structure", - "members": { - "titles": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The finding titles to aggregate on.

" - } - }, - "vulnerabilityIds": { - "target": "com.amazonaws.inspector2#StringFilterList", - "traits": { - "smithy.api#documentation": "

The vulnerability IDs of the findings.

" - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#AggregationResourceType", - "traits": { - "smithy.api#documentation": "

The resource type to aggregate on.

" - } - }, - "sortOrder": { - "target": "com.amazonaws.inspector2#SortOrder", - "traits": { - "smithy.api#documentation": "

The order to sort results by.

" - } - }, - "sortBy": { - "target": "com.amazonaws.inspector2#TitleSortBy", - "traits": { - "smithy.api#documentation": "

The value to sort results by.

" - } - }, - "findingType": { - "target": "com.amazonaws.inspector2#AggregationFindingType", - "traits": { - "smithy.api#documentation": "

The type of finding to aggregate on.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The details that define an aggregation based on finding title.

" - } - }, - "com.amazonaws.inspector2#TitleAggregationResponse": { - "type": "structure", - "members": { - "title": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The title that the findings were aggregated on.

", - "smithy.api#required": {} - } - }, - "vulnerabilityId": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The vulnerability ID of the finding.

" - } - }, - "accountId": { - "target": "com.amazonaws.inspector2#AccountId", - "traits": { - "smithy.api#documentation": "

The ID of the Amazon Web Services account associated with the findings.

" - } - }, - "severityCounts": { - "target": "com.amazonaws.inspector2#SeverityCounts", - "traits": { - "smithy.api#documentation": "

An object that represent the count of matched findings per severity.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

A response that contains details on the results of a finding aggregation by title.

" - } - }, - "com.amazonaws.inspector2#TitleFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#CisStringFilter" + "smithy": "2.0", + "shapes": { + "com.amazonaws.inspector2#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.inspector2#Account": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector for the account.

", + "smithy.api#required": {} + } + }, + "resourceStatus": { + "target": "com.amazonaws.inspector2#ResourceStatus", + "traits": { + "smithy.api#documentation": "

Details of the status of Amazon Inspector scans by resource type.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.

" + } + }, + "com.amazonaws.inspector2#AccountAggregation": { + "type": "structure", + "members": { + "findingType": { + "target": "com.amazonaws.inspector2#AggregationFindingType", + "traits": { + "smithy.api#documentation": "

The type of finding.

" + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#AggregationResourceType", + "traits": { + "smithy.api#documentation": "

The type of resource.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The sort order (ascending or descending).

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#AccountSortBy", + "traits": { + "smithy.api#documentation": "

The value to sort by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on\n Amazon Web Services accounts.

" + } + }, + "com.amazonaws.inspector2#AccountAggregationResponse": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID.

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

The number of findings by severity.

" + } + }, + "exploitAvailableCount": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

\n The number of findings that have an exploit available.\n

" + } + }, + "fixAvailableCount": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

\n Details about the number of fixes.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An aggregation of findings by Amazon Web Services account ID.

" + } + }, + "com.amazonaws.inspector2#AccountId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 12 + }, + "smithy.api#pattern": "^\\d{12}$" + } + }, + "com.amazonaws.inspector2#AccountIdFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#AccountIdSet": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#AccountId" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + }, + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.inspector2#AccountList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Account" + } + }, + "com.amazonaws.inspector2#AccountSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#AccountState": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID.

", + "smithy.api#required": {} + } + }, + "state": { + "target": "com.amazonaws.inspector2#State", + "traits": { + "smithy.api#documentation": "

An object detailing the status of Amazon Inspector for the account.

", + "smithy.api#required": {} + } + }, + "resourceState": { + "target": "com.amazonaws.inspector2#ResourceState", + "traits": { + "smithy.api#documentation": "

An object detailing which resources Amazon Inspector is enabled to scan for the account.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.

" + } + }, + "com.amazonaws.inspector2#AccountStateList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#AccountState" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#AggCounts": { + "type": "long", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.inspector2#AggregationFindingType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NETWORK_REACHABILITY", + "name": "NETWORK_REACHABILITY" + }, + { + "value": "PACKAGE_VULNERABILITY", + "name": "PACKAGE_VULNERABILITY" + }, + { + "value": "CODE_VULNERABILITY", + "name": "CODE_VULNERABILITY" + } + ] + } + }, + "com.amazonaws.inspector2#AggregationRequest": { + "type": "union", + "members": { + "accountAggregation": { + "target": "com.amazonaws.inspector2#AccountAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon Web Services account\n IDs.

" + } + }, + "amiAggregation": { + "target": "com.amazonaws.inspector2#AmiAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon Machine\n Images (AMIs).

" + } + }, + "awsEcrContainerAggregation": { + "target": "com.amazonaws.inspector2#AwsEcrContainerAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon ECR container\n images.

" + } + }, + "ec2InstanceAggregation": { + "target": "com.amazonaws.inspector2#Ec2InstanceAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon EC2\n instances.

" + } + }, + "findingTypeAggregation": { + "target": "com.amazonaws.inspector2#FindingTypeAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on finding types.

" + } + }, + "imageLayerAggregation": { + "target": "com.amazonaws.inspector2#ImageLayerAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on container image\n layers.

" + } + }, + "packageAggregation": { + "target": "com.amazonaws.inspector2#PackageAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on operating system\n package type.

" + } + }, + "repositoryAggregation": { + "target": "com.amazonaws.inspector2#RepositoryAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on Amazon ECR repositories.

" + } + }, + "titleAggregation": { + "target": "com.amazonaws.inspector2#TitleAggregation", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation request based on finding title.

" + } + }, + "lambdaLayerAggregation": { + "target": "com.amazonaws.inspector2#LambdaLayerAggregation", + "traits": { + "smithy.api#documentation": "

Returns an object with findings aggregated by Amazon Web Services Lambda layer.

" + } + }, + "lambdaFunctionAggregation": { + "target": "com.amazonaws.inspector2#LambdaFunctionAggregation", + "traits": { + "smithy.api#documentation": "

Returns an object with findings aggregated by Amazon Web Services Lambda function.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains details about an aggregation request.

" + } + }, + "com.amazonaws.inspector2#AggregationResourceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWS_EC2_INSTANCE", + "name": "AWS_EC2_INSTANCE" + }, + { + "value": "AWS_ECR_CONTAINER_IMAGE", + "name": "AWS_ECR_CONTAINER_IMAGE" + }, + { + "value": "AWS_LAMBDA_FUNCTION", + "name": "AWS_LAMBDA_FUNCTION" + } + ] + } + }, + "com.amazonaws.inspector2#AggregationResponse": { + "type": "union", + "members": { + "accountAggregation": { + "target": "com.amazonaws.inspector2#AccountAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon Web Services account\n IDs.

" + } + }, + "amiAggregation": { + "target": "com.amazonaws.inspector2#AmiAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon Machine\n Images (AMIs).

" + } + }, + "awsEcrContainerAggregation": { + "target": "com.amazonaws.inspector2#AwsEcrContainerAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon ECR container\n images.

" + } + }, + "ec2InstanceAggregation": { + "target": "com.amazonaws.inspector2#Ec2InstanceAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon EC2\n instances.

" + } + }, + "findingTypeAggregation": { + "target": "com.amazonaws.inspector2#FindingTypeAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on finding types.

" + } + }, + "imageLayerAggregation": { + "target": "com.amazonaws.inspector2#ImageLayerAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on container image\n layers.

" + } + }, + "packageAggregation": { + "target": "com.amazonaws.inspector2#PackageAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on operating system\n package type.

" + } + }, + "repositoryAggregation": { + "target": "com.amazonaws.inspector2#RepositoryAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on Amazon ECR\n repositories.

" + } + }, + "titleAggregation": { + "target": "com.amazonaws.inspector2#TitleAggregationResponse", + "traits": { + "smithy.api#documentation": "

An object that contains details about an aggregation response based on finding title.

" + } + }, + "lambdaLayerAggregation": { + "target": "com.amazonaws.inspector2#LambdaLayerAggregationResponse", + "traits": { + "smithy.api#documentation": "

An aggregation of findings by Amazon Web Services Lambda layer.

" + } + }, + "lambdaFunctionAggregation": { + "target": "com.amazonaws.inspector2#LambdaFunctionAggregationResponse", + "traits": { + "smithy.api#documentation": "

An aggregation of findings by Amazon Web Services Lambda function.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A structure that contains details about the results of an aggregation type.

" + } + }, + "com.amazonaws.inspector2#AggregationResponseList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#AggregationResponse" + } + }, + "com.amazonaws.inspector2#AggregationType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "FINDING_TYPE", + "name": "FINDING_TYPE" + }, + { + "value": "PACKAGE", + "name": "PACKAGE" + }, + { + "value": "TITLE", + "name": "TITLE" + }, + { + "value": "REPOSITORY", + "name": "REPOSITORY" + }, + { + "value": "AMI", + "name": "AMI" + }, + { + "value": "AWS_EC2_INSTANCE", + "name": "AWS_EC2_INSTANCE" + }, + { + "value": "AWS_ECR_CONTAINER", + "name": "AWS_ECR_CONTAINER" + }, + { + "value": "IMAGE_LAYER", + "name": "IMAGE_LAYER" + }, + { + "value": "ACCOUNT", + "name": "ACCOUNT" + }, + { + "value": "AWS_LAMBDA_FUNCTION", + "name": "AWS_LAMBDA_FUNCTION" + }, + { + "value": "LAMBDA_LAYER", + "name": "LAMBDA_LAYER" + } + ] + } + }, + "com.amazonaws.inspector2#AmiAggregation": { + "type": "structure", + "members": { + "amis": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The IDs of AMIs to aggregate findings for.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to sort results by.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#AmiSortBy", + "traits": { + "smithy.api#documentation": "

The value to sort results by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define an aggregation based on Amazon machine images (AMIs).

" + } + }, + "com.amazonaws.inspector2#AmiAggregationResponse": { + "type": "structure", + "members": { + "ami": { + "target": "com.amazonaws.inspector2#AmiId", + "traits": { + "smithy.api#documentation": "

The ID of the AMI that findings were aggregated for.

", + "smithy.api#required": {} + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID for the AMI.

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

An object that contains the count of matched findings per severity.

" + } + }, + "affectedInstances": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The IDs of Amazon EC2 instances using this AMI.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains the results of a finding aggregation by AMI.

" + } + }, + "com.amazonaws.inspector2#AmiId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^ami-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" + } + }, + "com.amazonaws.inspector2#AmiSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + }, + { + "value": "AFFECTED_INSTANCES", + "name": "AFFECTED_INSTANCES" + } + ] + } + }, + "com.amazonaws.inspector2#Architecture": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "X86_64", + "name": "X86_64" + }, + { + "value": "ARM64", + "name": "ARM64" + } + ] + } + }, + "com.amazonaws.inspector2#ArchitectureList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Architecture" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.inspector2#Arn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1011 + } + } + }, + "com.amazonaws.inspector2#AssociateMember": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#AssociateMemberRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#AssociateMemberResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

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.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/members/associate" + } + } + }, + "com.amazonaws.inspector2#AssociateMemberRequest": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the member account to be associated.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#AssociateMemberResponse": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the successfully associated member account.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#AtigData": { + "type": "structure", + "members": { + "firstSeen": { + "target": "com.amazonaws.inspector2#FirstSeen", + "traits": { + "smithy.api#documentation": "

The date and time this vulnerability was first observed.

" + } + }, + "lastSeen": { + "target": "com.amazonaws.inspector2#LastSeen", + "traits": { + "smithy.api#documentation": "

The date and time this vulnerability was last observed.

" + } + }, + "targets": { + "target": "com.amazonaws.inspector2#Targets", + "traits": { + "smithy.api#documentation": "

The commercial sectors this vulnerability targets.

" + } + }, + "ttps": { + "target": "com.amazonaws.inspector2#Ttps", + "traits": { + "smithy.api#documentation": "

The MITRE ATT&CK tactics, techniques, and procedures (TTPs) associated with vulnerability.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Threat Intel Group (ATIG) details for a specific vulnerability.

" + } + }, + "com.amazonaws.inspector2#AutoEnable": { + "type": "structure", + "members": { + "ec2": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector\n organization.

", + "smithy.api#required": {} + } + }, + "ecr": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector\n organization.

", + "smithy.api#required": {} + } + }, + "lambda": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Represents whether Amazon Web Services Lambda standard scans are automatically enabled for new members of your Amazon Inspector organization.\n

" + } + }, + "lambdaCode": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Represents whether Lambda code scans are automatically enabled for new members of your Amazon Inspector organization.\n \n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.

" + } + }, + "com.amazonaws.inspector2#AwsEc2InstanceDetails": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The type of the Amazon EC2 instance.

" + } + }, + "imageId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The image ID of the Amazon EC2 instance.

" + } + }, + "ipV4Addresses": { + "target": "com.amazonaws.inspector2#IpV4AddressList", + "traits": { + "smithy.api#documentation": "

The IPv4 addresses of the Amazon EC2 instance.

" + } + }, + "ipV6Addresses": { + "target": "com.amazonaws.inspector2#IpV6AddressList", + "traits": { + "smithy.api#documentation": "

The IPv6 addresses of the Amazon EC2 instance.

" + } + }, + "keyName": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The name of the key pair used to launch the Amazon EC2 instance.

" + } + }, + "iamInstanceProfileArn": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The IAM instance profile ARN of the Amazon EC2 instance.

" + } + }, + "vpcId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The VPC ID of the Amazon EC2 instance.

" + } + }, + "subnetId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The subnet ID of the Amazon EC2 instance.

" + } + }, + "launchedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time the Amazon EC2 instance was launched at.

" + } + }, + "platform": { + "target": "com.amazonaws.inspector2#Platform", + "traits": { + "smithy.api#documentation": "

The platform of the Amazon EC2 instance.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details of the Amazon EC2 instance involved in a finding.

" + } + }, + "com.amazonaws.inspector2#AwsEcrContainerAggregation": { + "type": "structure", + "members": { + "resourceIds": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The container resource IDs.

" + } + }, + "imageShas": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The image SHA values.

" + } + }, + "repositories": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The container repositories.

" + } + }, + "architectures": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The architecture of the containers.

" + } + }, + "imageTags": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The image tags.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The sort order (ascending or descending).

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#AwsEcrContainerSortBy", + "traits": { + "smithy.api#documentation": "

The value to sort by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An aggregation of information about Amazon ECR containers.

" + } + }, + "com.amazonaws.inspector2#AwsEcrContainerAggregationResponse": { + "type": "structure", + "members": { + "resourceId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The resource ID of the container.

", + "smithy.api#required": {} + } + }, + "imageSha": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The SHA value of the container image.

" + } + }, + "repository": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The container repository.

" + } + }, + "architecture": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The architecture of the container.

" + } + }, + "imageTags": { + "target": "com.amazonaws.inspector2#StringList", + "traits": { + "smithy.api#documentation": "

The container image stags.

" + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the account that owns the container.

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

The number of finding by severity.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An aggregation of information about Amazon ECR containers.

" + } + }, + "com.amazonaws.inspector2#AwsEcrContainerImageDetails": { + "type": "structure", + "members": { + "repositoryName": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The name of the repository the Amazon ECR container image resides in.

", + "smithy.api#required": {} + } + }, + "imageTags": { + "target": "com.amazonaws.inspector2#ImageTagList", + "traits": { + "smithy.api#documentation": "

The image tags attached to the Amazon ECR container image.

" + } + }, + "pushedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time the Amazon ECR container image was pushed.

" + } + }, + "author": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The image author of the Amazon ECR container image.

" + } + }, + "architecture": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The architecture of the Amazon ECR container image.

" + } + }, + "imageHash": { + "target": "com.amazonaws.inspector2#ImageHash", + "traits": { + "smithy.api#documentation": "

The image hash of the Amazon ECR container image.

", + "smithy.api#required": {} + } + }, + "registry": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The registry for the Amazon ECR container image.

", + "smithy.api#required": {} + } + }, + "platform": { + "target": "com.amazonaws.inspector2#Platform", + "traits": { + "smithy.api#documentation": "

The platform of the Amazon ECR container image.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The image details of the Amazon ECR container image.

" + } + }, + "com.amazonaws.inspector2#AwsEcrContainerSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#AwsLambdaFunctionDetails": { + "type": "structure", + "members": { + "functionName": { + "target": "com.amazonaws.inspector2#FunctionName", + "traits": { + "smithy.api#documentation": "

The name of the Amazon Web Services Lambda function.

", + "smithy.api#required": {} + } + }, + "runtime": { + "target": "com.amazonaws.inspector2#Runtime", + "traits": { + "smithy.api#documentation": "

The runtime environment for the Amazon Web Services Lambda function.

", + "smithy.api#required": {} + } + }, + "codeSha256": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The SHA256 hash of the Amazon Web Services Lambda function's deployment package.

", + "smithy.api#required": {} + } + }, + "version": { + "target": "com.amazonaws.inspector2#Version", + "traits": { + "smithy.api#documentation": "

The version of the Amazon Web Services Lambda function.

", + "smithy.api#required": {} + } + }, + "executionRoleArn": { + "target": "com.amazonaws.inspector2#ExecutionRoleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Lambda function's execution role.

", + "smithy.api#required": {} + } + }, + "layers": { + "target": "com.amazonaws.inspector2#LayerList", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Lambda function's \n layers. A Lambda function can have up to five layers.

" + } + }, + "vpcConfig": { + "target": "com.amazonaws.inspector2#LambdaVpcConfig", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Lambda function's networking configuration.

" + } + }, + "packageType": { + "target": "com.amazonaws.inspector2#PackageType", + "traits": { + "smithy.api#documentation": "

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

" + } + }, + "architectures": { + "target": "com.amazonaws.inspector2#ArchitectureList", + "traits": { + "smithy.api#documentation": "

The instruction set architecture that the Amazon Web Services Lambda function supports. Architecture is a string array with one of the \n valid values. The default architecture value is x86_64.

" + } + }, + "lastModifiedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time that a user last updated the configuration, in ISO 8601 format\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of information about the Amazon Web Services Lambda function.

" + } + }, + "com.amazonaws.inspector2#BadRequestException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

One or more tags submitted as part of the request is not valid.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.inspector2#BatchGetAccountStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#BatchGetAccountStatusRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#BatchGetAccountStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within your environment.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/status/batch/get" + } + } + }, + "com.amazonaws.inspector2#BatchGetAccountStatusRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#AccountIdSet", + "traits": { + "smithy.api#documentation": "

The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.

" + } + } + } + }, + "com.amazonaws.inspector2#BatchGetAccountStatusResponse": { + "type": "structure", + "members": { + "accounts": { + "target": "com.amazonaws.inspector2#AccountStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.

", + "smithy.api#required": {} + } + }, + "failedAccounts": { + "target": "com.amazonaws.inspector2#FailedAccountList", + "traits": { + "smithy.api#documentation": "

An array of objects detailing any accounts that failed to enable Amazon Inspector and why.

" + } + } + } + }, + "com.amazonaws.inspector2#BatchGetCodeSnippet": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#BatchGetCodeSnippetRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#BatchGetCodeSnippetResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities in.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/codesnippet/batchget" + } + } + }, + "com.amazonaws.inspector2#BatchGetCodeSnippetRequest": { + "type": "structure", + "members": { + "findingArns": { + "target": "com.amazonaws.inspector2#FindingArns", + "traits": { + "smithy.api#documentation": "

An array of finding ARNs for the findings you want to retrieve code snippets from.

", + "smithy.api#length": { + "min": 1, + "max": 10 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#BatchGetCodeSnippetResponse": { + "type": "structure", + "members": { + "codeSnippetResults": { + "target": "com.amazonaws.inspector2#CodeSnippetResultList", + "traits": { + "smithy.api#documentation": "

The retrieved code snippets associated with the provided finding ARNs.

" + } + }, + "errors": { + "target": "com.amazonaws.inspector2#CodeSnippetErrorList", + "traits": { + "smithy.api#documentation": "

Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#BatchGetFindingDetails": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#BatchGetFindingDetailsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#BatchGetFindingDetailsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets vulnerability details for findings.

", + "smithy.api#examples": [ + { + "title": "Sample BatchGetFindingDetails Call", + "input": { + "findingArns": [ + "arn:aws:inspector2:eu-west-1:123456789012:finding/78b88cc9aa1d78b6e14fde90d774dde7", + "arn:aws:inspector2:eu-west-1:111111111111:finding/78b88cc9aa1d78b6e14fde90d874dde7" + ] }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.inspector2#TitleSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CRITICAL", - "name": "CRITICAL" - }, - { - "value": "HIGH", - "name": "HIGH" - }, - { - "value": "ALL", - "name": "ALL" - } - ] - } - }, - "com.amazonaws.inspector2#Tool": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#Tools": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Tool" - } - }, - "com.amazonaws.inspector2#Ttp": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 30 + "output": { + "findingDetails": [ + { + "findingArn": "arn:aws:inspector2:eu-west-1:123456789012:finding/78b88cc9aa1d78b6e14fde90d774dde7", + "cisaData": { + "dateAdded": 1688580990, + "dateDue": 1688580999, + "action": "For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks." + }, + "riskScore": 66, + "evidences": [ + { + "evidenceRule": "Historically Linked to Penetration Testing Tools", + "evidenceDetail": "2 sightings on 1 source", + "severity": "Low" + } + ], + "ttps": ["TA0001", "TA0002"], + "tools": ["Metasploit"], + "exploitObserved": { + "lastSeen": 1688580990, + "firstSeen": 1688580800 + }, + "referenceUrls": ["https://nvd.nist.gov/vuln/detail/CVE-2019-20367"], + "cwes": ["cwe-1234"], + "epssScore": 0.85 + } + ], + "errors": [ + { + "findingArn": "arn:aws:inspector2:eu-west-1:111111111111:finding/78b88cc9aa1d78b6e14fde90d874dde7", + "errorCode": "ACCESS_DENIED", + "errorMessage": "You don't have permission to access this finding" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/findings/details/batch/get" + } + } + }, + "com.amazonaws.inspector2#BatchGetFindingDetailsRequest": { + "type": "structure", + "members": { + "findingArns": { + "target": "com.amazonaws.inspector2#FindingArnList", + "traits": { + "smithy.api#documentation": "

A list of finding ARNs.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#BatchGetFindingDetailsResponse": { + "type": "structure", + "members": { + "findingDetails": { + "target": "com.amazonaws.inspector2#FindingDetails", + "traits": { + "smithy.api#documentation": "

A finding's vulnerability details.

" + } + }, + "errors": { + "target": "com.amazonaws.inspector2#FindingDetailsErrorList", + "traits": { + "smithy.api#documentation": "

Error information for findings that details could not be returned for.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#BatchGetFreeTrialInfo": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#BatchGetFreeTrialInfoRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#BatchGetFreeTrialInfoResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets free trial status for multiple Amazon Web Services accounts.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/freetrialinfo/batchget" + } + } + }, + "com.amazonaws.inspector2#BatchGetFreeTrialInfoRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#MeteringAccountIdList", + "traits": { + "smithy.api#documentation": "

The account IDs to get free trial status for.

", + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#BatchGetFreeTrialInfoResponse": { + "type": "structure", + "members": { + "accounts": { + "target": "com.amazonaws.inspector2#FreeTrialAccountInfoList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.\n

", + "smithy.api#required": {} + } + }, + "failedAccounts": { + "target": "com.amazonaws.inspector2#FreeTrialInfoErrorList", + "traits": { + "smithy.api#documentation": "

An array of objects detailing any accounts that free trial data could not be returned for.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

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.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionstatus/member/batch/get" + } + } + }, + "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#AccountIdSet", + "traits": { + "smithy.api#documentation": "

The unique identifiers for the Amazon Web Services accounts to retrieve Amazon Inspector deep inspection activation status for.\n \n

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatusResponse": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details on the activation status of Amazon Inspector deep inspection for each of the requested accounts.\n \n

" + } + }, + "failedAccountIds": { + "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details on any accounts that failed to activate Amazon Inspector deep inspection and why.\n \n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

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.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionstatus/member/batch/update" + } + } + }, + "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusList", + "traits": { + "smithy.api#documentation": "

The unique identifiers for the Amazon Web Services accounts to change Amazon Inspector deep inspection status for.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatusResponse": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status was successfully changed for. \n

" + } + }, + "failedAccountIds": { + "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList", + "traits": { + "smithy.api#documentation": "

An array of objects that provide details for each of the accounts that Amazon Inspector deep inspection status could not be successfully changed for. \n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#BenchmarkProfile": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 128 + } + } + }, + "com.amazonaws.inspector2#BenchmarkVersion": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 8 + } + } + }, + "com.amazonaws.inspector2#CancelFindingsReport": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#CancelFindingsReportRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#CancelFindingsReportResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Cancels the given findings report.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/reporting/cancel" + } + } + }, + "com.amazonaws.inspector2#CancelFindingsReportRequest": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The ID of the report to be canceled.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#CancelFindingsReportResponse": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The ID of the canceled report.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#CancelSbomExport": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#CancelSbomExportRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#CancelSbomExportResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Cancels a software bill of materials (SBOM) report.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/sbomexport/cancel" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#CancelSbomExportRequest": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The report ID of the SBOM export to cancel.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#CancelSbomExportResponse": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The report ID of the canceled SBOM export.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#CheckCount": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0, + "max": 65536 + } + } + }, + "com.amazonaws.inspector2#CheckIdFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CisAccountIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#AccountId" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10000 + }, + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.inspector2#CisCheckAggregation": { + "type": "structure", + "members": { + "scanArn": { + "target": "com.amazonaws.inspector2#CisScanArn", + "traits": { + "smithy.api#documentation": "

The scan ARN for the CIS check scan ARN.

", + "smithy.api#required": {} + } + }, + "checkId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The check ID for the CIS check.

" + } + }, + "title": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The CIS check title.

" + } + }, + "checkDescription": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The description for the CIS check.

" + } + }, + "level": { + "target": "com.amazonaws.inspector2#CisSecurityLevel", + "traits": { + "smithy.api#documentation": "

The CIS check level.

" + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The account ID for the CIS check.

" + } + }, + "statusCounts": { + "target": "com.amazonaws.inspector2#StatusCounts", + "traits": { + "smithy.api#documentation": "

The CIS check status counts.

" + } + }, + "platform": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The CIS check platform.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A CIS check.

" + } + }, + "com.amazonaws.inspector2#CisCheckAggregationList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisCheckAggregation" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.inspector2#CisDateFilter": { + "type": "structure", + "members": { + "earliestScanStartTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The CIS date filter's earliest scan start time.

" + } + }, + "latestScanStartTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The CIS date filter's latest scan start time.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS date filter.

" + } + }, + "com.amazonaws.inspector2#CisFindingArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:aws(-gov|-cn)?:inspector2:[-.a-z0-9]{0,20}:\\d{12}:owner/\\d{12}/cis-finding/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + } + }, + "com.amazonaws.inspector2#CisFindingArnFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CisFindingStatus": { + "type": "enum", + "members": { + "PASSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PASSED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "SKIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SKIPPED" + } + } + } + }, + "com.amazonaws.inspector2#CisFindingStatusComparison": { + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUALS" + } + } + } + }, + "com.amazonaws.inspector2#CisFindingStatusFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CisFindingStatusComparison", + "traits": { + "smithy.api#documentation": "

The comparison value of the CIS finding status filter.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#CisFindingStatus", + "traits": { + "smithy.api#documentation": "

The value of the CIS finding status filter.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS finding status filter.

" + } + }, + "com.amazonaws.inspector2#CisFindingStatusFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisFindingStatusFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + }, + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.inspector2#CisNumberFilter": { + "type": "structure", + "members": { + "upperInclusive": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The CIS number filter's upper inclusive.

" + } + }, + "lowerInclusive": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The CIS number filter's lower inclusive.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS number filter.

" + } + }, + "com.amazonaws.inspector2#CisNumberFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisNumberFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + }, + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.inspector2#CisOwnerId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\d{12}|o-[a-z0-9]{10,32}$" + } + }, + "com.amazonaws.inspector2#CisReportFormat": { + "type": "enum", + "members": { + "PDF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PDF" + } + }, + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" + } + } + } + }, + "com.amazonaws.inspector2#CisReportStatus": { + "type": "enum", + "members": { + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + } + } + }, + "com.amazonaws.inspector2#CisResultStatus": { + "type": "enum", + "members": { + "PASSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PASSED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "SKIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SKIPPED" + } + } + } + }, + "com.amazonaws.inspector2#CisResultStatusComparison": { + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUALS" + } + } + } + }, + "com.amazonaws.inspector2#CisResultStatusFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CisResultStatusComparison", + "traits": { + "smithy.api#documentation": "

The comparison value of the CIS result status filter.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#CisResultStatus", + "traits": { + "smithy.api#documentation": "

The value of the CIS result status filter.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS result status filter.

" + } + }, + "com.amazonaws.inspector2#CisResultStatusFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisResultStatusFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CisRuleDetails": { + "type": "blob", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1000 + } + } + }, + "com.amazonaws.inspector2#CisRuleStatus": { + "type": "enum", + "members": { + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "PASSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PASSED" + } + }, + "NOT_EVALUATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_EVALUATED" + } + }, + "INFORMATIONAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INFORMATIONAL" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + }, + "NOT_APPLICABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_APPLICABLE" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } + } + }, + "com.amazonaws.inspector2#CisScan": { + "type": "structure", + "members": { + "scanArn": { + "target": "com.amazonaws.inspector2#CisScanArn", + "traits": { + "smithy.api#documentation": "

The CIS scan's ARN.

", + "smithy.api#required": {} + } + }, + "scanConfigurationArn": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArn", + "traits": { + "smithy.api#documentation": "

The CIS scan's configuration ARN.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.inspector2#CisScanStatus", + "traits": { + "smithy.api#documentation": "

The CIS scan's status.

" + } + }, + "scanName": { + "target": "com.amazonaws.inspector2#CisScanName", + "traits": { + "smithy.api#documentation": "

The the name of the scan configuration that's associated with this scan.

" + } + }, + "scanDate": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The CIS scan's date.

" + } + }, + "failedChecks": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The CIS scan's failed checks.

" + } + }, + "totalChecks": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The CIS scan's total checks.

" + } + }, + "targets": { + "target": "com.amazonaws.inspector2#CisTargets", + "traits": { + "smithy.api#documentation": "

The CIS scan's targets.

" + } + }, + "scheduledBy": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The account or organization that schedules the CIS scan.

" + } + }, + "securityLevel": { + "target": "com.amazonaws.inspector2#CisSecurityLevel", + "traits": { + "smithy.api#documentation": "

\n The security level for the CIS scan. \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS scan.

" + } + }, + "com.amazonaws.inspector2#CisScanArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:aws(-us-gov|-cn)?:inspector2:[-.a-z0-9]{0,20}:\\d{12}:owner/(\\d{12}|o-[a-z0-9]{10,32})/cis-scan/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + } + }, + "com.amazonaws.inspector2#CisScanArnFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CisScanConfiguration": { + "type": "structure", + "members": { + "scanConfigurationArn": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArn", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration's scan configuration ARN.

", + "smithy.api#required": {} + } + }, + "ownerId": { + "target": "com.amazonaws.inspector2#CisOwnerId", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration's owner ID.

" + } + }, + "scanName": { + "target": "com.amazonaws.inspector2#CisScanName", + "traits": { + "smithy.api#documentation": "

The name of the CIS scan configuration.

" + } + }, + "securityLevel": { + "target": "com.amazonaws.inspector2#CisSecurityLevel", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration's security level.

" + } + }, + "schedule": { + "target": "com.amazonaws.inspector2#Schedule", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration's schedule.

" + } + }, + "targets": { + "target": "com.amazonaws.inspector2#CisTargets", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration's targets.

" + } + }, + "tags": { + "target": "com.amazonaws.inspector2#CisTagMap", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration's tags.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS scan configuration.

" + } + }, + "com.amazonaws.inspector2#CisScanConfigurationArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:aws(-us-gov|-cn)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-[0-9]{1}:[0-9]{12}:owner/(o-[a-z0-9]+|[0-9]{12})/cis-configuration/[0-9a-fA-F-]+$" + } + }, + "com.amazonaws.inspector2#CisScanConfigurationArnFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CisScanConfigurationList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisScanConfiguration" + }, + "traits": { + "smithy.api#length": { + "max": 100 + } + } + }, + "com.amazonaws.inspector2#CisScanConfigurationsSortBy": { + "type": "enum", + "members": { + "SCAN_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCAN_NAME" + } + }, + "SCAN_CONFIGURATION_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCAN_CONFIGURATION_ARN" + } + } + } + }, + "com.amazonaws.inspector2#CisScanDateFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisDateFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.inspector2#CisScanList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisScan" + }, + "traits": { + "smithy.api#length": { + "max": 50 + } + } + }, + "com.amazonaws.inspector2#CisScanName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.inspector2#CisScanNameFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CisScanResultDetails": { + "type": "structure", + "members": { + "scanArn": { + "target": "com.amazonaws.inspector2#CisScanArn", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' scan ARN.

", + "smithy.api#required": {} + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' account ID.

" + } + }, + "targetResourceId": { + "target": "com.amazonaws.inspector2#ResourceId", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' target resource ID.

" + } + }, + "platform": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' platform.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#CisFindingStatus", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' status.

" + } + }, + "statusReason": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' status reason.

" + } + }, + "checkId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' check ID.

" + } + }, + "title": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' title.

" + } + }, + "checkDescription": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The account ID that's associated with the CIS scan result details.

" + } + }, + "remediation": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' remediation.

" + } + }, + "level": { + "target": "com.amazonaws.inspector2#CisSecurityLevel", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' level.

" + } + }, + "findingArn": { + "target": "com.amazonaws.inspector2#CisFindingArn", + "traits": { + "smithy.api#documentation": "

The CIS scan result details' finding ARN.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS scan result details.

" + } + }, + "com.amazonaws.inspector2#CisScanResultDetailsFilterCriteria": { + "type": "structure", + "members": { + "findingStatusFilters": { + "target": "com.amazonaws.inspector2#CisFindingStatusFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's finding status filters.

" + } + }, + "checkIdFilters": { + "target": "com.amazonaws.inspector2#CheckIdFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's check ID filters.

" + } + }, + "titleFilters": { + "target": "com.amazonaws.inspector2#TitleFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's title filters.

" + } + }, + "securityLevelFilters": { + "target": "com.amazonaws.inspector2#CisSecurityLevelFilterList", + "traits": { + "smithy.api#documentation": "

\n The criteria's security level filters. . \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

" + } + }, + "findingArnFilters": { + "target": "com.amazonaws.inspector2#CisFindingArnFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's finding ARN filters.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS scan result details filter criteria.

" + } + }, + "com.amazonaws.inspector2#CisScanResultDetailsList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisScanResultDetails" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.inspector2#CisScanResultDetailsSortBy": { + "type": "enum", + "members": { + "CHECK_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHECK_ID" + } + }, + "STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATUS" + } + } + } + }, + "com.amazonaws.inspector2#CisScanResultsAggregatedByChecksFilterCriteria": { + "type": "structure", + "members": { + "accountIdFilters": { + "target": "com.amazonaws.inspector2#OneAccountIdFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's account ID filters.

" + } + }, + "checkIdFilters": { + "target": "com.amazonaws.inspector2#CheckIdFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's check ID filters.

" + } + }, + "titleFilters": { + "target": "com.amazonaws.inspector2#TitleFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's title filters.

" + } + }, + "platformFilters": { + "target": "com.amazonaws.inspector2#PlatformFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's platform filters.

" + } + }, + "failedResourcesFilters": { + "target": "com.amazonaws.inspector2#CisNumberFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's failed resources filters.

" + } + }, + "securityLevelFilters": { + "target": "com.amazonaws.inspector2#CisSecurityLevelFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's security level filters.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The scan results aggregated by checks filter criteria.

" + } + }, + "com.amazonaws.inspector2#CisScanResultsAggregatedByChecksSortBy": { + "type": "enum", + "members": { + "CHECK_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHECK_ID" + } + }, + "TITLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TITLE" + } + }, + "PLATFORM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PLATFORM" + } + }, + "FAILED_COUNTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_COUNTS" + } + }, + "SECURITY_LEVEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SECURITY_LEVEL" + } + } + } + }, + "com.amazonaws.inspector2#CisScanResultsAggregatedByTargetResourceFilterCriteria": { + "type": "structure", + "members": { + "accountIdFilters": { + "target": "com.amazonaws.inspector2#AccountIdFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's account ID filters.

" + } + }, + "statusFilters": { + "target": "com.amazonaws.inspector2#CisResultStatusFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's status filter.

" + } + }, + "checkIdFilters": { + "target": "com.amazonaws.inspector2#CheckIdFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's check ID filters.

" + } + }, + "targetResourceIdFilters": { + "target": "com.amazonaws.inspector2#ResourceIdFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's target resource ID filters.

" + } + }, + "targetResourceTagFilters": { + "target": "com.amazonaws.inspector2#ResourceTagFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's target resource tag filters.

" + } + }, + "platformFilters": { + "target": "com.amazonaws.inspector2#PlatformFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's platform filters.

" + } + }, + "targetStatusFilters": { + "target": "com.amazonaws.inspector2#TargetStatusFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's target status filters.

" + } + }, + "targetStatusReasonFilters": { + "target": "com.amazonaws.inspector2#TargetStatusReasonFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's target status reason filters.

" + } + }, + "failedChecksFilters": { + "target": "com.amazonaws.inspector2#CisNumberFilterList", + "traits": { + "smithy.api#documentation": "

The criteria's failed checks filters.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The scan results aggregated by target resource filter criteria.

" + } + }, + "com.amazonaws.inspector2#CisScanResultsAggregatedByTargetResourceSortBy": { + "type": "enum", + "members": { + "RESOURCE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_ID" + } + }, + "FAILED_COUNTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_COUNTS" + } + }, + "ACCOUNT_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNT_ID" + } + }, + "PLATFORM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PLATFORM" + } + }, + "TARGET_STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TARGET_STATUS" + } + }, + "TARGET_STATUS_REASON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TARGET_STATUS_REASON" + } + } + } + }, + "com.amazonaws.inspector2#CisScanResultsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#CisScanStatus": { + "type": "enum", + "members": { + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + } + } + }, + "com.amazonaws.inspector2#CisScanStatusComparison": { + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUALS" + } + } + } + }, + "com.amazonaws.inspector2#CisScanStatusFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CisScanStatusComparison", + "traits": { + "smithy.api#documentation": "

The filter comparison value.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#CisScanStatus", + "traits": { + "smithy.api#documentation": "

The filter value.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS scan status filter.

" + } + }, + "com.amazonaws.inspector2#CisScanStatusFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisScanStatusFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + }, + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.inspector2#CisScheduledByFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CisSecurityLevel": { + "type": "enum", + "members": { + "LEVEL_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LEVEL_1" + } + }, + "LEVEL_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LEVEL_2" + } + } + } + }, + "com.amazonaws.inspector2#CisSecurityLevelComparison": { + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUALS" + } + } + } + }, + "com.amazonaws.inspector2#CisSecurityLevelFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CisSecurityLevelComparison", + "traits": { + "smithy.api#documentation": "

The CIS security filter comparison value.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#CisSecurityLevel", + "traits": { + "smithy.api#documentation": "

The CIS security filter value.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

\n The CIS security level filter. \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

" + } + }, + "com.amazonaws.inspector2#CisSecurityLevelFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisSecurityLevelFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CisSessionMessage": { + "type": "structure", + "members": { + "ruleId": { + "target": "com.amazonaws.inspector2#RuleId", + "traits": { + "smithy.api#documentation": "

The rule ID for the CIS session message.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.inspector2#CisRuleStatus", + "traits": { + "smithy.api#documentation": "

The status of the CIS session message.

", + "smithy.api#required": {} + } + }, + "cisRuleDetails": { + "target": "com.amazonaws.inspector2#CisRuleDetails", + "traits": { + "smithy.api#documentation": "

The CIS rule details for the CIS session message.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS session message.

" + } + }, + "com.amazonaws.inspector2#CisSessionMessages": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisSessionMessage" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 150 + } + } + }, + "com.amazonaws.inspector2#CisSortOrder": { + "type": "enum", + "members": { + "ASC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ASC" + } + }, + "DESC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESC" + } + } + } + }, + "com.amazonaws.inspector2#CisStringComparison": { + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUALS" + } + }, + "PREFIX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PREFIX" + } + }, + "NOT_EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_EQUALS" + } + } + } + }, + "com.amazonaws.inspector2#CisStringFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CisStringComparison", + "traits": { + "smithy.api#documentation": "

The comparison value of the CIS string filter.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The value of the CIS string filter.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS string filter.

" + } + }, + "com.amazonaws.inspector2#CisTagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.inspector2#MapKey" + }, + "value": { + "target": "com.amazonaws.inspector2#MapValue" + } + }, + "com.amazonaws.inspector2#CisTargetResourceAggregation": { + "type": "structure", + "members": { + "scanArn": { + "target": "com.amazonaws.inspector2#CisScanArn", + "traits": { + "smithy.api#documentation": "

The scan ARN for the CIS target resource.

", + "smithy.api#required": {} + } + }, + "targetResourceId": { + "target": "com.amazonaws.inspector2#ResourceId", + "traits": { + "smithy.api#documentation": "

The ID of the target resource.

" + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The account ID for the CIS target resource.

" + } + }, + "targetResourceTags": { + "target": "com.amazonaws.inspector2#TargetResourceTags", + "traits": { + "smithy.api#documentation": "

The tag for the target resource.

" + } + }, + "statusCounts": { + "target": "com.amazonaws.inspector2#StatusCounts", + "traits": { + "smithy.api#documentation": "

The target resource status counts.

" + } + }, + "platform": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The platform for the CIS target resource.

" + } + }, + "targetStatus": { + "target": "com.amazonaws.inspector2#CisTargetStatus", + "traits": { + "smithy.api#documentation": "

The status of the target resource.

" + } + }, + "targetStatusReason": { + "target": "com.amazonaws.inspector2#CisTargetStatusReason", + "traits": { + "smithy.api#documentation": "

The reason for the target resource.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS target resource aggregation.

" + } + }, + "com.amazonaws.inspector2#CisTargetResourceAggregationList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisTargetResourceAggregation" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.inspector2#CisTargetStatus": { + "type": "enum", + "members": { + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + } + } + }, + "com.amazonaws.inspector2#CisTargetStatusComparison": { + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUALS" + } + } + } + }, + "com.amazonaws.inspector2#CisTargetStatusFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CisTargetStatusComparison", + "traits": { + "smithy.api#documentation": "

The comparison value of the CIS target status filter.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#CisTargetStatus", + "traits": { + "smithy.api#documentation": "

The value of the CIS target status filter.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS target status filter.

" + } + }, + "com.amazonaws.inspector2#CisTargetStatusReason": { + "type": "enum", + "members": { + "SCAN_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCAN_IN_PROGRESS" + } + }, + "UNSUPPORTED_OS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNSUPPORTED_OS" + } + }, + "SSM_UNMANAGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSM_UNMANAGED" + } + } + } + }, + "com.amazonaws.inspector2#CisTargetStatusReasonFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CisTargetStatusComparison", + "traits": { + "smithy.api#documentation": "

The comparison value of the CIS target status reason filter.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#CisTargetStatusReason", + "traits": { + "smithy.api#documentation": "

The value of the CIS target status reason filter.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS target status reason filter.

" + } + }, + "com.amazonaws.inspector2#CisTargets": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#CisAccountIdList", + "traits": { + "smithy.api#documentation": "

The CIS target account ids.

" + } + }, + "targetResourceTags": { + "target": "com.amazonaws.inspector2#TargetResourceTags", + "traits": { + "smithy.api#documentation": "

The CIS target resource tags.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CIS targets.

" + } + }, + "com.amazonaws.inspector2#CisaAction": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#CisaData": { + "type": "structure", + "members": { + "dateAdded": { + "target": "com.amazonaws.inspector2#CisaDateAdded", + "traits": { + "smithy.api#documentation": "

The date and time CISA added this vulnerability to their catalogue.

" + } + }, + "dateDue": { + "target": "com.amazonaws.inspector2#CisaDateDue", + "traits": { + "smithy.api#documentation": "

The date and time CISA expects a fix to have been provided vulnerability.

" + } + }, + "action": { + "target": "com.amazonaws.inspector2#CisaAction", + "traits": { + "smithy.api#documentation": "

The remediation action recommended by CISA for this vulnerability.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The Cybersecurity and Infrastructure Security Agency (CISA) details for a specific vulnerability.

" + } + }, + "com.amazonaws.inspector2#CisaDateAdded": { + "type": "timestamp" + }, + "com.amazonaws.inspector2#CisaDateDue": { + "type": "timestamp" + }, + "com.amazonaws.inspector2#ClientToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.inspector2#CodeFilePath": { + "type": "structure", + "members": { + "fileName": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The name of the file the code vulnerability was found in.

", + "smithy.api#required": {} + } + }, + "filePath": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The file path to the code that a vulnerability was found in.

", + "smithy.api#required": {} + } + }, + "startLine": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The line number of the first line of code that a vulnerability was found in.

", + "smithy.api#required": {} + } + }, + "endLine": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The line number of the last line of code that a vulnerability was found in.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information on where a code vulnerability is located in your Lambda function.

" + } + }, + "com.amazonaws.inspector2#CodeLine": { + "type": "structure", + "members": { + "content": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The content of a line of code

", + "smithy.api#length": { + "min": 0, + "max": 240 + }, + "smithy.api#required": {} + } + }, + "lineNumber": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The line number that a section of code is located at.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information on the lines of code associated with a code snippet.

" + } + }, + "com.amazonaws.inspector2#CodeLineList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CodeLine" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + } + } + }, + "com.amazonaws.inspector2#CodeSnippetError": { + "type": "structure", + "members": { + "findingArn": { + "target": "com.amazonaws.inspector2#FindingArn", + "traits": { + "smithy.api#documentation": "

The ARN of the finding that a code snippet couldn't be retrieved for.

", + "smithy.api#required": {} + } + }, + "errorCode": { + "target": "com.amazonaws.inspector2#CodeSnippetErrorCode", + "traits": { + "smithy.api#documentation": "

The error code for the error that prevented a code snippet from being retrieved.

", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The error message received when Amazon Inspector failed to retrieve a code snippet.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about any errors encountered while trying to retrieve a code snippet.

" + } + }, + "com.amazonaws.inspector2#CodeSnippetErrorCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "INTERNAL_ERROR", + "name": "INTERNAL_ERROR" + }, + { + "value": "ACCESS_DENIED", + "name": "ACCESS_DENIED" + }, + { + "value": "CODE_SNIPPET_NOT_FOUND", + "name": "CODE_SNIPPET_NOT_FOUND" + }, + { + "value": "INVALID_INPUT", + "name": "INVALID_INPUT" + } + ] + } + }, + "com.amazonaws.inspector2#CodeSnippetErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CodeSnippetError" + } + }, + "com.amazonaws.inspector2#CodeSnippetResult": { + "type": "structure", + "members": { + "findingArn": { + "target": "com.amazonaws.inspector2#FindingArn", + "traits": { + "smithy.api#documentation": "

The ARN of a finding that the code snippet is associated with.

" + } + }, + "startLine": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The line number of the first line of a code snippet.

" + } + }, + "endLine": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The line number of the last line of a code snippet.

" + } + }, + "codeSnippet": { + "target": "com.amazonaws.inspector2#CodeLineList", + "traits": { + "smithy.api#documentation": "

Contains information on the retrieved code snippet.

" + } + }, + "suggestedFixes": { + "target": "com.amazonaws.inspector2#SuggestedFixes", + "traits": { + "smithy.api#documentation": "

Details of a suggested code fix.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information on a code snippet retrieved by Amazon Inspector from a code vulnerability finding.

" + } + }, + "com.amazonaws.inspector2#CodeSnippetResultList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CodeSnippetResult" + } + }, + "com.amazonaws.inspector2#CodeVulnerabilityDetails": { + "type": "structure", + "members": { + "filePath": { + "target": "com.amazonaws.inspector2#CodeFilePath", + "traits": { + "smithy.api#documentation": "

Contains information on where the code vulnerability is located in your code.

", + "smithy.api#required": {} + } + }, + "detectorTags": { + "target": "com.amazonaws.inspector2#DetectorTagList", + "traits": { + "smithy.api#documentation": "

The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.

" + } + }, + "referenceUrls": { + "target": "com.amazonaws.inspector2#ReferenceUrls", + "traits": { + "smithy.api#documentation": "

A URL containing supporting documentation about the code vulnerability detected.

" + } + }, + "ruleId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The identifier for a rule that was used to detect the code vulnerability.

" + } + }, + "sourceLambdaLayerArn": { + "target": "com.amazonaws.inspector2#LambdaLayerArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.

" + } + }, + "detectorId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see Amazon CodeGuru\n Detector Library.

", + "smithy.api#required": {} + } + }, + "detectorName": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The name of the detector used to identify the code vulnerability. For more information on detectors see CodeGuru Detector Library.

", + "smithy.api#required": {} + } + }, + "cwes": { + "target": "com.amazonaws.inspector2#CweList", + "traits": { + "smithy.api#documentation": "

The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information on the code vulnerability identified in your Lambda function.

" + } + }, + "com.amazonaws.inspector2#Component": { + "type": "string" + }, + "com.amazonaws.inspector2#ComponentType": { + "type": "string" + }, + "com.amazonaws.inspector2#ComputePlatform": { + "type": "structure", + "members": { + "vendor": { + "target": "com.amazonaws.inspector2#Vendor", + "traits": { + "smithy.api#documentation": "

The compute platform vendor.

" + } + }, + "product": { + "target": "com.amazonaws.inspector2#Product", + "traits": { + "smithy.api#documentation": "

The compute platform product.

" + } + }, + "version": { + "target": "com.amazonaws.inspector2#PlatformVersion", + "traits": { + "smithy.api#documentation": "

The compute platform version.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A compute platform.

" + } + }, + "com.amazonaws.inspector2#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "resourceId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the conflicting resource.

", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The type of the conflicting resource.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A conflict occurred.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.inspector2#Counts": { + "type": "structure", + "members": { + "count": { + "target": "com.amazonaws.inspector2#AggCounts", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The number of resources.

" + } + }, + "groupKey": { + "target": "com.amazonaws.inspector2#GroupKey", + "traits": { + "smithy.api#documentation": "

The key associated with this group

" + } + } + }, + "traits": { + "smithy.api#documentation": "

a structure that contains information on the count of resources within a group.

" + } + }, + "com.amazonaws.inspector2#CountsList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Counts" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, + "com.amazonaws.inspector2#CoverageDateFilter": { + "type": "structure", + "members": { + "startInclusive": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

A timestamp representing the start of the time period to filter results by.

" + } + }, + "endInclusive": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

A timestamp representing the end of the time period to filter results by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains details of a coverage date filter.

" + } + }, + "com.amazonaws.inspector2#CoverageDateFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CoverageDateFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CoverageFilterCriteria": { + "type": "structure", + "members": { + "scanStatusCode": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

The scan status code to filter on. Valid values are: ValidationException, InternalServerException, ResourceNotFoundException, BadRequestException, and ThrottlingException.

" + } + }, + "scanStatusReason": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

The scan status reason to filter on.

" + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

An array of Amazon Web Services account IDs to return coverage statistics for.

" + } + }, + "resourceId": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

An array of Amazon Web Services resource IDs to return coverage statistics for.

" + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

An array of Amazon Web Services resource types to return coverage statistics for. The values can be AWS_EC2_INSTANCE, AWS_LAMBDA_FUNCTION, AWS_ECR_CONTAINER_IMAGE, AWS_ECR_REPOSITORY or AWS_ACCOUNT.

" + } + }, + "scanType": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

An array of Amazon Inspector scan types to return coverage statistics for.

" + } + }, + "ecrRepositoryName": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon ECR repository name to filter on.

" + } + }, + "ecrImageTags": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon ECR image tags to filter on.

" + } + }, + "ec2InstanceTags": { + "target": "com.amazonaws.inspector2#CoverageMapFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon EC2 instance tags to filter on.

" + } + }, + "lambdaFunctionName": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

Returns coverage statistics for Amazon Web Services Lambda functions filtered by function names.

" + } + }, + "lambdaFunctionTags": { + "target": "com.amazonaws.inspector2#CoverageMapFilterList", + "traits": { + "smithy.api#documentation": "

Returns coverage statistics for Amazon Web Services Lambda functions filtered by tag.

" + } + }, + "lambdaFunctionRuntime": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

Returns coverage statistics for Amazon Web Services Lambda functions filtered by runtime.

" + } + }, + "lastScannedAt": { + "target": "com.amazonaws.inspector2#CoverageDateFilterList", + "traits": { + "smithy.api#documentation": "

Filters Amazon Web Services resources based on whether Amazon Inspector has checked them for vulnerabilities within the specified time range.

" + } + }, + "scanMode": { + "target": "com.amazonaws.inspector2#CoverageStringFilterList", + "traits": { + "smithy.api#documentation": "

The filter to search for Amazon EC2 instance coverage by scan mode. Valid values are EC2_SSM_AGENT_BASED and EC2_AGENTLESS.

" + } + }, + "imagePulledAt": { + "target": "com.amazonaws.inspector2#CoverageDateFilterList", + "traits": { + "smithy.api#documentation": "

The date an image was last pulled at.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A structure that identifies filter criteria for GetCoverageStatistics.

" + } + }, + "com.amazonaws.inspector2#CoverageMapComparison": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + } + ] + } + }, + "com.amazonaws.inspector2#CoverageMapFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CoverageMapComparison", + "traits": { + "smithy.api#documentation": "

The operator to compare coverage on.

", + "smithy.api#required": {} + } + }, + "key": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The tag key associated with the coverage map filter.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The tag value associated with the coverage map filter.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains details of a coverage map filter.

" + } + }, + "com.amazonaws.inspector2#CoverageMapFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CoverageMapFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CoverageResourceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWS_EC2_INSTANCE", + "name": "AWS_EC2_INSTANCE" + }, + { + "value": "AWS_ECR_CONTAINER_IMAGE", + "name": "AWS_ECR_CONTAINER_IMAGE" + }, + { + "value": "AWS_ECR_REPOSITORY", + "name": "AWS_ECR_REPOSITORY" + }, + { + "value": "AWS_LAMBDA_FUNCTION", + "name": "AWS_LAMBDA_FUNCTION" + } + ] + } + }, + "com.amazonaws.inspector2#CoverageStringComparison": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + }, + { + "value": "NOT_EQUALS", + "name": "NOT_EQUALS" + } + ] + } + }, + "com.amazonaws.inspector2#CoverageStringFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#CoverageStringComparison", + "traits": { + "smithy.api#documentation": "

The operator to compare strings on.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#CoverageStringInput", + "traits": { + "smithy.api#documentation": "

The value to compare strings on.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains details of a coverage string filter.

" + } + }, + "com.amazonaws.inspector2#CoverageStringFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CoverageStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#CoverageStringInput": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#CoveredResource": { + "type": "structure", + "members": { + "resourceType": { + "target": "com.amazonaws.inspector2#CoverageResourceType", + "traits": { + "smithy.api#documentation": "

The type of the covered resource.

", + "smithy.api#required": {} + } + }, + "resourceId": { + "target": "com.amazonaws.inspector2#ResourceId", + "traits": { + "smithy.api#documentation": "

The ID of the covered resource.

", + "smithy.api#required": {} + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the covered resource.

", + "smithy.api#required": {} + } + }, + "scanType": { + "target": "com.amazonaws.inspector2#ScanType", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector scan type covering the resource.

", + "smithy.api#required": {} + } + }, + "scanStatus": { + "target": "com.amazonaws.inspector2#ScanStatus", + "traits": { + "smithy.api#documentation": "

The status of the scan covering the resource.

" + } + }, + "resourceMetadata": { + "target": "com.amazonaws.inspector2#ResourceScanMetadata", + "traits": { + "smithy.api#documentation": "

An object that contains details about the metadata.

" + } + }, + "lastScannedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time the resource was last checked for vulnerabilities.

" + } + }, + "scanMode": { + "target": "com.amazonaws.inspector2#ScanMode", + "traits": { + "smithy.api#documentation": "

The scan method that is applied to the instance.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains details about a resource covered by Amazon Inspector.

" + } + }, + "com.amazonaws.inspector2#CoveredResources": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CoveredResource" + } + }, + "com.amazonaws.inspector2#CreateCisScanConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#CreateCisScanConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#CreateCisScanConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a CIS scan configuration.

", + "smithy.api#examples": [ + { + "title": "Sample CreateCisScanConfiguration Call", + "input": { + "scanName": "sample", + "securityLevel": "LEVEL_1", + "schedule": { + "daily": { + "startTime": { + "timeOfDay": "12:34", + "timezone": "UTC" + } + } + }, + "targets": { + "accountIds": ["SELF"], + "targetResourceTags": { + "key": ["value"] } - } - }, - "com.amazonaws.inspector2#Ttps": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Ttp" + } }, - "traits": { - "smithy.api#length": { - "min": 0 - } - } - }, - "com.amazonaws.inspector2#UUID": { - "type": "string", - "traits": { - "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" - } - }, - "com.amazonaws.inspector2#UntagResource": { - "type": "operation", + "output": { + "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38" + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan-configuration/create" + } + } + }, + "com.amazonaws.inspector2#CreateCisScanConfigurationRequest": { + "type": "structure", + "members": { + "scanName": { + "target": "com.amazonaws.inspector2#CisScanName", + "traits": { + "smithy.api#documentation": "

The scan name for the CIS scan configuration.

", + "smithy.api#required": {} + } + }, + "securityLevel": { + "target": "com.amazonaws.inspector2#CisSecurityLevel", + "traits": { + "smithy.api#documentation": "

\n The security level for the CIS scan configuration. \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

", + "smithy.api#required": {} + } + }, + "schedule": { + "target": "com.amazonaws.inspector2#Schedule", + "traits": { + "smithy.api#documentation": "

The schedule for the CIS scan configuration.

", + "smithy.api#required": {} + } + }, + "targets": { + "target": "com.amazonaws.inspector2#CreateCisTargets", + "traits": { + "smithy.api#documentation": "

The targets for the CIS scan configuration.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.inspector2#CisTagMap", + "traits": { + "smithy.api#documentation": "

The tags for the CIS scan configuration.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#CreateCisScanConfigurationResponse": { + "type": "structure", + "members": { + "scanConfigurationArn": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArn", + "traits": { + "smithy.api#documentation": "

The scan configuration ARN for the CIS scan configuration.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#CreateCisTargets": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#TargetAccountList", + "traits": { + "smithy.api#documentation": "

The CIS target account ids.

", + "smithy.api#required": {} + } + }, + "targetResourceTags": { + "target": "com.amazonaws.inspector2#TargetResourceTags", + "traits": { + "smithy.api#documentation": "

The CIS target resource tags.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Creates CIS targets.

" + } + }, + "com.amazonaws.inspector2#CreateFilter": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#CreateFilterRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#CreateFilterResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#BadRequestException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a filter resource using specified filter criteria. When the filter action is set to SUPPRESS this action creates a suppression rule.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/filters/create" + } + } + }, + "com.amazonaws.inspector2#CreateFilterRequest": { + "type": "structure", + "members": { + "action": { + "target": "com.amazonaws.inspector2#FilterAction", + "traits": { + "smithy.api#documentation": "

Defines the action that is to be applied to the findings that match the filter.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.inspector2#FilterDescription", + "traits": { + "smithy.api#documentation": "

A description of the filter.

" + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#FilterCriteria", + "traits": { + "smithy.api#documentation": "

Defines the criteria to be used in the filter for querying findings.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.inspector2#FilterName", + "traits": { + "smithy.api#documentation": "

The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters\n include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not\n allowed.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

A list of tags for the filter.

" + } + }, + "reason": { + "target": "com.amazonaws.inspector2#FilterReason", + "traits": { + "smithy.api#documentation": "

The reason for creating the filter.

" + } + } + } + }, + "com.amazonaws.inspector2#CreateFilterResponse": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.inspector2#FilterArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the successfully created filter.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#CreateFindingsReport": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#CreateFindingsReportRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#CreateFindingsReportResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

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.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/reporting/create" + } + } + }, + "com.amazonaws.inspector2#CreateFindingsReportRequest": { + "type": "structure", + "members": { + "filterCriteria": { + "target": "com.amazonaws.inspector2#FilterCriteria", + "traits": { + "smithy.api#documentation": "

The filter criteria to apply to the results of the finding report.

" + } + }, + "reportFormat": { + "target": "com.amazonaws.inspector2#ReportFormat", + "traits": { + "smithy.api#documentation": "

The format to generate the report in.

", + "smithy.api#required": {} + } + }, + "s3Destination": { + "target": "com.amazonaws.inspector2#Destination", + "traits": { + "smithy.api#documentation": "

The Amazon S3 export destination for the report.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#CreateFindingsReportResponse": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The ID of the report.

" + } + } + } + }, + "com.amazonaws.inspector2#CreateSbomExport": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#CreateSbomExportRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#CreateSbomExportResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a software bill of materials (SBOM) report.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/sbomexport/create" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#CreateSbomExportRequest": { + "type": "structure", + "members": { + "resourceFilterCriteria": { + "target": "com.amazonaws.inspector2#ResourceFilterCriteria", + "traits": { + "smithy.api#documentation": "

The resource filter criteria for the software bill of materials (SBOM) report.

" + } + }, + "reportFormat": { + "target": "com.amazonaws.inspector2#SbomReportFormat", + "traits": { + "smithy.api#documentation": "

The output format for the software bill of materials (SBOM) report.

", + "smithy.api#required": {} + } + }, + "s3Destination": { + "target": "com.amazonaws.inspector2#Destination", + "traits": { + "smithy.api#documentation": "

Contains details of the Amazon S3 bucket and KMS key used to export findings.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#CreateSbomExportResponse": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The report ID for the software bill of materials (SBOM) report.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#Currency": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "USD", + "value": "USD" + } + ] + } + }, + "com.amazonaws.inspector2#Cvss2": { + "type": "structure", + "members": { + "baseScore": { + "target": "com.amazonaws.inspector2#Cvss2BaseScore", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The CVSS v2 base score for the vulnerability.

" + } + }, + "scoringVector": { + "target": "com.amazonaws.inspector2#Cvss2ScoringVector", + "traits": { + "smithy.api#documentation": "

The scoring vector associated with the CVSS v2 score.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The Common Vulnerability Scoring System (CVSS) version 2 details for the vulnerability.

" + } + }, + "com.amazonaws.inspector2#Cvss2BaseScore": { + "type": "double", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.inspector2#Cvss2ScoringVector": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#Cvss3": { + "type": "structure", + "members": { + "baseScore": { + "target": "com.amazonaws.inspector2#Cvss3BaseScore", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The CVSS v3 base score for the vulnerability.

" + } + }, + "scoringVector": { + "target": "com.amazonaws.inspector2#Cvss3ScoringVector", + "traits": { + "smithy.api#documentation": "

The scoring vector associated with the CVSS v3 score.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The Common Vulnerability Scoring System (CVSS) version 3 details for the vulnerability.

" + } + }, + "com.amazonaws.inspector2#Cvss3BaseScore": { + "type": "double", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.inspector2#Cvss3ScoringVector": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#CvssScore": { + "type": "structure", + "members": { + "baseScore": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The base CVSS score used for the finding.

", + "smithy.api#required": {} + } + }, + "scoringVector": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The vector string of the CVSS score.

", + "smithy.api#required": {} + } + }, + "version": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The version of CVSS used for the score.

", + "smithy.api#required": {} + } + }, + "source": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The source of the CVSS score.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The CVSS score for a finding.

" + } + }, + "com.amazonaws.inspector2#CvssScoreAdjustment": { + "type": "structure", + "members": { + "metric": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The metric used to adjust the CVSS score.

", + "smithy.api#required": {} + } + }, + "reason": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The reason the CVSS score has been adjustment.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Details on adjustments Amazon Inspector made to the CVSS score for a finding.

" + } + }, + "com.amazonaws.inspector2#CvssScoreAdjustmentList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CvssScoreAdjustment" + } + }, + "com.amazonaws.inspector2#CvssScoreDetails": { + "type": "structure", + "members": { + "scoreSource": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The source for the CVSS score.

", + "smithy.api#required": {} + } + }, + "cvssSource": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The source of the CVSS data.

" + } + }, + "version": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The CVSS version used in scoring.

", + "smithy.api#required": {} + } + }, + "score": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The CVSS score.

", + "smithy.api#required": {} + } + }, + "scoringVector": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The vector for the CVSS score.

", + "smithy.api#required": {} + } + }, + "adjustments": { + "target": "com.amazonaws.inspector2#CvssScoreAdjustmentList", + "traits": { + "smithy.api#documentation": "

An object that contains details about adjustment Amazon Inspector made to the CVSS score.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the CVSS score.

" + } + }, + "com.amazonaws.inspector2#CvssScoreList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CvssScore" + } + }, + "com.amazonaws.inspector2#Cwe": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#CweList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#Cwes": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Cwe" + }, + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#DailySchedule": { + "type": "structure", + "members": { + "startTime": { + "target": "com.amazonaws.inspector2#Time", + "traits": { + "smithy.api#documentation": "

The schedule start time.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A daily schedule.

" + } + }, + "com.amazonaws.inspector2#DateFilter": { + "type": "structure", + "members": { + "startInclusive": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

A timestamp representing the start of the time period filtered on.

" + } + }, + "endInclusive": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

A timestamp representing the end of the time period filtered on.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains details on the time range used to filter findings.

" + } + }, + "com.amazonaws.inspector2#DateFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#DateFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#DateTimeTimestamp": { + "type": "timestamp" + }, + "com.amazonaws.inspector2#Day": { + "type": "enum", + "members": { + "SUN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUN" + } + }, + "MON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MON" + } + }, + "TUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TUE" + } + }, + "WED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WED" + } + }, + "THU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THU" + } + }, + "FRI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FRI" + } + }, + "SAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAT" + } + } + } + }, + "com.amazonaws.inspector2#DaysList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Day" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 7 + }, + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.inspector2#DelegatedAdmin": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.

" + } + }, + "relationshipStatus": { + "target": "com.amazonaws.inspector2#RelationshipStatus", + "traits": { + "smithy.api#documentation": "

The status of the Amazon Inspector delegated administrator.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details of the Amazon Inspector delegated administrator for your organization.

" + } + }, + "com.amazonaws.inspector2#DelegatedAdminAccount": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#DelegatedAdminStatus", + "traits": { + "smithy.api#documentation": "

The status of the Amazon Inspector delegated administrator.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details of the Amazon Inspector delegated administrator for your organization.

" + } + }, + "com.amazonaws.inspector2#DelegatedAdminAccountList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#DelegatedAdminAccount" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, + "com.amazonaws.inspector2#DelegatedAdminStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ENABLED", + "name": "ENABLED" + }, + { + "value": "DISABLE_IN_PROGRESS", + "name": "DISABLE_IN_PROGRESS" + } + ] + } + }, + "com.amazonaws.inspector2#DeleteCisScanConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#DeleteCisScanConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#DeleteCisScanConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a CIS scan configuration.

", + "smithy.api#examples": [ + { + "title": "Sample DeleteCisScanConfiguration Call", "input": { - "target": "com.amazonaws.inspector2#UntagResourceRequest" + "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38" }, "output": { - "target": "com.amazonaws.inspector2#UntagResourceResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Removes tags from a resource.

", - "smithy.api#http": { - "uri": "/tags/{resourceArn}", - "method": "DELETE" - } - } - }, - "com.amazonaws.inspector2#UntagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.inspector2#Arn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the resource to remove tags from.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.inspector2#TagKeyList", - "traits": { - "smithy.api#documentation": "

The tag keys to remove from the resource.

", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.inspector2#UntagResourceResponse": { - "type": "structure", - "members": {} - }, - "com.amazonaws.inspector2#UpdateCisScanConfiguration": { - "type": "operation", + "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38" + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan-configuration/delete" + } + } + }, + "com.amazonaws.inspector2#DeleteCisScanConfigurationRequest": { + "type": "structure", + "members": { + "scanConfigurationArn": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArn", + "traits": { + "smithy.api#documentation": "

The ARN of the CIS scan configuration.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#DeleteCisScanConfigurationResponse": { + "type": "structure", + "members": { + "scanConfigurationArn": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArn", + "traits": { + "smithy.api#documentation": "

The ARN of the CIS scan configuration.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#DeleteFilter": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#DeleteFilterRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#DeleteFilterResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a filter resource.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/filters/delete" + } + } + }, + "com.amazonaws.inspector2#DeleteFilterRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.inspector2#FilterArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the filter to be deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#DeleteFilterResponse": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.inspector2#FilterArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the filter that has been deleted.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#DescribeOrganizationConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#DescribeOrganizationConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#DescribeOrganizationConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Describe Amazon Inspector configuration settings for an Amazon Web Services organization.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/organizationconfiguration/describe" + } + } + }, + "com.amazonaws.inspector2#DescribeOrganizationConfigurationRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.inspector2#DescribeOrganizationConfigurationResponse": { + "type": "structure", + "members": { + "autoEnable": { + "target": "com.amazonaws.inspector2#AutoEnable", + "traits": { + "smithy.api#documentation": "

The scan types are automatically enabled for new members of your organization.

" + } + }, + "maxAccountLimitReached": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Represents whether your organization has reached the maximum Amazon Web Services account limit for Amazon Inspector.

" + } + } + } + }, + "com.amazonaws.inspector2#Destination": { + "type": "structure", + "members": { + "bucketName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the Amazon S3 bucket to export findings to.

", + "smithy.api#required": {} + } + }, + "keyPrefix": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The prefix that the findings will be written under.

" + } + }, + "kmsKeyArn": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ARN of the KMS key used to encrypt data when exporting findings.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains details of the Amazon S3 bucket and KMS key used to export findings.

" + } + }, + "com.amazonaws.inspector2#DetectionPlatforms": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#DetectorTagList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#Disable": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#DisableRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#DisableResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling all scan types in an account\n disables the Amazon Inspector service.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/disable" + } + } + }, + "com.amazonaws.inspector2#DisableDelegatedAdminAccount": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#DisableDelegatedAdminAccountRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#DisableDelegatedAdminAccountResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#ConflictException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Disables the Amazon Inspector delegated administrator for your organization.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/delegatedadminaccounts/disable" + } + } + }, + "com.amazonaws.inspector2#DisableDelegatedAdminAccountRequest": { + "type": "structure", + "members": { + "delegatedAdminAccountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#DisableDelegatedAdminAccountResponse": { + "type": "structure", + "members": { + "delegatedAdminAccountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the successfully disabled delegated administrator.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#DisableRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#AccountIdSet", + "traits": { + "smithy.api#documentation": "

An array of account IDs you want to disable Amazon Inspector scans for.

" + } + }, + "resourceTypes": { + "target": "com.amazonaws.inspector2#DisableResourceTypeList", + "traits": { + "smithy.api#documentation": "

The resource scan types you want to disable.

" + } + } + } + }, + "com.amazonaws.inspector2#DisableResourceTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#ResourceScanType" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 3 + } + } + }, + "com.amazonaws.inspector2#DisableResponse": { + "type": "structure", + "members": { + "accounts": { + "target": "com.amazonaws.inspector2#AccountList", + "traits": { + "smithy.api#documentation": "

Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are\n provided for each account.

", + "smithy.api#required": {} + } + }, + "failedAccounts": { + "target": "com.amazonaws.inspector2#FailedAccountList", + "traits": { + "smithy.api#documentation": "

Information on any accounts for which Amazon Inspector scans could not be disabled. Details are\n provided for each account.

" + } + } + } + }, + "com.amazonaws.inspector2#DisassociateMember": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#DisassociateMemberRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#DisassociateMemberResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Disassociates a member account from an Amazon Inspector delegated administrator.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/members/disassociate" + } + } + }, + "com.amazonaws.inspector2#DisassociateMemberRequest": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the member account to disassociate.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#DisassociateMemberResponse": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the successfully disassociated member.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#Ec2Configuration": { + "type": "structure", + "members": { + "scanMode": { + "target": "com.amazonaws.inspector2#Ec2ScanMode", + "traits": { + "smithy.api#documentation": "

The scan method that is applied to the instance.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Enables agent-based scanning, which scans instances that are not managed by SSM.

" + } + }, + "com.amazonaws.inspector2#Ec2ConfigurationState": { + "type": "structure", + "members": { + "scanModeState": { + "target": "com.amazonaws.inspector2#Ec2ScanModeState", + "traits": { + "smithy.api#documentation": "

An object that contains details about the state of the Amazon EC2 scan mode.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the state of the EC2 scan configuration for your environment.

" + } + }, + "com.amazonaws.inspector2#Ec2DeepInspectionStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVATED", + "name": "ACTIVATED" + }, + { + "value": "DEACTIVATED", + "name": "DEACTIVATED" + }, + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.inspector2#Ec2InstanceAggregation": { + "type": "structure", + "members": { + "amis": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.

" + } + }, + "operatingSystems": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The operating system types to aggregate findings for. Valid values must be uppercase and\n underscore separated, examples are ORACLE_LINUX_7 and\n ALPINE_LINUX_3_8.

" + } + }, + "instanceIds": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon EC2 instance IDs to aggregate findings for.

" + } + }, + "instanceTags": { + "target": "com.amazonaws.inspector2#MapFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon EC2 instance tags to aggregate findings for.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to sort results by.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#Ec2InstanceSortBy", + "traits": { + "smithy.api#documentation": "

The value to sort results by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define an aggregation based on Amazon EC2 instances.

" + } + }, + "com.amazonaws.inspector2#Ec2InstanceAggregationResponse": { + "type": "structure", + "members": { + "instanceId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon EC2 instance ID.

", + "smithy.api#required": {} + } + }, + "ami": { + "target": "com.amazonaws.inspector2#AmiId", + "traits": { + "smithy.api#documentation": "

The Amazon Machine Image (AMI) of the Amazon EC2 instance.

" + } + }, + "operatingSystem": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The operating system of the Amazon EC2 instance.

" + } + }, + "instanceTags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

The tags attached to the instance.

" + } + }, + "accountId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account for the Amazon EC2 instance.

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

An object that contains the count of matched findings per severity.

" + } + }, + "networkFindings": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The number of network findings for the Amazon EC2 instance.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains the results of a finding aggregation by Amazon EC2 instance.

" + } + }, + "com.amazonaws.inspector2#Ec2InstanceSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NETWORK_FINDINGS", + "name": "NETWORK_FINDINGS" + }, + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#Ec2Metadata": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

The tags attached to the instance.

" + } + }, + "amiId": { + "target": "com.amazonaws.inspector2#AmiId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) used to launch the instance.

" + } + }, + "platform": { + "target": "com.amazonaws.inspector2#Ec2Platform", + "traits": { + "smithy.api#documentation": "

The platform of the instance.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Meta data details of an Amazon EC2 instance.

" + } + }, + "com.amazonaws.inspector2#Ec2Platform": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "WINDOWS", + "name": "WINDOWS" + }, + { + "value": "LINUX", + "name": "LINUX" + }, + { + "value": "UNKNOWN", + "name": "UNKNOWN" + }, + { + "value": "MACOS", + "name": "MACOS" + } + ] + } + }, + "com.amazonaws.inspector2#Ec2ScanMode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EC2_SSM_AGENT_BASED", + "name": "EC2_SSM_AGENT_BASED" + }, + { + "value": "EC2_HYBRID", + "name": "EC2_HYBRID" + } + ] + } + }, + "com.amazonaws.inspector2#Ec2ScanModeState": { + "type": "structure", + "members": { + "scanMode": { + "target": "com.amazonaws.inspector2#Ec2ScanMode", + "traits": { + "smithy.api#documentation": "

The scan method that is applied to the instance.

" + } + }, + "scanModeStatus": { + "target": "com.amazonaws.inspector2#Ec2ScanModeStatus", + "traits": { + "smithy.api#documentation": "

The status of the Amazon EC2 scan mode setting.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The state of your Amazon EC2 scan mode configuration.

" + } + }, + "com.amazonaws.inspector2#Ec2ScanModeStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SUCCESS", + "name": "SUCCESS" + }, + { + "value": "PENDING", + "name": "PENDING" + } + ] + } + }, + "com.amazonaws.inspector2#EcrConfiguration": { + "type": "structure", + "members": { + "rescanDuration": { + "target": "com.amazonaws.inspector2#EcrRescanDuration", + "traits": { + "smithy.api#documentation": "

The rescan duration configured for image push date.

", + "smithy.api#required": {} + } + }, + "pullDateRescanDuration": { + "target": "com.amazonaws.inspector2#EcrPullDateRescanDuration", + "traits": { + "smithy.api#documentation": "

The rescan duration configured for image pull date.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the ECR automated re-scan duration setting for your environment.

" + } + }, + "com.amazonaws.inspector2#EcrConfigurationState": { + "type": "structure", + "members": { + "rescanDurationState": { + "target": "com.amazonaws.inspector2#EcrRescanDurationState", + "traits": { + "smithy.api#documentation": "

An object that contains details about the state of the ECR re-scan settings.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the state of the ECR scans for your environment.

" + } + }, + "com.amazonaws.inspector2#EcrContainerImageMetadata": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.inspector2#TagList", + "traits": { + "smithy.api#documentation": "

Tags associated with the Amazon ECR image metadata.

" + } + }, + "imagePulledAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date an image was last pulled at.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information on the Amazon ECR image metadata associated with a finding.

" + } + }, + "com.amazonaws.inspector2#EcrPullDateRescanDuration": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "DAYS_14", + "name": "DAYS_14" + }, + { + "value": "DAYS_30", + "name": "DAYS_30" + }, + { + "value": "DAYS_60", + "name": "DAYS_60" + }, + { + "value": "DAYS_90", + "name": "DAYS_90" + }, + { + "value": "DAYS_180", + "name": "DAYS_180" + } + ] + } + }, + "com.amazonaws.inspector2#EcrRepositoryMetadata": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the Amazon ECR repository.

" + } + }, + "scanFrequency": { + "target": "com.amazonaws.inspector2#EcrScanFrequency", + "traits": { + "smithy.api#documentation": "

The frequency of scans.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information on the Amazon ECR repository metadata associated with a finding.

" + } + }, + "com.amazonaws.inspector2#EcrRescanDuration": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "LIFETIME", + "name": "LIFETIME" + }, + { + "value": "DAYS_30", + "name": "DAYS_30" + }, + { + "value": "DAYS_180", + "name": "DAYS_180" + }, + { + "value": "DAYS_14", + "name": "DAYS_14" + }, + { + "value": "DAYS_60", + "name": "DAYS_60" + }, + { + "value": "DAYS_90", + "name": "DAYS_90" + } + ] + } + }, + "com.amazonaws.inspector2#EcrRescanDurationState": { + "type": "structure", + "members": { + "rescanDuration": { + "target": "com.amazonaws.inspector2#EcrRescanDuration", + "traits": { + "smithy.api#documentation": "

The rescan duration configured for image push date.\n \n

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#EcrRescanDurationStatus", + "traits": { + "smithy.api#documentation": "

The status of changes to the ECR automated re-scan duration.

" + } + }, + "updatedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

A timestamp representing when the last time the ECR scan duration setting was changed.

" + } + }, + "pullDateRescanDuration": { + "target": "com.amazonaws.inspector2#EcrPullDateRescanDuration", + "traits": { + "smithy.api#documentation": "

The rescan duration configured for image pull date.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the state of your ECR re-scan duration settings. The ECR re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the duration configured for image pull date, and the duration configured for image pull date, the monitoring state of that image becomes inactive and all associated findings are scheduled for closure.

" + } + }, + "com.amazonaws.inspector2#EcrRescanDurationStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SUCCESS", + "name": "SUCCESS" + }, + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.inspector2#EcrScanFrequency": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "MANUAL", + "name": "MANUAL" + }, + { + "value": "SCAN_ON_PUSH", + "name": "SCAN_ON_PUSH" + }, + { + "value": "CONTINUOUS_SCAN", + "name": "CONTINUOUS_SCAN" + } + ] + } + }, + "com.amazonaws.inspector2#Enable": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#EnableRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#EnableResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Enables Amazon Inspector scans for one or more Amazon Web Services accounts.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/enable" + } + } + }, + "com.amazonaws.inspector2#EnableDelegatedAdminAccount": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#EnableDelegatedAdminAccountRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#EnableDelegatedAdminAccountResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#ConflictException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Enables the Amazon Inspector delegated administrator for your Organizations organization.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/delegatedadminaccounts/enable" + } + } + }, + "com.amazonaws.inspector2#EnableDelegatedAdminAccountRequest": { + "type": "structure", + "members": { + "delegatedAdminAccountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.inspector2#ClientToken", + "traits": { + "smithy.api#documentation": "

The idempotency token for the request.

", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.inspector2#EnableDelegatedAdminAccountResponse": { + "type": "structure", + "members": { + "delegatedAdminAccountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#EnableRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#AccountIdSet", + "traits": { + "smithy.api#documentation": "

A list of account IDs you want to enable Amazon Inspector scans for.

" + } + }, + "resourceTypes": { + "target": "com.amazonaws.inspector2#EnableResourceTypeList", + "traits": { + "smithy.api#documentation": "

The resource scan types you want to enable.

", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.inspector2#ClientToken", + "traits": { + "smithy.api#documentation": "

The idempotency token for the request.

", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.inspector2#EnableResourceTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#ResourceScanType" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 3 + } + } + }, + "com.amazonaws.inspector2#EnableResponse": { + "type": "structure", + "members": { + "accounts": { + "target": "com.amazonaws.inspector2#AccountList", + "traits": { + "smithy.api#documentation": "

Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are\n provided for each account.

", + "smithy.api#required": {} + } + }, + "failedAccounts": { + "target": "com.amazonaws.inspector2#FailedAccountList", + "traits": { + "smithy.api#documentation": "

Information on any accounts for which Amazon Inspector scans could not be enabled. Details are\n provided for each account.

" + } + } + } + }, + "com.amazonaws.inspector2#Epss": { + "type": "structure", + "members": { + "score": { + "target": "com.amazonaws.inspector2#EpssScore", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The Exploit Prediction Scoring System (EPSS) score.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the Exploit Prediction Scoring System (EPSS) score.

" + } + }, + "com.amazonaws.inspector2#EpssDetails": { + "type": "structure", + "members": { + "score": { + "target": "com.amazonaws.inspector2#EpssScoreValue", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The EPSS score.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the Exploit Prediction Scoring System (EPSS) score for a finding.

" + } + }, + "com.amazonaws.inspector2#EpssScore": { + "type": "double", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.inspector2#EpssScoreValue": { + "type": "double", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0.0, + "max": 1.0 + } + } + }, + "com.amazonaws.inspector2#ErrorCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ALREADY_ENABLED", + "name": "ALREADY_ENABLED" + }, + { + "value": "ENABLE_IN_PROGRESS", + "name": "ENABLE_IN_PROGRESS" + }, + { + "value": "DISABLE_IN_PROGRESS", + "name": "DISABLE_IN_PROGRESS" + }, + { + "value": "SUSPEND_IN_PROGRESS", + "name": "SUSPEND_IN_PROGRESS" + }, + { + "value": "RESOURCE_NOT_FOUND", + "name": "RESOURCE_NOT_FOUND" + }, + { + "value": "ACCESS_DENIED", + "name": "ACCESS_DENIED" + }, + { + "value": "INTERNAL_ERROR", + "name": "INTERNAL_ERROR" + }, + { + "value": "SSM_UNAVAILABLE", + "name": "SSM_UNAVAILABLE" + }, + { + "value": "SSM_THROTTLED", + "name": "SSM_THROTTLED" + }, + { + "value": "EVENTBRIDGE_UNAVAILABLE", + "name": "EVENTBRIDGE_UNAVAILABLE" + }, + { + "value": "EVENTBRIDGE_THROTTLED", + "name": "EVENTBRIDGE_THROTTLED" + }, + { + "value": "RESOURCE_SCAN_NOT_DISABLED", + "name": "RESOURCE_SCAN_NOT_DISABLED" + }, + { + "value": "DISASSOCIATE_ALL_MEMBERS", + "name": "DISASSOCIATE_ALL_MEMBERS" + }, + { + "value": "ACCOUNT_IS_ISOLATED", + "name": "ACCOUNT_IS_ISOLATED" + }, + { + "value": "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED", + "name": "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED" + }, + { + "value": "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED", + "name": "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED" + } + ] + } + }, + "com.amazonaws.inspector2#ErrorMessage": { + "type": "string" + }, + "com.amazonaws.inspector2#Evidence": { + "type": "structure", + "members": { + "evidenceRule": { + "target": "com.amazonaws.inspector2#EvidenceRule", + "traits": { + "smithy.api#documentation": "

The evidence rule.

" + } + }, + "evidenceDetail": { + "target": "com.amazonaws.inspector2#EvidenceDetail", + "traits": { + "smithy.api#documentation": "

The evidence details.

" + } + }, + "severity": { + "target": "com.amazonaws.inspector2#EvidenceSeverity", + "traits": { + "smithy.api#documentation": "

The evidence severity.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details of the evidence for a vulnerability identified in a finding.

" + } + }, + "com.amazonaws.inspector2#EvidenceDetail": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#EvidenceList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Evidence" + } + }, + "com.amazonaws.inspector2#EvidenceRule": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#EvidenceSeverity": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#ExecutionRoleArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+$" + } + }, + "com.amazonaws.inspector2#ExploitAvailable": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "YES", + "name": "YES" + }, + { + "value": "NO", + "name": "NO" + } + ] + } + }, + "com.amazonaws.inspector2#ExploitObserved": { + "type": "structure", + "members": { + "lastSeen": { + "target": "com.amazonaws.inspector2#LastSeen", + "traits": { + "smithy.api#documentation": "

The date an time when the exploit was last seen.

" + } + }, + "firstSeen": { + "target": "com.amazonaws.inspector2#FirstSeen", + "traits": { + "smithy.api#documentation": "

The date an time when the exploit was first seen.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information on when this exploit was observed.

" + } + }, + "com.amazonaws.inspector2#ExploitabilityDetails": { + "type": "structure", + "members": { + "lastKnownExploitAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time of the last exploit associated with a finding discovered in your environment.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details of an exploit available for a finding discovered in your environment.

" + } + }, + "com.amazonaws.inspector2#ExternalReportStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SUCCEEDED", + "name": "SUCCEEDED" + }, + { + "value": "IN_PROGRESS", + "name": "IN_PROGRESS" + }, + { + "value": "CANCELLED", + "name": "CANCELLED" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.inspector2#FailedAccount": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector for the account.

" + } + }, + "resourceStatus": { + "target": "com.amazonaws.inspector2#ResourceStatus", + "traits": { + "smithy.api#documentation": "

An object detailing which resources Amazon Inspector is enabled to scan for the account.

" + } + }, + "errorCode": { + "target": "com.amazonaws.inspector2#ErrorCode", + "traits": { + "smithy.api#documentation": "

The error code explaining why the account failed to enable Amazon Inspector.

", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The error message received when the account failed to enable Amazon Inspector.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An object with details on why an account failed to enable Amazon Inspector.

" + } + }, + "com.amazonaws.inspector2#FailedAccountList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FailedAccount" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusState": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member that failed to activate Amazon Inspector deep inspection.

", + "smithy.api#required": {} + } + }, + "ec2ScanStatus": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The error message explaining why the account failed to activate Amazon Inspector deep inspection.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains details about a member account in your organization that failed to activate Amazon Inspector deep inspection.

" + } + }, + "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusStateList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FailedMemberAccountEc2DeepInspectionStatusState" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#FilePath": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#Filter": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.inspector2#FilterArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Number (ARN) associated with this filter.

", + "smithy.api#required": {} + } + }, + "ownerId": { + "target": "com.amazonaws.inspector2#OwnerId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the account that created the filter.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.inspector2#FilterName", + "traits": { + "smithy.api#documentation": "

The name of the filter.

", + "smithy.api#required": {} + } + }, + "criteria": { + "target": "com.amazonaws.inspector2#FilterCriteria", + "traits": { + "smithy.api#documentation": "

Details on the filter criteria associated with this filter.

", + "smithy.api#required": {} + } + }, + "action": { + "target": "com.amazonaws.inspector2#FilterAction", + "traits": { + "smithy.api#documentation": "

The action that is to be applied to the findings that match the filter.

", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time this filter was created at.

", + "smithy.api#required": {} + } + }, + "updatedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time the filter was last updated at.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.inspector2#FilterDescription", + "traits": { + "smithy.api#documentation": "

A description of the filter.

" + } + }, + "reason": { + "target": "com.amazonaws.inspector2#FilterReason", + "traits": { + "smithy.api#documentation": "

The reason for the filter.

" + } + }, + "tags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

The tags attached to the filter.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about a filter.

" + } + }, + "com.amazonaws.inspector2#FilterAction": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NONE", + "name": "NONE" + }, + { + "value": "SUPPRESS", + "name": "SUPPRESS" + } + ] + } + }, + "com.amazonaws.inspector2#FilterArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.inspector2#FilterArnList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FilterArn" + } + }, + "com.amazonaws.inspector2#FilterCriteria": { + "type": "structure", + "members": { + "findingArn": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the finding ARNs used to filter findings.

" + } + }, + "awsAccountId": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details of the Amazon Web Services account IDs used to filter findings.

" + } + }, + "findingType": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the finding types used to filter findings.

" + } + }, + "severity": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the severity used to filter findings.

" + } + }, + "firstObservedAt": { + "target": "com.amazonaws.inspector2#DateFilterList", + "traits": { + "smithy.api#documentation": "

Details on the date and time a finding was first seen used to filter findings.

" + } + }, + "lastObservedAt": { + "target": "com.amazonaws.inspector2#DateFilterList", + "traits": { + "smithy.api#documentation": "

Details on the date and time a finding was last seen used to filter findings.

" + } + }, + "updatedAt": { + "target": "com.amazonaws.inspector2#DateFilterList", + "traits": { + "smithy.api#documentation": "

Details on the date and time a finding was last updated at used to filter findings.

" + } + }, + "findingStatus": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the finding status types used to filter findings.

" + } + }, + "title": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the finding title used to filter findings.

" + } + }, + "inspectorScore": { + "target": "com.amazonaws.inspector2#NumberFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector score to filter on.

" + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the resource types used to filter findings.

" + } + }, + "resourceId": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the resource IDs used to filter findings.

" + } + }, + "resourceTags": { + "target": "com.amazonaws.inspector2#MapFilterList", + "traits": { + "smithy.api#documentation": "

Details on the resource tags used to filter findings.

" + } + }, + "ec2InstanceImageId": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details of the Amazon EC2 instance image IDs used to filter findings.

" + } + }, + "ec2InstanceVpcId": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details of the Amazon EC2 instance VPC IDs used to filter findings.

" + } + }, + "ec2InstanceSubnetId": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details of the Amazon EC2 instance subnet IDs used to filter findings.

" + } + }, + "ecrImagePushedAt": { + "target": "com.amazonaws.inspector2#DateFilterList", + "traits": { + "smithy.api#documentation": "

Details on the Amazon ECR image push date and time used to filter findings.

" + } + }, + "ecrImageArchitecture": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details of the Amazon ECR image architecture types used to filter findings.

" + } + }, + "ecrImageRegistry": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the Amazon ECR registry used to filter findings.

" + } + }, + "ecrImageRepositoryName": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the name of the Amazon ECR repository used to filter findings.

" + } + }, + "ecrImageTags": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The tags attached to the Amazon ECR container image.

" + } + }, + "ecrImageHash": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details of the Amazon ECR image hashes used to filter findings.

" + } + }, + "portRange": { + "target": "com.amazonaws.inspector2#PortRangeFilterList", + "traits": { + "smithy.api#documentation": "

Details on the port ranges used to filter findings.

" + } + }, + "networkProtocol": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on network protocol used to filter findings.

" + } + }, + "componentId": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details of the component IDs used to filter findings.

" + } + }, + "componentType": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details of the component types used to filter findings.

" + } + }, + "vulnerabilityId": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the vulnerability ID used to filter findings.

" + } + }, + "vulnerabilitySource": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the vulnerability type used to filter findings.

" + } + }, + "vendorSeverity": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the vendor severity used to filter findings.

" + } + }, + "vulnerablePackages": { + "target": "com.amazonaws.inspector2#PackageFilterList", + "traits": { + "smithy.api#documentation": "

Details on the vulnerable packages used to filter findings.

" + } + }, + "relatedVulnerabilities": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on the related vulnerabilities used to filter findings.

" + } + }, + "fixAvailable": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

" + } + }, + "lambdaFunctionName": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by the name of the function.

" + } + }, + "lambdaFunctionLayers": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by the function's \n layers. A Lambda function can have up to five layers.

" + } + }, + "lambdaFunctionRuntime": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by the runtime environment for the Lambda function.

" + } + }, + "lambdaFunctionLastModifiedAt": { + "target": "com.amazonaws.inspector2#DateFilterList", + "traits": { + "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by the date and time that a user last updated the configuration, in ISO 8601 format\n

" + } + }, + "lambdaFunctionExecutionRoleArn": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda functions by execution role.

" + } + }, + "exploitAvailable": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Filters the list of Amazon Web Services Lambda findings by the availability of exploits.

" + } + }, + "codeVulnerabilityDetectorName": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The name of the detector used to identify a code vulnerability in a Lambda function used to filter findings.

" + } + }, + "codeVulnerabilityDetectorTags": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The detector type tag associated with the vulnerability used to filter findings. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see Java tags, or Python tags.

" + } + }, + "codeVulnerabilityFilePath": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The file path to the file in a Lambda function that contains a code vulnerability used to filter findings.

" + } + }, + "epssScore": { + "target": "com.amazonaws.inspector2#NumberFilterList", + "traits": { + "smithy.api#documentation": "

The EPSS score used to filter findings.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details on the criteria used to define the filter.

" + } + }, + "com.amazonaws.inspector2#FilterDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + } + } + }, + "com.amazonaws.inspector2#FilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Filter" + } + }, + "com.amazonaws.inspector2#FilterName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.inspector2#FilterReason": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + } + } + }, + "com.amazonaws.inspector2#Finding": { + "type": "structure", + "members": { + "findingArn": { + "target": "com.amazonaws.inspector2#FindingArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the finding.

", + "smithy.api#required": {} + } + }, + "awsAccountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID associated with the finding.

", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.inspector2#FindingType", + "traits": { + "smithy.api#documentation": "

The type of the finding. The type value determines the valid values for resource in your request. For more information, see Finding types in the Amazon Inspector user guide.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.inspector2#FindingDescription", + "traits": { + "smithy.api#documentation": "

The description of the finding.

", + "smithy.api#required": {} + } + }, + "title": { + "target": "com.amazonaws.inspector2#FindingTitle", + "traits": { + "smithy.api#documentation": "

The title of the finding.

" + } + }, + "remediation": { + "target": "com.amazonaws.inspector2#Remediation", + "traits": { + "smithy.api#documentation": "

An object that contains the details about how to remediate a finding.

", + "smithy.api#required": {} + } + }, + "severity": { + "target": "com.amazonaws.inspector2#Severity", + "traits": { + "smithy.api#documentation": "

The severity of the finding. UNTRIAGED applies to PACKAGE_VULNERABILITY type findings that the vendor has not assigned a severity yet. For more information, see Severity levels for findings in the Amazon Inspector user guide.

", + "smithy.api#required": {} + } + }, + "firstObservedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time that the finding was first observed.

", + "smithy.api#required": {} + } + }, + "lastObservedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

\n The date and time the finding was last observed. \n This timestamp for this field remains unchanged until a finding is updated.\n

", + "smithy.api#required": {} + } + }, + "updatedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time the finding was last updated at.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#FindingStatus", + "traits": { + "smithy.api#documentation": "

The status of the finding.

", + "smithy.api#required": {} + } + }, + "resources": { + "target": "com.amazonaws.inspector2#ResourceList", + "traits": { + "smithy.api#documentation": "

Contains information on the resources involved in a finding. The resource value determines the valid values for type in your request. For more information, see Finding types in the Amazon Inspector user guide.

", + "smithy.api#required": {} + } + }, + "inspectorScore": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector score given to the finding.

" + } + }, + "inspectorScoreDetails": { + "target": "com.amazonaws.inspector2#InspectorScoreDetails", + "traits": { + "smithy.api#documentation": "

An object that contains details of the Amazon Inspector score.

" + } + }, + "networkReachabilityDetails": { + "target": "com.amazonaws.inspector2#NetworkReachabilityDetails", + "traits": { + "smithy.api#documentation": "

An object that contains the details of a network reachability finding.

" + } + }, + "packageVulnerabilityDetails": { + "target": "com.amazonaws.inspector2#PackageVulnerabilityDetails", + "traits": { + "smithy.api#documentation": "

An object that contains the details of a package vulnerability finding.

" + } + }, + "fixAvailable": { + "target": "com.amazonaws.inspector2#FixAvailable", + "traits": { + "smithy.api#documentation": "

Details on whether a fix is available through a version update. This value can be YES, NO, or PARTIAL. A PARTIAL fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.

" + } + }, + "exploitAvailable": { + "target": "com.amazonaws.inspector2#ExploitAvailable", + "traits": { + "smithy.api#documentation": "

If a finding discovered in your environment has an exploit available.

" + } + }, + "exploitabilityDetails": { + "target": "com.amazonaws.inspector2#ExploitabilityDetails", + "traits": { + "smithy.api#documentation": "

The details of an exploit available for a finding discovered in your environment.

" + } + }, + "codeVulnerabilityDetails": { + "target": "com.amazonaws.inspector2#CodeVulnerabilityDetails", + "traits": { + "smithy.api#documentation": "

Details about the code vulnerability identified in a Lambda function used to filter findings.

" + } + }, + "epss": { + "target": "com.amazonaws.inspector2#EpssDetails", + "traits": { + "smithy.api#documentation": "

The finding's EPSS score.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about an Amazon Inspector finding.

" + } + }, + "com.amazonaws.inspector2#FindingArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:inspector2:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:finding/[a-f0-9]{32}$" + } + }, + "com.amazonaws.inspector2#FindingArnList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FindingArn" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#FindingArns": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FindingArn" + } + }, + "com.amazonaws.inspector2#FindingDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#FindingDetail": { + "type": "structure", + "members": { + "findingArn": { + "target": "com.amazonaws.inspector2#FindingArn", + "traits": { + "smithy.api#documentation": "

The finding ARN that the vulnerability details are associated with.

" + } + }, + "cisaData": { + "target": "com.amazonaws.inspector2#CisaData", + "traits": { + "smithy.api#documentation": "

The Cybersecurity and Infrastructure Security Agency (CISA) details for a specific vulnerability.

" + } + }, + "riskScore": { + "target": "com.amazonaws.inspector2#RiskScore", + "traits": { + "smithy.api#documentation": "

The risk score of the vulnerability.

" + } + }, + "evidences": { + "target": "com.amazonaws.inspector2#EvidenceList", + "traits": { + "smithy.api#documentation": "

Information on the evidence of the vulnerability.

" + } + }, + "ttps": { + "target": "com.amazonaws.inspector2#Ttps", + "traits": { + "smithy.api#documentation": "

The MITRE adversary tactics, techniques, or procedures (TTPs) associated with the vulnerability.

" + } + }, + "tools": { + "target": "com.amazonaws.inspector2#Tools", + "traits": { + "smithy.api#documentation": "

The known malware tools or kits that can exploit the vulnerability.

" + } + }, + "exploitObserved": { + "target": "com.amazonaws.inspector2#ExploitObserved", + "traits": { + "smithy.api#documentation": "

Contains information on when this exploit was observed.

" + } + }, + "referenceUrls": { + "target": "com.amazonaws.inspector2#VulnerabilityReferenceUrls", + "traits": { + "smithy.api#documentation": "

The reference URLs for the vulnerability data.

" + } + }, + "cwes": { + "target": "com.amazonaws.inspector2#Cwes", + "traits": { + "smithy.api#documentation": "

The Common Weakness Enumerations (CWEs) associated with the vulnerability.

" + } + }, + "epssScore": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The Exploit Prediction Scoring System (EPSS) score of the vulnerability.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details of the vulnerability identified in a finding.

" + } + }, + "com.amazonaws.inspector2#FindingDetails": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FindingDetail" + }, + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#FindingDetailsError": { + "type": "structure", + "members": { + "findingArn": { + "target": "com.amazonaws.inspector2#FindingArn", + "traits": { + "smithy.api#documentation": "

The finding ARN that returned an error.

", + "smithy.api#required": {} + } + }, + "errorCode": { + "target": "com.amazonaws.inspector2#FindingDetailsErrorCode", + "traits": { + "smithy.api#documentation": "

The error code.

", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The error message.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about an error encountered when trying to return vulnerability data for a finding.

" + } + }, + "com.amazonaws.inspector2#FindingDetailsErrorCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "INTERNAL_ERROR", + "name": "INTERNAL_ERROR" + }, + { + "value": "ACCESS_DENIED", + "name": "ACCESS_DENIED" + }, + { + "value": "FINDING_DETAILS_NOT_FOUND", + "name": "FINDING_DETAILS_NOT_FOUND" + }, + { + "value": "INVALID_INPUT", + "name": "INVALID_INPUT" + } + ] + } + }, + "com.amazonaws.inspector2#FindingDetailsErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FindingDetailsError" + } + }, + "com.amazonaws.inspector2#FindingList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Finding" + }, + "traits": { + "smithy.api#length": { + "max": 25 + } + } + }, + "com.amazonaws.inspector2#FindingStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "SUPPRESSED", + "name": "SUPPRESSED" + }, + { + "value": "CLOSED", + "name": "CLOSED" + } + ] + } + }, + "com.amazonaws.inspector2#FindingTitle": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#FindingType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NETWORK_REACHABILITY", + "name": "NETWORK_REACHABILITY" + }, + { + "value": "PACKAGE_VULNERABILITY", + "name": "PACKAGE_VULNERABILITY" + }, + { + "value": "CODE_VULNERABILITY", + "name": "CODE_VULNERABILITY" + } + ] + } + }, + "com.amazonaws.inspector2#FindingTypeAggregation": { + "type": "structure", + "members": { + "findingType": { + "target": "com.amazonaws.inspector2#AggregationFindingType", + "traits": { + "smithy.api#documentation": "

The finding type to aggregate.

" + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#AggregationResourceType", + "traits": { + "smithy.api#documentation": "

The resource type to aggregate.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to sort results by.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#FindingTypeSortBy", + "traits": { + "smithy.api#documentation": "

The value to sort results by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define an aggregation based on finding type.

" + } + }, + "com.amazonaws.inspector2#FindingTypeAggregationResponse": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account associated with the findings.

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

The value to sort results by.

" + } + }, + "exploitAvailableCount": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The number of findings that have an exploit available.

" + } + }, + "fixAvailableCount": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

\n Details about the number of fixes.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains the results of a finding type aggregation.

" + } + }, + "com.amazonaws.inspector2#FindingTypeSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#FirstSeen": { + "type": "timestamp" + }, + "com.amazonaws.inspector2#FixAvailable": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "YES", + "name": "YES" + }, + { + "value": "NO", + "name": "NO" + }, + { + "value": "PARTIAL", + "name": "PARTIAL" + } + ] + } + }, + "com.amazonaws.inspector2#FreeTrialAccountInfo": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#MeteringAccountId", + "traits": { + "smithy.api#documentation": "

The account associated with the Amazon Inspector free trial information.

", + "smithy.api#required": {} + } + }, + "freeTrialInfo": { + "target": "com.amazonaws.inspector2#FreeTrialInfoList", + "traits": { + "smithy.api#documentation": "

Contains information about the Amazon Inspector free trial for an account.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the Amazon Inspector free trial for an account.

" + } + }, + "com.amazonaws.inspector2#FreeTrialAccountInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FreeTrialAccountInfo" + } + }, + "com.amazonaws.inspector2#FreeTrialInfo": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.inspector2#FreeTrialType", + "traits": { + "smithy.api#documentation": "

The type of scan covered by the Amazon Inspector free trail.

", + "smithy.api#required": {} + } + }, + "start": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time that the Amazon Inspector free trail started for a given account.

", + "smithy.api#required": {} + } + }, + "end": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time that the Amazon Inspector free trail ends for a given account.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.inspector2#FreeTrialStatus", + "traits": { + "smithy.api#documentation": "

The order to sort results by.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains information about the Amazon Inspector free trial for an account.

" + } + }, + "com.amazonaws.inspector2#FreeTrialInfoError": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#MeteringAccountId", + "traits": { + "smithy.api#documentation": "

The account associated with the Amazon Inspector free trial information.

", + "smithy.api#required": {} + } + }, + "code": { + "target": "com.amazonaws.inspector2#FreeTrialInfoErrorCode", + "traits": { + "smithy.api#documentation": "

The error code.

", + "smithy.api#required": {} + } + }, + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The error message returned.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about an error received while accessing free trail data for an account.

" + } + }, + "com.amazonaws.inspector2#FreeTrialInfoErrorCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "ACCESS_DENIED", + "value": "ACCESS_DENIED" + }, + { + "name": "INTERNAL_ERROR", + "value": "INTERNAL_ERROR" + } + ] + } + }, + "com.amazonaws.inspector2#FreeTrialInfoErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FreeTrialInfoError" + } + }, + "com.amazonaws.inspector2#FreeTrialInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#FreeTrialInfo" + } + }, + "com.amazonaws.inspector2#FreeTrialStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "ACTIVE", + "value": "ACTIVE" + }, + { + "name": "INACTIVE", + "value": "INACTIVE" + } + ] + } + }, + "com.amazonaws.inspector2#FreeTrialType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "EC2", + "value": "EC2" + }, + { + "name": "ECR", + "value": "ECR" + }, + { + "name": "LAMBDA", + "value": "LAMBDA" + }, + { + "name": "LAMBDA_CODE", + "value": "LAMBDA_CODE" + } + ] + } + }, + "com.amazonaws.inspector2#FunctionName": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$" + } + }, + "com.amazonaws.inspector2#GetCisScanReport": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetCisScanReportRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetCisScanReportResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves a CIS scan report.

", + "smithy.api#examples": [ + { + "title": "Sample GetCisScanReport Call", "input": { - "target": "com.amazonaws.inspector2#UpdateCisScanConfigurationRequest" + "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", + "reportFormat": "PDF" }, "output": { - "target": "com.amazonaws.inspector2#UpdateCisScanConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates a CIS scan configuration.

", - "smithy.api#examples": [ - { - "title": "Sample UpdateCisScanConfiguration Call", - "input": { - "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38", - "scanName": "sample_new", - "securityLevel": "LEVEL_2", - "schedule": { - "daily": { - "startTime": { - "timeOfDay": "12:56", - "timezone": "UTC" - } - } - }, - "targets": { - "accountIds": [ - "SELF" - ], - "targetResourceTags": { - "key2": [ - "value2" - ] - } - } - }, - "output": { - "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38" - } - } - ], - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/cis/scan-configuration/update" - } - } - }, - "com.amazonaws.inspector2#UpdateCisScanConfigurationRequest": { - "type": "structure", - "members": { - "scanConfigurationArn": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArn", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration ARN.

", - "smithy.api#required": {} - } - }, - "scanName": { - "target": "com.amazonaws.inspector2#CisScanName", - "traits": { - "smithy.api#documentation": "

The scan name for the CIS scan configuration.

" - } - }, - "securityLevel": { - "target": "com.amazonaws.inspector2#CisSecurityLevel", - "traits": { - "smithy.api#documentation": "

\n The security level for the CIS scan configuration. \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

" - } - }, - "schedule": { - "target": "com.amazonaws.inspector2#Schedule", - "traits": { - "smithy.api#documentation": "

The schedule for the CIS scan configuration.

" - } - }, - "targets": { - "target": "com.amazonaws.inspector2#UpdateCisTargets", - "traits": { - "smithy.api#documentation": "

The targets for the CIS scan configuration.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.inspector2#UpdateCisScanConfigurationResponse": { - "type": "structure", - "members": { - "scanConfigurationArn": { - "target": "com.amazonaws.inspector2#CisScanConfigurationArn", - "traits": { - "smithy.api#documentation": "

The CIS scan configuration ARN.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.inspector2#UpdateCisTargets": { - "type": "structure", - "members": { - "accountIds": { - "target": "com.amazonaws.inspector2#TargetAccountList", - "traits": { - "smithy.api#documentation": "

The target account ids.

" - } - }, - "targetResourceTags": { - "target": "com.amazonaws.inspector2#TargetResourceTags", - "traits": { - "smithy.api#documentation": "

The target resource tags.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Updates CIS targets.

" - } - }, - "com.amazonaws.inspector2#UpdateConfiguration": { - "type": "operation", + "url": "www.s3.amazon.com/abcdef", + "status": "SUCCEEDED" + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan/report/get" + } + } + }, + "com.amazonaws.inspector2#GetCisScanReportRequest": { + "type": "structure", + "members": { + "scanArn": { + "target": "com.amazonaws.inspector2#CisScanArn", + "traits": { + "smithy.api#documentation": "

The scan ARN.

", + "smithy.api#required": {} + } + }, + "targetAccounts": { + "target": "com.amazonaws.inspector2#ReportTargetAccounts", + "traits": { + "smithy.api#documentation": "

The target accounts.

" + } + }, + "reportFormat": { + "target": "com.amazonaws.inspector2#CisReportFormat", + "traits": { + "smithy.api#default": "PDF", + "smithy.api#documentation": "

\n The format of the report. \n Valid values are PDF and CSV. \n If no value is specified, the report format defaults to PDF.\n

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#GetCisScanReportResponse": { + "type": "structure", + "members": { + "url": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

\n The URL where a PDF or CSV of the CIS scan report can be downloaded.\n

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#CisReportStatus", + "traits": { + "smithy.api#documentation": "

The status.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#GetCisScanResultDetails": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetCisScanResultDetailsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetCisScanResultDetailsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves CIS scan result details.

", + "smithy.api#examples": [ + { + "title": "Sample GetCisScanResultDetails Call", "input": { - "target": "com.amazonaws.inspector2#UpdateConfigurationRequest" + "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", + "targetResourceId": "i-12341234", + "accountId": "123412341234" }, "output": { - "target": "com.amazonaws.inspector2#UpdateConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

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.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/configuration/update" - } - } + "scanResultDetails": [ + { + "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", + "accountId": "123412341234", + "targetResourceId": "i-12341234", + "platform": "AMAZON_LINUX_2", + "status": "PASSED", + "checkId": "1.1.1.1", + "title": "title1", + "checkDescription": "description", + "remediation": "fix", + "level": "LEVEL_1" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan-result/details/get" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "scanResultDetails", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.inspector2#GetCisScanResultDetailsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.inspector2#GetCisScanResultDetailsRequest": { + "type": "structure", + "members": { + "scanArn": { + "target": "com.amazonaws.inspector2#CisScanArn", + "traits": { + "smithy.api#documentation": "

The scan ARN.

", + "smithy.api#required": {} + } + }, + "targetResourceId": { + "target": "com.amazonaws.inspector2#ResourceId", + "traits": { + "smithy.api#documentation": "

The target resource ID.

", + "smithy.api#required": {} + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The account ID.

", + "smithy.api#required": {} + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#CisScanResultDetailsFilterCriteria", + "traits": { + "smithy.api#documentation": "

The filter criteria.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#CisScanResultDetailsSortBy", + "traits": { + "smithy.api#default": "CHECK_ID", + "smithy.api#documentation": "

The sort by order.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#CisSortOrder", + "traits": { + "smithy.api#documentation": "

The sort order.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#GetCisScanResultDetailsMaxResults", + "traits": { + "smithy.api#default": 300, + "smithy.api#documentation": "

The maximum number of CIS scan result details to be returned in a single page of results.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#GetCisScanResultDetailsResponse": { + "type": "structure", + "members": { + "scanResultDetails": { + "target": "com.amazonaws.inspector2#CisScanResultDetailsList", + "traits": { + "smithy.api#documentation": "

The scan result details.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#GetConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves setting configurations for Inspector scans.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/configuration/get" + } + } + }, + "com.amazonaws.inspector2#GetConfigurationRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.inspector2#GetConfigurationResponse": { + "type": "structure", + "members": { + "ecrConfiguration": { + "target": "com.amazonaws.inspector2#EcrConfigurationState", + "traits": { + "smithy.api#documentation": "

Specifies how the ECR automated re-scan duration is currently configured for your environment.

" + } + }, + "ec2Configuration": { + "target": "com.amazonaws.inspector2#Ec2ConfigurationState", + "traits": { + "smithy.api#documentation": "

Specifies how the Amazon EC2 automated scan mode is currently configured for your environment.

" + } + } + } + }, + "com.amazonaws.inspector2#GetDelegatedAdminAccount": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetDelegatedAdminAccountRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetDelegatedAdminAccountResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves information about the Amazon Inspector delegated administrator for your\n organization.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/delegatedadminaccounts/get" + } + } + }, + "com.amazonaws.inspector2#GetDelegatedAdminAccountRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.inspector2#GetDelegatedAdminAccountResponse": { + "type": "structure", + "members": { + "delegatedAdmin": { + "target": "com.amazonaws.inspector2#DelegatedAdmin", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator.

" + } + } + } + }, + "com.amazonaws.inspector2#GetEc2DeepInspectionConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves the activation status of Amazon Inspector deep inspection and custom paths associated with your account. \n

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionconfiguration/get" + } + } + }, + "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationRequest": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#GetEc2DeepInspectionConfigurationResponse": { + "type": "structure", + "members": { + "packagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths for your account.

" + } + }, + "orgPackagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths for your organization.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", + "traits": { + "smithy.api#documentation": "

The activation status of Amazon Inspector deep inspection in your account.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#GetEncryptionKey": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetEncryptionKeyRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetEncryptionKeyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets an encryption key.

", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/encryptionkey/get" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.inspector2#GetEncryptionKeyRequest": { + "type": "structure", + "members": { + "scanType": { + "target": "com.amazonaws.inspector2#ScanType", + "traits": { + "smithy.api#documentation": "

The scan type the key encrypts.

", + "smithy.api#httpQuery": "scanType", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#ResourceType", + "traits": { + "smithy.api#documentation": "

The resource type the key encrypts.

", + "smithy.api#httpQuery": "resourceType", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#GetEncryptionKeyResponse": { + "type": "structure", + "members": { + "kmsKeyId": { + "target": "com.amazonaws.inspector2#KmsKeyArn", + "traits": { + "smithy.api#documentation": "

A kms key ID.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#GetFindingsReportStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetFindingsReportStatusRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetFindingsReportStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets the status of a findings report.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/reporting/status/get" + } + } + }, + "com.amazonaws.inspector2#GetFindingsReportStatusRequest": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The ID of the report to retrieve the status of.

" + } + } + } + }, + "com.amazonaws.inspector2#GetFindingsReportStatusResponse": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The ID of the report.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#ExternalReportStatus", + "traits": { + "smithy.api#documentation": "

The status of the report.

" + } + }, + "errorCode": { + "target": "com.amazonaws.inspector2#ReportingErrorCode", + "traits": { + "smithy.api#documentation": "

The error code of the report.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#ErrorMessage", + "traits": { + "smithy.api#documentation": "

The error message of the report.

" + } + }, + "destination": { + "target": "com.amazonaws.inspector2#Destination", + "traits": { + "smithy.api#documentation": "

The destination of the report.

" + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#FilterCriteria", + "traits": { + "smithy.api#documentation": "

The filter criteria associated with the report.

" + } + } + } + }, + "com.amazonaws.inspector2#GetMember": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetMemberRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetMemberResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets member information for your organization.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/members/get" + } + } + }, + "com.amazonaws.inspector2#GetMemberRequest": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the member account to retrieve information on.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#GetMemberResponse": { + "type": "structure", + "members": { + "member": { + "target": "com.amazonaws.inspector2#Member", + "traits": { + "smithy.api#documentation": "

Details of the retrieved member account.

" + } + } + } + }, + "com.amazonaws.inspector2#GetSbomExport": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#GetSbomExportRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#GetSbomExportResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets details of a software bill of materials (SBOM) report.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/sbomexport/get" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#GetSbomExportRequest": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The report ID of the SBOM export to get details for.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#GetSbomExportResponse": { + "type": "structure", + "members": { + "reportId": { + "target": "com.amazonaws.inspector2#ReportId", + "traits": { + "smithy.api#documentation": "

The report ID of the software bill of materials (SBOM) report.

" + } + }, + "format": { + "target": "com.amazonaws.inspector2#SbomReportFormat", + "traits": { + "smithy.api#documentation": "

The format of the software bill of materials (SBOM) report.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#ExternalReportStatus", + "traits": { + "smithy.api#documentation": "

The status of the software bill of materials (SBOM) report.

" + } + }, + "errorCode": { + "target": "com.amazonaws.inspector2#ReportingErrorCode", + "traits": { + "smithy.api#documentation": "

An error code.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

An error message.

" + } + }, + "s3Destination": { + "target": "com.amazonaws.inspector2#Destination", + "traits": { + "smithy.api#documentation": "

Contains details of the Amazon S3 bucket and KMS key used to export findings

" + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#ResourceFilterCriteria", + "traits": { + "smithy.api#documentation": "

Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#GroupKey": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SCAN_STATUS_CODE", + "name": "SCAN_STATUS_CODE" + }, + { + "value": "SCAN_STATUS_REASON", + "name": "SCAN_STATUS_REASON" + }, + { + "value": "ACCOUNT_ID", + "name": "ACCOUNT_ID" + }, + { + "value": "RESOURCE_TYPE", + "name": "RESOURCE_TYPE" + }, + { + "value": "ECR_REPOSITORY_NAME", + "name": "ECR_REPOSITORY_NAME" + } + ] + } + }, + "com.amazonaws.inspector2#ImageHash": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 71, + "max": 71 + }, + "smithy.api#pattern": "^sha256:[a-z0-9]{64}$" + } + }, + "com.amazonaws.inspector2#ImageLayerAggregation": { + "type": "structure", + "members": { + "repositories": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The repository associated with the container image hosting the layers.

" + } + }, + "resourceIds": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The ID of the container image layer.

" + } + }, + "layerHashes": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The hashes associated with the layers.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to sort results by.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#ImageLayerSortBy", + "traits": { + "smithy.api#documentation": "

The value to sort results by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define an aggregation based on container image layers.

" + } + }, + "com.amazonaws.inspector2#ImageLayerAggregationResponse": { + "type": "structure", + "members": { + "repository": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The repository the layer resides in.

", + "smithy.api#required": {} + } + }, + "resourceId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The resource ID of the container image layer.

", + "smithy.api#required": {} + } + }, + "layerHash": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The layer hash.

", + "smithy.api#required": {} + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account that owns the container image hosting the layer image.

", + "smithy.api#required": {} + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

An object that represents the count of matched findings per severity.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains the results of a finding aggregation by image layer.

" + } + }, + "com.amazonaws.inspector2#ImageLayerSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#ImageTagList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#NonEmptyString" + } + }, + "com.amazonaws.inspector2#Inspector2": { + "type": "service", + "version": "2020-06-08", + "operations": [ + { + "target": "com.amazonaws.inspector2#AssociateMember" }, - "com.amazonaws.inspector2#UpdateConfigurationRequest": { - "type": "structure", - "members": { - "ecrConfiguration": { - "target": "com.amazonaws.inspector2#EcrConfiguration", - "traits": { - "smithy.api#documentation": "

Specifies how the ECR automated re-scan will be updated for your environment.

" - } - }, - "ec2Configuration": { - "target": "com.amazonaws.inspector2#Ec2Configuration", - "traits": { - "smithy.api#documentation": "

Specifies how the Amazon EC2 automated scan will be updated for your environment.

" - } - } - } + { + "target": "com.amazonaws.inspector2#BatchGetAccountStatus" }, - "com.amazonaws.inspector2#UpdateConfigurationResponse": { - "type": "structure", - "members": {} + { + "target": "com.amazonaws.inspector2#BatchGetCodeSnippet" }, - "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/ec2deepinspectionconfiguration/update" - } - } + { + "target": "com.amazonaws.inspector2#BatchGetFindingDetails" }, - "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationRequest": { - "type": "structure", - "members": { - "activateDeepInspection": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "

Specify TRUE to activate Amazon Inspector deep inspection in your account, or FALSE to deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.

" - } - }, - "packagePaths": { - "target": "com.amazonaws.inspector2#PathList", - "traits": { - "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths you are adding for your account.

" - } - } - }, - "traits": { - "smithy.api#input": {} - } + { + "target": "com.amazonaws.inspector2#BatchGetFreeTrialInfo" }, - "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationResponse": { - "type": "structure", - "members": { - "packagePaths": { - "target": "com.amazonaws.inspector2#PathList", - "traits": { - "smithy.api#documentation": "

The current Amazon Inspector deep inspection custom paths for your account.

" - } - }, - "orgPackagePaths": { - "target": "com.amazonaws.inspector2#PathList", - "traits": { - "smithy.api#documentation": "

The current Amazon Inspector deep inspection custom paths for the organization.

" - } - }, - "status": { - "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", - "traits": { - "smithy.api#documentation": "

The status of Amazon Inspector deep inspection in your account.

" - } - }, - "errorMessage": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.

" - } - } - }, - "traits": { - "smithy.api#output": {} - } + { + "target": "com.amazonaws.inspector2#BatchGetMemberEc2DeepInspectionStatus" }, - "com.amazonaws.inspector2#UpdateEncryptionKey": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#UpdateEncryptionKeyRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#UpdateEncryptionKeyResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption.

", - "smithy.api#http": { - "code": 200, - "method": "PUT", - "uri": "/encryptionkey/update" - }, - "smithy.api#idempotent": {} - } + { + "target": "com.amazonaws.inspector2#BatchUpdateMemberEc2DeepInspectionStatus" }, - "com.amazonaws.inspector2#UpdateEncryptionKeyRequest": { - "type": "structure", - "members": { - "kmsKeyId": { - "target": "com.amazonaws.inspector2#KmsKeyArn", - "traits": { - "smithy.api#documentation": "

A KMS key ID for the encryption key.

", - "smithy.api#required": {} - } - }, - "scanType": { - "target": "com.amazonaws.inspector2#ScanType", - "traits": { - "smithy.api#documentation": "

The scan type for the encryption key.

", - "smithy.api#required": {} - } - }, - "resourceType": { - "target": "com.amazonaws.inspector2#ResourceType", - "traits": { - "smithy.api#documentation": "

The resource type for the encryption key.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } + { + "target": "com.amazonaws.inspector2#CancelFindingsReport" }, - "com.amazonaws.inspector2#UpdateEncryptionKeyResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } + { + "target": "com.amazonaws.inspector2#CancelSbomExport" }, - "com.amazonaws.inspector2#UpdateFilter": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#UpdateFilterRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#UpdateFilterResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ResourceNotFoundException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Specifies the action that is to be applied to the findings that match the filter.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/filters/update" - } - } + { + "target": "com.amazonaws.inspector2#CreateCisScanConfiguration" }, - "com.amazonaws.inspector2#UpdateFilterRequest": { - "type": "structure", - "members": { - "action": { - "target": "com.amazonaws.inspector2#FilterAction", - "traits": { - "smithy.api#documentation": "

Specifies the action that is to be applied to the findings that match the filter.

" - } - }, - "description": { - "target": "com.amazonaws.inspector2#FilterDescription", - "traits": { - "smithy.api#documentation": "

A description of the filter.

" - } - }, - "filterCriteria": { - "target": "com.amazonaws.inspector2#FilterCriteria", - "traits": { - "smithy.api#documentation": "

Defines the criteria to be update in the filter.

" - } - }, - "name": { - "target": "com.amazonaws.inspector2#FilterName", - "traits": { - "smithy.api#documentation": "

The name of the filter.

" - } - }, - "filterArn": { - "target": "com.amazonaws.inspector2#FilterArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the filter to update.

", - "smithy.api#required": {} - } - }, - "reason": { - "target": "com.amazonaws.inspector2#FilterReason", - "traits": { - "smithy.api#documentation": "

The reason the filter was updated.

" - } - } - } + { + "target": "com.amazonaws.inspector2#CreateFilter" }, - "com.amazonaws.inspector2#UpdateFilterResponse": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.inspector2#FilterArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the successfully updated filter.

", - "smithy.api#required": {} - } - } - } + { + "target": "com.amazonaws.inspector2#CreateFindingsReport" }, - "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/ec2deepinspectionconfiguration/org/update" - } - } + { + "target": "com.amazonaws.inspector2#CreateSbomExport" }, - "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationRequest": { - "type": "structure", - "members": { - "orgPackagePaths": { - "target": "com.amazonaws.inspector2#PathList", - "traits": { - "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths you are adding for your organization.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } + { + "target": "com.amazonaws.inspector2#DeleteCisScanConfiguration" }, - "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationResponse": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } + { + "target": "com.amazonaws.inspector2#DeleteFilter" }, - "com.amazonaws.inspector2#UpdateOrganizationConfiguration": { - "type": "operation", - "input": { - "target": "com.amazonaws.inspector2#UpdateOrganizationConfigurationRequest" - }, - "output": { - "target": "com.amazonaws.inspector2#UpdateOrganizationConfigurationResponse" - }, - "errors": [ - { - "target": "com.amazonaws.inspector2#AccessDeniedException" - }, - { - "target": "com.amazonaws.inspector2#InternalServerException" - }, - { - "target": "com.amazonaws.inspector2#ThrottlingException" - }, - { - "target": "com.amazonaws.inspector2#ValidationException" - } - ], - "traits": { - "smithy.api#documentation": "

Updates the configurations for your Amazon Inspector organization.

", - "smithy.api#http": { - "code": 200, - "method": "POST", - "uri": "/organizationconfiguration/update" - } - } + { + "target": "com.amazonaws.inspector2#DescribeOrganizationConfiguration" }, - "com.amazonaws.inspector2#UpdateOrganizationConfigurationRequest": { - "type": "structure", - "members": { - "autoEnable": { - "target": "com.amazonaws.inspector2#AutoEnable", - "traits": { - "smithy.api#documentation": "

Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.

", - "smithy.api#required": {} - } - } - } + { + "target": "com.amazonaws.inspector2#Disable" }, - "com.amazonaws.inspector2#UpdateOrganizationConfigurationResponse": { - "type": "structure", - "members": { - "autoEnable": { - "target": "com.amazonaws.inspector2#AutoEnable", - "traits": { - "smithy.api#documentation": "

The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.

", - "smithy.api#required": {} - } - } - } + { + "target": "com.amazonaws.inspector2#DisableDelegatedAdminAccount" }, - "com.amazonaws.inspector2#Usage": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.inspector2#UsageType", - "traits": { - "smithy.api#documentation": "

The type scan.

" - } - }, - "total": { - "target": "com.amazonaws.inspector2#UsageValue", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The total of usage.

" - } - }, - "estimatedMonthlyCost": { - "target": "com.amazonaws.inspector2#MonthlyCostEstimate", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The estimated monthly cost of Amazon Inspector.

" - } - }, - "currency": { - "target": "com.amazonaws.inspector2#Currency", - "traits": { - "smithy.api#documentation": "

The currency type used when calculating usage data.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains usage information about the cost of Amazon Inspector operation.

" - } + { + "target": "com.amazonaws.inspector2#DisassociateMember" }, - "com.amazonaws.inspector2#UsageAccountId": { - "type": "string", - "traits": { - "smithy.api#pattern": "[0-9]{12}" - } + { + "target": "com.amazonaws.inspector2#Enable" }, - "com.amazonaws.inspector2#UsageAccountIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#UsageAccountId" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 7000 - } - } + { + "target": "com.amazonaws.inspector2#EnableDelegatedAdminAccount" }, - "com.amazonaws.inspector2#UsageList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Usage" - } + { + "target": "com.amazonaws.inspector2#GetCisScanReport" }, - "com.amazonaws.inspector2#UsageTotal": { - "type": "structure", - "members": { - "accountId": { - "target": "com.amazonaws.inspector2#MeteringAccountId", - "traits": { - "smithy.api#documentation": "

The account ID of the account that usage data was retrieved for.

" - } - }, - "usage": { - "target": "com.amazonaws.inspector2#UsageList", - "traits": { - "smithy.api#documentation": "

An object representing the total usage for an account.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The total of usage for an account ID.

" - } + { + "target": "com.amazonaws.inspector2#GetCisScanResultDetails" }, - "com.amazonaws.inspector2#UsageTotalList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#UsageTotal" - } + { + "target": "com.amazonaws.inspector2#GetConfiguration" }, - "com.amazonaws.inspector2#UsageType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "name": "EC2_INSTANCE_HOURS", - "value": "EC2_INSTANCE_HOURS" - }, - { - "name": "ECR_INITIAL_SCAN", - "value": "ECR_INITIAL_SCAN" - }, - { - "name": "ECR_RESCAN", - "value": "ECR_RESCAN" - }, - { - "name": "LAMBDA_FUNCTION_HOURS", - "value": "LAMBDA_FUNCTION_HOURS" - }, - { - "name": "LAMBDA_FUNCTION_CODE_HOURS", - "value": "LAMBDA_FUNCTION_CODE_HOURS" - } - ] - } + { + "target": "com.amazonaws.inspector2#GetDelegatedAdminAccount" }, - "com.amazonaws.inspector2#UsageValue": { - "type": "double", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0 - } - } + { + "target": "com.amazonaws.inspector2#GetEc2DeepInspectionConfiguration" }, - "com.amazonaws.inspector2#ValidationException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#required": {} - } - }, - "reason": { - "target": "com.amazonaws.inspector2#ValidationExceptionReason", - "traits": { - "smithy.api#documentation": "

The reason for the validation failure.

", - "smithy.api#required": {} - } - }, - "fields": { - "target": "com.amazonaws.inspector2#ValidationExceptionFields", - "traits": { - "smithy.api#documentation": "

The fields that failed validation.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

The request has failed validation due to missing required fields or having invalid\n inputs.

", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } + { + "target": "com.amazonaws.inspector2#GetEncryptionKey" }, - "com.amazonaws.inspector2#ValidationExceptionField": { - "type": "structure", - "members": { - "name": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The name of the validation exception.

", - "smithy.api#required": {} - } - }, - "message": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "

The validation exception message.

", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "

An object that describes a validation exception.

" - } + { + "target": "com.amazonaws.inspector2#GetFindingsReportStatus" }, - "com.amazonaws.inspector2#ValidationExceptionFields": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#ValidationExceptionField" - } + { + "target": "com.amazonaws.inspector2#GetMember" }, - "com.amazonaws.inspector2#ValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CANNOT_PARSE", - "name": "CANNOT_PARSE" - }, - { - "value": "FIELD_VALIDATION_FAILED", - "name": "FIELD_VALIDATION_FAILED" - }, - { - "value": "OTHER", - "name": "OTHER" - } - ] - } + { + "target": "com.amazonaws.inspector2#GetSbomExport" }, - "com.amazonaws.inspector2#Vendor": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 16 - } - } + { + "target": "com.amazonaws.inspector2#ListAccountPermissions" }, - "com.amazonaws.inspector2#VendorCreatedAt": { - "type": "timestamp" + { + "target": "com.amazonaws.inspector2#ListCisScanConfigurations" }, - "com.amazonaws.inspector2#VendorSeverity": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 64 - } - } + { + "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecks" }, - "com.amazonaws.inspector2#VendorUpdatedAt": { - "type": "timestamp" + { + "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResource" }, - "com.amazonaws.inspector2#Version": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\$LATEST|[0-9]+$" - } + { + "target": "com.amazonaws.inspector2#ListCisScans" }, - "com.amazonaws.inspector2#VpcId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^vpc-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" - } + { + "target": "com.amazonaws.inspector2#ListCoverage" }, - "com.amazonaws.inspector2#VulnId": { - "type": "string", - "traits": { - "smithy.api#pattern": "^CVE-[12][0-9]{3}-[0-9]{1,10}$" - } + { + "target": "com.amazonaws.inspector2#ListCoverageStatistics" }, - "com.amazonaws.inspector2#VulnIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#VulnId" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } + { + "target": "com.amazonaws.inspector2#ListDelegatedAdminAccounts" }, - "com.amazonaws.inspector2#Vulnerabilities": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#Vulnerability" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - } - } + { + "target": "com.amazonaws.inspector2#ListFilters" }, - "com.amazonaws.inspector2#Vulnerability": { - "type": "structure", - "members": { - "id": { - "target": "com.amazonaws.inspector2#NonEmptyString", - "traits": { - "smithy.api#documentation": "

The ID for the specific vulnerability.

", - "smithy.api#required": {} - } - }, - "cwes": { - "target": "com.amazonaws.inspector2#Cwes", - "traits": { - "smithy.api#documentation": "

The Common Weakness Enumeration (CWE) associated with the vulnerability.

" - } - }, - "cisaData": { - "target": "com.amazonaws.inspector2#CisaData", - "traits": { - "smithy.api#documentation": "

An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.

" - } - }, - "source": { - "target": "com.amazonaws.inspector2#VulnerabilitySource", - "traits": { - "smithy.api#documentation": "

The source of the vulnerability information. Possible results are RHEL, AMAZON_CVE, DEBIAN or NVD.

" - } - }, - "description": { - "target": "com.amazonaws.inspector2#VulnerabilityDescription", - "traits": { - "smithy.api#documentation": "

A description of the vulnerability.

" - } - }, - "atigData": { - "target": "com.amazonaws.inspector2#AtigData", - "traits": { - "smithy.api#documentation": "

An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.

" - } - }, - "vendorSeverity": { - "target": "com.amazonaws.inspector2#VendorSeverity", - "traits": { - "smithy.api#documentation": "

The severity assigned by the vendor.

" - } - }, - "cvss3": { - "target": "com.amazonaws.inspector2#Cvss3", - "traits": { - "smithy.api#documentation": "

An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.

" - } - }, - "relatedVulnerabilities": { - "target": "com.amazonaws.inspector2#RelatedVulnerabilities", - "traits": { - "smithy.api#documentation": "

A list of related vulnerabilities.

" - } - }, - "cvss2": { - "target": "com.amazonaws.inspector2#Cvss2", - "traits": { - "smithy.api#documentation": "

An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.

" - } - }, - "vendorCreatedAt": { - "target": "com.amazonaws.inspector2#VendorCreatedAt", - "traits": { - "smithy.api#documentation": "

The date and time when the vendor created this vulnerability.

" - } - }, - "vendorUpdatedAt": { - "target": "com.amazonaws.inspector2#VendorUpdatedAt", - "traits": { - "smithy.api#documentation": "

The date and time when the vendor last updated this vulnerability.

" - } - }, - "sourceUrl": { - "target": "com.amazonaws.inspector2#VulnerabilitySourceUrl", - "traits": { - "smithy.api#documentation": "

A link to the official source material for this vulnerability.

" - } - }, - "referenceUrls": { - "target": "com.amazonaws.inspector2#VulnerabilityReferenceUrls", - "traits": { - "smithy.api#documentation": "

Links to various resources with more information on this vulnerability.

" - } - }, - "exploitObserved": { - "target": "com.amazonaws.inspector2#ExploitObserved", - "traits": { - "smithy.api#documentation": "

An object that contains details on when the exploit was observed.

" - } - }, - "detectionPlatforms": { - "target": "com.amazonaws.inspector2#DetectionPlatforms", - "traits": { - "smithy.api#documentation": "

Platforms that the vulnerability can be detected on.

" - } - }, - "epss": { - "target": "com.amazonaws.inspector2#Epss", - "traits": { - "smithy.api#documentation": "

An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.

" - } - } - }, - "traits": { - "smithy.api#documentation": "

Contains details about a specific vulnerability Amazon Inspector can detect.

" - } + { + "target": "com.amazonaws.inspector2#ListFindingAggregations" }, - "com.amazonaws.inspector2#VulnerabilityDescription": { - "type": "string" + { + "target": "com.amazonaws.inspector2#ListFindings" }, - "com.amazonaws.inspector2#VulnerabilityId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } + { + "target": "com.amazonaws.inspector2#ListMembers" }, - "com.amazonaws.inspector2#VulnerabilityIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#VulnerabilityId" - } + { + "target": "com.amazonaws.inspector2#ListTagsForResource" }, - "com.amazonaws.inspector2#VulnerabilityReferenceUrl": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } + { + "target": "com.amazonaws.inspector2#ListUsageTotals" }, - "com.amazonaws.inspector2#VulnerabilityReferenceUrls": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#VulnerabilityReferenceUrl" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } + { + "target": "com.amazonaws.inspector2#ResetEncryptionKey" }, - "com.amazonaws.inspector2#VulnerabilitySource": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NVD", - "name": "NVD" - } - ] - } + { + "target": "com.amazonaws.inspector2#SearchVulnerabilities" }, - "com.amazonaws.inspector2#VulnerabilitySourceUrl": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0 - } - } + { + "target": "com.amazonaws.inspector2#SendCisSessionHealth" }, - "com.amazonaws.inspector2#VulnerablePackage": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.inspector2#PackageName", - "traits": { - "smithy.api#documentation": "

The name of the vulnerable package.

", - "smithy.api#required": {} - } - }, - "version": { - "target": "com.amazonaws.inspector2#PackageVersion", - "traits": { - "smithy.api#documentation": "

The version of the vulnerable package.

", - "smithy.api#required": {} - } - }, - "sourceLayerHash": { - "target": "com.amazonaws.inspector2#SourceLayerHash", - "traits": { - "smithy.api#documentation": "

The source layer hash of the vulnerable package.

" - } - }, - "epoch": { - "target": "com.amazonaws.inspector2#PackageEpoch", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

The epoch of the vulnerable package.

" - } - }, - "release": { - "target": "com.amazonaws.inspector2#PackageRelease", - "traits": { - "smithy.api#documentation": "

The release of the vulnerable package.

" - } - }, - "arch": { - "target": "com.amazonaws.inspector2#PackageArchitecture", - "traits": { - "smithy.api#documentation": "

The architecture of the vulnerable package.

" - } - }, - "packageManager": { - "target": "com.amazonaws.inspector2#PackageManager", - "traits": { - "smithy.api#documentation": "

The package manager of the vulnerable package.

" - } - }, - "filePath": { - "target": "com.amazonaws.inspector2#FilePath", - "traits": { - "smithy.api#documentation": "

The file path of the vulnerable package.

" - } - }, - "fixedInVersion": { - "target": "com.amazonaws.inspector2#PackageVersion", - "traits": { - "smithy.api#documentation": "

The version of the package that contains the vulnerability fix.

" + { + "target": "com.amazonaws.inspector2#SendCisSessionTelemetry" + }, + { + "target": "com.amazonaws.inspector2#StartCisSession" + }, + { + "target": "com.amazonaws.inspector2#StopCisSession" + }, + { + "target": "com.amazonaws.inspector2#TagResource" + }, + { + "target": "com.amazonaws.inspector2#UntagResource" + }, + { + "target": "com.amazonaws.inspector2#UpdateCisScanConfiguration" + }, + { + "target": "com.amazonaws.inspector2#UpdateConfiguration" + }, + { + "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfiguration" + }, + { + "target": "com.amazonaws.inspector2#UpdateEncryptionKey" + }, + { + "target": "com.amazonaws.inspector2#UpdateFilter" + }, + { + "target": "com.amazonaws.inspector2#UpdateOrganizationConfiguration" + }, + { + "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfiguration" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Inspector2", + "arnNamespace": "inspector2", + "cloudTrailEventSource": "inspector2.amazon.aws", + "cloudFormationName": "Inspector2" + }, + "aws.auth#sigv4": { + "name": "inspector2" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": ["*"] + }, + "smithy.api#documentation": "

Amazon Inspector is a vulnerability discovery service that automates continuous scanning for\n security vulnerabilities within your Amazon EC2, Amazon ECR, and Amazon Web Services Lambda environments.

", + "smithy.api#title": "Inspector2", + "smithy.rules#endpointRuleSet": { + "version": "1.0", + "parameters": { + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + }, + "UseDualStack": { + "builtIn": "AWS::UseDualStack", + "required": true, + "default": false, + "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", + "type": "Boolean" + }, + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" }, - "remediation": { - "target": "com.amazonaws.inspector2#VulnerablePackageRemediation", - "traits": { - "smithy.api#documentation": "

The code to run in your environment to update packages with a fix available.

" + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" }, - "sourceLambdaLayerArn": { - "target": "com.amazonaws.inspector2#LambdaLayerArn", - "traits": { - "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.

" + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" } + ] } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://inspector2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + }, + true + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://inspector2-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://inspector2.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://inspector2.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ] + }, + "smithy.rules#endpointTests": { + "testCases": [ + { + "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-east-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-northeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-northeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-northeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-south-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-southeast-1.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ap-southeast-2.amazonaws.com" + } + }, + "params": { + "Region": "ap-southeast-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.ca-central-1.amazonaws.com" + } + }, + "params": { + "Region": "ca-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-central-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-central-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-north-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-south-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-1.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-2.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.eu-west-3.amazonaws.com" + } + }, + "params": { + "Region": "eu-west-3", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.me-south-1.amazonaws.com" + } + }, + "params": { + "Region": "me-south-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.sa-east-1.amazonaws.com" + } + }, + "params": { + "Region": "sa-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-east-2.amazonaws.com" + } + }, + "params": { + "Region": "us-east-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-west-1.amazonaws.com" + } + }, + "params": { + "Region": "us-west-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-west-2.amazonaws.com" + } + }, + "params": { + "Region": "us-west-2", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.cn-north-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.cn-north-1.amazonaws.com.cn" + } + }, + "params": { + "Region": "cn-north-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-gov-east-1.api.aws" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-gov-east-1.amazonaws.com" + } + }, + "params": { + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "url": "https://inspector2.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false, + "UseDualStack": false + } + }, + { + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" + } + } + }, + "com.amazonaws.inspector2#InspectorScoreDetails": { + "type": "structure", + "members": { + "adjustedCvss": { + "target": "com.amazonaws.inspector2#CvssScoreDetails", + "traits": { + "smithy.api#documentation": "

An object that contains details about the CVSS score given to a finding.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the Amazon Inspector score given to a finding.

" + } + }, + "com.amazonaws.inspector2#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "retryAfterSeconds": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of seconds to wait before retrying the request.

", + "smithy.api#httpHeader": "Retry-After" + } + } + }, + "traits": { + "smithy.api#documentation": "

The request has failed due to an internal failure of the Amazon Inspector service.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.inspector2#IpV4Address": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 7, + "max": 15 + }, + "smithy.api#pattern": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$" + } + }, + "com.amazonaws.inspector2#IpV4AddressList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#IpV4Address" + } + }, + "com.amazonaws.inspector2#IpV6Address": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 47 + } + } + }, + "com.amazonaws.inspector2#IpV6AddressList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#IpV6Address" + } + }, + "com.amazonaws.inspector2#KmsKeyArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:aws(-(us-gov|cn))?:kms:([a-z0-9][-.a-z0-9]{0,62})?:[0-9]{12}?:key/(([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|(mrk-[0-9a-zA-Z]{32}))$" + } + }, + "com.amazonaws.inspector2#LambdaFunctionAggregation": { + "type": "structure", + "members": { + "resourceIds": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The resource IDs to include in the aggregation results.

" + } + }, + "functionNames": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Lambda function names to include in the aggregation results.

" + } + }, + "runtimes": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

Returns findings aggregated by Amazon Web Services Lambda function runtime environments.

" + } + }, + "functionTags": { + "target": "com.amazonaws.inspector2#MapFilterList", + "traits": { + "smithy.api#documentation": "

The tags to include in the aggregation results.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to use for sorting the results.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#LambdaFunctionSortBy", + "traits": { + "smithy.api#documentation": "

The finding severity to use for sorting the results.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define a findings aggregation based on Amazon Web Services Lambda functions.

" + } + }, + "com.amazonaws.inspector2#LambdaFunctionAggregationResponse": { + "type": "structure", + "members": { + "resourceId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The resource IDs included in the aggregation results.

", + "smithy.api#required": {} + } + }, + "functionName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Lambda function names included in the aggregation results.

" + } + }, + "runtime": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The runtimes included in the aggregation results.

" + } + }, + "lambdaTags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

The tags included in the aggregation results.

" + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account that owns the Amazon Web Services Lambda function.\n

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

An object that contains the counts of aggregated finding per severity.

" + } + }, + "lastModifiedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date that the Amazon Web Services Lambda function included in the aggregation results was last changed.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains the results of an Amazon Web Services Lambda function finding aggregation.

" + } + }, + "com.amazonaws.inspector2#LambdaFunctionMetadata": { + "type": "structure", + "members": { + "functionTags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

The resource tags on an Amazon Web Services Lambda function.

" + } + }, + "layers": { + "target": "com.amazonaws.inspector2#LambdaLayerList", + "traits": { + "smithy.api#documentation": "

The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.

" + } + }, + "functionName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of a function.

" + } + }, + "runtime": { + "target": "com.amazonaws.inspector2#Runtime", + "traits": { + "smithy.api#documentation": "

An Amazon Web Services Lambda function's runtime.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Lambda function metadata.

" + } + }, + "com.amazonaws.inspector2#LambdaFunctionSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#LambdaLayerAggregation": { + "type": "structure", + "members": { + "functionNames": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The names of the Amazon Web Services Lambda functions associated with the layers.

" + } + }, + "resourceIds": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The resource IDs for the Amazon Web Services Lambda function layers.

" + } + }, + "layerArns": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.\n

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to use for sorting the results.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#LambdaLayerSortBy", + "traits": { + "smithy.api#documentation": "

The finding severity to use for sorting the results.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define a findings aggregation based on an Amazon Web Services Lambda function's layers.

" + } + }, + "com.amazonaws.inspector2#LambdaLayerAggregationResponse": { + "type": "structure", + "members": { + "functionName": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The names of the Amazon Web Services Lambda functions associated with the layers.

", + "smithy.api#required": {} + } + }, + "resourceId": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Resource ID of the Amazon Web Services Lambda function layer.

", + "smithy.api#required": {} + } + }, + "layerArn": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Web Services Lambda function layer.

", + "smithy.api#required": {} + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The account ID of the Amazon Web Services Lambda function layer.

", + "smithy.api#required": {} + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

An object that contains the counts of aggregated finding per severity.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains the results of an Amazon Web Services Lambda function layer finding aggregation.

" + } + }, + "com.amazonaws.inspector2#LambdaLayerArn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:[a-zA-Z0-9-]+:lambda:[a-zA-Z0-9-]+:\\d{12}:layer:[a-zA-Z0-9-_]+:[0-9]+$" + } + }, + "com.amazonaws.inspector2#LambdaLayerList": { + "type": "list", + "member": { + "target": "smithy.api#String" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, + "com.amazonaws.inspector2#LambdaLayerSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#LambdaVpcConfig": { + "type": "structure", + "members": { + "subnetIds": { + "target": "com.amazonaws.inspector2#SubnetIdList", + "traits": { + "smithy.api#documentation": "

A list of VPC subnet IDs.

" + } + }, + "securityGroupIds": { + "target": "com.amazonaws.inspector2#SecurityGroupIdList", + "traits": { + "smithy.api#documentation": "

The VPC security groups and subnets that are attached to an Amazon Web Services Lambda function. For more information, see VPC Settings.

" + } + }, + "vpcId": { + "target": "com.amazonaws.inspector2#VpcId", + "traits": { + "smithy.api#documentation": "

The ID of the VPC.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The VPC security groups and subnets that are attached to an Amazon Web Services Lambda function. For more information, see VPC Settings.

" + } + }, + "com.amazonaws.inspector2#LastSeen": { + "type": "timestamp" + }, + "com.amazonaws.inspector2#LayerList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#LambdaLayerArn" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, + "com.amazonaws.inspector2#ListAccountPermissions": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListAccountPermissionsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListAccountPermissionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the permissions an account has to configure Amazon Inspector.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/accountpermissions/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "permissions" + } + } + }, + "com.amazonaws.inspector2#ListAccountPermissionsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#ListAccountPermissionsRequest": { + "type": "structure", + "members": { + "service": { + "target": "com.amazonaws.inspector2#Service", + "traits": { + "smithy.api#documentation": "

The service scan type to check permissions for.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#ListAccountPermissionsMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListAccountPermissionsResponse": { + "type": "structure", + "members": { + "permissions": { + "target": "com.amazonaws.inspector2#Permissions", + "traits": { + "smithy.api#documentation": "

Contains details on the permissions an account has to configure Amazon Inspector.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListCisScanConfigurations": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListCisScanConfigurationsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListCisScanConfigurationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists CIS scan configurations.

", + "smithy.api#examples": [ + { + "title": "Sample ListCisScanConfigurations Call", + "input": {}, + "output": { + "scanConfigurations": [ + { + "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38", + "ownerId": "123412341234", + "scanName": "sample", + "securityLevel": "LEVEL_1", + "schedule": { + "daily": { + "startTime": { + "timeOfDay": "12:34", + "timezone": "UTC" + } + } + }, + "targets": { + "accountIds": ["123412341234"], + "targetResourceTags": { + "key": ["value"] + } + } + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan-configuration/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "scanConfigurations", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.inspector2#ListCisScanConfigurationsFilterCriteria": { + "type": "structure", + "members": { + "scanNameFilters": { + "target": "com.amazonaws.inspector2#CisScanNameFilterList", + "traits": { + "smithy.api#documentation": "

The list of scan name filters.

" + } + }, + "targetResourceTagFilters": { + "target": "com.amazonaws.inspector2#ResourceTagFilterList", + "traits": { + "smithy.api#documentation": "

The list of target resource tag filters.

" + } + }, + "scanConfigurationArnFilters": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArnFilterList", + "traits": { + "smithy.api#documentation": "

The list of scan configuration ARN filters.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A list of CIS scan configurations filter criteria.

" + } + }, + "com.amazonaws.inspector2#ListCisScanConfigurationsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#ListCisScanConfigurationsRequest": { + "type": "structure", + "members": { + "filterCriteria": { + "target": "com.amazonaws.inspector2#ListCisScanConfigurationsFilterCriteria", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration filter criteria.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#CisScanConfigurationsSortBy", + "traits": { + "smithy.api#default": "SCAN_NAME", + "smithy.api#documentation": "

The CIS scan configuration sort by order.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#CisSortOrder", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration sort order order.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#ListCisScanConfigurationsMaxResults", + "traits": { + "smithy.api#default": 100, + "smithy.api#documentation": "

The maximum number of CIS scan configurations to be returned in a single page of results.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#ListCisScanConfigurationsResponse": { + "type": "structure", + "members": { + "scanConfigurations": { + "target": "com.amazonaws.inspector2#CisScanConfigurationList", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration scan configurations.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecks": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecksRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecksResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists scan results aggregated by checks.

", + "smithy.api#examples": [ + { + "title": "Sample ListCisScanResultsAggregatedByChecks Call", + "input": { + "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38" }, - "traits": { - "smithy.api#documentation": "

Information on the vulnerable package identified by a finding.

" - } - }, - "com.amazonaws.inspector2#VulnerablePackageList": { - "type": "list", - "member": { - "target": "com.amazonaws.inspector2#VulnerablePackage" - } - }, - "com.amazonaws.inspector2#VulnerablePackageRemediation": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1024 - } - } - }, - "com.amazonaws.inspector2#WeeklySchedule": { - "type": "structure", - "members": { - "startTime": { - "target": "com.amazonaws.inspector2#Time", - "traits": { - "smithy.api#documentation": "

The weekly schedule's start time.

", - "smithy.api#required": {} - } + "output": { + "checkAggregations": [ + { + "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", + "checkId": "1.1.1.1", + "title": "title1", + "checkDescription": "description", + "level": "LEVEL_1", + "accountId": "123412341234", + "statusCounts": { + "failed": 0, + "skipped": 1, + "passed": 2 + }, + "platform": "AMAZON_LINUX_2" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan-result/check/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "checkAggregations", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecksRequest": { + "type": "structure", + "members": { + "scanArn": { + "target": "com.amazonaws.inspector2#CisScanArn", + "traits": { + "smithy.api#documentation": "

The scan ARN.

", + "smithy.api#required": {} + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#CisScanResultsAggregatedByChecksFilterCriteria", + "traits": { + "smithy.api#documentation": "

The filter criteria.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#CisScanResultsAggregatedByChecksSortBy", + "traits": { + "smithy.api#default": "FAILED_COUNTS", + "smithy.api#documentation": "

The sort by order.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#CisSortOrder", + "traits": { + "smithy.api#documentation": "

The sort order.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#CisScanResultsMaxResults", + "traits": { + "smithy.api#default": 100, + "smithy.api#documentation": "

The maximum number of scan results aggregated by checks to be returned in a single page of results.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#ListCisScanResultsAggregatedByChecksResponse": { + "type": "structure", + "members": { + "checkAggregations": { + "target": "com.amazonaws.inspector2#CisCheckAggregationList", + "traits": { + "smithy.api#documentation": "

The check aggregations.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResourceRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists scan results aggregated by a target resource.

", + "smithy.api#examples": [ + { + "title": "Sample ListCisScanResultsAggregatedByTargetResource Call", + "input": { + "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38" + }, + "output": { + "targetResourceAggregations": [ + { + "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", + "targetResourceId": "i-12341234", + "accountId": "123412341234", + "targetResourceTags": { + "key": ["value"] + }, + "statusCounts": { + "failed": 0, + "skipped": 1, + "passed": 2 + }, + "platform": "AMAZON_LINUX_2", + "targetStatus": "COMPLETED" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan-result/resource/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "targetResourceAggregations", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResourceRequest": { + "type": "structure", + "members": { + "scanArn": { + "target": "com.amazonaws.inspector2#CisScanArn", + "traits": { + "smithy.api#documentation": "

The scan ARN.

", + "smithy.api#required": {} + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#CisScanResultsAggregatedByTargetResourceFilterCriteria", + "traits": { + "smithy.api#documentation": "

The filter criteria.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#CisScanResultsAggregatedByTargetResourceSortBy", + "traits": { + "smithy.api#default": "FAILED_COUNTS", + "smithy.api#documentation": "

The sort by order.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#CisSortOrder", + "traits": { + "smithy.api#documentation": "

The sort order.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#CisScanResultsMaxResults", + "traits": { + "smithy.api#default": 100, + "smithy.api#documentation": "

The maximum number of scan results aggregated by a target resource to be returned in a single page of results.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#ListCisScanResultsAggregatedByTargetResourceResponse": { + "type": "structure", + "members": { + "targetResourceAggregations": { + "target": "com.amazonaws.inspector2#CisTargetResourceAggregationList", + "traits": { + "smithy.api#documentation": "

The resource aggregations.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#ListCisScans": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListCisScansRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListCisScansResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a CIS scan list.

", + "smithy.api#examples": [ + { + "title": "Sample ListCisScans Call", + "input": {}, + "output": { + "scans": [ + { + "scanArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38", + "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38", + "status": "COMPLETED", + "scanName": "sample", + "scanDate": "2023-04-12T23:20:50.52Z", + "failedChecks": 2, + "totalChecks": 150, + "targets": { + "accountIds": ["123412341234"], + "targetResourceTags": { + "key": ["value"] + } + }, + "scheduledBy": "Delegated Admin", + "securityLevel": "LEVEL_1" + } + ] + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "scans", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.inspector2#ListCisScansDetailLevel": { + "type": "enum", + "members": { + "ORGANIZATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ORGANIZATION" + } + }, + "MEMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEMBER" + } + } + } + }, + "com.amazonaws.inspector2#ListCisScansFilterCriteria": { + "type": "structure", + "members": { + "scanNameFilters": { + "target": "com.amazonaws.inspector2#CisScanNameFilterList", + "traits": { + "smithy.api#documentation": "

The list of scan name filters.

" + } + }, + "targetResourceTagFilters": { + "target": "com.amazonaws.inspector2#ResourceTagFilterList", + "traits": { + "smithy.api#documentation": "

The list of target resource tag filters.

" + } + }, + "targetResourceIdFilters": { + "target": "com.amazonaws.inspector2#ResourceIdFilterList", + "traits": { + "smithy.api#documentation": "

The list of target resource ID filters.

" + } + }, + "scanStatusFilters": { + "target": "com.amazonaws.inspector2#CisScanStatusFilterList", + "traits": { + "smithy.api#documentation": "

The list of scan status filters.

" + } + }, + "scanAtFilters": { + "target": "com.amazonaws.inspector2#CisScanDateFilterList", + "traits": { + "smithy.api#documentation": "

The list of scan at filters.

" + } + }, + "scanConfigurationArnFilters": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArnFilterList", + "traits": { + "smithy.api#documentation": "

The list of scan configuration ARN filters.

" + } + }, + "scanArnFilters": { + "target": "com.amazonaws.inspector2#CisScanArnFilterList", + "traits": { + "smithy.api#documentation": "

The list of scan ARN filters.

" + } + }, + "scheduledByFilters": { + "target": "com.amazonaws.inspector2#CisScheduledByFilterList", + "traits": { + "smithy.api#documentation": "

The list of scheduled by filters.

" + } + }, + "failedChecksFilters": { + "target": "com.amazonaws.inspector2#CisNumberFilterList", + "traits": { + "smithy.api#documentation": "

The list of failed checks filters.

" + } + }, + "targetAccountIdFilters": { + "target": "com.amazonaws.inspector2#AccountIdFilterList", + "traits": { + "smithy.api#documentation": "

The list of target account ID filters.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A list of CIS scans filter criteria.

" + } + }, + "com.amazonaws.inspector2#ListCisScansMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#ListCisScansRequest": { + "type": "structure", + "members": { + "filterCriteria": { + "target": "com.amazonaws.inspector2#ListCisScansFilterCriteria", + "traits": { + "smithy.api#documentation": "

The CIS scan filter criteria.

" + } + }, + "detailLevel": { + "target": "com.amazonaws.inspector2#ListCisScansDetailLevel", + "traits": { + "smithy.api#documentation": "

The detail applied to the CIS scan.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#ListCisScansSortBy", + "traits": { + "smithy.api#default": "SCAN_START_DATE", + "smithy.api#documentation": "

The CIS scans sort by order.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#CisSortOrder", + "traits": { + "smithy.api#documentation": "

The CIS scans sort order.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#ListCisScansMaxResults", + "traits": { + "smithy.api#default": 100, + "smithy.api#documentation": "

The maximum number of results to be returned.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#ListCisScansResponse": { + "type": "structure", + "members": { + "scans": { + "target": "com.amazonaws.inspector2#CisScanList", + "traits": { + "smithy.api#documentation": "

The CIS scans.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination token from a previous request that's used to retrieve the next page of results.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#ListCisScansSortBy": { + "type": "enum", + "members": { + "STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATUS" + } + }, + "SCHEDULED_BY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULED_BY" + } + }, + "SCAN_START_DATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCAN_START_DATE" + } + }, + "FAILED_CHECKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED_CHECKS" + } + } + } + }, + "com.amazonaws.inspector2#ListCoverage": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListCoverageRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListCoverageResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists coverage details for your environment.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/coverage/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "coveredResources" + } + } + }, + "com.amazonaws.inspector2#ListCoverageMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.inspector2#ListCoverageRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.inspector2#ListCoverageMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#CoverageFilterCriteria", + "traits": { + "smithy.api#documentation": "

An object that contains details on the filters to apply to the coverage data for your\n environment.

" + } + } + } + }, + "com.amazonaws.inspector2#ListCoverageResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + }, + "coveredResources": { + "target": "com.amazonaws.inspector2#CoveredResources", + "traits": { + "smithy.api#documentation": "

An object that contains details on the covered resources in your environment.

" + } + } + } + }, + "com.amazonaws.inspector2#ListCoverageStatistics": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListCoverageStatisticsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListCoverageStatisticsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists Amazon Inspector coverage statistics for your environment.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/coverage/statistics/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "countsByGroup" + } + } + }, + "com.amazonaws.inspector2#ListCoverageStatisticsRequest": { + "type": "structure", + "members": { + "filterCriteria": { + "target": "com.amazonaws.inspector2#CoverageFilterCriteria", + "traits": { + "smithy.api#documentation": "

An object that contains details on the filters to apply to the coverage data for your\n environment.

" + } + }, + "groupBy": { + "target": "com.amazonaws.inspector2#GroupKey", + "traits": { + "smithy.api#documentation": "

The value to group the results by.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListCoverageStatisticsResponse": { + "type": "structure", + "members": { + "countsByGroup": { + "target": "com.amazonaws.inspector2#CountsList", + "traits": { + "smithy.api#documentation": "

An array with the number for each group.

" + } + }, + "totalCounts": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The total number for all groups.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListDelegatedAdminAccounts": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListDelegatedAdminAccountsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListDelegatedAdminAccountsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists information about the Amazon Inspector delegated administrator of your\n organization.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/delegatedadminaccounts/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "delegatedAdminAccounts" + } + } + }, + "com.amazonaws.inspector2#ListDelegatedAdminAccountsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.inspector2#ListDelegatedAdminMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListDelegatedAdminAccountsResponse": { + "type": "structure", + "members": { + "delegatedAdminAccounts": { + "target": "com.amazonaws.inspector2#DelegatedAdminAccountList", + "traits": { + "smithy.api#documentation": "

Details of the Amazon Inspector delegated administrator of your organization.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListDelegatedAdminMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 5 + } + } + }, + "com.amazonaws.inspector2#ListFilterMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#ListFilters": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListFiltersRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListFiltersResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the filters associated with your account.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/filters/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "filters" + } + } + }, + "com.amazonaws.inspector2#ListFiltersRequest": { + "type": "structure", + "members": { + "arns": { + "target": "com.amazonaws.inspector2#FilterArnList", + "traits": { + "smithy.api#documentation": "

The Amazon resource number (ARN) of the filter.

" + } + }, + "action": { + "target": "com.amazonaws.inspector2#FilterAction", + "traits": { + "smithy.api#documentation": "

The action the filter applies to matched findings.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#ListFilterMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" + } + } + } + }, + "com.amazonaws.inspector2#ListFiltersResponse": { + "type": "structure", + "members": { + "filters": { + "target": "com.amazonaws.inspector2#FilterList", + "traits": { + "smithy.api#documentation": "

Contains details on the filters associated with your account.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListFindingAggregations": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListFindingAggregationsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListFindingAggregationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists aggregated finding data for your environment based on specific criteria.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/findings/aggregation/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "responses" + } + } + }, + "com.amazonaws.inspector2#ListFindingAggregationsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#ListFindingAggregationsRequest": { + "type": "structure", + "members": { + "aggregationType": { + "target": "com.amazonaws.inspector2#AggregationType", + "traits": { + "smithy.api#documentation": "

The type of the aggregation request.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#ListFindingAggregationsMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" + } + }, + "accountIds": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account IDs to retrieve finding aggregation data for.

" + } + }, + "aggregationRequest": { + "target": "com.amazonaws.inspector2#AggregationRequest", + "traits": { + "smithy.api#documentation": "

Details of the aggregation request that is used to filter your aggregation results.

" + } + } + } + }, + "com.amazonaws.inspector2#ListFindingAggregationsResponse": { + "type": "structure", + "members": { + "aggregationType": { + "target": "com.amazonaws.inspector2#AggregationType", + "traits": { + "smithy.api#documentation": "

The type of aggregation to perform.

", + "smithy.api#required": {} + } + }, + "responses": { + "target": "com.amazonaws.inspector2#AggregationResponseList", + "traits": { + "smithy.api#documentation": "

Objects that contain the results of an aggregation operation.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListFindings": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListFindingsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListFindingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists findings for your environment.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/findings/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "findings" + } + } + }, + "com.amazonaws.inspector2#ListFindingsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#ListFindingsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.inspector2#ListFindingsMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#FilterCriteria", + "traits": { + "smithy.api#documentation": "

Details on the filters to apply to your finding results.

" + } + }, + "sortCriteria": { + "target": "com.amazonaws.inspector2#SortCriteria", + "traits": { + "smithy.api#documentation": "

Details on the sort criteria to apply to your finding results.

" + } + } + } + }, + "com.amazonaws.inspector2#ListFindingsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + }, + "findings": { + "target": "com.amazonaws.inspector2#FindingList", + "traits": { + "smithy.api#documentation": "

Contains details on the findings in your environment.

" + } + } + } + }, + "com.amazonaws.inspector2#ListMembers": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListMembersRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListMembersResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

List members associated with the Amazon Inspector delegated administrator for your\n organization.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/members/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "members" + } + } + }, + "com.amazonaws.inspector2#ListMembersMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.inspector2#ListMembersRequest": { + "type": "structure", + "members": { + "onlyAssociated": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specifies whether to list only currently associated members if True or to\n list all members within the organization if False.

" + } + }, + "maxResults": { + "target": "com.amazonaws.inspector2#ListMembersMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" + } + } + } + }, + "com.amazonaws.inspector2#ListMembersResponse": { + "type": "structure", + "members": { + "members": { + "target": "com.amazonaws.inspector2#MemberList", + "traits": { + "smithy.api#documentation": "

An object that contains details for each member account.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination parameter to be used on the next list operation to retrieve more\n items.

" + } + } + } + }, + "com.amazonaws.inspector2#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all tags attached to a given resource.

", + "smithy.api#http": { + "uri": "/tags/{resourceArn}", + "method": "GET" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.inspector2#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.inspector2#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon resource number (ARN) of the resource to list tags of.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

The tags associated with the resource.

" + } + } + } + }, + "com.amazonaws.inspector2#ListUsageTotals": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ListUsageTotalsRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ListUsageTotalsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists the Amazon Inspector usage totals over the last 30 days.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/usage/list" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "totals" + } + } + }, + "com.amazonaws.inspector2#ListUsageTotalsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.inspector2#ListUsageTotalsNextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.inspector2#ListUsageTotalsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.inspector2#ListUsageTotalsMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

" + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#ListUsageTotalsNextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

" + } + }, + "accountIds": { + "target": "com.amazonaws.inspector2#UsageAccountIdList", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account IDs to retrieve usage totals for.

" + } + } + } + }, + "com.amazonaws.inspector2#ListUsageTotalsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.inspector2#ListUsageTotalsNextToken", + "traits": { + "smithy.api#documentation": "

The pagination parameter to be used on the next list operation to retrieve more items.

" + } + }, + "totals": { + "target": "com.amazonaws.inspector2#UsageTotalList", + "traits": { + "smithy.api#documentation": "

An object with details on the total usage for the requested account.

" + } + } + } + }, + "com.amazonaws.inspector2#MapComparison": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + } + ] + } + }, + "com.amazonaws.inspector2#MapFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#MapComparison", + "traits": { + "smithy.api#documentation": "

The operator to use when comparing values in the filter.

", + "smithy.api#required": {} + } + }, + "key": { + "target": "com.amazonaws.inspector2#MapKey", + "traits": { + "smithy.api#documentation": "

The tag key used in the filter.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#MapValue", + "traits": { + "smithy.api#documentation": "

The tag value used in the filter.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that describes details of a map filter.

" + } + }, + "com.amazonaws.inspector2#MapFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#MapFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#MapKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.inspector2#MapValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 256 + } + } + }, + "com.amazonaws.inspector2#Member": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the member account.

" + } + }, + "relationshipStatus": { + "target": "com.amazonaws.inspector2#RelationshipStatus", + "traits": { + "smithy.api#documentation": "

The status of the member account.

" + } + }, + "delegatedAdminAccountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.

" + } + }, + "updatedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

A timestamp showing when the status of this member was last updated.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details on a member account in your organization.

" + } + }, + "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatus": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member.

", + "smithy.api#required": {} + } + }, + "activateDeepInspection": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Whether Amazon Inspector deep inspection is active in the account. If TRUE Amazon Inspector deep inspection is active, if FALSE it is not active.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains details about the status of Amazon Inspector deep inspection for a member account in your organization.

" + } + }, + "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatus" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusState": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the Amazon Web Services account of the organization member

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", + "traits": { + "smithy.api#documentation": "

The state of Amazon Inspector deep inspection in the member account.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The error message explaining why the account failed to activate Amazon Inspector deep inspection.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains details about the state of Amazon Inspector deep inspection for a member account.

" + } + }, + "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusStateList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#MemberAccountEc2DeepInspectionStatusState" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#MemberList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Member" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.inspector2#MeteringAccountId": { + "type": "string", + "traits": { + "smithy.api#pattern": "[0-9]{12}" + } + }, + "com.amazonaws.inspector2#MeteringAccountIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#MeteringAccountId" + } + }, + "com.amazonaws.inspector2#MonthlyCostEstimate": { + "type": "double", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#MonthlySchedule": { + "type": "structure", + "members": { + "startTime": { + "target": "com.amazonaws.inspector2#Time", + "traits": { + "smithy.api#documentation": "

The monthly schedule's start time.

", + "smithy.api#required": {} + } + }, + "day": { + "target": "com.amazonaws.inspector2#Day", + "traits": { + "smithy.api#documentation": "

The monthly schedule's day.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A monthly schedule.

" + } + }, + "com.amazonaws.inspector2#NetworkPath": { + "type": "structure", + "members": { + "steps": { + "target": "com.amazonaws.inspector2#StepList", + "traits": { + "smithy.api#documentation": "

The details on the steps in the network path.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information on the network path associated with a finding.

" + } + }, + "com.amazonaws.inspector2#NetworkProtocol": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "TCP", + "name": "TCP" + }, + { + "value": "UDP", + "name": "UDP" + } + ] + } + }, + "com.amazonaws.inspector2#NetworkReachabilityDetails": { + "type": "structure", + "members": { + "openPortRange": { + "target": "com.amazonaws.inspector2#PortRange", + "traits": { + "smithy.api#documentation": "

An object that contains details about the open port range associated with a finding.

", + "smithy.api#required": {} + } + }, + "protocol": { + "target": "com.amazonaws.inspector2#NetworkProtocol", + "traits": { + "smithy.api#documentation": "

The protocol associated with a finding.

", + "smithy.api#required": {} + } + }, + "networkPath": { + "target": "com.amazonaws.inspector2#NetworkPath", + "traits": { + "smithy.api#documentation": "

An object that contains details about a network path associated with a finding.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains the details of a network reachability finding.

" + } + }, + "com.amazonaws.inspector2#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 1000000 + } + } + }, + "com.amazonaws.inspector2#NonEmptyString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.inspector2#NonEmptyStringList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#NonEmptyString" + } + }, + "com.amazonaws.inspector2#NumberFilter": { + "type": "structure", + "members": { + "upperInclusive": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The highest number to be included in the filter.

" + } + }, + "lowerInclusive": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

The lowest number to be included in the filter.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that describes the details of a number filter.

" + } + }, + "com.amazonaws.inspector2#NumberFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#NumberFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#OneAccountIdFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.inspector2#OneTimeSchedule": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "

A one time schedule.

" + } + }, + "com.amazonaws.inspector2#Operation": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ENABLE_SCANNING", + "name": "ENABLE_SCANNING" + }, + { + "value": "DISABLE_SCANNING", + "name": "DISABLE_SCANNING" + }, + { + "value": "ENABLE_REPOSITORY", + "name": "ENABLE_REPOSITORY" + }, + { + "value": "DISABLE_REPOSITORY", + "name": "DISABLE_REPOSITORY" + } + ] + } + }, + "com.amazonaws.inspector2#OwnerId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 34 + }, + "smithy.api#pattern": "(^\\d{12}$)|(^o-[a-z0-9]{10,32}$)" + } + }, + "com.amazonaws.inspector2#PackageAggregation": { + "type": "structure", + "members": { + "packageNames": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The names of packages to aggregate findings on.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to sort results by.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#PackageSortBy", + "traits": { + "smithy.api#documentation": "

The value to sort results by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define an aggregation based on operating system package type.

" + } + }, + "com.amazonaws.inspector2#PackageAggregationResponse": { + "type": "structure", + "members": { + "packageName": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The name of the operating system package.

", + "smithy.api#required": {} + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account associated with the findings.

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

An object that contains the count of matched findings per severity.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains the results of a finding aggregation by image layer.

" + } + }, + "com.amazonaws.inspector2#PackageArchitecture": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.inspector2#PackageEpoch": { + "type": "integer", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.inspector2#PackageFilter": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.inspector2#StringFilter", + "traits": { + "smithy.api#documentation": "

An object that contains details on the name of the package to filter on.

" + } + }, + "version": { + "target": "com.amazonaws.inspector2#StringFilter", + "traits": { + "smithy.api#documentation": "

The package version to filter on.

" + } + }, + "epoch": { + "target": "com.amazonaws.inspector2#NumberFilter", + "traits": { + "smithy.api#documentation": "

An object that contains details on the package epoch to filter on.

" + } + }, + "release": { + "target": "com.amazonaws.inspector2#StringFilter", + "traits": { + "smithy.api#documentation": "

An object that contains details on the package release to filter on.

" + } + }, + "architecture": { + "target": "com.amazonaws.inspector2#StringFilter", + "traits": { + "smithy.api#documentation": "

An object that contains details on the package architecture type to filter on.

" + } + }, + "sourceLayerHash": { + "target": "com.amazonaws.inspector2#StringFilter", + "traits": { + "smithy.api#documentation": "

An object that contains details on the source layer hash to filter on.

" + } + }, + "sourceLambdaLayerArn": { + "target": "com.amazonaws.inspector2#StringFilter", + "traits": { + "smithy.api#documentation": "

An object that describes the details of a string filter.

" + } + }, + "filePath": { + "target": "com.amazonaws.inspector2#StringFilter", + "traits": { + "smithy.api#documentation": "

An object that contains details on the package file path to filter on.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information on the details of a package filter.

" + } + }, + "com.amazonaws.inspector2#PackageFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#PackageFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#PackageManager": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "BUNDLER", + "name": "BUNDLER" + }, + { + "value": "CARGO", + "name": "CARGO" + }, + { + "value": "COMPOSER", + "name": "COMPOSER" + }, + { + "value": "NPM", + "name": "NPM" + }, + { + "value": "NUGET", + "name": "NUGET" + }, + { + "value": "PIPENV", + "name": "PIPENV" + }, + { + "value": "POETRY", + "name": "POETRY" + }, + { + "value": "YARN", + "name": "YARN" + }, + { + "value": "GOBINARY", + "name": "GOBINARY" + }, + { + "value": "GOMOD", + "name": "GOMOD" + }, + { + "value": "JAR", + "name": "JAR" + }, + { + "value": "OS", + "name": "OS" + }, + { + "value": "PIP", + "name": "PIP" + }, + { + "value": "PYTHONPKG", + "name": "PYTHONPKG" + }, + { + "value": "NODEPKG", + "name": "NODEPKG" + }, + { + "value": "POM", + "name": "POM" + }, + { + "value": "GEMSPEC", + "name": "GEMSPEC" + }, + { + "value": "DOTNET_CORE", + "name": "DOTNET_CORE" + } + ] + } + }, + "com.amazonaws.inspector2#PackageName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#PackageRelease": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#PackageSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#PackageType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "IMAGE", + "name": "IMAGE" + }, + { + "value": "ZIP", + "name": "ZIP" + } + ] + } + }, + "com.amazonaws.inspector2#PackageVersion": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#PackageVulnerabilityDetails": { + "type": "structure", + "members": { + "vulnerabilityId": { + "target": "com.amazonaws.inspector2#VulnerabilityId", + "traits": { + "smithy.api#documentation": "

The ID given to this vulnerability.

", + "smithy.api#required": {} + } + }, + "vulnerablePackages": { + "target": "com.amazonaws.inspector2#VulnerablePackageList", + "traits": { + "smithy.api#documentation": "

The packages impacted by this vulnerability.

" + } + }, + "source": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The source of the vulnerability information.

", + "smithy.api#required": {} + } + }, + "cvss": { + "target": "com.amazonaws.inspector2#CvssScoreList", + "traits": { + "smithy.api#documentation": "

An object that contains details about the CVSS score of a finding.

" + } + }, + "relatedVulnerabilities": { + "target": "com.amazonaws.inspector2#VulnerabilityIdList", + "traits": { + "smithy.api#documentation": "

One or more vulnerabilities related to the one identified in this finding.

" + } + }, + "sourceUrl": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

A URL to the source of the vulnerability information.

" + } + }, + "vendorSeverity": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The severity the vendor has given to this vulnerability type.

" + } + }, + "vendorCreatedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time that this vulnerability was first added to the vendor's database.

" + } + }, + "vendorUpdatedAt": { + "target": "com.amazonaws.inspector2#DateTimeTimestamp", + "traits": { + "smithy.api#documentation": "

The date and time the vendor last updated this vulnerability in their database.

" + } + }, + "referenceUrls": { + "target": "com.amazonaws.inspector2#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

One or more URLs that contain details about this vulnerability type.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a package vulnerability finding.

" + } + }, + "com.amazonaws.inspector2#Path": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + }, + "smithy.api#pattern": "^(?:/(?:\\.[-\\w]+|[-\\w]+(?:\\.[-\\w]+)?))+/?$" + } + }, + "com.amazonaws.inspector2#PathList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Path" + }, + "traits": { + "smithy.api#length": { + "max": 5 + } + } + }, + "com.amazonaws.inspector2#Permission": { + "type": "structure", + "members": { + "service": { + "target": "com.amazonaws.inspector2#Service", + "traits": { + "smithy.api#documentation": "

The services that the permissions allow an account to perform the given operations for.

", + "smithy.api#required": {} + } + }, + "operation": { + "target": "com.amazonaws.inspector2#Operation", + "traits": { + "smithy.api#documentation": "

The operations that can be performed with the given permissions.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information on the permissions an account has within Amazon Inspector.

" + } + }, + "com.amazonaws.inspector2#Permissions": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Permission" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#Platform": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#PlatformFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#PlatformVersion": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 8 + } + } + }, + "com.amazonaws.inspector2#Port": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 65535 + } + } + }, + "com.amazonaws.inspector2#PortRange": { + "type": "structure", + "members": { + "begin": { + "target": "com.amazonaws.inspector2#Port", + "traits": { + "smithy.api#documentation": "

The beginning port in a port range.

", + "smithy.api#required": {} + } + }, + "end": { + "target": "com.amazonaws.inspector2#Port", + "traits": { + "smithy.api#documentation": "

The ending port in a port range.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the port range associated with a finding.

" + } + }, + "com.amazonaws.inspector2#PortRangeFilter": { + "type": "structure", + "members": { + "beginInclusive": { + "target": "com.amazonaws.inspector2#Port", + "traits": { + "smithy.api#documentation": "

The port number the port range begins at.

" + } + }, + "endInclusive": { + "target": "com.amazonaws.inspector2#Port", + "traits": { + "smithy.api#documentation": "

The port number the port range ends at.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that describes the details of a port range filter.

" + } + }, + "com.amazonaws.inspector2#PortRangeFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#PortRangeFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#Product": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 32 + } + } + }, + "com.amazonaws.inspector2#Reason": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#Recommendation": { + "type": "structure", + "members": { + "text": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The recommended course of action to remediate the finding.

" + } + }, + "Url": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The URL address to the CVE remediation recommendations.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the recommended course of action to remediate the finding.

" + } + }, + "com.amazonaws.inspector2#ReferenceUrls": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#NonEmptyString" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#RelatedVulnerabilities": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#RelatedVulnerability" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#RelatedVulnerability": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#RelationshipStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATED", + "name": "CREATED" + }, + { + "value": "INVITED", + "name": "INVITED" + }, + { + "value": "DISABLED", + "name": "DISABLED" + }, + { + "value": "ENABLED", + "name": "ENABLED" + }, + { + "value": "REMOVED", + "name": "REMOVED" + }, + { + "value": "RESIGNED", + "name": "RESIGNED" + }, + { + "value": "DELETED", + "name": "DELETED" + }, + { + "value": "EMAIL_VERIFICATION_IN_PROGRESS", + "name": "EMAIL_VERIFICATION_IN_PROGRESS" + }, + { + "value": "EMAIL_VERIFICATION_FAILED", + "name": "EMAIL_VERIFICATION_FAILED" + }, + { + "value": "REGION_DISABLED", + "name": "REGION_DISABLED" + }, + { + "value": "ACCOUNT_SUSPENDED", + "name": "ACCOUNT_SUSPENDED" + }, + { + "value": "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER", + "name": "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER" + } + ] + } + }, + "com.amazonaws.inspector2#Remediation": { + "type": "structure", + "members": { + "recommendation": { + "target": "com.amazonaws.inspector2#Recommendation", + "traits": { + "smithy.api#documentation": "

An object that contains information about the recommended course of action to remediate the finding.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information on how to remediate a finding.

" + } + }, + "com.amazonaws.inspector2#ReportFormat": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CSV", + "name": "CSV" + }, + { + "value": "JSON", + "name": "JSON" + } + ] + } + }, + "com.amazonaws.inspector2#ReportId": { + "type": "string", + "traits": { + "smithy.api#pattern": "\\b[a-f0-9]{8}\\b-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-\\b[a-f0-9]{12}\\b" + } + }, + "com.amazonaws.inspector2#ReportTargetAccounts": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#AccountId" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1 + } + } + }, + "com.amazonaws.inspector2#ReportingErrorCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "INTERNAL_ERROR", + "name": "INTERNAL_ERROR" + }, + { + "value": "INVALID_PERMISSIONS", + "name": "INVALID_PERMISSIONS" + }, + { + "value": "NO_FINDINGS_FOUND", + "name": "NO_FINDINGS_FOUND" + }, + { + "value": "BUCKET_NOT_FOUND", + "name": "BUCKET_NOT_FOUND" + }, + { + "value": "INCOMPATIBLE_BUCKET_REGION", + "name": "INCOMPATIBLE_BUCKET_REGION" + }, + { + "value": "MALFORMED_KMS_KEY", + "name": "MALFORMED_KMS_KEY" + } + ] + } + }, + "com.amazonaws.inspector2#RepositoryAggregation": { + "type": "structure", + "members": { + "repositories": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The names of repositories to aggregate findings on.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to sort results by.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#RepositorySortBy", + "traits": { + "smithy.api#documentation": "

The value to sort results by.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define an aggregation based on repository.

" + } + }, + "com.amazonaws.inspector2#RepositoryAggregationResponse": { + "type": "structure", + "members": { + "repository": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The name of the repository associated with the findings.

", + "smithy.api#required": {} + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account associated with the findings.

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

An object that represent the count of matched findings per severity.

" + } + }, + "affectedImages": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The number of container images impacted by the findings.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains details on the results of a finding aggregation by repository.

" + } + }, + "com.amazonaws.inspector2#RepositorySortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + }, + { + "value": "AFFECTED_IMAGES", + "name": "AFFECTED_IMAGES" + } + ] + } + }, + "com.amazonaws.inspector2#ResetEncryptionKey": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#ResetEncryptionKeyRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#ResetEncryptionKeyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Resets an encryption key. After the key is reset your resources will be encrypted by an Amazon Web Services owned key.

", + "smithy.api#http": { + "code": 200, + "method": "PUT", + "uri": "/encryptionkey/reset" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#ResetEncryptionKeyRequest": { + "type": "structure", + "members": { + "scanType": { + "target": "com.amazonaws.inspector2#ScanType", + "traits": { + "smithy.api#documentation": "

The scan type the key encrypts.

", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#ResourceType", + "traits": { + "smithy.api#documentation": "

The resource type the key encrypts.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#ResetEncryptionKeyResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#Resource": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.inspector2#ResourceType", + "traits": { + "smithy.api#documentation": "

The type of resource.

", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The ID of the resource.

", + "smithy.api#required": {} + } + }, + "partition": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The partition of the resource.

" + } + }, + "region": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Region the impacted resource is located in.

" + } + }, + "tags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

The tags attached to the resource.

" + } + }, + "details": { + "target": "com.amazonaws.inspector2#ResourceDetails", + "traits": { + "smithy.api#documentation": "

An object that contains details about the resource involved in a finding.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the resource involved in a finding.

" + } + }, + "com.amazonaws.inspector2#ResourceDetails": { + "type": "structure", + "members": { + "awsEc2Instance": { + "target": "com.amazonaws.inspector2#AwsEc2InstanceDetails", + "traits": { + "smithy.api#documentation": "

An object that contains details about the Amazon EC2 instance involved in the finding.

" + } + }, + "awsEcrContainerImage": { + "target": "com.amazonaws.inspector2#AwsEcrContainerImageDetails", + "traits": { + "smithy.api#documentation": "

An object that contains details about the Amazon ECR container image involved in the finding.

" + } + }, + "awsLambdaFunction": { + "target": "com.amazonaws.inspector2#AwsLambdaFunctionDetails", + "traits": { + "smithy.api#documentation": "

A summary of the information about an Amazon Web Services Lambda function affected by a finding.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains details about the resource involved in the finding.

" + } + }, + "com.amazonaws.inspector2#ResourceFilterCriteria": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#ResourceStringFilterList", + "traits": { + "smithy.api#documentation": "

The account IDs used as resource filter criteria.

" + } + }, + "resourceId": { + "target": "com.amazonaws.inspector2#ResourceStringFilterList", + "traits": { + "smithy.api#documentation": "

The resource IDs used as resource filter criteria.

" + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#ResourceStringFilterList", + "traits": { + "smithy.api#documentation": "

The resource types used as resource filter criteria.

" + } + }, + "ecrRepositoryName": { + "target": "com.amazonaws.inspector2#ResourceStringFilterList", + "traits": { + "smithy.api#documentation": "

The ECR repository names used as resource filter criteria.

" + } + }, + "lambdaFunctionName": { + "target": "com.amazonaws.inspector2#ResourceStringFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Lambda function name used as resource filter criteria.

" + } + }, + "ecrImageTags": { + "target": "com.amazonaws.inspector2#ResourceStringFilterList", + "traits": { + "smithy.api#documentation": "

The ECR image tags used as resource filter criteria.

" + } + }, + "ec2InstanceTags": { + "target": "com.amazonaws.inspector2#ResourceMapFilterList", + "traits": { + "smithy.api#documentation": "

The EC2 instance tags used as resource filter criteria.

" + } + }, + "lambdaFunctionTags": { + "target": "com.amazonaws.inspector2#ResourceMapFilterList", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services Lambda function tags used as resource filter criteria.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The resource filter criteria for a Software bill of materials (SBOM) report.

" + } + }, + "com.amazonaws.inspector2#ResourceId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 10, + "max": 341 + }, + "smithy.api#pattern": "(^arn:.*:ecr:.*:\\d{12}:repository\\/(?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*(\\/sha256:[a-z0-9]{64})?$)|(^i-([a-z0-9]{8}|[a-z0-9]{17}|\\\\*)$|(^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$))" + } + }, + "com.amazonaws.inspector2#ResourceIdFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#ResourceList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Resource" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#ResourceMapComparison": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + } + ] + } + }, + "com.amazonaws.inspector2#ResourceMapFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#ResourceMapComparison", + "traits": { + "smithy.api#documentation": "

The filter's comparison.

", + "smithy.api#required": {} + } + }, + "key": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The filter's key.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The filter's value.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A resource map filter for a software bill of material report.

" + } + }, + "com.amazonaws.inspector2#ResourceMapFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#ResourceMapFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The operation tried to access an invalid resource. Make sure the resource is specified correctly.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.inspector2#ResourceScanMetadata": { + "type": "structure", + "members": { + "ecrRepository": { + "target": "com.amazonaws.inspector2#EcrRepositoryMetadata", + "traits": { + "smithy.api#documentation": "

An object that contains details about the repository an Amazon ECR image resides in.

" + } + }, + "ecrImage": { + "target": "com.amazonaws.inspector2#EcrContainerImageMetadata", + "traits": { + "smithy.api#documentation": "

An object that contains details about the container metadata for an Amazon ECR image.

" + } + }, + "ec2": { + "target": "com.amazonaws.inspector2#Ec2Metadata", + "traits": { + "smithy.api#documentation": "

An object that contains metadata details for an Amazon EC2 instance.

" + } + }, + "lambdaFunction": { + "target": "com.amazonaws.inspector2#LambdaFunctionMetadata", + "traits": { + "smithy.api#documentation": "

An object that contains metadata details for an Amazon Web Services Lambda function.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains details about the metadata for an Amazon ECR resource.

" + } + }, + "com.amazonaws.inspector2#ResourceScanType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EC2", + "name": "EC2" + }, + { + "value": "ECR", + "name": "ECR" + }, + { + "value": "LAMBDA", + "name": "LAMBDA" + }, + { + "value": "LAMBDA_CODE", + "name": "LAMBDA_CODE" + } + ] + } + }, + "com.amazonaws.inspector2#ResourceState": { + "type": "structure", + "members": { + "ec2": { + "target": "com.amazonaws.inspector2#State", + "traits": { + "smithy.api#documentation": "

An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.

", + "smithy.api#required": {} + } + }, + "ecr": { + "target": "com.amazonaws.inspector2#State", + "traits": { + "smithy.api#documentation": "

An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.

", + "smithy.api#required": {} + } + }, + "lambda": { + "target": "com.amazonaws.inspector2#State", + "traits": { + "smithy.api#documentation": "

An object that described the state of Amazon Inspector scans for an account.

" + } + }, + "lambdaCode": { + "target": "com.amazonaws.inspector2#State", + "traits": { + "smithy.api#documentation": "

An object that described the state of Amazon Inspector scans for an account.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details the state of Amazon Inspector for each resource type Amazon Inspector scans.

" + } + }, + "com.amazonaws.inspector2#ResourceStatus": { + "type": "structure", + "members": { + "ec2": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector scanning for Amazon EC2 resources.

", + "smithy.api#required": {} + } + }, + "ecr": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector scanning for Amazon ECR resources.

", + "smithy.api#required": {} + } + }, + "lambda": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector scanning for Amazon Web Services Lambda function.

" + } + }, + "lambdaCode": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions. \n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Details the status of Amazon Inspector for each resource type Amazon Inspector scans.

" + } + }, + "com.amazonaws.inspector2#ResourceStringComparison": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + }, + { + "value": "NOT_EQUALS", + "name": "NOT_EQUALS" + } + ] + } + }, + "com.amazonaws.inspector2#ResourceStringFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#ResourceStringComparison", + "traits": { + "smithy.api#documentation": "

The filter's comparison.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#ResourceStringInput", + "traits": { + "smithy.api#documentation": "

The filter's value.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A resource string filter for a software bill of materials report.

" + } + }, + "com.amazonaws.inspector2#ResourceStringFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#ResourceStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#ResourceStringInput": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#ResourceTagFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#TagFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#ResourceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWS_EC2_INSTANCE", + "name": "AWS_EC2_INSTANCE" + }, + { + "value": "AWS_ECR_CONTAINER_IMAGE", + "name": "AWS_ECR_CONTAINER_IMAGE" + }, + { + "value": "AWS_ECR_REPOSITORY", + "name": "AWS_ECR_REPOSITORY" + }, + { + "value": "AWS_LAMBDA_FUNCTION", + "name": "AWS_LAMBDA_FUNCTION" + } + ] + } + }, + "com.amazonaws.inspector2#RiskScore": { + "type": "integer" + }, + "com.amazonaws.inspector2#RuleId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.inspector2#Runtime": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NODEJS", + "name": "NODEJS" + }, + { + "value": "NODEJS_12_X", + "name": "NODEJS_12_X" + }, + { + "value": "NODEJS_14_X", + "name": "NODEJS_14_X" + }, + { + "value": "NODEJS_16_X", + "name": "NODEJS_16_X" + }, + { + "value": "JAVA_8", + "name": "JAVA_8" + }, + { + "value": "JAVA_8_AL2", + "name": "JAVA_8_AL2" + }, + { + "value": "JAVA_11", + "name": "JAVA_11" + }, + { + "value": "PYTHON_3_7", + "name": "PYTHON_3_7" + }, + { + "value": "PYTHON_3_8", + "name": "PYTHON_3_8" + }, + { + "value": "PYTHON_3_9", + "name": "PYTHON_3_9" + }, + { + "value": "UNSUPPORTED", + "name": "UNSUPPORTED" + }, + { + "value": "NODEJS_18_X", + "name": "NODEJS_18_X" + }, + { + "value": "GO_1_X", + "name": "GO_1_X" + }, + { + "value": "JAVA_17", + "name": "JAVA_17" + }, + { + "value": "PYTHON_3_10", + "name": "PYTHON_3_10" + }, + { + "value": "PYTHON_3_11", + "name": "PYTHON_3_11" + }, + { + "value": "DOTNETCORE_3_1", + "name": "DOTNETCORE_3_1" + }, + { + "value": "DOTNET_6", + "name": "DOTNET_6" + }, + { + "value": "DOTNET_7", + "name": "DOTNET_7" + }, + { + "value": "RUBY_2_7", + "name": "RUBY_2_7" + }, + { + "value": "RUBY_3_2", + "name": "RUBY_3_2" + } + ] + } + }, + "com.amazonaws.inspector2#SbomReportFormat": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CYCLONEDX_1_4", + "name": "CYCLONEDX_1_4" + }, + { + "value": "SPDX_2_3", + "name": "SPDX_2_3" + } + ] + } + }, + "com.amazonaws.inspector2#ScanMode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EC2_SSM_AGENT_BASED", + "name": "EC2_SSM_AGENT_BASED" + }, + { + "value": "EC2_AGENTLESS", + "name": "EC2_AGENTLESS" + } + ] + } + }, + "com.amazonaws.inspector2#ScanStatus": { + "type": "structure", + "members": { + "statusCode": { + "target": "com.amazonaws.inspector2#ScanStatusCode", + "traits": { + "smithy.api#documentation": "

The status code of the scan.

", + "smithy.api#required": {} + } + }, + "reason": { + "target": "com.amazonaws.inspector2#ScanStatusReason", + "traits": { + "smithy.api#documentation": "

The scan status. Possible return values and descriptions are:

\n

\n PENDING_INITIAL_SCAN - This resource has been identified for scanning, results will be available soon.

\n

\n ACCESS_DENIED - Resource access policy restricting Amazon Inspector access. Please update the IAM policy.

\n

\n INTERNAL_ERROR - Amazon Inspector has encountered an internal error for this resource. Amazon Inspector service will automatically resolve the issue and resume the scanning. No action required from the user.

\n

\n UNMANAGED_EC2_INSTANCE - The EC2 instance is not managed by SSM, please use the following SSM automation to remediate the issue: https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/automation-awssupport-troubleshoot-managed-instance.html. Once the instance becomes managed by SSM, Inspector will automatically begin scanning this instance.

\n

\n UNSUPPORTED_OS - Amazon Inspector does not support this OS, architecture, or image manifest type at this time. To see a complete list of supported operating systems see: https://docs.aws.amazon.com/inspector/latest/user/supported.html.

\n

\n SCAN_ELIGIBILITY_EXPIRED - The configured scan duration has lapsed for this image.

\n

\n RESOURCE_TERMINATED - This resource has been terminated. The findings and coverage associated with this resource are in the process of being cleaned up.

\n

\n SUCCESSFUL - The scan was successful.

\n

\n NO_RESOURCES_FOUND - Reserved for future use.

\n

\n IMAGE_SIZE_EXCEEDED - Reserved for future use.

\n

\n SCAN_FREQUENCY_MANUAL - This image will not be covered by Amazon Inspector due to the repository scan frequency configuration.

\n

\n SCAN_FREQUENCY_SCAN_ON_PUSH - This image will be scanned one time and will not new findings because of the scan frequency configuration.

\n

\n EC2_INSTANCE_STOPPED - This EC2 instance is in a stopped state, therefore, Amazon Inspector will pause scanning. The existing findings will continue to exist until the instance is terminated. Once the instance is re-started, Inspector will automatically start scanning the instance again. Please note that you will not be charged for this instance while it’s in a stopped state.

\n

\n PENDING_DISABLE - This resource is pending cleanup during disablement. The customer will not be billed while a resource is in the pending disable status.

\n

\n NO INVENTORY - Amazon Inspector couldn’t find software application inventory to scan for vulnerabilities. This might be caused due to required Amazon Inspector associations being deleted or failing to run on your resource. Please verify the status of InspectorInventoryCollection-do-not-delete association in the SSM console for the resource. Additionally, you can verify the instance’s inventory in the SSM Fleet Manager console.

\n

\n STALE_INVENTORY - Amazon Inspector wasn’t able to collect an updated software application inventory in the last 7 days. Please confirm the required Amazon Inspector associations still exist and you can still see an updated inventory in the SSM console.

\n

\n EXCLUDED_BY_TAG - This resource was not scanned because it has been excluded by a tag.

\n

\n UNSUPPORTED_RUNTIME - The function was not scanned because it has an unsupported runtime. To see a complete list of supported runtimes see: https://docs.aws.amazon.com/inspector/latest/user/supported.html.

\n

\n UNSUPPORTED_MEDIA_TYPE - The ECR image has an unsupported media type.

\n

\n UNSUPPORTED_CONFIG_FILE - Reserved for future use.

\n

\n DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED - The instance has exceeded the 5000 package limit for Amazon Inspector Deep inspection. To resume Deep inspection for this instance you can try to adjust the custom paths associated with the account.

\n

\n DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED - The SSM agent couldn't send inventory to Amazon Inspector because the SSM quota for Inventory data collected per instance per day has already been reached for this instance.

\n

\n DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED - Amazon Inspector failed to extract the package inventory because the package collection time exceeding the maximum threshold of 15 minutes.

\n

\n DEEP_INSPECTION_NO_INVENTORY The Amazon Inspector plugin hasn't yet been able to collect an inventory of packages for this instance. This is usually the result of a pending scan, however, if this status persists after 6 hours, use SSM to ensure that the required Amazon Inspector associations exist and are running for the instance.

\n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The status of the scan.

" + } + }, + "com.amazonaws.inspector2#ScanStatusCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "INACTIVE", + "name": "INACTIVE" + } + ] + } + }, + "com.amazonaws.inspector2#ScanStatusReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PENDING_INITIAL_SCAN", + "name": "PENDING_INITIAL_SCAN" + }, + { + "value": "ACCESS_DENIED", + "name": "ACCESS_DENIED" + }, + { + "value": "INTERNAL_ERROR", + "name": "INTERNAL_ERROR" + }, + { + "value": "UNMANAGED_EC2_INSTANCE", + "name": "UNMANAGED_EC2_INSTANCE" + }, + { + "value": "UNSUPPORTED_OS", + "name": "UNSUPPORTED_OS" + }, + { + "value": "SCAN_ELIGIBILITY_EXPIRED", + "name": "SCAN_ELIGIBILITY_EXPIRED" + }, + { + "value": "RESOURCE_TERMINATED", + "name": "RESOURCE_TERMINATED" + }, + { + "value": "SUCCESSFUL", + "name": "SUCCESSFUL" + }, + { + "value": "NO_RESOURCES_FOUND", + "name": "NO_RESOURCES_FOUND" + }, + { + "value": "IMAGE_SIZE_EXCEEDED", + "name": "IMAGE_SIZE_EXCEEDED" + }, + { + "value": "SCAN_FREQUENCY_MANUAL", + "name": "SCAN_FREQUENCY_MANUAL" + }, + { + "value": "SCAN_FREQUENCY_SCAN_ON_PUSH", + "name": "SCAN_FREQUENCY_SCAN_ON_PUSH" + }, + { + "value": "EC2_INSTANCE_STOPPED", + "name": "EC2_INSTANCE_STOPPED" + }, + { + "value": "PENDING_DISABLE", + "name": "PENDING_DISABLE" + }, + { + "value": "NO_INVENTORY", + "name": "NO_INVENTORY" + }, + { + "value": "STALE_INVENTORY", + "name": "STALE_INVENTORY" + }, + { + "value": "EXCLUDED_BY_TAG", + "name": "EXCLUDED_BY_TAG" + }, + { + "value": "UNSUPPORTED_RUNTIME", + "name": "UNSUPPORTED_RUNTIME" + }, + { + "value": "UNSUPPORTED_MEDIA_TYPE", + "name": "UNSUPPORTED_MEDIA_TYPE" + }, + { + "value": "UNSUPPORTED_CONFIG_FILE", + "name": "UNSUPPORTED_CONFIG_FILE" + }, + { + "value": "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED", + "name": "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED" + }, + { + "value": "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED", + "name": "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED" + }, + { + "value": "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED", + "name": "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED" + }, + { + "value": "DEEP_INSPECTION_NO_INVENTORY", + "name": "DEEP_INSPECTION_NO_INVENTORY" + }, + { + "value": "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED", + "name": "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED" + }, + { + "value": "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED", + "name": "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED" + } + ] + } + }, + "com.amazonaws.inspector2#ScanType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NETWORK", + "name": "NETWORK" + }, + { + "value": "PACKAGE", + "name": "PACKAGE" + }, + { + "value": "CODE", + "name": "CODE" + } + ] + } + }, + "com.amazonaws.inspector2#Schedule": { + "type": "union", + "members": { + "oneTime": { + "target": "com.amazonaws.inspector2#OneTimeSchedule", + "traits": { + "smithy.api#documentation": "

The schedule's one time.

" + } + }, + "daily": { + "target": "com.amazonaws.inspector2#DailySchedule", + "traits": { + "smithy.api#documentation": "

The schedule's daily.

" + } + }, + "weekly": { + "target": "com.amazonaws.inspector2#WeeklySchedule", + "traits": { + "smithy.api#documentation": "

The schedule's weekly.

" + } + }, + "monthly": { + "target": "com.amazonaws.inspector2#MonthlySchedule", + "traits": { + "smithy.api#documentation": "

The schedule's monthly.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A schedule.

" + } + }, + "com.amazonaws.inspector2#SearchVulnerabilities": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#SearchVulnerabilitiesRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#SearchVulnerabilitiesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists Amazon Inspector coverage details for a specific vulnerability.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/vulnerabilities/search" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "vulnerabilities" + } + } + }, + "com.amazonaws.inspector2#SearchVulnerabilitiesFilterCriteria": { + "type": "structure", + "members": { + "vulnerabilityIds": { + "target": "com.amazonaws.inspector2#VulnIdList", + "traits": { + "smithy.api#documentation": "

The IDs for specific vulnerabilities.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Details on the criteria used to define the filter for a vulnerability search.\n

" + } + }, + "com.amazonaws.inspector2#SearchVulnerabilitiesRequest": { + "type": "structure", + "members": { + "filterCriteria": { + "target": "com.amazonaws.inspector2#SearchVulnerabilitiesFilterCriteria", + "traits": { + "smithy.api#documentation": "

The criteria used to filter the results of a vulnerability search.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

A token to use for paginating results that are returned in the response. Set the value\n of this parameter to null for the first request to a list action. For subsequent calls, use\n the NextToken value returned from the previous request to continue listing\n results after the first page.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#SearchVulnerabilitiesResponse": { + "type": "structure", + "members": { + "vulnerabilities": { + "target": "com.amazonaws.inspector2#Vulnerabilities", + "traits": { + "smithy.api#documentation": "

Details about the listed vulnerability.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.inspector2#NextToken", + "traits": { + "smithy.api#documentation": "

The pagination parameter to be used on the next list operation to retrieve more items.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#SecurityGroupId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^sg-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" + } + }, + "com.amazonaws.inspector2#SecurityGroupIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#SecurityGroupId" + }, + "traits": { + "smithy.api#length": { + "max": 5 + } + } + }, + "com.amazonaws.inspector2#SendCisSessionHealth": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#SendCisSessionHealthRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#SendCisSessionHealthResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#ConflictException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Sends a CIS session health. \n This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. \n The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.\n

", + "smithy.api#examples": [ + { + "title": "Sample SendCisSessionHealth Call", + "input": { + "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38", + "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31" + }, + "output": {} + } + ], + "smithy.api#http": { + "code": 200, + "method": "PUT", + "uri": "/cissession/health/send" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#SendCisSessionHealthRequest": { + "type": "structure", + "members": { + "scanJobId": { + "target": "com.amazonaws.inspector2#UUID", + "traits": { + "smithy.api#documentation": "

A unique identifier for the scan job.

", + "smithy.api#required": {} + } + }, + "sessionToken": { + "target": "com.amazonaws.inspector2#UUID", + "traits": { + "smithy.api#documentation": "

The unique token that identifies the CIS session.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#SendCisSessionHealthResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#SendCisSessionTelemetry": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#SendCisSessionTelemetryRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#SendCisSessionTelemetryResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#ConflictException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Sends a CIS session telemetry. \n This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. \n The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.\n

", + "smithy.api#examples": [ + { + "title": "Sample SendCisSessionTelemetry Call", + "input": { + "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38", + "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31", + "messages": [ + { + "ruleId": "1.12.1", + "status": "FAILED", + "cisRuleDetails": "dGVzdCBleGFtcGxlCg==" + }, + { + "ruleId": "1.2.1", + "status": "PASSED", + "cisRuleDetails": "dGVzdCBleGFtcGxlCg==dGVzdCBleGFtcGxlCg" + } + ] + }, + "output": {} + } + ], + "smithy.api#http": { + "code": 200, + "method": "PUT", + "uri": "/cissession/telemetry/send" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#SendCisSessionTelemetryRequest": { + "type": "structure", + "members": { + "scanJobId": { + "target": "com.amazonaws.inspector2#UUID", + "traits": { + "smithy.api#documentation": "

A unique identifier for the scan job.

", + "smithy.api#required": {} + } + }, + "sessionToken": { + "target": "com.amazonaws.inspector2#UUID", + "traits": { + "smithy.api#documentation": "

The unique token that identifies the CIS session.

", + "smithy.api#required": {} + } + }, + "messages": { + "target": "com.amazonaws.inspector2#CisSessionMessages", + "traits": { + "smithy.api#documentation": "

The CIS session telemetry messages.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#SendCisSessionTelemetryResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#Service": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EC2", + "name": "EC2" + }, + { + "value": "ECR", + "name": "ECR" + }, + { + "value": "LAMBDA", + "name": "LAMBDA" + } + ] + } + }, + "com.amazonaws.inspector2#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "resourceId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of the resource that exceeds a service quota.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

You have exceeded your service quota. To perform the requested action, remove some of\n the relevant resources, or use Service Quotas to request a service quota increase.

", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.inspector2#Severity": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "INFORMATIONAL", + "name": "INFORMATIONAL" + }, + { + "value": "LOW", + "name": "LOW" + }, + { + "value": "MEDIUM", + "name": "MEDIUM" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "UNTRIAGED", + "name": "UNTRIAGED" + } + ] + } + }, + "com.amazonaws.inspector2#SeverityCounts": { + "type": "structure", + "members": { + "all": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The total count of findings from all severities.

" + } + }, + "medium": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The total count of medium severity findings.

" + } + }, + "high": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The total count of high severity findings.

" + } + }, + "critical": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "

The total count of critical severity findings.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that contains the counts of aggregated finding per severity.

" + } + }, + "com.amazonaws.inspector2#SortCriteria": { + "type": "structure", + "members": { + "field": { + "target": "com.amazonaws.inspector2#SortField", + "traits": { + "smithy.api#documentation": "

The finding detail field by which results are sorted.

", + "smithy.api#required": {} + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order by which findings are sorted.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the criteria used to sort finding results.

" + } + }, + "com.amazonaws.inspector2#SortField": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AWS_ACCOUNT_ID", + "name": "AWS_ACCOUNT_ID" + }, + { + "value": "FINDING_TYPE", + "name": "FINDING_TYPE" + }, + { + "value": "SEVERITY", + "name": "SEVERITY" + }, + { + "value": "FIRST_OBSERVED_AT", + "name": "FIRST_OBSERVED_AT" + }, + { + "value": "LAST_OBSERVED_AT", + "name": "LAST_OBSERVED_AT" + }, + { + "value": "FINDING_STATUS", + "name": "FINDING_STATUS" + }, + { + "value": "RESOURCE_TYPE", + "name": "RESOURCE_TYPE" + }, + { + "value": "ECR_IMAGE_PUSHED_AT", + "name": "ECR_IMAGE_PUSHED_AT" + }, + { + "value": "ECR_IMAGE_REPOSITORY_NAME", + "name": "ECR_IMAGE_REPOSITORY_NAME" + }, + { + "value": "ECR_IMAGE_REGISTRY", + "name": "ECR_IMAGE_REGISTRY" + }, + { + "value": "NETWORK_PROTOCOL", + "name": "NETWORK_PROTOCOL" + }, + { + "value": "COMPONENT_TYPE", + "name": "COMPONENT_TYPE" + }, + { + "value": "VULNERABILITY_ID", + "name": "VULNERABILITY_ID" + }, + { + "value": "VULNERABILITY_SOURCE", + "name": "VULNERABILITY_SOURCE" + }, + { + "value": "INSPECTOR_SCORE", + "name": "INSPECTOR_SCORE" + }, + { + "value": "VENDOR_SEVERITY", + "name": "VENDOR_SEVERITY" + }, + { + "value": "EPSS_SCORE", + "name": "EPSS_SCORE" + } + ] + } + }, + "com.amazonaws.inspector2#SortOrder": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ASC", + "name": "ASC" + }, + { + "value": "DESC", + "name": "DESC" + } + ] + } + }, + "com.amazonaws.inspector2#SourceLayerHash": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 71, + "max": 71 + }, + "smithy.api#pattern": "^sha256:[a-z0-9]{64}$" + } + }, + "com.amazonaws.inspector2#StartCisSession": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#StartCisSessionRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#StartCisSessionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#ConflictException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Starts a CIS session. \n This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. \n The Amazon Inspector SSM plugin calls this API to start a CIS scan session for the scan ID supplied by the service.\n

", + "smithy.api#examples": [ + { + "title": "Sample SendCisSessionHealth Call", + "input": { + "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38", + "message": { + "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31" + } + }, + "output": {} + } + ], + "smithy.api#http": { + "code": 200, + "method": "PUT", + "uri": "/cissession/start" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#StartCisSessionMessage": { + "type": "structure", + "members": { + "sessionToken": { + "target": "com.amazonaws.inspector2#UUID", + "traits": { + "smithy.api#documentation": "

The unique token that identifies the CIS session.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The start CIS session message.

" + } + }, + "com.amazonaws.inspector2#StartCisSessionRequest": { + "type": "structure", + "members": { + "scanJobId": { + "target": "com.amazonaws.inspector2#UUID", + "traits": { + "smithy.api#documentation": "

A unique identifier for the scan job.

", + "smithy.api#required": {} + } + }, + "message": { + "target": "com.amazonaws.inspector2#StartCisSessionMessage", + "traits": { + "smithy.api#documentation": "

The start CIS session message.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#StartCisSessionResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#State": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.inspector2#Status", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector for the account.

", + "smithy.api#required": {} + } + }, + "errorCode": { + "target": "com.amazonaws.inspector2#ErrorCode", + "traits": { + "smithy.api#documentation": "

The error code explaining why the account failed to enable Amazon Inspector.

", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The error message received when the account failed to enable Amazon Inspector.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that described the state of Amazon Inspector scans for an account.

" + } + }, + "com.amazonaws.inspector2#Status": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ENABLING", + "name": "ENABLING" + }, + { + "value": "ENABLED", + "name": "ENABLED" + }, + { + "value": "DISABLING", + "name": "DISABLING" + }, + { + "value": "DISABLED", + "name": "DISABLED" + }, + { + "value": "SUSPENDING", + "name": "SUSPENDING" + }, + { + "value": "SUSPENDED", + "name": "SUSPENDED" + } + ] + } + }, + "com.amazonaws.inspector2#StatusCounts": { + "type": "structure", + "members": { + "failed": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of checks that failed.

" + } + }, + "skipped": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of checks that were skipped.

" + } + }, + "passed": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of checks that passed.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The status counts.

" + } + }, + "com.amazonaws.inspector2#Step": { + "type": "structure", + "members": { + "componentId": { + "target": "com.amazonaws.inspector2#Component", + "traits": { + "smithy.api#documentation": "

The component ID.

", + "smithy.api#required": {} + } + }, + "componentType": { + "target": "com.amazonaws.inspector2#ComponentType", + "traits": { + "smithy.api#documentation": "

The component type.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Details about the step associated with a finding.

" + } + }, + "com.amazonaws.inspector2#StepList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Step" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 30 + } + } + }, + "com.amazonaws.inspector2#StopCisMessageProgress": { + "type": "structure", + "members": { + "totalChecks": { + "target": "com.amazonaws.inspector2#CheckCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The progress' total checks.

" + } + }, + "successfulChecks": { + "target": "com.amazonaws.inspector2#CheckCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The progress' successful checks.

" + } + }, + "failedChecks": { + "target": "com.amazonaws.inspector2#CheckCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The progress' failed checks.

" + } + }, + "notEvaluatedChecks": { + "target": "com.amazonaws.inspector2#CheckCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The progress' not evaluated checks.

" + } + }, + "unknownChecks": { + "target": "com.amazonaws.inspector2#CheckCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The progress' unknown checks.

" + } + }, + "notApplicableChecks": { + "target": "com.amazonaws.inspector2#CheckCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The progress' not applicable checks.

" + } + }, + "informationalChecks": { + "target": "com.amazonaws.inspector2#CheckCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The progress' informational checks.

" + } + }, + "errorChecks": { + "target": "com.amazonaws.inspector2#CheckCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The progress' error checks.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The stop CIS message progress.

" + } + }, + "com.amazonaws.inspector2#StopCisSession": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#StopCisSessionRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#StopCisSessionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#ConflictException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Stops a CIS session. \n This API is used by the Amazon Inspector SSM plugin to communicate with the Amazon Inspector service. \n The Amazon Inspector SSM plugin calls this API to stop a CIS scan session for the scan ID supplied by the service.\n

", + "smithy.api#examples": [ + { + "title": "Sample StopCisSession Call", + "input": { + "scanJobId": "624b746d-e080-44ae-8c1d-48e653365a38", + "sessionToken": "624b746d-e080-44ae-8c1d-48e653365a31", + "message": { + "status": "FAILED", + "reason": "Failure Reason", + "progress": { + "informationalChecks": 1, + "errorChecks": 1, + "successfulChecks": 5, + "notApplicableChecks": 0, + "totalChecks": 10, + "unknownChecks": 0, + "notEvaluatedChecks": 2, + "failedChecks": 0 }, - "days": { - "target": "com.amazonaws.inspector2#DaysList", - "traits": { - "smithy.api#documentation": "

The weekly schedule's days.

", - "smithy.api#required": {} - } + "computePlatform": { + "vendor": "canonical", + "product": "ubuntu", + "version": "20.04" + }, + "benchmarkVersion": "2.0.0", + "benchmarkProfile": "xccdf_org.cisecurity.benchmarks_profile_Level_1" + } + }, + "output": {} + } + ], + "smithy.api#http": { + "code": 200, + "method": "PUT", + "uri": "/cissession/stop" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#StopCisSessionMessage": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.inspector2#StopCisSessionStatus", + "traits": { + "smithy.api#documentation": "

The status of the message.

", + "smithy.api#required": {} + } + }, + "reason": { + "target": "com.amazonaws.inspector2#Reason", + "traits": { + "smithy.api#documentation": "

The reason for the message.

" + } + }, + "progress": { + "target": "com.amazonaws.inspector2#StopCisMessageProgress", + "traits": { + "smithy.api#documentation": "

The progress of the message.

", + "smithy.api#required": {} + } + }, + "computePlatform": { + "target": "com.amazonaws.inspector2#ComputePlatform", + "traits": { + "smithy.api#documentation": "

The message compute platform.

" + } + }, + "benchmarkVersion": { + "target": "com.amazonaws.inspector2#BenchmarkVersion", + "traits": { + "smithy.api#documentation": "

The message benchmark version.

" + } + }, + "benchmarkProfile": { + "target": "com.amazonaws.inspector2#BenchmarkProfile", + "traits": { + "smithy.api#documentation": "

The message benchmark profile.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The stop CIS session message.

" + } + }, + "com.amazonaws.inspector2#StopCisSessionRequest": { + "type": "structure", + "members": { + "scanJobId": { + "target": "com.amazonaws.inspector2#UUID", + "traits": { + "smithy.api#documentation": "

A unique identifier for the scan job.

", + "smithy.api#required": {} + } + }, + "sessionToken": { + "target": "com.amazonaws.inspector2#UUID", + "traits": { + "smithy.api#documentation": "

The unique token that identifies the CIS session.

", + "smithy.api#required": {} + } + }, + "message": { + "target": "com.amazonaws.inspector2#StopCisSessionMessage", + "traits": { + "smithy.api#documentation": "

The stop CIS session message.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#StopCisSessionResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#StopCisSessionStatus": { + "type": "enum", + "members": { + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCESS" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "INTERRUPTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERRUPTED" + } + }, + "UNSUPPORTED_OS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNSUPPORTED_OS" + } + } + } + }, + "com.amazonaws.inspector2#StringComparison": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + }, + { + "value": "PREFIX", + "name": "PREFIX" + }, + { + "value": "NOT_EQUALS", + "name": "NOT_EQUALS" + } + ] + } + }, + "com.amazonaws.inspector2#StringFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#StringComparison", + "traits": { + "smithy.api#documentation": "

The operator to use when comparing values in the filter.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#StringInput", + "traits": { + "smithy.api#documentation": "

The value to filter on.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that describes the details of a string filter.

" + } + }, + "com.amazonaws.inspector2#StringFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#StringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#StringInput": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#StringList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#NonEmptyString" + } + }, + "com.amazonaws.inspector2#SubnetId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^subnet-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" + } + }, + "com.amazonaws.inspector2#SubnetIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#SubnetId" + }, + "traits": { + "smithy.api#length": { + "max": 16 + } + } + }, + "com.amazonaws.inspector2#SuggestedFix": { + "type": "structure", + "members": { + "description": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The fix's description.

", + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "code": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The fix's code.

", + "smithy.api#length": { + "min": 1, + "max": 2500 + } + } + } + }, + "traits": { + "smithy.api#documentation": "

A suggested fix for a vulnerability in your Lambda function code.

" + } + }, + "com.amazonaws.inspector2#SuggestedFixes": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#SuggestedFix" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, + "com.amazonaws.inspector2#TagComparison": { + "type": "enum", + "members": { + "EQUALS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUALS" + } + } + } + }, + "com.amazonaws.inspector2#TagFilter": { + "type": "structure", + "members": { + "comparison": { + "target": "com.amazonaws.inspector2#TagComparison", + "traits": { + "smithy.api#documentation": "

The tag filter comparison value.

", + "smithy.api#required": {} + } + }, + "key": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The tag filter key.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The tag filter value.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The tag filter.

" + } + }, + "com.amazonaws.inspector2#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } + }, + "com.amazonaws.inspector2#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.inspector2#TagList": { + "type": "list", + "member": { + "target": "smithy.api#String" + } + }, + "com.amazonaws.inspector2#TagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.inspector2#MapKey" + }, + "value": { + "target": "com.amazonaws.inspector2#MapValue" + } + }, + "com.amazonaws.inspector2#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#BadRequestException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Adds tags to a resource.

", + "smithy.api#http": { + "uri": "/tags/{resourceArn}", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#TagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.inspector2#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource to apply a tag to.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.inspector2#TagMap", + "traits": { + "smithy.api#documentation": "

The tags to be added to a resource.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.inspector2#TagValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#TargetResourceTagsValue" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, + "com.amazonaws.inspector2#Target": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.inspector2#TargetAccount": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\d{12}|ALL_ACCOUNTS|SELF$" + } + }, + "com.amazonaws.inspector2#TargetAccountList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#TargetAccount" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10000 + }, + "smithy.api#uniqueItems": {} + } + }, + "com.amazonaws.inspector2#TargetResourceTags": { + "type": "map", + "key": { + "target": "com.amazonaws.inspector2#TargetResourceTagsKey" + }, + "value": { + "target": "com.amazonaws.inspector2#TagValueList" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, + "com.amazonaws.inspector2#TargetResourceTagsKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[\\p{L}\\p{Z}\\p{N}_.:/=\\-@]*$" + } + }, + "com.amazonaws.inspector2#TargetResourceTagsValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.inspector2#TargetStatusFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisTargetStatusFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#TargetStatusReasonFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisTargetStatusReasonFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#Targets": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Target" + }, + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "retryAfterSeconds": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The number of seconds to wait before retrying the request.

", + "smithy.api#httpHeader": "Retry-After" + } + } + }, + "traits": { + "smithy.api#documentation": "

The limit on the number of requests per second was exceeded.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429, + "smithy.api#retryable": { + "throttling": true + } + } + }, + "com.amazonaws.inspector2#Time": { + "type": "structure", + "members": { + "timeOfDay": { + "target": "com.amazonaws.inspector2#TimeOfDay", + "traits": { + "smithy.api#documentation": "

The time of day in 24-hour format (00:00).

", + "smithy.api#required": {} + } + }, + "timezone": { + "target": "com.amazonaws.inspector2#Timezone", + "traits": { + "smithy.api#documentation": "

The timezone.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The time.

" + } + }, + "com.amazonaws.inspector2#TimeOfDay": { + "type": "string", + "traits": { + "smithy.api#pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$" + } + }, + "com.amazonaws.inspector2#Timezone": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.inspector2#TitleAggregation": { + "type": "structure", + "members": { + "titles": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The finding titles to aggregate on.

" + } + }, + "vulnerabilityIds": { + "target": "com.amazonaws.inspector2#StringFilterList", + "traits": { + "smithy.api#documentation": "

The vulnerability IDs of the findings.

" + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#AggregationResourceType", + "traits": { + "smithy.api#documentation": "

The resource type to aggregate on.

" + } + }, + "sortOrder": { + "target": "com.amazonaws.inspector2#SortOrder", + "traits": { + "smithy.api#documentation": "

The order to sort results by.

" + } + }, + "sortBy": { + "target": "com.amazonaws.inspector2#TitleSortBy", + "traits": { + "smithy.api#documentation": "

The value to sort results by.

" + } + }, + "findingType": { + "target": "com.amazonaws.inspector2#AggregationFindingType", + "traits": { + "smithy.api#documentation": "

The type of finding to aggregate on.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details that define an aggregation based on finding title.

" + } + }, + "com.amazonaws.inspector2#TitleAggregationResponse": { + "type": "structure", + "members": { + "title": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The title that the findings were aggregated on.

", + "smithy.api#required": {} + } + }, + "vulnerabilityId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The vulnerability ID of the finding.

" + } + }, + "accountId": { + "target": "com.amazonaws.inspector2#AccountId", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account associated with the findings.

" + } + }, + "severityCounts": { + "target": "com.amazonaws.inspector2#SeverityCounts", + "traits": { + "smithy.api#documentation": "

An object that represent the count of matched findings per severity.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A response that contains details on the results of a finding aggregation by title.

" + } + }, + "com.amazonaws.inspector2#TitleFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#CisStringFilter" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.inspector2#TitleSortBy": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CRITICAL", + "name": "CRITICAL" + }, + { + "value": "HIGH", + "name": "HIGH" + }, + { + "value": "ALL", + "name": "ALL" + } + ] + } + }, + "com.amazonaws.inspector2#Tool": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#Tools": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Tool" + } + }, + "com.amazonaws.inspector2#Ttp": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 30 + } + } + }, + "com.amazonaws.inspector2#Ttps": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Ttp" + }, + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#UUID": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" + } + }, + "com.amazonaws.inspector2#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Removes tags from a resource.

", + "smithy.api#http": { + "uri": "/tags/{resourceArn}", + "method": "DELETE" + } + } + }, + "com.amazonaws.inspector2#UntagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.inspector2#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the resource to remove tags from.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.inspector2#TagKeyList", + "traits": { + "smithy.api#documentation": "

The tag keys to remove from the resource.

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#UntagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.inspector2#UpdateCisScanConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateCisScanConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateCisScanConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a CIS scan configuration.

", + "smithy.api#examples": [ + { + "title": "Sample UpdateCisScanConfiguration Call", + "input": { + "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38", + "scanName": "sample_new", + "securityLevel": "LEVEL_2", + "schedule": { + "daily": { + "startTime": { + "timeOfDay": "12:56", + "timezone": "UTC" + } + } + }, + "targets": { + "accountIds": ["SELF"], + "targetResourceTags": { + "key2": ["value2"] } + } }, - "traits": { - "smithy.api#documentation": "

A weekly schedule.

" - } + "output": { + "scanConfigurationArn": "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38" + } + } + ], + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/cis/scan-configuration/update" + } + } + }, + "com.amazonaws.inspector2#UpdateCisScanConfigurationRequest": { + "type": "structure", + "members": { + "scanConfigurationArn": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArn", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration ARN.

", + "smithy.api#required": {} + } + }, + "scanName": { + "target": "com.amazonaws.inspector2#CisScanName", + "traits": { + "smithy.api#documentation": "

The scan name for the CIS scan configuration.

" + } + }, + "securityLevel": { + "target": "com.amazonaws.inspector2#CisSecurityLevel", + "traits": { + "smithy.api#documentation": "

\n The security level for the CIS scan configuration. \n Security level refers to the Benchmark levels that CIS assigns to a profile.\n

" + } + }, + "schedule": { + "target": "com.amazonaws.inspector2#Schedule", + "traits": { + "smithy.api#documentation": "

The schedule for the CIS scan configuration.

" + } + }, + "targets": { + "target": "com.amazonaws.inspector2#UpdateCisTargets", + "traits": { + "smithy.api#documentation": "

The targets for the CIS scan configuration.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#UpdateCisScanConfigurationResponse": { + "type": "structure", + "members": { + "scanConfigurationArn": { + "target": "com.amazonaws.inspector2#CisScanConfigurationArn", + "traits": { + "smithy.api#documentation": "

The CIS scan configuration ARN.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#UpdateCisTargets": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.inspector2#TargetAccountList", + "traits": { + "smithy.api#documentation": "

The target account ids.

" + } + }, + "targetResourceTags": { + "target": "com.amazonaws.inspector2#TargetResourceTags", + "traits": { + "smithy.api#documentation": "

The target resource tags.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Updates CIS targets.

" + } + }, + "com.amazonaws.inspector2#UpdateConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

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.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/configuration/update" + } + } + }, + "com.amazonaws.inspector2#UpdateConfigurationRequest": { + "type": "structure", + "members": { + "ecrConfiguration": { + "target": "com.amazonaws.inspector2#EcrConfiguration", + "traits": { + "smithy.api#documentation": "

Specifies how the ECR automated re-scan will be updated for your environment.

" + } + }, + "ec2Configuration": { + "target": "com.amazonaws.inspector2#Ec2Configuration", + "traits": { + "smithy.api#documentation": "

Specifies how the Amazon EC2 automated scan will be updated for your environment.

" + } + } + } + }, + "com.amazonaws.inspector2#UpdateConfigurationResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for your account.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionconfiguration/update" + } + } + }, + "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationRequest": { + "type": "structure", + "members": { + "activateDeepInspection": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specify TRUE to activate Amazon Inspector deep inspection in your account, or FALSE to deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using BatchUpdateMemberEc2DeepInspectionStatus.

" + } + }, + "packagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths you are adding for your account.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#UpdateEc2DeepInspectionConfigurationResponse": { + "type": "structure", + "members": { + "packagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The current Amazon Inspector deep inspection custom paths for your account.

" + } + }, + "orgPackagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The current Amazon Inspector deep inspection custom paths for the organization.

" + } + }, + "status": { + "target": "com.amazonaws.inspector2#Ec2DeepInspectionStatus", + "traits": { + "smithy.api#documentation": "

The status of Amazon Inspector deep inspection in your account.

" + } + }, + "errorMessage": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#UpdateEncryptionKey": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateEncryptionKeyRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateEncryptionKeyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates an encryption key. A ResourceNotFoundException means that an Amazon Web Services owned key is being used for encryption.

", + "smithy.api#http": { + "code": 200, + "method": "PUT", + "uri": "/encryptionkey/update" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.inspector2#UpdateEncryptionKeyRequest": { + "type": "structure", + "members": { + "kmsKeyId": { + "target": "com.amazonaws.inspector2#KmsKeyArn", + "traits": { + "smithy.api#documentation": "

A KMS key ID for the encryption key.

", + "smithy.api#required": {} + } + }, + "scanType": { + "target": "com.amazonaws.inspector2#ScanType", + "traits": { + "smithy.api#documentation": "

The scan type for the encryption key.

", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "com.amazonaws.inspector2#ResourceType", + "traits": { + "smithy.api#documentation": "

The resource type for the encryption key.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#UpdateEncryptionKeyResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#UpdateFilter": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateFilterRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateFilterResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Specifies the action that is to be applied to the findings that match the filter.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/filters/update" + } + } + }, + "com.amazonaws.inspector2#UpdateFilterRequest": { + "type": "structure", + "members": { + "action": { + "target": "com.amazonaws.inspector2#FilterAction", + "traits": { + "smithy.api#documentation": "

Specifies the action that is to be applied to the findings that match the filter.

" + } + }, + "description": { + "target": "com.amazonaws.inspector2#FilterDescription", + "traits": { + "smithy.api#documentation": "

A description of the filter.

" + } + }, + "filterCriteria": { + "target": "com.amazonaws.inspector2#FilterCriteria", + "traits": { + "smithy.api#documentation": "

Defines the criteria to be update in the filter.

" + } + }, + "name": { + "target": "com.amazonaws.inspector2#FilterName", + "traits": { + "smithy.api#documentation": "

The name of the filter.

" + } + }, + "filterArn": { + "target": "com.amazonaws.inspector2#FilterArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the filter to update.

", + "smithy.api#required": {} + } + }, + "reason": { + "target": "com.amazonaws.inspector2#FilterReason", + "traits": { + "smithy.api#documentation": "

The reason the filter was updated.

" + } + } + } + }, + "com.amazonaws.inspector2#UpdateFilterResponse": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.inspector2#FilterArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the successfully updated filter.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the Amazon Inspector deep inspection custom paths for your organization. You must be an Amazon Inspector delegated administrator to use this API.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/ec2deepinspectionconfiguration/org/update" + } + } + }, + "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationRequest": { + "type": "structure", + "members": { + "orgPackagePaths": { + "target": "com.amazonaws.inspector2#PathList", + "traits": { + "smithy.api#documentation": "

The Amazon Inspector deep inspection custom paths you are adding for your organization.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.inspector2#UpdateOrgEc2DeepInspectionConfigurationResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.inspector2#UpdateOrganizationConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.inspector2#UpdateOrganizationConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.inspector2#UpdateOrganizationConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.inspector2#AccessDeniedException" + }, + { + "target": "com.amazonaws.inspector2#InternalServerException" + }, + { + "target": "com.amazonaws.inspector2#ThrottlingException" + }, + { + "target": "com.amazonaws.inspector2#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the configurations for your Amazon Inspector organization.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/organizationconfiguration/update" + } + } + }, + "com.amazonaws.inspector2#UpdateOrganizationConfigurationRequest": { + "type": "structure", + "members": { + "autoEnable": { + "target": "com.amazonaws.inspector2#AutoEnable", + "traits": { + "smithy.api#documentation": "

Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#UpdateOrganizationConfigurationResponse": { + "type": "structure", + "members": { + "autoEnable": { + "target": "com.amazonaws.inspector2#AutoEnable", + "traits": { + "smithy.api#documentation": "

The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.inspector2#Usage": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.inspector2#UsageType", + "traits": { + "smithy.api#documentation": "

The type scan.

" + } + }, + "total": { + "target": "com.amazonaws.inspector2#UsageValue", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The total of usage.

" + } + }, + "estimatedMonthlyCost": { + "target": "com.amazonaws.inspector2#MonthlyCostEstimate", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The estimated monthly cost of Amazon Inspector.

" + } + }, + "currency": { + "target": "com.amazonaws.inspector2#Currency", + "traits": { + "smithy.api#documentation": "

The currency type used when calculating usage data.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains usage information about the cost of Amazon Inspector operation.

" + } + }, + "com.amazonaws.inspector2#UsageAccountId": { + "type": "string", + "traits": { + "smithy.api#pattern": "[0-9]{12}" + } + }, + "com.amazonaws.inspector2#UsageAccountIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#UsageAccountId" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 7000 + } + } + }, + "com.amazonaws.inspector2#UsageList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Usage" + } + }, + "com.amazonaws.inspector2#UsageTotal": { + "type": "structure", + "members": { + "accountId": { + "target": "com.amazonaws.inspector2#MeteringAccountId", + "traits": { + "smithy.api#documentation": "

The account ID of the account that usage data was retrieved for.

" + } + }, + "usage": { + "target": "com.amazonaws.inspector2#UsageList", + "traits": { + "smithy.api#documentation": "

An object representing the total usage for an account.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The total of usage for an account ID.

" + } + }, + "com.amazonaws.inspector2#UsageTotalList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#UsageTotal" + } + }, + "com.amazonaws.inspector2#UsageType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "EC2_INSTANCE_HOURS", + "value": "EC2_INSTANCE_HOURS" + }, + { + "name": "ECR_INITIAL_SCAN", + "value": "ECR_INITIAL_SCAN" + }, + { + "name": "ECR_RESCAN", + "value": "ECR_RESCAN" + }, + { + "name": "LAMBDA_FUNCTION_HOURS", + "value": "LAMBDA_FUNCTION_HOURS" + }, + { + "name": "LAMBDA_FUNCTION_CODE_HOURS", + "value": "LAMBDA_FUNCTION_CODE_HOURS" + } + ] + } + }, + "com.amazonaws.inspector2#UsageValue": { + "type": "double", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "reason": { + "target": "com.amazonaws.inspector2#ValidationExceptionReason", + "traits": { + "smithy.api#documentation": "

The reason for the validation failure.

", + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.inspector2#ValidationExceptionFields", + "traits": { + "smithy.api#documentation": "

The fields that failed validation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The request has failed validation due to missing required fields or having invalid\n inputs.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.inspector2#ValidationExceptionField": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the validation exception.

", + "smithy.api#required": {} + } + }, + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The validation exception message.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An object that describes a validation exception.

" + } + }, + "com.amazonaws.inspector2#ValidationExceptionFields": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#ValidationExceptionField" + } + }, + "com.amazonaws.inspector2#ValidationExceptionReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CANNOT_PARSE", + "name": "CANNOT_PARSE" + }, + { + "value": "FIELD_VALIDATION_FAILED", + "name": "FIELD_VALIDATION_FAILED" + }, + { + "value": "OTHER", + "name": "OTHER" + } + ] + } + }, + "com.amazonaws.inspector2#Vendor": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 16 + } + } + }, + "com.amazonaws.inspector2#VendorCreatedAt": { + "type": "timestamp" + }, + "com.amazonaws.inspector2#VendorSeverity": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.inspector2#VendorUpdatedAt": { + "type": "timestamp" + }, + "com.amazonaws.inspector2#Version": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\$LATEST|[0-9]+$" + } + }, + "com.amazonaws.inspector2#VpcId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^vpc-([a-z0-9]{8}|[a-z0-9]{17}|\\*)$" + } + }, + "com.amazonaws.inspector2#VulnId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^CVE-[12][0-9]{3}-[0-9]{1,10}$" + } + }, + "com.amazonaws.inspector2#VulnIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#VulnId" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.inspector2#Vulnerabilities": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#Vulnerability" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1 + } + } + }, + "com.amazonaws.inspector2#Vulnerability": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.inspector2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The ID for the specific vulnerability.

", + "smithy.api#required": {} + } + }, + "cwes": { + "target": "com.amazonaws.inspector2#Cwes", + "traits": { + "smithy.api#documentation": "

The Common Weakness Enumeration (CWE) associated with the vulnerability.

" + } + }, + "cisaData": { + "target": "com.amazonaws.inspector2#CisaData", + "traits": { + "smithy.api#documentation": "

An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.

" + } + }, + "source": { + "target": "com.amazonaws.inspector2#VulnerabilitySource", + "traits": { + "smithy.api#documentation": "

The source of the vulnerability information. Possible results are RHEL, AMAZON_CVE, DEBIAN or NVD.

" + } + }, + "description": { + "target": "com.amazonaws.inspector2#VulnerabilityDescription", + "traits": { + "smithy.api#documentation": "

A description of the vulnerability.

" + } + }, + "atigData": { + "target": "com.amazonaws.inspector2#AtigData", + "traits": { + "smithy.api#documentation": "

An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.

" + } + }, + "vendorSeverity": { + "target": "com.amazonaws.inspector2#VendorSeverity", + "traits": { + "smithy.api#documentation": "

The severity assigned by the vendor.

" + } + }, + "cvss3": { + "target": "com.amazonaws.inspector2#Cvss3", + "traits": { + "smithy.api#documentation": "

An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.

" + } + }, + "relatedVulnerabilities": { + "target": "com.amazonaws.inspector2#RelatedVulnerabilities", + "traits": { + "smithy.api#documentation": "

A list of related vulnerabilities.

" + } + }, + "cvss2": { + "target": "com.amazonaws.inspector2#Cvss2", + "traits": { + "smithy.api#documentation": "

An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.

" + } + }, + "vendorCreatedAt": { + "target": "com.amazonaws.inspector2#VendorCreatedAt", + "traits": { + "smithy.api#documentation": "

The date and time when the vendor created this vulnerability.

" + } + }, + "vendorUpdatedAt": { + "target": "com.amazonaws.inspector2#VendorUpdatedAt", + "traits": { + "smithy.api#documentation": "

The date and time when the vendor last updated this vulnerability.

" + } + }, + "sourceUrl": { + "target": "com.amazonaws.inspector2#VulnerabilitySourceUrl", + "traits": { + "smithy.api#documentation": "

A link to the official source material for this vulnerability.

" + } + }, + "referenceUrls": { + "target": "com.amazonaws.inspector2#VulnerabilityReferenceUrls", + "traits": { + "smithy.api#documentation": "

Links to various resources with more information on this vulnerability.

" + } + }, + "exploitObserved": { + "target": "com.amazonaws.inspector2#ExploitObserved", + "traits": { + "smithy.api#documentation": "

An object that contains details on when the exploit was observed.

" + } + }, + "detectionPlatforms": { + "target": "com.amazonaws.inspector2#DetectionPlatforms", + "traits": { + "smithy.api#documentation": "

Platforms that the vulnerability can be detected on.

" + } + }, + "epss": { + "target": "com.amazonaws.inspector2#Epss", + "traits": { + "smithy.api#documentation": "

An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains details about a specific vulnerability Amazon Inspector can detect.

" + } + }, + "com.amazonaws.inspector2#VulnerabilityDescription": { + "type": "string" + }, + "com.amazonaws.inspector2#VulnerabilityId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.inspector2#VulnerabilityIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#VulnerabilityId" + } + }, + "com.amazonaws.inspector2#VulnerabilityReferenceUrl": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#VulnerabilityReferenceUrls": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#VulnerabilityReferenceUrl" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.inspector2#VulnerabilitySource": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NVD", + "name": "NVD" + } + ] + } + }, + "com.amazonaws.inspector2#VulnerabilitySourceUrl": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0 + } + } + }, + "com.amazonaws.inspector2#VulnerablePackage": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.inspector2#PackageName", + "traits": { + "smithy.api#documentation": "

The name of the vulnerable package.

", + "smithy.api#required": {} + } + }, + "version": { + "target": "com.amazonaws.inspector2#PackageVersion", + "traits": { + "smithy.api#documentation": "

The version of the vulnerable package.

", + "smithy.api#required": {} + } + }, + "sourceLayerHash": { + "target": "com.amazonaws.inspector2#SourceLayerHash", + "traits": { + "smithy.api#documentation": "

The source layer hash of the vulnerable package.

" + } + }, + "epoch": { + "target": "com.amazonaws.inspector2#PackageEpoch", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The epoch of the vulnerable package.

" + } + }, + "release": { + "target": "com.amazonaws.inspector2#PackageRelease", + "traits": { + "smithy.api#documentation": "

The release of the vulnerable package.

" + } + }, + "arch": { + "target": "com.amazonaws.inspector2#PackageArchitecture", + "traits": { + "smithy.api#documentation": "

The architecture of the vulnerable package.

" + } + }, + "packageManager": { + "target": "com.amazonaws.inspector2#PackageManager", + "traits": { + "smithy.api#documentation": "

The package manager of the vulnerable package.

" + } + }, + "filePath": { + "target": "com.amazonaws.inspector2#FilePath", + "traits": { + "smithy.api#documentation": "

The file path of the vulnerable package.

" + } + }, + "fixedInVersion": { + "target": "com.amazonaws.inspector2#PackageVersion", + "traits": { + "smithy.api#documentation": "

The version of the package that contains the vulnerability fix.

" + } + }, + "remediation": { + "target": "com.amazonaws.inspector2#VulnerablePackageRemediation", + "traits": { + "smithy.api#documentation": "

The code to run in your environment to update packages with a fix available.

" + } + }, + "sourceLambdaLayerArn": { + "target": "com.amazonaws.inspector2#LambdaLayerArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information on the vulnerable package identified by a finding.

" + } + }, + "com.amazonaws.inspector2#VulnerablePackageList": { + "type": "list", + "member": { + "target": "com.amazonaws.inspector2#VulnerablePackage" + } + }, + "com.amazonaws.inspector2#VulnerablePackageRemediation": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1024 + } + } + }, + "com.amazonaws.inspector2#WeeklySchedule": { + "type": "structure", + "members": { + "startTime": { + "target": "com.amazonaws.inspector2#Time", + "traits": { + "smithy.api#documentation": "

The weekly schedule's start time.

", + "smithy.api#required": {} + } + }, + "days": { + "target": "com.amazonaws.inspector2#DaysList", + "traits": { + "smithy.api#documentation": "

The weekly schedule's days.

", + "smithy.api#required": {} + } } + }, + "traits": { + "smithy.api#documentation": "

A weekly schedule.

" + } } -} \ No newline at end of file + } +}