@aws-sdk/client-inspector2 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +204 -0
- package/dist-cjs/Inspector2.js +457 -0
- package/dist-cjs/Inspector2Client.js +35 -0
- package/dist-cjs/commands/AssociateMemberCommand.js +36 -0
- package/dist-cjs/commands/BatchGetAccountStatusCommand.js +36 -0
- package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +36 -0
- package/dist-cjs/commands/CancelFindingsReportCommand.js +36 -0
- package/dist-cjs/commands/CreateFilterCommand.js +36 -0
- package/dist-cjs/commands/CreateFindingsReportCommand.js +36 -0
- package/dist-cjs/commands/DeleteFilterCommand.js +36 -0
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DisableCommand.js +36 -0
- package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/DisassociateMemberCommand.js +36 -0
- package/dist-cjs/commands/EnableCommand.js +36 -0
- package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +36 -0
- package/dist-cjs/commands/GetFindingsReportStatusCommand.js +36 -0
- package/dist-cjs/commands/GetMemberCommand.js +36 -0
- package/dist-cjs/commands/ListAccountPermissionsCommand.js +36 -0
- package/dist-cjs/commands/ListCoverageCommand.js +36 -0
- package/dist-cjs/commands/ListCoverageStatisticsCommand.js +36 -0
- package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +36 -0
- package/dist-cjs/commands/ListFiltersCommand.js +36 -0
- package/dist-cjs/commands/ListFindingAggregationsCommand.js +36 -0
- package/dist-cjs/commands/ListFindingsCommand.js +36 -0
- package/dist-cjs/commands/ListMembersCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListUsageTotalsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateFilterCommand.js +36 -0
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +33 -0
- package/dist-cjs/endpoints.js +130 -0
- package/dist-cjs/index.js +8 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1287 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccountPermissionsPaginator.js +35 -0
- package/dist-cjs/pagination/ListCoveragePaginator.js +35 -0
- package/dist-cjs/pagination/ListCoverageStatisticsPaginator.js +34 -0
- package/dist-cjs/pagination/ListDelegatedAdminAccountsPaginator.js +35 -0
- package/dist-cjs/pagination/ListFiltersPaginator.js +35 -0
- package/dist-cjs/pagination/ListFindingAggregationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListFindingsPaginator.js +35 -0
- package/dist-cjs/pagination/ListMembersPaginator.js +35 -0
- package/dist-cjs/pagination/ListUsageTotalsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +4893 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +44 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Inspector2.js +460 -0
- package/dist-es/Inspector2Client.js +37 -0
- package/dist-es/commands/AssociateMemberCommand.js +39 -0
- package/dist-es/commands/BatchGetAccountStatusCommand.js +39 -0
- package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +39 -0
- package/dist-es/commands/CancelFindingsReportCommand.js +39 -0
- package/dist-es/commands/CreateFilterCommand.js +39 -0
- package/dist-es/commands/CreateFindingsReportCommand.js +39 -0
- package/dist-es/commands/DeleteFilterCommand.js +39 -0
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +39 -0
- package/dist-es/commands/DisableCommand.js +39 -0
- package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/DisassociateMemberCommand.js +39 -0
- package/dist-es/commands/EnableCommand.js +39 -0
- package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/GetDelegatedAdminAccountCommand.js +39 -0
- package/dist-es/commands/GetFindingsReportStatusCommand.js +39 -0
- package/dist-es/commands/GetMemberCommand.js +39 -0
- package/dist-es/commands/ListAccountPermissionsCommand.js +39 -0
- package/dist-es/commands/ListCoverageCommand.js +39 -0
- package/dist-es/commands/ListCoverageStatisticsCommand.js +39 -0
- package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +39 -0
- package/dist-es/commands/ListFiltersCommand.js +39 -0
- package/dist-es/commands/ListFindingAggregationsCommand.js +39 -0
- package/dist-es/commands/ListFindingsCommand.js +39 -0
- package/dist-es/commands/ListMembersCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListUsageTotalsCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateFilterCommand.js +39 -0
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +30 -0
- package/dist-es/endpoints.js +126 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +1000 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountPermissionsPaginator.js +74 -0
- package/dist-es/pagination/ListCoveragePaginator.js +74 -0
- package/dist-es/pagination/ListCoverageStatisticsPaginator.js +73 -0
- package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +74 -0
- package/dist-es/pagination/ListFiltersPaginator.js +74 -0
- package/dist-es/pagination/ListFindingAggregationsPaginator.js +74 -0
- package/dist-es/pagination/ListFindingsPaginator.js +74 -0
- package/dist-es/pagination/ListMembersPaginator.js +74 -0
- package/dist-es/pagination/ListUsageTotalsPaginator.js +74 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +5265 -0
- package/dist-es/runtimeConfig.browser.js +17 -0
- package/dist-es/runtimeConfig.js +21 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Inspector2.d.ts +222 -0
- package/dist-types/Inspector2Client.d.ts +171 -0
- package/dist-types/commands/AssociateMemberCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +35 -0
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +35 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +35 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +35 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +35 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/DisableCommand.d.ts +36 -0
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateMemberCommand.d.ts +35 -0
- package/dist-types/commands/EnableCommand.d.ts +35 -0
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +35 -0
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +36 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +35 -0
- package/dist-types/commands/GetMemberCommand.d.ts +35 -0
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +35 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +35 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +35 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +36 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +35 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +35 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +35 -0
- package/dist-types/commands/ListMembersCommand.d.ts +36 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +35 -0
- package/dist-types/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +35 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +30 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +3837 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccountPermissionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCoveragePaginator.d.ts +4 -0
- package/dist-types/pagination/ListCoverageStatisticsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListDelegatedAdminAccountsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFiltersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFindingAggregationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUsageTotalsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/runtimeConfig.browser.d.ts +39 -0
- package/dist-types/runtimeConfig.d.ts +39 -0
- package/dist-types/runtimeConfig.native.d.ts +38 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Inspector2.d.ts +155 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +101 -0
- package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +30 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2416 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccountPermissionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCoverageStatisticsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDelegatedAdminAccountsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFindingAggregationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUsageTotalsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +96 -0
|
@@ -0,0 +1,3837 @@
|
|
|
1
|
+
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
/**
|
|
3
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
4
|
+
*/
|
|
5
|
+
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
|
+
name: "AccessDeniedException";
|
|
7
|
+
$fault: "client";
|
|
8
|
+
message: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace AccessDeniedException {
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
15
|
+
}
|
|
16
|
+
export declare enum Status {
|
|
17
|
+
DISABLED = "DISABLED",
|
|
18
|
+
DISABLING = "DISABLING",
|
|
19
|
+
ENABLED = "ENABLED",
|
|
20
|
+
ENABLING = "ENABLING",
|
|
21
|
+
SUSPENDED = "SUSPENDED",
|
|
22
|
+
SUSPENDING = "SUSPENDING"
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* <p>Details the status of Amazon Inspector for each resource type Amazon Inspector scans.</p>
|
|
26
|
+
*/
|
|
27
|
+
export interface ResourceStatus {
|
|
28
|
+
/**
|
|
29
|
+
* <p>The status of Amazon Inspector scanning for Amazon EC2 resources.</p>
|
|
30
|
+
*/
|
|
31
|
+
ec2: Status | string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The status of Amazon Inspector scanning for Amazon ECR resources.</p>
|
|
34
|
+
*/
|
|
35
|
+
ecr: Status | string | undefined;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace ResourceStatus {
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
const filterSensitiveLog: (obj: ResourceStatus) => any;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* <p>An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.</p>
|
|
45
|
+
*/
|
|
46
|
+
export interface Account {
|
|
47
|
+
/**
|
|
48
|
+
* <p>The ID of the Amazon Web Services account.</p>
|
|
49
|
+
*/
|
|
50
|
+
accountId: string | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The status of Amazon Inspector for the account.</p>
|
|
53
|
+
*/
|
|
54
|
+
status: Status | string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>Details of the status of Amazon Inspector scans by resource type.</p>
|
|
57
|
+
*/
|
|
58
|
+
resourceStatus: ResourceStatus | undefined;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace Account {
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
const filterSensitiveLog: (obj: Account) => any;
|
|
65
|
+
}
|
|
66
|
+
export declare enum AggregationFindingType {
|
|
67
|
+
NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
|
|
68
|
+
PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY"
|
|
69
|
+
}
|
|
70
|
+
export declare enum AggregationResourceType {
|
|
71
|
+
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
72
|
+
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE"
|
|
73
|
+
}
|
|
74
|
+
export declare enum AccountSortBy {
|
|
75
|
+
ALL = "ALL",
|
|
76
|
+
CRITICAL = "CRITICAL",
|
|
77
|
+
HIGH = "HIGH"
|
|
78
|
+
}
|
|
79
|
+
export declare enum SortOrder {
|
|
80
|
+
ASC = "ASC",
|
|
81
|
+
DESC = "DESC"
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* <p>An object that contains details about an aggregation response based on
|
|
85
|
+
* Amazon Web Services accounts.</p>
|
|
86
|
+
*/
|
|
87
|
+
export interface AccountAggregation {
|
|
88
|
+
/**
|
|
89
|
+
* <p>The type of finding.</p>
|
|
90
|
+
*/
|
|
91
|
+
findingType?: AggregationFindingType | string;
|
|
92
|
+
/**
|
|
93
|
+
* <p>The type of resource.</p>
|
|
94
|
+
*/
|
|
95
|
+
resourceType?: AggregationResourceType | string;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The sort order (ascending or descending).</p>
|
|
98
|
+
*/
|
|
99
|
+
sortOrder?: SortOrder | string;
|
|
100
|
+
/**
|
|
101
|
+
* <p>The value to sort by.</p>
|
|
102
|
+
*/
|
|
103
|
+
sortBy?: AccountSortBy | string;
|
|
104
|
+
}
|
|
105
|
+
export declare namespace AccountAggregation {
|
|
106
|
+
/**
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
const filterSensitiveLog: (obj: AccountAggregation) => any;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* <p>An object that contains the counts of aggregated finding per severity.</p>
|
|
113
|
+
*/
|
|
114
|
+
export interface SeverityCounts {
|
|
115
|
+
/**
|
|
116
|
+
* <p>The total count of findings from all severities.</p>
|
|
117
|
+
*/
|
|
118
|
+
all?: number;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The total count of medium severity findings.</p>
|
|
121
|
+
*/
|
|
122
|
+
medium?: number;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The total count of high severity findings.</p>
|
|
125
|
+
*/
|
|
126
|
+
high?: number;
|
|
127
|
+
/**
|
|
128
|
+
* <p>The total count of critical severity findings.</p>
|
|
129
|
+
*/
|
|
130
|
+
critical?: number;
|
|
131
|
+
}
|
|
132
|
+
export declare namespace SeverityCounts {
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
const filterSensitiveLog: (obj: SeverityCounts) => any;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* <p>An aggregation of findings by Amazon Web Services account ID.</p>
|
|
140
|
+
*/
|
|
141
|
+
export interface AccountAggregationResponse {
|
|
142
|
+
/**
|
|
143
|
+
* <p>The Amazon Web Services account ID.</p>
|
|
144
|
+
*/
|
|
145
|
+
accountId?: string;
|
|
146
|
+
/**
|
|
147
|
+
* <p>The number of findings by severity.</p>
|
|
148
|
+
*/
|
|
149
|
+
severityCounts?: SeverityCounts;
|
|
150
|
+
}
|
|
151
|
+
export declare namespace AccountAggregationResponse {
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
const filterSensitiveLog: (obj: AccountAggregationResponse) => any;
|
|
156
|
+
}
|
|
157
|
+
export declare enum ErrorCode {
|
|
158
|
+
ACCESS_DENIED = "ACCESS_DENIED",
|
|
159
|
+
ALREADY_ENABLED = "ALREADY_ENABLED",
|
|
160
|
+
DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
|
|
161
|
+
DISASSOCIATE_ALL_MEMBERS = "DISASSOCIATE_ALL_MEMBERS",
|
|
162
|
+
ENABLE_IN_PROGRESS = "ENABLE_IN_PROGRESS",
|
|
163
|
+
EVENTBRIDGE_THROTTLED = "EVENTBRIDGE_THROTTLED",
|
|
164
|
+
EVENTBRIDGE_UNAVAILABLE = "EVENTBRIDGE_UNAVAILABLE",
|
|
165
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
166
|
+
RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND",
|
|
167
|
+
RESOURCE_SCAN_NOT_DISABLED = "RESOURCE_SCAN_NOT_DISABLED",
|
|
168
|
+
SSM_THROTTLED = "SSM_THROTTLED",
|
|
169
|
+
SSM_UNAVAILABLE = "SSM_UNAVAILABLE",
|
|
170
|
+
SUSPEND_IN_PROGRESS = "SUSPEND_IN_PROGRESS"
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>An object that described the state of Amazon Inspector scans for an account.</p>
|
|
174
|
+
*/
|
|
175
|
+
export interface State {
|
|
176
|
+
/**
|
|
177
|
+
* <p>The status of Amazon Inspector for the account.</p>
|
|
178
|
+
*/
|
|
179
|
+
status: Status | string | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* <p>The error code explaining why the account failed to enable Amazon Inspector.</p>
|
|
182
|
+
*/
|
|
183
|
+
errorCode: ErrorCode | string | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* <p>The error message received when the account failed to enable Amazon Inspector.</p>
|
|
186
|
+
*/
|
|
187
|
+
errorMessage: string | undefined;
|
|
188
|
+
}
|
|
189
|
+
export declare namespace State {
|
|
190
|
+
/**
|
|
191
|
+
* @internal
|
|
192
|
+
*/
|
|
193
|
+
const filterSensitiveLog: (obj: State) => any;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* <p>Details the state of Amazon Inspector for each resource type Amazon Inspector scans.</p>
|
|
197
|
+
*/
|
|
198
|
+
export interface ResourceState {
|
|
199
|
+
/**
|
|
200
|
+
* <p>An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.</p>
|
|
201
|
+
*/
|
|
202
|
+
ec2: State | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.</p>
|
|
205
|
+
*/
|
|
206
|
+
ecr: State | undefined;
|
|
207
|
+
}
|
|
208
|
+
export declare namespace ResourceState {
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
const filterSensitiveLog: (obj: ResourceState) => any;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* <p>An object with details the status of an Amazon Web Services account within your Amazon Inspector environment</p>
|
|
216
|
+
*/
|
|
217
|
+
export interface AccountState {
|
|
218
|
+
/**
|
|
219
|
+
* <p>The Amazon Web Services account ID.</p>
|
|
220
|
+
*/
|
|
221
|
+
accountId: string | undefined;
|
|
222
|
+
/**
|
|
223
|
+
* <p>An object detailing the status of Amazon Inspector for the account.</p>
|
|
224
|
+
*/
|
|
225
|
+
state: State | undefined;
|
|
226
|
+
/**
|
|
227
|
+
* <p>An object detailing which resources Amazon Inspector is enabled to scan for the account.</p>
|
|
228
|
+
*/
|
|
229
|
+
resourceState: ResourceState | undefined;
|
|
230
|
+
}
|
|
231
|
+
export declare namespace AccountState {
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
const filterSensitiveLog: (obj: AccountState) => any;
|
|
236
|
+
}
|
|
237
|
+
export declare enum StringComparison {
|
|
238
|
+
EQUALS = "EQUALS",
|
|
239
|
+
NOT_EQUALS = "NOT_EQUALS",
|
|
240
|
+
PREFIX = "PREFIX"
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* <p>An object that describes the details of a string filter.</p>
|
|
244
|
+
*/
|
|
245
|
+
export interface StringFilter {
|
|
246
|
+
/**
|
|
247
|
+
* <p>The operator to use when comparing values in the filter</p>
|
|
248
|
+
*/
|
|
249
|
+
comparison: StringComparison | string | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* <p>The value to filter on.</p>
|
|
252
|
+
*/
|
|
253
|
+
value: string | undefined;
|
|
254
|
+
}
|
|
255
|
+
export declare namespace StringFilter {
|
|
256
|
+
/**
|
|
257
|
+
* @internal
|
|
258
|
+
*/
|
|
259
|
+
const filterSensitiveLog: (obj: StringFilter) => any;
|
|
260
|
+
}
|
|
261
|
+
export declare enum AmiSortBy {
|
|
262
|
+
AFFECTED_INSTANCES = "AFFECTED_INSTANCES",
|
|
263
|
+
ALL = "ALL",
|
|
264
|
+
CRITICAL = "CRITICAL",
|
|
265
|
+
HIGH = "HIGH"
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* <p>The details that define an aggregation based on Amazon machine images (AMIs).</p>
|
|
269
|
+
*/
|
|
270
|
+
export interface AmiAggregation {
|
|
271
|
+
/**
|
|
272
|
+
* <p>The IDs of AMIs to aggregate findings for.</p>
|
|
273
|
+
*/
|
|
274
|
+
amis?: StringFilter[];
|
|
275
|
+
/**
|
|
276
|
+
* <p>The order to sort results by.</p>
|
|
277
|
+
*/
|
|
278
|
+
sortOrder?: SortOrder | string;
|
|
279
|
+
/**
|
|
280
|
+
* <p>The value to sort results by.</p>
|
|
281
|
+
*/
|
|
282
|
+
sortBy?: AmiSortBy | string;
|
|
283
|
+
}
|
|
284
|
+
export declare namespace AmiAggregation {
|
|
285
|
+
/**
|
|
286
|
+
* @internal
|
|
287
|
+
*/
|
|
288
|
+
const filterSensitiveLog: (obj: AmiAggregation) => any;
|
|
289
|
+
}
|
|
290
|
+
export declare enum AwsEcrContainerSortBy {
|
|
291
|
+
ALL = "ALL",
|
|
292
|
+
CRITICAL = "CRITICAL",
|
|
293
|
+
HIGH = "HIGH"
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* <p>An aggregation of information about Amazon ECR containers.</p>
|
|
297
|
+
*/
|
|
298
|
+
export interface AwsEcrContainerAggregation {
|
|
299
|
+
/**
|
|
300
|
+
* <p>The container resource IDs.</p>
|
|
301
|
+
*/
|
|
302
|
+
resourceIds?: StringFilter[];
|
|
303
|
+
/**
|
|
304
|
+
* <p>The image SHA values.</p>
|
|
305
|
+
*/
|
|
306
|
+
imageShas?: StringFilter[];
|
|
307
|
+
/**
|
|
308
|
+
* <p>The container repositories.</p>
|
|
309
|
+
*/
|
|
310
|
+
repositories?: StringFilter[];
|
|
311
|
+
/**
|
|
312
|
+
* <p>The architecture of the containers.</p>
|
|
313
|
+
*/
|
|
314
|
+
architectures?: StringFilter[];
|
|
315
|
+
/**
|
|
316
|
+
* <p>The image tags.</p>
|
|
317
|
+
*/
|
|
318
|
+
imageTags?: StringFilter[];
|
|
319
|
+
/**
|
|
320
|
+
* <p>The sort order (ascending or descending).</p>
|
|
321
|
+
*/
|
|
322
|
+
sortOrder?: SortOrder | string;
|
|
323
|
+
/**
|
|
324
|
+
* <p>The value to sort by.</p>
|
|
325
|
+
*/
|
|
326
|
+
sortBy?: AwsEcrContainerSortBy | string;
|
|
327
|
+
}
|
|
328
|
+
export declare namespace AwsEcrContainerAggregation {
|
|
329
|
+
/**
|
|
330
|
+
* @internal
|
|
331
|
+
*/
|
|
332
|
+
const filterSensitiveLog: (obj: AwsEcrContainerAggregation) => any;
|
|
333
|
+
}
|
|
334
|
+
export declare enum MapComparison {
|
|
335
|
+
EQUALS = "EQUALS"
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* <p>An object that describes details of a map filter.</p>
|
|
339
|
+
*/
|
|
340
|
+
export interface MapFilter {
|
|
341
|
+
/**
|
|
342
|
+
* <p>The operator to use when comparing values in the filter.</p>
|
|
343
|
+
*/
|
|
344
|
+
comparison: MapComparison | string | undefined;
|
|
345
|
+
/**
|
|
346
|
+
* <p>The tag key used in the filter.</p>
|
|
347
|
+
*/
|
|
348
|
+
key: string | undefined;
|
|
349
|
+
/**
|
|
350
|
+
* <p>The tag value used in the filter.</p>
|
|
351
|
+
*/
|
|
352
|
+
value?: string;
|
|
353
|
+
}
|
|
354
|
+
export declare namespace MapFilter {
|
|
355
|
+
/**
|
|
356
|
+
* @internal
|
|
357
|
+
*/
|
|
358
|
+
const filterSensitiveLog: (obj: MapFilter) => any;
|
|
359
|
+
}
|
|
360
|
+
export declare enum Ec2InstanceSortBy {
|
|
361
|
+
ALL = "ALL",
|
|
362
|
+
CRITICAL = "CRITICAL",
|
|
363
|
+
HIGH = "HIGH",
|
|
364
|
+
NETWORK_FINDINGS = "NETWORK_FINDINGS"
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* <p>The details that define an aggregation based on Amazon EC2 instances.</p>
|
|
368
|
+
*/
|
|
369
|
+
export interface Ec2InstanceAggregation {
|
|
370
|
+
/**
|
|
371
|
+
* <p>The AMI IDs associated with the Amazon EC2 instances to aggregate findings for.</p>
|
|
372
|
+
*/
|
|
373
|
+
amis?: StringFilter[];
|
|
374
|
+
/**
|
|
375
|
+
* <p>The operating system types to aggregate findings for. Valid values must be uppercase and
|
|
376
|
+
* underscore separated, examples are <code>ORACLE_LINUX_7</code> and
|
|
377
|
+
* <code>ALPINE_LINUX_3_8</code>.</p>
|
|
378
|
+
*/
|
|
379
|
+
operatingSystems?: StringFilter[];
|
|
380
|
+
/**
|
|
381
|
+
* <p>The Amazon EC2 instance IDs to aggregate findings for.</p>
|
|
382
|
+
*/
|
|
383
|
+
instanceIds?: StringFilter[];
|
|
384
|
+
/**
|
|
385
|
+
* <p>The Amazon EC2 instance tags to aggregate findings for.</p>
|
|
386
|
+
*/
|
|
387
|
+
instanceTags?: MapFilter[];
|
|
388
|
+
/**
|
|
389
|
+
* <p>The order to sort results by.</p>
|
|
390
|
+
*/
|
|
391
|
+
sortOrder?: SortOrder | string;
|
|
392
|
+
/**
|
|
393
|
+
* <p>The value to sort results by.</p>
|
|
394
|
+
*/
|
|
395
|
+
sortBy?: Ec2InstanceSortBy | string;
|
|
396
|
+
}
|
|
397
|
+
export declare namespace Ec2InstanceAggregation {
|
|
398
|
+
/**
|
|
399
|
+
* @internal
|
|
400
|
+
*/
|
|
401
|
+
const filterSensitiveLog: (obj: Ec2InstanceAggregation) => any;
|
|
402
|
+
}
|
|
403
|
+
export declare enum FindingTypeSortBy {
|
|
404
|
+
ALL = "ALL",
|
|
405
|
+
CRITICAL = "CRITICAL",
|
|
406
|
+
HIGH = "HIGH"
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* <p>The details that define an aggregation based on finding type.</p>
|
|
410
|
+
*/
|
|
411
|
+
export interface FindingTypeAggregation {
|
|
412
|
+
/**
|
|
413
|
+
* <p>The finding type to aggregate.</p>
|
|
414
|
+
*/
|
|
415
|
+
findingType?: AggregationFindingType | string;
|
|
416
|
+
/**
|
|
417
|
+
* <p>The resource type to aggregate.</p>
|
|
418
|
+
*/
|
|
419
|
+
resourceType?: AggregationResourceType | string;
|
|
420
|
+
/**
|
|
421
|
+
* <p>The order to sort results by.</p>
|
|
422
|
+
*/
|
|
423
|
+
sortOrder?: SortOrder | string;
|
|
424
|
+
/**
|
|
425
|
+
* <p>The value to sort results by.</p>
|
|
426
|
+
*/
|
|
427
|
+
sortBy?: FindingTypeSortBy | string;
|
|
428
|
+
}
|
|
429
|
+
export declare namespace FindingTypeAggregation {
|
|
430
|
+
/**
|
|
431
|
+
* @internal
|
|
432
|
+
*/
|
|
433
|
+
const filterSensitiveLog: (obj: FindingTypeAggregation) => any;
|
|
434
|
+
}
|
|
435
|
+
export declare enum ImageLayerSortBy {
|
|
436
|
+
ALL = "ALL",
|
|
437
|
+
CRITICAL = "CRITICAL",
|
|
438
|
+
HIGH = "HIGH"
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* <p>The details that define an aggregation based on container image layers.</p>
|
|
442
|
+
*/
|
|
443
|
+
export interface ImageLayerAggregation {
|
|
444
|
+
/**
|
|
445
|
+
* <p>The repository associated with the container image hosting the layers.</p>
|
|
446
|
+
*/
|
|
447
|
+
repositories?: StringFilter[];
|
|
448
|
+
/**
|
|
449
|
+
* <p>The ID of the container image layer.</p>
|
|
450
|
+
*/
|
|
451
|
+
resourceIds?: StringFilter[];
|
|
452
|
+
/**
|
|
453
|
+
* <p>The hashes associated with the layers.</p>
|
|
454
|
+
*/
|
|
455
|
+
layerHashes?: StringFilter[];
|
|
456
|
+
/**
|
|
457
|
+
* <p>The order to sort results by.</p>
|
|
458
|
+
*/
|
|
459
|
+
sortOrder?: SortOrder | string;
|
|
460
|
+
/**
|
|
461
|
+
* <p>The value to sort results by.</p>
|
|
462
|
+
*/
|
|
463
|
+
sortBy?: ImageLayerSortBy | string;
|
|
464
|
+
}
|
|
465
|
+
export declare namespace ImageLayerAggregation {
|
|
466
|
+
/**
|
|
467
|
+
* @internal
|
|
468
|
+
*/
|
|
469
|
+
const filterSensitiveLog: (obj: ImageLayerAggregation) => any;
|
|
470
|
+
}
|
|
471
|
+
export declare enum PackageSortBy {
|
|
472
|
+
ALL = "ALL",
|
|
473
|
+
CRITICAL = "CRITICAL",
|
|
474
|
+
HIGH = "HIGH"
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* <p>The details that define an aggregation based on operating system package type.</p>
|
|
478
|
+
*/
|
|
479
|
+
export interface PackageAggregation {
|
|
480
|
+
/**
|
|
481
|
+
* <p>The names of packages to aggregate findings on.</p>
|
|
482
|
+
*/
|
|
483
|
+
packageNames?: StringFilter[];
|
|
484
|
+
/**
|
|
485
|
+
* <p>The order to sort results by.</p>
|
|
486
|
+
*/
|
|
487
|
+
sortOrder?: SortOrder | string;
|
|
488
|
+
/**
|
|
489
|
+
* <p>The value to sort results by.</p>
|
|
490
|
+
*/
|
|
491
|
+
sortBy?: PackageSortBy | string;
|
|
492
|
+
}
|
|
493
|
+
export declare namespace PackageAggregation {
|
|
494
|
+
/**
|
|
495
|
+
* @internal
|
|
496
|
+
*/
|
|
497
|
+
const filterSensitiveLog: (obj: PackageAggregation) => any;
|
|
498
|
+
}
|
|
499
|
+
export declare enum RepositorySortBy {
|
|
500
|
+
AFFECTED_IMAGES = "AFFECTED_IMAGES",
|
|
501
|
+
ALL = "ALL",
|
|
502
|
+
CRITICAL = "CRITICAL",
|
|
503
|
+
HIGH = "HIGH"
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* <p>The details that define an aggregation based on repository.</p>
|
|
507
|
+
*/
|
|
508
|
+
export interface RepositoryAggregation {
|
|
509
|
+
/**
|
|
510
|
+
* <p>The names of repositories to aggregate findings on.</p>
|
|
511
|
+
*/
|
|
512
|
+
repositories?: StringFilter[];
|
|
513
|
+
/**
|
|
514
|
+
* <p>The order to sort results by.</p>
|
|
515
|
+
*/
|
|
516
|
+
sortOrder?: SortOrder | string;
|
|
517
|
+
/**
|
|
518
|
+
* <p>The value to sort results by.</p>
|
|
519
|
+
*/
|
|
520
|
+
sortBy?: RepositorySortBy | string;
|
|
521
|
+
}
|
|
522
|
+
export declare namespace RepositoryAggregation {
|
|
523
|
+
/**
|
|
524
|
+
* @internal
|
|
525
|
+
*/
|
|
526
|
+
const filterSensitiveLog: (obj: RepositoryAggregation) => any;
|
|
527
|
+
}
|
|
528
|
+
export declare enum TitleSortBy {
|
|
529
|
+
ALL = "ALL",
|
|
530
|
+
CRITICAL = "CRITICAL",
|
|
531
|
+
HIGH = "HIGH"
|
|
532
|
+
}
|
|
533
|
+
/**
|
|
534
|
+
* <p>The details that define an aggregation based on finding title.</p>
|
|
535
|
+
*/
|
|
536
|
+
export interface TitleAggregation {
|
|
537
|
+
/**
|
|
538
|
+
* <p>The finding titles to aggregate on.</p>
|
|
539
|
+
*/
|
|
540
|
+
titles?: StringFilter[];
|
|
541
|
+
/**
|
|
542
|
+
* <p>The vulnerability IDs of the findings.</p>
|
|
543
|
+
*/
|
|
544
|
+
vulnerabilityIds?: StringFilter[];
|
|
545
|
+
/**
|
|
546
|
+
* <p>The resource type to aggregate on.</p>
|
|
547
|
+
*/
|
|
548
|
+
resourceType?: AggregationResourceType | string;
|
|
549
|
+
/**
|
|
550
|
+
* <p>The order to sort results by.</p>
|
|
551
|
+
*/
|
|
552
|
+
sortOrder?: SortOrder | string;
|
|
553
|
+
/**
|
|
554
|
+
* <p>The value to sort results by.</p>
|
|
555
|
+
*/
|
|
556
|
+
sortBy?: TitleSortBy | string;
|
|
557
|
+
}
|
|
558
|
+
export declare namespace TitleAggregation {
|
|
559
|
+
/**
|
|
560
|
+
* @internal
|
|
561
|
+
*/
|
|
562
|
+
const filterSensitiveLog: (obj: TitleAggregation) => any;
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* <p>Contains details about an aggregation request.</p>
|
|
566
|
+
*/
|
|
567
|
+
export declare type AggregationRequest = AggregationRequest.AccountAggregationMember | AggregationRequest.AmiAggregationMember | AggregationRequest.AwsEcrContainerAggregationMember | AggregationRequest.Ec2InstanceAggregationMember | AggregationRequest.FindingTypeAggregationMember | AggregationRequest.ImageLayerAggregationMember | AggregationRequest.PackageAggregationMember | AggregationRequest.RepositoryAggregationMember | AggregationRequest.TitleAggregationMember | AggregationRequest.$UnknownMember;
|
|
568
|
+
export declare namespace AggregationRequest {
|
|
569
|
+
/**
|
|
570
|
+
* <p>An object that contains details about an aggregation request based on Amazon Web Services account
|
|
571
|
+
* IDs.</p>
|
|
572
|
+
*/
|
|
573
|
+
interface AccountAggregationMember {
|
|
574
|
+
accountAggregation: AccountAggregation;
|
|
575
|
+
amiAggregation?: never;
|
|
576
|
+
awsEcrContainerAggregation?: never;
|
|
577
|
+
ec2InstanceAggregation?: never;
|
|
578
|
+
findingTypeAggregation?: never;
|
|
579
|
+
imageLayerAggregation?: never;
|
|
580
|
+
packageAggregation?: never;
|
|
581
|
+
repositoryAggregation?: never;
|
|
582
|
+
titleAggregation?: never;
|
|
583
|
+
$unknown?: never;
|
|
584
|
+
}
|
|
585
|
+
/**
|
|
586
|
+
* <p>An object that contains details about an aggregation request based on Amazon Machine
|
|
587
|
+
* Images (AMIs).</p>
|
|
588
|
+
*/
|
|
589
|
+
interface AmiAggregationMember {
|
|
590
|
+
accountAggregation?: never;
|
|
591
|
+
amiAggregation: AmiAggregation;
|
|
592
|
+
awsEcrContainerAggregation?: never;
|
|
593
|
+
ec2InstanceAggregation?: never;
|
|
594
|
+
findingTypeAggregation?: never;
|
|
595
|
+
imageLayerAggregation?: never;
|
|
596
|
+
packageAggregation?: never;
|
|
597
|
+
repositoryAggregation?: never;
|
|
598
|
+
titleAggregation?: never;
|
|
599
|
+
$unknown?: never;
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* <p>An object that contains details about an aggregation request based on Amazon ECR container
|
|
603
|
+
* images.</p>
|
|
604
|
+
*/
|
|
605
|
+
interface AwsEcrContainerAggregationMember {
|
|
606
|
+
accountAggregation?: never;
|
|
607
|
+
amiAggregation?: never;
|
|
608
|
+
awsEcrContainerAggregation: AwsEcrContainerAggregation;
|
|
609
|
+
ec2InstanceAggregation?: never;
|
|
610
|
+
findingTypeAggregation?: never;
|
|
611
|
+
imageLayerAggregation?: never;
|
|
612
|
+
packageAggregation?: never;
|
|
613
|
+
repositoryAggregation?: never;
|
|
614
|
+
titleAggregation?: never;
|
|
615
|
+
$unknown?: never;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* <p>An object that contains details about an aggregation request based on Amazon EC2
|
|
619
|
+
* instances.</p>
|
|
620
|
+
*/
|
|
621
|
+
interface Ec2InstanceAggregationMember {
|
|
622
|
+
accountAggregation?: never;
|
|
623
|
+
amiAggregation?: never;
|
|
624
|
+
awsEcrContainerAggregation?: never;
|
|
625
|
+
ec2InstanceAggregation: Ec2InstanceAggregation;
|
|
626
|
+
findingTypeAggregation?: never;
|
|
627
|
+
imageLayerAggregation?: never;
|
|
628
|
+
packageAggregation?: never;
|
|
629
|
+
repositoryAggregation?: never;
|
|
630
|
+
titleAggregation?: never;
|
|
631
|
+
$unknown?: never;
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* <p>An object that contains details about an aggregation request based on finding types.</p>
|
|
635
|
+
*/
|
|
636
|
+
interface FindingTypeAggregationMember {
|
|
637
|
+
accountAggregation?: never;
|
|
638
|
+
amiAggregation?: never;
|
|
639
|
+
awsEcrContainerAggregation?: never;
|
|
640
|
+
ec2InstanceAggregation?: never;
|
|
641
|
+
findingTypeAggregation: FindingTypeAggregation;
|
|
642
|
+
imageLayerAggregation?: never;
|
|
643
|
+
packageAggregation?: never;
|
|
644
|
+
repositoryAggregation?: never;
|
|
645
|
+
titleAggregation?: never;
|
|
646
|
+
$unknown?: never;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* <p>An object that contains details about an aggregation request based on container image
|
|
650
|
+
* layers.</p>
|
|
651
|
+
*/
|
|
652
|
+
interface ImageLayerAggregationMember {
|
|
653
|
+
accountAggregation?: never;
|
|
654
|
+
amiAggregation?: never;
|
|
655
|
+
awsEcrContainerAggregation?: never;
|
|
656
|
+
ec2InstanceAggregation?: never;
|
|
657
|
+
findingTypeAggregation?: never;
|
|
658
|
+
imageLayerAggregation: ImageLayerAggregation;
|
|
659
|
+
packageAggregation?: never;
|
|
660
|
+
repositoryAggregation?: never;
|
|
661
|
+
titleAggregation?: never;
|
|
662
|
+
$unknown?: never;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* <p>An object that contains details about an aggregation request based on operating system
|
|
666
|
+
* package type.</p>
|
|
667
|
+
*/
|
|
668
|
+
interface PackageAggregationMember {
|
|
669
|
+
accountAggregation?: never;
|
|
670
|
+
amiAggregation?: never;
|
|
671
|
+
awsEcrContainerAggregation?: never;
|
|
672
|
+
ec2InstanceAggregation?: never;
|
|
673
|
+
findingTypeAggregation?: never;
|
|
674
|
+
imageLayerAggregation?: never;
|
|
675
|
+
packageAggregation: PackageAggregation;
|
|
676
|
+
repositoryAggregation?: never;
|
|
677
|
+
titleAggregation?: never;
|
|
678
|
+
$unknown?: never;
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* <p>An object that contains details about an aggregation request based on Amazon ECR repositories.</p>
|
|
682
|
+
*/
|
|
683
|
+
interface RepositoryAggregationMember {
|
|
684
|
+
accountAggregation?: never;
|
|
685
|
+
amiAggregation?: never;
|
|
686
|
+
awsEcrContainerAggregation?: never;
|
|
687
|
+
ec2InstanceAggregation?: never;
|
|
688
|
+
findingTypeAggregation?: never;
|
|
689
|
+
imageLayerAggregation?: never;
|
|
690
|
+
packageAggregation?: never;
|
|
691
|
+
repositoryAggregation: RepositoryAggregation;
|
|
692
|
+
titleAggregation?: never;
|
|
693
|
+
$unknown?: never;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* <p>An object that contains details about an aggregation request based on finding title.</p>
|
|
697
|
+
*/
|
|
698
|
+
interface TitleAggregationMember {
|
|
699
|
+
accountAggregation?: never;
|
|
700
|
+
amiAggregation?: never;
|
|
701
|
+
awsEcrContainerAggregation?: never;
|
|
702
|
+
ec2InstanceAggregation?: never;
|
|
703
|
+
findingTypeAggregation?: never;
|
|
704
|
+
imageLayerAggregation?: never;
|
|
705
|
+
packageAggregation?: never;
|
|
706
|
+
repositoryAggregation?: never;
|
|
707
|
+
titleAggregation: TitleAggregation;
|
|
708
|
+
$unknown?: never;
|
|
709
|
+
}
|
|
710
|
+
interface $UnknownMember {
|
|
711
|
+
accountAggregation?: never;
|
|
712
|
+
amiAggregation?: never;
|
|
713
|
+
awsEcrContainerAggregation?: never;
|
|
714
|
+
ec2InstanceAggregation?: never;
|
|
715
|
+
findingTypeAggregation?: never;
|
|
716
|
+
imageLayerAggregation?: never;
|
|
717
|
+
packageAggregation?: never;
|
|
718
|
+
repositoryAggregation?: never;
|
|
719
|
+
titleAggregation?: never;
|
|
720
|
+
$unknown: [string, any];
|
|
721
|
+
}
|
|
722
|
+
interface Visitor<T> {
|
|
723
|
+
accountAggregation: (value: AccountAggregation) => T;
|
|
724
|
+
amiAggregation: (value: AmiAggregation) => T;
|
|
725
|
+
awsEcrContainerAggregation: (value: AwsEcrContainerAggregation) => T;
|
|
726
|
+
ec2InstanceAggregation: (value: Ec2InstanceAggregation) => T;
|
|
727
|
+
findingTypeAggregation: (value: FindingTypeAggregation) => T;
|
|
728
|
+
imageLayerAggregation: (value: ImageLayerAggregation) => T;
|
|
729
|
+
packageAggregation: (value: PackageAggregation) => T;
|
|
730
|
+
repositoryAggregation: (value: RepositoryAggregation) => T;
|
|
731
|
+
titleAggregation: (value: TitleAggregation) => T;
|
|
732
|
+
_: (name: string, value: any) => T;
|
|
733
|
+
}
|
|
734
|
+
const visit: <T>(value: AggregationRequest, visitor: Visitor<T>) => T;
|
|
735
|
+
/**
|
|
736
|
+
* @internal
|
|
737
|
+
*/
|
|
738
|
+
const filterSensitiveLog: (obj: AggregationRequest) => any;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* <p>A response that contains the results of a finding aggregation by AMI.</p>
|
|
742
|
+
*/
|
|
743
|
+
export interface AmiAggregationResponse {
|
|
744
|
+
/**
|
|
745
|
+
* <p>The ID of the AMI that findings were aggregated for.</p>
|
|
746
|
+
*/
|
|
747
|
+
ami: string | undefined;
|
|
748
|
+
/**
|
|
749
|
+
* <p>The Amazon Web Services account ID that the AMI belongs.</p>
|
|
750
|
+
*/
|
|
751
|
+
accountId?: string;
|
|
752
|
+
/**
|
|
753
|
+
* <p>An object that contains the count of matched findings per severity.</p>
|
|
754
|
+
*/
|
|
755
|
+
severityCounts?: SeverityCounts;
|
|
756
|
+
/**
|
|
757
|
+
* <p>The IDs of Amazon EC2 instances using this AMI.</p>
|
|
758
|
+
*/
|
|
759
|
+
affectedInstances?: number;
|
|
760
|
+
}
|
|
761
|
+
export declare namespace AmiAggregationResponse {
|
|
762
|
+
/**
|
|
763
|
+
* @internal
|
|
764
|
+
*/
|
|
765
|
+
const filterSensitiveLog: (obj: AmiAggregationResponse) => any;
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* <p>An aggregation of information about Amazon ECR containers.</p>
|
|
769
|
+
*/
|
|
770
|
+
export interface AwsEcrContainerAggregationResponse {
|
|
771
|
+
/**
|
|
772
|
+
* <p>The resource ID of the container.</p>
|
|
773
|
+
*/
|
|
774
|
+
resourceId: string | undefined;
|
|
775
|
+
/**
|
|
776
|
+
* <p>The SHA value of the container image.</p>
|
|
777
|
+
*/
|
|
778
|
+
imageSha?: string;
|
|
779
|
+
/**
|
|
780
|
+
* <p>The container repository.</p>
|
|
781
|
+
*/
|
|
782
|
+
repository?: string;
|
|
783
|
+
/**
|
|
784
|
+
* <p>The architecture of the container.</p>
|
|
785
|
+
*/
|
|
786
|
+
architecture?: string;
|
|
787
|
+
/**
|
|
788
|
+
* <p>The container image stags.</p>
|
|
789
|
+
*/
|
|
790
|
+
imageTags?: string[];
|
|
791
|
+
/**
|
|
792
|
+
* <p>The Amazon Web Services account ID of the account that owns the container.</p>
|
|
793
|
+
*/
|
|
794
|
+
accountId?: string;
|
|
795
|
+
/**
|
|
796
|
+
* <p>The number of finding by severity.</p>
|
|
797
|
+
*/
|
|
798
|
+
severityCounts?: SeverityCounts;
|
|
799
|
+
}
|
|
800
|
+
export declare namespace AwsEcrContainerAggregationResponse {
|
|
801
|
+
/**
|
|
802
|
+
* @internal
|
|
803
|
+
*/
|
|
804
|
+
const filterSensitiveLog: (obj: AwsEcrContainerAggregationResponse) => any;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
* <p>A response that contains the results of a finding aggregation by Amazon EC2 instance.</p>
|
|
808
|
+
*/
|
|
809
|
+
export interface Ec2InstanceAggregationResponse {
|
|
810
|
+
/**
|
|
811
|
+
* <p>The Amazon EC2 instance ID.</p>
|
|
812
|
+
*/
|
|
813
|
+
instanceId: string | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* <p>The Amazon Machine Image (AMI) of the Amazon EC2 instance.</p>
|
|
816
|
+
*/
|
|
817
|
+
ami?: string;
|
|
818
|
+
/**
|
|
819
|
+
* <p>The operating system of the Amazon EC2 instance.</p>
|
|
820
|
+
*/
|
|
821
|
+
operatingSystem?: string;
|
|
822
|
+
/**
|
|
823
|
+
* <p>The tags attached to the instance.</p>
|
|
824
|
+
*/
|
|
825
|
+
instanceTags?: {
|
|
826
|
+
[key: string]: string;
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* <p>The Amazon Web Services account the Amazon EC2 instance belongs to.</p>
|
|
830
|
+
*/
|
|
831
|
+
accountId?: string;
|
|
832
|
+
/**
|
|
833
|
+
* <p>An object that contains the count of matched findings per severity.</p>
|
|
834
|
+
*/
|
|
835
|
+
severityCounts?: SeverityCounts;
|
|
836
|
+
/**
|
|
837
|
+
* <p>The number of network findings for the Amazon EC2 instance.</p>
|
|
838
|
+
*/
|
|
839
|
+
networkFindings?: number;
|
|
840
|
+
}
|
|
841
|
+
export declare namespace Ec2InstanceAggregationResponse {
|
|
842
|
+
/**
|
|
843
|
+
* @internal
|
|
844
|
+
*/
|
|
845
|
+
const filterSensitiveLog: (obj: Ec2InstanceAggregationResponse) => any;
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* <p>A response that contains the results of a finding type aggregation.</p>
|
|
849
|
+
*/
|
|
850
|
+
export interface FindingTypeAggregationResponse {
|
|
851
|
+
/**
|
|
852
|
+
* <p>The ID of the Amazon Web Services account associated with the findings.</p>
|
|
853
|
+
*/
|
|
854
|
+
accountId?: string;
|
|
855
|
+
/**
|
|
856
|
+
* <p>The value to sort results by.</p>
|
|
857
|
+
*/
|
|
858
|
+
severityCounts?: SeverityCounts;
|
|
859
|
+
}
|
|
860
|
+
export declare namespace FindingTypeAggregationResponse {
|
|
861
|
+
/**
|
|
862
|
+
* @internal
|
|
863
|
+
*/
|
|
864
|
+
const filterSensitiveLog: (obj: FindingTypeAggregationResponse) => any;
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* <p>A response that contains the results of a finding aggregation by image layer.</p>
|
|
868
|
+
*/
|
|
869
|
+
export interface ImageLayerAggregationResponse {
|
|
870
|
+
/**
|
|
871
|
+
* <p>The repository the layer resides in.</p>
|
|
872
|
+
*/
|
|
873
|
+
repository: string | undefined;
|
|
874
|
+
/**
|
|
875
|
+
* <p>The resource ID of the container image layer.</p>
|
|
876
|
+
*/
|
|
877
|
+
resourceId: string | undefined;
|
|
878
|
+
/**
|
|
879
|
+
* <p>The layer hash.</p>
|
|
880
|
+
*/
|
|
881
|
+
layerHash: string | undefined;
|
|
882
|
+
/**
|
|
883
|
+
* <p>The ID of the Amazon Web Services account that owns the container image hosting the layer image.</p>
|
|
884
|
+
*/
|
|
885
|
+
accountId: string | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* <p>An object that represents the count of matched findings per severity.</p>
|
|
888
|
+
*/
|
|
889
|
+
severityCounts?: SeverityCounts;
|
|
890
|
+
}
|
|
891
|
+
export declare namespace ImageLayerAggregationResponse {
|
|
892
|
+
/**
|
|
893
|
+
* @internal
|
|
894
|
+
*/
|
|
895
|
+
const filterSensitiveLog: (obj: ImageLayerAggregationResponse) => any;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* <p>A response that contains the results of a finding aggregation by image layer.</p>
|
|
899
|
+
*/
|
|
900
|
+
export interface PackageAggregationResponse {
|
|
901
|
+
/**
|
|
902
|
+
* <p>The name of the operating system package.</p>
|
|
903
|
+
*/
|
|
904
|
+
packageName: string | undefined;
|
|
905
|
+
/**
|
|
906
|
+
* <p>The ID of the Amazon Web Services account associated with the findings.</p>
|
|
907
|
+
*/
|
|
908
|
+
accountId?: string;
|
|
909
|
+
/**
|
|
910
|
+
* <p>An object that contains the count of matched findings per severity.</p>
|
|
911
|
+
*/
|
|
912
|
+
severityCounts?: SeverityCounts;
|
|
913
|
+
}
|
|
914
|
+
export declare namespace PackageAggregationResponse {
|
|
915
|
+
/**
|
|
916
|
+
* @internal
|
|
917
|
+
*/
|
|
918
|
+
const filterSensitiveLog: (obj: PackageAggregationResponse) => any;
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* <p>A response that contains details on the results of a finding aggregation by repository.</p>
|
|
922
|
+
*/
|
|
923
|
+
export interface RepositoryAggregationResponse {
|
|
924
|
+
/**
|
|
925
|
+
* <p>The name of the repository associated with the findings.</p>
|
|
926
|
+
*/
|
|
927
|
+
repository: string | undefined;
|
|
928
|
+
/**
|
|
929
|
+
* <p>The ID of the Amazon Web Services account associated with the findings.</p>
|
|
930
|
+
*/
|
|
931
|
+
accountId?: string;
|
|
932
|
+
/**
|
|
933
|
+
* <p>An object that represent the count of matched findings per severity.</p>
|
|
934
|
+
*/
|
|
935
|
+
severityCounts?: SeverityCounts;
|
|
936
|
+
/**
|
|
937
|
+
* <p>The number of container images impacted by the findings.</p>
|
|
938
|
+
*/
|
|
939
|
+
affectedImages?: number;
|
|
940
|
+
}
|
|
941
|
+
export declare namespace RepositoryAggregationResponse {
|
|
942
|
+
/**
|
|
943
|
+
* @internal
|
|
944
|
+
*/
|
|
945
|
+
const filterSensitiveLog: (obj: RepositoryAggregationResponse) => any;
|
|
946
|
+
}
|
|
947
|
+
/**
|
|
948
|
+
* <p>A response that contains details on the results of a finding aggregation by title.</p>
|
|
949
|
+
*/
|
|
950
|
+
export interface TitleAggregationResponse {
|
|
951
|
+
/**
|
|
952
|
+
* <p>The title that the findings were aggregated on.</p>
|
|
953
|
+
*/
|
|
954
|
+
title: string | undefined;
|
|
955
|
+
/**
|
|
956
|
+
* <p>The vulnerability ID of the finding.</p>
|
|
957
|
+
*/
|
|
958
|
+
vulnerabilityId?: string;
|
|
959
|
+
/**
|
|
960
|
+
* <p>The ID of the Amazon Web Services account associated with the findings.</p>
|
|
961
|
+
*/
|
|
962
|
+
accountId?: string;
|
|
963
|
+
/**
|
|
964
|
+
* <p>An object that represent the count of matched findings per severity.</p>
|
|
965
|
+
*/
|
|
966
|
+
severityCounts?: SeverityCounts;
|
|
967
|
+
}
|
|
968
|
+
export declare namespace TitleAggregationResponse {
|
|
969
|
+
/**
|
|
970
|
+
* @internal
|
|
971
|
+
*/
|
|
972
|
+
const filterSensitiveLog: (obj: TitleAggregationResponse) => any;
|
|
973
|
+
}
|
|
974
|
+
/**
|
|
975
|
+
* <p>A structure that contains details about the results of an aggregation type.</p>
|
|
976
|
+
*/
|
|
977
|
+
export declare type AggregationResponse = AggregationResponse.AccountAggregationMember | AggregationResponse.AmiAggregationMember | AggregationResponse.AwsEcrContainerAggregationMember | AggregationResponse.Ec2InstanceAggregationMember | AggregationResponse.FindingTypeAggregationMember | AggregationResponse.ImageLayerAggregationMember | AggregationResponse.PackageAggregationMember | AggregationResponse.RepositoryAggregationMember | AggregationResponse.TitleAggregationMember | AggregationResponse.$UnknownMember;
|
|
978
|
+
export declare namespace AggregationResponse {
|
|
979
|
+
/**
|
|
980
|
+
* <p>An object that contains details about an aggregation response based on Amazon Web Services account
|
|
981
|
+
* IDs.</p>
|
|
982
|
+
*/
|
|
983
|
+
interface AccountAggregationMember {
|
|
984
|
+
accountAggregation: AccountAggregationResponse;
|
|
985
|
+
amiAggregation?: never;
|
|
986
|
+
awsEcrContainerAggregation?: never;
|
|
987
|
+
ec2InstanceAggregation?: never;
|
|
988
|
+
findingTypeAggregation?: never;
|
|
989
|
+
imageLayerAggregation?: never;
|
|
990
|
+
packageAggregation?: never;
|
|
991
|
+
repositoryAggregation?: never;
|
|
992
|
+
titleAggregation?: never;
|
|
993
|
+
$unknown?: never;
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* <p>An object that contains details about an aggregation response based on Amazon Machine
|
|
997
|
+
* Images (AMIs).</p>
|
|
998
|
+
*/
|
|
999
|
+
interface AmiAggregationMember {
|
|
1000
|
+
accountAggregation?: never;
|
|
1001
|
+
amiAggregation: AmiAggregationResponse;
|
|
1002
|
+
awsEcrContainerAggregation?: never;
|
|
1003
|
+
ec2InstanceAggregation?: never;
|
|
1004
|
+
findingTypeAggregation?: never;
|
|
1005
|
+
imageLayerAggregation?: never;
|
|
1006
|
+
packageAggregation?: never;
|
|
1007
|
+
repositoryAggregation?: never;
|
|
1008
|
+
titleAggregation?: never;
|
|
1009
|
+
$unknown?: never;
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
* <p>An object that contains details about an aggregation response based on Amazon ECR container
|
|
1013
|
+
* images.</p>
|
|
1014
|
+
*/
|
|
1015
|
+
interface AwsEcrContainerAggregationMember {
|
|
1016
|
+
accountAggregation?: never;
|
|
1017
|
+
amiAggregation?: never;
|
|
1018
|
+
awsEcrContainerAggregation: AwsEcrContainerAggregationResponse;
|
|
1019
|
+
ec2InstanceAggregation?: never;
|
|
1020
|
+
findingTypeAggregation?: never;
|
|
1021
|
+
imageLayerAggregation?: never;
|
|
1022
|
+
packageAggregation?: never;
|
|
1023
|
+
repositoryAggregation?: never;
|
|
1024
|
+
titleAggregation?: never;
|
|
1025
|
+
$unknown?: never;
|
|
1026
|
+
}
|
|
1027
|
+
/**
|
|
1028
|
+
* <p>An object that contains details about an aggregation response based on Amazon EC2
|
|
1029
|
+
* instances.</p>
|
|
1030
|
+
*/
|
|
1031
|
+
interface Ec2InstanceAggregationMember {
|
|
1032
|
+
accountAggregation?: never;
|
|
1033
|
+
amiAggregation?: never;
|
|
1034
|
+
awsEcrContainerAggregation?: never;
|
|
1035
|
+
ec2InstanceAggregation: Ec2InstanceAggregationResponse;
|
|
1036
|
+
findingTypeAggregation?: never;
|
|
1037
|
+
imageLayerAggregation?: never;
|
|
1038
|
+
packageAggregation?: never;
|
|
1039
|
+
repositoryAggregation?: never;
|
|
1040
|
+
titleAggregation?: never;
|
|
1041
|
+
$unknown?: never;
|
|
1042
|
+
}
|
|
1043
|
+
/**
|
|
1044
|
+
* <p>An object that contains details about an aggregation response based on finding types.</p>
|
|
1045
|
+
*/
|
|
1046
|
+
interface FindingTypeAggregationMember {
|
|
1047
|
+
accountAggregation?: never;
|
|
1048
|
+
amiAggregation?: never;
|
|
1049
|
+
awsEcrContainerAggregation?: never;
|
|
1050
|
+
ec2InstanceAggregation?: never;
|
|
1051
|
+
findingTypeAggregation: FindingTypeAggregationResponse;
|
|
1052
|
+
imageLayerAggregation?: never;
|
|
1053
|
+
packageAggregation?: never;
|
|
1054
|
+
repositoryAggregation?: never;
|
|
1055
|
+
titleAggregation?: never;
|
|
1056
|
+
$unknown?: never;
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* <p>An object that contains details about an aggregation response based on container image
|
|
1060
|
+
* layers.</p>
|
|
1061
|
+
*/
|
|
1062
|
+
interface ImageLayerAggregationMember {
|
|
1063
|
+
accountAggregation?: never;
|
|
1064
|
+
amiAggregation?: never;
|
|
1065
|
+
awsEcrContainerAggregation?: never;
|
|
1066
|
+
ec2InstanceAggregation?: never;
|
|
1067
|
+
findingTypeAggregation?: never;
|
|
1068
|
+
imageLayerAggregation: ImageLayerAggregationResponse;
|
|
1069
|
+
packageAggregation?: never;
|
|
1070
|
+
repositoryAggregation?: never;
|
|
1071
|
+
titleAggregation?: never;
|
|
1072
|
+
$unknown?: never;
|
|
1073
|
+
}
|
|
1074
|
+
/**
|
|
1075
|
+
* <p>An object that contains details about an aggregation response based on operating system
|
|
1076
|
+
* package type.</p>
|
|
1077
|
+
*/
|
|
1078
|
+
interface PackageAggregationMember {
|
|
1079
|
+
accountAggregation?: never;
|
|
1080
|
+
amiAggregation?: never;
|
|
1081
|
+
awsEcrContainerAggregation?: never;
|
|
1082
|
+
ec2InstanceAggregation?: never;
|
|
1083
|
+
findingTypeAggregation?: never;
|
|
1084
|
+
imageLayerAggregation?: never;
|
|
1085
|
+
packageAggregation: PackageAggregationResponse;
|
|
1086
|
+
repositoryAggregation?: never;
|
|
1087
|
+
titleAggregation?: never;
|
|
1088
|
+
$unknown?: never;
|
|
1089
|
+
}
|
|
1090
|
+
/**
|
|
1091
|
+
* <p>An object that contains details about an aggregation response based on Amazon ECR
|
|
1092
|
+
* repositories.</p>
|
|
1093
|
+
*/
|
|
1094
|
+
interface RepositoryAggregationMember {
|
|
1095
|
+
accountAggregation?: never;
|
|
1096
|
+
amiAggregation?: never;
|
|
1097
|
+
awsEcrContainerAggregation?: never;
|
|
1098
|
+
ec2InstanceAggregation?: never;
|
|
1099
|
+
findingTypeAggregation?: never;
|
|
1100
|
+
imageLayerAggregation?: never;
|
|
1101
|
+
packageAggregation?: never;
|
|
1102
|
+
repositoryAggregation: RepositoryAggregationResponse;
|
|
1103
|
+
titleAggregation?: never;
|
|
1104
|
+
$unknown?: never;
|
|
1105
|
+
}
|
|
1106
|
+
/**
|
|
1107
|
+
* <p>An object that contains details about an aggregation response based on finding title.</p>
|
|
1108
|
+
*/
|
|
1109
|
+
interface TitleAggregationMember {
|
|
1110
|
+
accountAggregation?: never;
|
|
1111
|
+
amiAggregation?: never;
|
|
1112
|
+
awsEcrContainerAggregation?: never;
|
|
1113
|
+
ec2InstanceAggregation?: never;
|
|
1114
|
+
findingTypeAggregation?: never;
|
|
1115
|
+
imageLayerAggregation?: never;
|
|
1116
|
+
packageAggregation?: never;
|
|
1117
|
+
repositoryAggregation?: never;
|
|
1118
|
+
titleAggregation: TitleAggregationResponse;
|
|
1119
|
+
$unknown?: never;
|
|
1120
|
+
}
|
|
1121
|
+
interface $UnknownMember {
|
|
1122
|
+
accountAggregation?: never;
|
|
1123
|
+
amiAggregation?: never;
|
|
1124
|
+
awsEcrContainerAggregation?: never;
|
|
1125
|
+
ec2InstanceAggregation?: never;
|
|
1126
|
+
findingTypeAggregation?: never;
|
|
1127
|
+
imageLayerAggregation?: never;
|
|
1128
|
+
packageAggregation?: never;
|
|
1129
|
+
repositoryAggregation?: never;
|
|
1130
|
+
titleAggregation?: never;
|
|
1131
|
+
$unknown: [string, any];
|
|
1132
|
+
}
|
|
1133
|
+
interface Visitor<T> {
|
|
1134
|
+
accountAggregation: (value: AccountAggregationResponse) => T;
|
|
1135
|
+
amiAggregation: (value: AmiAggregationResponse) => T;
|
|
1136
|
+
awsEcrContainerAggregation: (value: AwsEcrContainerAggregationResponse) => T;
|
|
1137
|
+
ec2InstanceAggregation: (value: Ec2InstanceAggregationResponse) => T;
|
|
1138
|
+
findingTypeAggregation: (value: FindingTypeAggregationResponse) => T;
|
|
1139
|
+
imageLayerAggregation: (value: ImageLayerAggregationResponse) => T;
|
|
1140
|
+
packageAggregation: (value: PackageAggregationResponse) => T;
|
|
1141
|
+
repositoryAggregation: (value: RepositoryAggregationResponse) => T;
|
|
1142
|
+
titleAggregation: (value: TitleAggregationResponse) => T;
|
|
1143
|
+
_: (name: string, value: any) => T;
|
|
1144
|
+
}
|
|
1145
|
+
const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
|
|
1146
|
+
/**
|
|
1147
|
+
* @internal
|
|
1148
|
+
*/
|
|
1149
|
+
const filterSensitiveLog: (obj: AggregationResponse) => any;
|
|
1150
|
+
}
|
|
1151
|
+
export declare enum AggregationType {
|
|
1152
|
+
ACCOUNT = "ACCOUNT",
|
|
1153
|
+
AMI = "AMI",
|
|
1154
|
+
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
1155
|
+
AWS_ECR_CONTAINER = "AWS_ECR_CONTAINER",
|
|
1156
|
+
FINDING_TYPE = "FINDING_TYPE",
|
|
1157
|
+
IMAGE_LAYER = "IMAGE_LAYER",
|
|
1158
|
+
PACKAGE = "PACKAGE",
|
|
1159
|
+
REPOSITORY = "REPOSITORY",
|
|
1160
|
+
TITLE = "TITLE"
|
|
1161
|
+
}
|
|
1162
|
+
export interface AssociateMemberRequest {
|
|
1163
|
+
/**
|
|
1164
|
+
* <p>The Amazon Web Services account ID of the member account to be associated.</p>
|
|
1165
|
+
*/
|
|
1166
|
+
accountId: string | undefined;
|
|
1167
|
+
}
|
|
1168
|
+
export declare namespace AssociateMemberRequest {
|
|
1169
|
+
/**
|
|
1170
|
+
* @internal
|
|
1171
|
+
*/
|
|
1172
|
+
const filterSensitiveLog: (obj: AssociateMemberRequest) => any;
|
|
1173
|
+
}
|
|
1174
|
+
export interface AssociateMemberResponse {
|
|
1175
|
+
/**
|
|
1176
|
+
* <p>The Amazon Web Services account ID of the successfully associated member account.</p>
|
|
1177
|
+
*/
|
|
1178
|
+
accountId: string | undefined;
|
|
1179
|
+
}
|
|
1180
|
+
export declare namespace AssociateMemberResponse {
|
|
1181
|
+
/**
|
|
1182
|
+
* @internal
|
|
1183
|
+
*/
|
|
1184
|
+
const filterSensitiveLog: (obj: AssociateMemberResponse) => any;
|
|
1185
|
+
}
|
|
1186
|
+
/**
|
|
1187
|
+
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
1188
|
+
*/
|
|
1189
|
+
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
1190
|
+
name: "InternalServerException";
|
|
1191
|
+
$fault: "server";
|
|
1192
|
+
$retryable: {};
|
|
1193
|
+
message: string | undefined;
|
|
1194
|
+
/**
|
|
1195
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
1196
|
+
*/
|
|
1197
|
+
retryAfterSeconds?: number;
|
|
1198
|
+
}
|
|
1199
|
+
export declare namespace InternalServerException {
|
|
1200
|
+
/**
|
|
1201
|
+
* @internal
|
|
1202
|
+
*/
|
|
1203
|
+
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
1204
|
+
}
|
|
1205
|
+
/**
|
|
1206
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
1207
|
+
*/
|
|
1208
|
+
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
1209
|
+
name: "ThrottlingException";
|
|
1210
|
+
$fault: "client";
|
|
1211
|
+
message: string | undefined;
|
|
1212
|
+
}
|
|
1213
|
+
export declare namespace ThrottlingException {
|
|
1214
|
+
/**
|
|
1215
|
+
* @internal
|
|
1216
|
+
*/
|
|
1217
|
+
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
* <p>An object that describes a validation exception.</p>
|
|
1221
|
+
*/
|
|
1222
|
+
export interface ValidationExceptionField {
|
|
1223
|
+
/**
|
|
1224
|
+
* <p>The name of the validation exception.</p>
|
|
1225
|
+
*/
|
|
1226
|
+
name: string | undefined;
|
|
1227
|
+
/**
|
|
1228
|
+
* <p>The validation exception message.</p>
|
|
1229
|
+
*/
|
|
1230
|
+
message: string | undefined;
|
|
1231
|
+
}
|
|
1232
|
+
export declare namespace ValidationExceptionField {
|
|
1233
|
+
/**
|
|
1234
|
+
* @internal
|
|
1235
|
+
*/
|
|
1236
|
+
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
1237
|
+
}
|
|
1238
|
+
export declare enum ValidationExceptionReason {
|
|
1239
|
+
CANNOT_PARSE = "CANNOT_PARSE",
|
|
1240
|
+
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
1241
|
+
OTHER = "OTHER"
|
|
1242
|
+
}
|
|
1243
|
+
/**
|
|
1244
|
+
* <p>The request has failed validation due to missing required fields or having invalid
|
|
1245
|
+
* inputs.</p>
|
|
1246
|
+
*/
|
|
1247
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
1248
|
+
name: "ValidationException";
|
|
1249
|
+
$fault: "client";
|
|
1250
|
+
message: string | undefined;
|
|
1251
|
+
/**
|
|
1252
|
+
* <p>The reason for the validation failure.</p>
|
|
1253
|
+
*/
|
|
1254
|
+
reason: ValidationExceptionReason | string | undefined;
|
|
1255
|
+
/**
|
|
1256
|
+
* <p>The fields that failed validation.</p>
|
|
1257
|
+
*/
|
|
1258
|
+
fields?: ValidationExceptionField[];
|
|
1259
|
+
}
|
|
1260
|
+
export declare namespace ValidationException {
|
|
1261
|
+
/**
|
|
1262
|
+
* @internal
|
|
1263
|
+
*/
|
|
1264
|
+
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
1265
|
+
}
|
|
1266
|
+
/**
|
|
1267
|
+
* <p>Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.</p>
|
|
1268
|
+
*/
|
|
1269
|
+
export interface AutoEnable {
|
|
1270
|
+
/**
|
|
1271
|
+
* <p>Represents whether Amazon EC2 scans are automatically enabled for new members of your Amazon Inspector
|
|
1272
|
+
* organization.</p>
|
|
1273
|
+
*/
|
|
1274
|
+
ec2: boolean | undefined;
|
|
1275
|
+
/**
|
|
1276
|
+
* <p>Represents whether Amazon ECR scans are automatically enabled for new members of your Amazon Inspector
|
|
1277
|
+
* organization.</p>
|
|
1278
|
+
*/
|
|
1279
|
+
ecr: boolean | undefined;
|
|
1280
|
+
}
|
|
1281
|
+
export declare namespace AutoEnable {
|
|
1282
|
+
/**
|
|
1283
|
+
* @internal
|
|
1284
|
+
*/
|
|
1285
|
+
const filterSensitiveLog: (obj: AutoEnable) => any;
|
|
1286
|
+
}
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>Details of the Amazon EC2 instance involved in a finding.</p>
|
|
1289
|
+
*/
|
|
1290
|
+
export interface AwsEc2InstanceDetails {
|
|
1291
|
+
/**
|
|
1292
|
+
* <p>The type of the Amazon EC2 instance.</p>
|
|
1293
|
+
*/
|
|
1294
|
+
type?: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* <p>The image ID of the Amazon EC2 instance.</p>
|
|
1297
|
+
*/
|
|
1298
|
+
imageId?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* <p>The IPv4 addresses of the Amazon EC2 instance.</p>
|
|
1301
|
+
*/
|
|
1302
|
+
ipV4Addresses?: string[];
|
|
1303
|
+
/**
|
|
1304
|
+
* <p>The IPv6 addresses of the Amazon EC2 instance.</p>
|
|
1305
|
+
*/
|
|
1306
|
+
ipV6Addresses?: string[];
|
|
1307
|
+
/**
|
|
1308
|
+
* <p>The name of the key pair used to launch the Amazon EC2 instance.</p>
|
|
1309
|
+
*/
|
|
1310
|
+
keyName?: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* <p>The IAM instance profile ARN of the Amazon EC2 instance.</p>
|
|
1313
|
+
*/
|
|
1314
|
+
iamInstanceProfileArn?: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* <p>The VPC ID of the Amazon EC2 instance.</p>
|
|
1317
|
+
*/
|
|
1318
|
+
vpcId?: string;
|
|
1319
|
+
/**
|
|
1320
|
+
* <p>The subnet ID of the Amazon EC2 instance.</p>
|
|
1321
|
+
*/
|
|
1322
|
+
subnetId?: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* <p>The date and time the Amazon EC2 instance was launched at.</p>
|
|
1325
|
+
*/
|
|
1326
|
+
launchedAt?: Date;
|
|
1327
|
+
/**
|
|
1328
|
+
* <p>The platform of the Amazon EC2 instance.</p>
|
|
1329
|
+
*/
|
|
1330
|
+
platform?: string;
|
|
1331
|
+
}
|
|
1332
|
+
export declare namespace AwsEc2InstanceDetails {
|
|
1333
|
+
/**
|
|
1334
|
+
* @internal
|
|
1335
|
+
*/
|
|
1336
|
+
const filterSensitiveLog: (obj: AwsEc2InstanceDetails) => any;
|
|
1337
|
+
}
|
|
1338
|
+
/**
|
|
1339
|
+
* <p>The image details of the Amazon ECR container image.</p>
|
|
1340
|
+
*/
|
|
1341
|
+
export interface AwsEcrContainerImageDetails {
|
|
1342
|
+
/**
|
|
1343
|
+
* <p>The name of the repository the Amazon ECR container image resides in.</p>
|
|
1344
|
+
*/
|
|
1345
|
+
repositoryName: string | undefined;
|
|
1346
|
+
/**
|
|
1347
|
+
* <p>The image tags attached to the Amazon ECR container image.</p>
|
|
1348
|
+
*/
|
|
1349
|
+
imageTags?: string[];
|
|
1350
|
+
/**
|
|
1351
|
+
* <p>The date and time the Amazon ECR container image was pushed.</p>
|
|
1352
|
+
*/
|
|
1353
|
+
pushedAt?: Date;
|
|
1354
|
+
/**
|
|
1355
|
+
* <p>The image author of the Amazon ECR container image.</p>
|
|
1356
|
+
*/
|
|
1357
|
+
author?: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* <p>The architecture of the Amazon ECR container image.</p>
|
|
1360
|
+
*/
|
|
1361
|
+
architecture?: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* <p>The image hash of the Amazon ECR container image.</p>
|
|
1364
|
+
*/
|
|
1365
|
+
imageHash: string | undefined;
|
|
1366
|
+
/**
|
|
1367
|
+
* <p>The registry the Amazon ECR container image belongs to.</p>
|
|
1368
|
+
*/
|
|
1369
|
+
registry: string | undefined;
|
|
1370
|
+
/**
|
|
1371
|
+
* <p>The platform of the Amazon ECR container image.</p>
|
|
1372
|
+
*/
|
|
1373
|
+
platform?: string;
|
|
1374
|
+
}
|
|
1375
|
+
export declare namespace AwsEcrContainerImageDetails {
|
|
1376
|
+
/**
|
|
1377
|
+
* @internal
|
|
1378
|
+
*/
|
|
1379
|
+
const filterSensitiveLog: (obj: AwsEcrContainerImageDetails) => any;
|
|
1380
|
+
}
|
|
1381
|
+
/**
|
|
1382
|
+
* <p>One or more tags submitted as part of the request is not valid.</p>
|
|
1383
|
+
*/
|
|
1384
|
+
export interface BadRequestException extends __SmithyException, $MetadataBearer {
|
|
1385
|
+
name: "BadRequestException";
|
|
1386
|
+
$fault: "client";
|
|
1387
|
+
message: string | undefined;
|
|
1388
|
+
}
|
|
1389
|
+
export declare namespace BadRequestException {
|
|
1390
|
+
/**
|
|
1391
|
+
* @internal
|
|
1392
|
+
*/
|
|
1393
|
+
const filterSensitiveLog: (obj: BadRequestException) => any;
|
|
1394
|
+
}
|
|
1395
|
+
export interface BatchGetAccountStatusRequest {
|
|
1396
|
+
/**
|
|
1397
|
+
* <p>The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.</p>
|
|
1398
|
+
*/
|
|
1399
|
+
accountIds?: string[];
|
|
1400
|
+
}
|
|
1401
|
+
export declare namespace BatchGetAccountStatusRequest {
|
|
1402
|
+
/**
|
|
1403
|
+
* @internal
|
|
1404
|
+
*/
|
|
1405
|
+
const filterSensitiveLog: (obj: BatchGetAccountStatusRequest) => any;
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* <p>An object with details on why an account failed to enable Amazon Inspector.</p>
|
|
1409
|
+
*/
|
|
1410
|
+
export interface FailedAccount {
|
|
1411
|
+
/**
|
|
1412
|
+
* <p>The Amazon Web Services account ID.</p>
|
|
1413
|
+
*/
|
|
1414
|
+
accountId: string | undefined;
|
|
1415
|
+
/**
|
|
1416
|
+
* <p>The status of Amazon Inspector for the account.</p>
|
|
1417
|
+
*/
|
|
1418
|
+
status?: Status | string;
|
|
1419
|
+
/**
|
|
1420
|
+
* <p>An object detailing which resources Amazon Inspector is enabled to scan for the account.</p>
|
|
1421
|
+
*/
|
|
1422
|
+
resourceStatus?: ResourceStatus;
|
|
1423
|
+
/**
|
|
1424
|
+
* <p>The error code explaining why the account failed to enable Amazon Inspector.</p>
|
|
1425
|
+
*/
|
|
1426
|
+
errorCode: ErrorCode | string | undefined;
|
|
1427
|
+
/**
|
|
1428
|
+
* <p>The error message received when the account failed to enable Amazon Inspector.</p>
|
|
1429
|
+
*/
|
|
1430
|
+
errorMessage: string | undefined;
|
|
1431
|
+
}
|
|
1432
|
+
export declare namespace FailedAccount {
|
|
1433
|
+
/**
|
|
1434
|
+
* @internal
|
|
1435
|
+
*/
|
|
1436
|
+
const filterSensitiveLog: (obj: FailedAccount) => any;
|
|
1437
|
+
}
|
|
1438
|
+
export interface BatchGetAccountStatusResponse {
|
|
1439
|
+
/**
|
|
1440
|
+
* <p>An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.</p>
|
|
1441
|
+
*/
|
|
1442
|
+
accounts: AccountState[] | undefined;
|
|
1443
|
+
/**
|
|
1444
|
+
* <p>An array of objects detailing any accounts that failed to enable Amazon Inspector and why.</p>
|
|
1445
|
+
*/
|
|
1446
|
+
failedAccounts?: FailedAccount[];
|
|
1447
|
+
}
|
|
1448
|
+
export declare namespace BatchGetAccountStatusResponse {
|
|
1449
|
+
/**
|
|
1450
|
+
* @internal
|
|
1451
|
+
*/
|
|
1452
|
+
const filterSensitiveLog: (obj: BatchGetAccountStatusResponse) => any;
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
1456
|
+
*/
|
|
1457
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
1458
|
+
name: "ResourceNotFoundException";
|
|
1459
|
+
$fault: "client";
|
|
1460
|
+
message: string | undefined;
|
|
1461
|
+
}
|
|
1462
|
+
export declare namespace ResourceNotFoundException {
|
|
1463
|
+
/**
|
|
1464
|
+
* @internal
|
|
1465
|
+
*/
|
|
1466
|
+
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
1467
|
+
}
|
|
1468
|
+
export interface BatchGetFreeTrialInfoRequest {
|
|
1469
|
+
/**
|
|
1470
|
+
* <p>The account IDs to get free trial status for.</p>
|
|
1471
|
+
*/
|
|
1472
|
+
accountIds: string[] | undefined;
|
|
1473
|
+
}
|
|
1474
|
+
export declare namespace BatchGetFreeTrialInfoRequest {
|
|
1475
|
+
/**
|
|
1476
|
+
* @internal
|
|
1477
|
+
*/
|
|
1478
|
+
const filterSensitiveLog: (obj: BatchGetFreeTrialInfoRequest) => any;
|
|
1479
|
+
}
|
|
1480
|
+
export declare enum FreeTrialStatus {
|
|
1481
|
+
ACTIVE = "ACTIVE",
|
|
1482
|
+
INACTIVE = "INACTIVE"
|
|
1483
|
+
}
|
|
1484
|
+
export declare enum FreeTrialType {
|
|
1485
|
+
EC2 = "EC2",
|
|
1486
|
+
ECR = "ECR"
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
* <p>An object that contains information about the Amazon Inspector free trial for an account.</p>
|
|
1490
|
+
*/
|
|
1491
|
+
export interface FreeTrialInfo {
|
|
1492
|
+
/**
|
|
1493
|
+
* <p>The type of scan covered by the Amazon Inspector free trail.</p>
|
|
1494
|
+
*/
|
|
1495
|
+
type: FreeTrialType | string | undefined;
|
|
1496
|
+
/**
|
|
1497
|
+
* <p>The date and time that the Amazon Inspector free trail started for a given account.</p>
|
|
1498
|
+
*/
|
|
1499
|
+
start: Date | undefined;
|
|
1500
|
+
/**
|
|
1501
|
+
* <p>The date and time that the Amazon Inspector free trail ends for a given account.</p>
|
|
1502
|
+
*/
|
|
1503
|
+
end: Date | undefined;
|
|
1504
|
+
/**
|
|
1505
|
+
* <p>The order to sort results by.</p>
|
|
1506
|
+
*/
|
|
1507
|
+
status: FreeTrialStatus | string | undefined;
|
|
1508
|
+
}
|
|
1509
|
+
export declare namespace FreeTrialInfo {
|
|
1510
|
+
/**
|
|
1511
|
+
* @internal
|
|
1512
|
+
*/
|
|
1513
|
+
const filterSensitiveLog: (obj: FreeTrialInfo) => any;
|
|
1514
|
+
}
|
|
1515
|
+
/**
|
|
1516
|
+
* <p>Information about the Amazon Inspector free trial for an account.</p>
|
|
1517
|
+
*/
|
|
1518
|
+
export interface FreeTrialAccountInfo {
|
|
1519
|
+
/**
|
|
1520
|
+
* <p>The account associated with the Amazon Inspector free trial information.</p>
|
|
1521
|
+
*/
|
|
1522
|
+
accountId: string | undefined;
|
|
1523
|
+
/**
|
|
1524
|
+
* <p>Contains information about the Amazon Inspector free trial for an account.</p>
|
|
1525
|
+
*/
|
|
1526
|
+
freeTrialInfo: FreeTrialInfo[] | undefined;
|
|
1527
|
+
}
|
|
1528
|
+
export declare namespace FreeTrialAccountInfo {
|
|
1529
|
+
/**
|
|
1530
|
+
* @internal
|
|
1531
|
+
*/
|
|
1532
|
+
const filterSensitiveLog: (obj: FreeTrialAccountInfo) => any;
|
|
1533
|
+
}
|
|
1534
|
+
export declare enum FreeTrialInfoErrorCode {
|
|
1535
|
+
ACCESS_DENIED = "ACCESS_DENIED",
|
|
1536
|
+
INTERNAL_ERROR = "INTERNAL_ERROR"
|
|
1537
|
+
}
|
|
1538
|
+
/**
|
|
1539
|
+
* <p>Information about an error received while accessing free trail data for an account.</p>
|
|
1540
|
+
*/
|
|
1541
|
+
export interface FreeTrialInfoError {
|
|
1542
|
+
/**
|
|
1543
|
+
* <p>The account associated with the Amazon Inspector free trial information.</p>
|
|
1544
|
+
*/
|
|
1545
|
+
accountId: string | undefined;
|
|
1546
|
+
/**
|
|
1547
|
+
* <p>The error code.</p>
|
|
1548
|
+
*/
|
|
1549
|
+
code: FreeTrialInfoErrorCode | string | undefined;
|
|
1550
|
+
/**
|
|
1551
|
+
* <p>The error message returned.</p>
|
|
1552
|
+
*/
|
|
1553
|
+
message: string | undefined;
|
|
1554
|
+
}
|
|
1555
|
+
export declare namespace FreeTrialInfoError {
|
|
1556
|
+
/**
|
|
1557
|
+
* @internal
|
|
1558
|
+
*/
|
|
1559
|
+
const filterSensitiveLog: (obj: FreeTrialInfoError) => any;
|
|
1560
|
+
}
|
|
1561
|
+
export interface BatchGetFreeTrialInfoResponse {
|
|
1562
|
+
/**
|
|
1563
|
+
* <p>An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
|
|
1564
|
+
* </p>
|
|
1565
|
+
*/
|
|
1566
|
+
accounts: FreeTrialAccountInfo[] | undefined;
|
|
1567
|
+
/**
|
|
1568
|
+
* <p>An array of objects detailing any accounts that free trial data could not be returned for.</p>
|
|
1569
|
+
*/
|
|
1570
|
+
failedAccounts: FreeTrialInfoError[] | undefined;
|
|
1571
|
+
}
|
|
1572
|
+
export declare namespace BatchGetFreeTrialInfoResponse {
|
|
1573
|
+
/**
|
|
1574
|
+
* @internal
|
|
1575
|
+
*/
|
|
1576
|
+
const filterSensitiveLog: (obj: BatchGetFreeTrialInfoResponse) => any;
|
|
1577
|
+
}
|
|
1578
|
+
export interface CancelFindingsReportRequest {
|
|
1579
|
+
/**
|
|
1580
|
+
* <p>The ID of the report to be canceled.</p>
|
|
1581
|
+
*/
|
|
1582
|
+
reportId: string | undefined;
|
|
1583
|
+
}
|
|
1584
|
+
export declare namespace CancelFindingsReportRequest {
|
|
1585
|
+
/**
|
|
1586
|
+
* @internal
|
|
1587
|
+
*/
|
|
1588
|
+
const filterSensitiveLog: (obj: CancelFindingsReportRequest) => any;
|
|
1589
|
+
}
|
|
1590
|
+
export interface CancelFindingsReportResponse {
|
|
1591
|
+
/**
|
|
1592
|
+
* <p>The ID of the canceled report.</p>
|
|
1593
|
+
*/
|
|
1594
|
+
reportId: string | undefined;
|
|
1595
|
+
}
|
|
1596
|
+
export declare namespace CancelFindingsReportResponse {
|
|
1597
|
+
/**
|
|
1598
|
+
* @internal
|
|
1599
|
+
*/
|
|
1600
|
+
const filterSensitiveLog: (obj: CancelFindingsReportResponse) => any;
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* <p>A conflict occurred.</p>
|
|
1604
|
+
*/
|
|
1605
|
+
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
1606
|
+
name: "ConflictException";
|
|
1607
|
+
$fault: "client";
|
|
1608
|
+
message: string | undefined;
|
|
1609
|
+
/**
|
|
1610
|
+
* <p>The ID of the conflicting resource.</p>
|
|
1611
|
+
*/
|
|
1612
|
+
resourceId: string | undefined;
|
|
1613
|
+
/**
|
|
1614
|
+
* <p>The type of the conflicting resource.</p>
|
|
1615
|
+
*/
|
|
1616
|
+
resourceType: string | undefined;
|
|
1617
|
+
}
|
|
1618
|
+
export declare namespace ConflictException {
|
|
1619
|
+
/**
|
|
1620
|
+
* @internal
|
|
1621
|
+
*/
|
|
1622
|
+
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
1623
|
+
}
|
|
1624
|
+
export declare enum GroupKey {
|
|
1625
|
+
ACCOUNT_ID = "ACCOUNT_ID",
|
|
1626
|
+
ECR_REPOSITORY_NAME = "ECR_REPOSITORY_NAME",
|
|
1627
|
+
RESOURCE_TYPE = "RESOURCE_TYPE",
|
|
1628
|
+
SCAN_STATUS_CODE = "SCAN_STATUS_CODE",
|
|
1629
|
+
SCAN_STATUS_REASON = "SCAN_STATUS_REASON"
|
|
1630
|
+
}
|
|
1631
|
+
/**
|
|
1632
|
+
* <p>a structure that contains information on the count of resources within a group.</p>
|
|
1633
|
+
*/
|
|
1634
|
+
export interface Counts {
|
|
1635
|
+
/**
|
|
1636
|
+
* <p>The number of resources.</p>
|
|
1637
|
+
*/
|
|
1638
|
+
count?: number;
|
|
1639
|
+
/**
|
|
1640
|
+
* <p>The key associated with this group</p>
|
|
1641
|
+
*/
|
|
1642
|
+
groupKey?: GroupKey | string;
|
|
1643
|
+
}
|
|
1644
|
+
export declare namespace Counts {
|
|
1645
|
+
/**
|
|
1646
|
+
* @internal
|
|
1647
|
+
*/
|
|
1648
|
+
const filterSensitiveLog: (obj: Counts) => any;
|
|
1649
|
+
}
|
|
1650
|
+
export declare enum CoverageStringComparison {
|
|
1651
|
+
EQUALS = "EQUALS",
|
|
1652
|
+
NOT_EQUALS = "NOT_EQUALS"
|
|
1653
|
+
}
|
|
1654
|
+
/**
|
|
1655
|
+
* <p>Contains details of a coverage string filter.</p>
|
|
1656
|
+
*/
|
|
1657
|
+
export interface CoverageStringFilter {
|
|
1658
|
+
/**
|
|
1659
|
+
* <p>The operator to compare strings on.</p>
|
|
1660
|
+
*/
|
|
1661
|
+
comparison: CoverageStringComparison | string | undefined;
|
|
1662
|
+
/**
|
|
1663
|
+
* <p>The value to compare strings on.</p>
|
|
1664
|
+
*/
|
|
1665
|
+
value: string | undefined;
|
|
1666
|
+
}
|
|
1667
|
+
export declare namespace CoverageStringFilter {
|
|
1668
|
+
/**
|
|
1669
|
+
* @internal
|
|
1670
|
+
*/
|
|
1671
|
+
const filterSensitiveLog: (obj: CoverageStringFilter) => any;
|
|
1672
|
+
}
|
|
1673
|
+
export declare enum CoverageMapComparison {
|
|
1674
|
+
EQUALS = "EQUALS"
|
|
1675
|
+
}
|
|
1676
|
+
/**
|
|
1677
|
+
* <p>Contains details of a coverage map filter.</p>
|
|
1678
|
+
*/
|
|
1679
|
+
export interface CoverageMapFilter {
|
|
1680
|
+
/**
|
|
1681
|
+
* <p>The operator to compare coverage on.</p>
|
|
1682
|
+
*/
|
|
1683
|
+
comparison: CoverageMapComparison | string | undefined;
|
|
1684
|
+
/**
|
|
1685
|
+
* <p>The tag key associated with the coverage map filter.</p>
|
|
1686
|
+
*/
|
|
1687
|
+
key: string | undefined;
|
|
1688
|
+
/**
|
|
1689
|
+
* <p>The tag value associated with the coverage map filter.</p>
|
|
1690
|
+
*/
|
|
1691
|
+
value?: string;
|
|
1692
|
+
}
|
|
1693
|
+
export declare namespace CoverageMapFilter {
|
|
1694
|
+
/**
|
|
1695
|
+
* @internal
|
|
1696
|
+
*/
|
|
1697
|
+
const filterSensitiveLog: (obj: CoverageMapFilter) => any;
|
|
1698
|
+
}
|
|
1699
|
+
/**
|
|
1700
|
+
* <p>A structure that identifies filter criteria for <code>GetCoverageStatistics</code>.</p>
|
|
1701
|
+
*/
|
|
1702
|
+
export interface CoverageFilterCriteria {
|
|
1703
|
+
/**
|
|
1704
|
+
* <p>The scan status code to filter on.</p>
|
|
1705
|
+
*/
|
|
1706
|
+
scanStatusCode?: CoverageStringFilter[];
|
|
1707
|
+
/**
|
|
1708
|
+
* <p>The scan status reason to filter on.</p>
|
|
1709
|
+
*/
|
|
1710
|
+
scanStatusReason?: CoverageStringFilter[];
|
|
1711
|
+
/**
|
|
1712
|
+
* <p>An array of Amazon Web Services account IDs to return coverage statistics for.</p>
|
|
1713
|
+
*/
|
|
1714
|
+
accountId?: CoverageStringFilter[];
|
|
1715
|
+
/**
|
|
1716
|
+
* <p>An array of Amazon Web Services resource IDs to return coverage statistics for.</p>
|
|
1717
|
+
*/
|
|
1718
|
+
resourceId?: CoverageStringFilter[];
|
|
1719
|
+
/**
|
|
1720
|
+
* <p>An array of Amazon Web Services resource types to return coverage statistics for.</p>
|
|
1721
|
+
*/
|
|
1722
|
+
resourceType?: CoverageStringFilter[];
|
|
1723
|
+
/**
|
|
1724
|
+
* <p>An array of Amazon Inspector scan types to return coverage statistics for.</p>
|
|
1725
|
+
*/
|
|
1726
|
+
scanType?: CoverageStringFilter[];
|
|
1727
|
+
/**
|
|
1728
|
+
* <p>The Amazon ECR repository name to filter on.</p>
|
|
1729
|
+
*/
|
|
1730
|
+
ecrRepositoryName?: CoverageStringFilter[];
|
|
1731
|
+
/**
|
|
1732
|
+
* <p>The Amazon ECR image tags to filter on.</p>
|
|
1733
|
+
*/
|
|
1734
|
+
ecrImageTags?: CoverageStringFilter[];
|
|
1735
|
+
/**
|
|
1736
|
+
* <p>The Amazon EC2 instance tags to filter on.</p>
|
|
1737
|
+
*/
|
|
1738
|
+
ec2InstanceTags?: CoverageMapFilter[];
|
|
1739
|
+
}
|
|
1740
|
+
export declare namespace CoverageFilterCriteria {
|
|
1741
|
+
/**
|
|
1742
|
+
* @internal
|
|
1743
|
+
*/
|
|
1744
|
+
const filterSensitiveLog: (obj: CoverageFilterCriteria) => any;
|
|
1745
|
+
}
|
|
1746
|
+
export declare enum CoverageResourceType {
|
|
1747
|
+
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
1748
|
+
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
|
|
1749
|
+
AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY"
|
|
1750
|
+
}
|
|
1751
|
+
export declare enum Ec2Platform {
|
|
1752
|
+
LINUX = "LINUX",
|
|
1753
|
+
UNKNOWN = "UNKNOWN",
|
|
1754
|
+
WINDOWS = "WINDOWS"
|
|
1755
|
+
}
|
|
1756
|
+
/**
|
|
1757
|
+
* <p>Meta data details of an Amazon EC2 instance.</p>
|
|
1758
|
+
*/
|
|
1759
|
+
export interface Ec2Metadata {
|
|
1760
|
+
/**
|
|
1761
|
+
* <p>The tags attached to the instance.</p>
|
|
1762
|
+
*/
|
|
1763
|
+
tags?: {
|
|
1764
|
+
[key: string]: string;
|
|
1765
|
+
};
|
|
1766
|
+
/**
|
|
1767
|
+
* <p>The ID of the Amazon Machine Image (AMI) used to launch the instance.</p>
|
|
1768
|
+
*/
|
|
1769
|
+
amiId?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
* <p>The platform of the instance.</p>
|
|
1772
|
+
*/
|
|
1773
|
+
platform?: Ec2Platform | string;
|
|
1774
|
+
}
|
|
1775
|
+
export declare namespace Ec2Metadata {
|
|
1776
|
+
/**
|
|
1777
|
+
* @internal
|
|
1778
|
+
*/
|
|
1779
|
+
const filterSensitiveLog: (obj: Ec2Metadata) => any;
|
|
1780
|
+
}
|
|
1781
|
+
/**
|
|
1782
|
+
* <p>Information on the Amazon ECR image metadata associated with a finding.</p>
|
|
1783
|
+
*/
|
|
1784
|
+
export interface EcrContainerImageMetadata {
|
|
1785
|
+
/**
|
|
1786
|
+
* <p>Tags associated with the Amazon ECR image metadata.</p>
|
|
1787
|
+
*/
|
|
1788
|
+
tags?: string[];
|
|
1789
|
+
}
|
|
1790
|
+
export declare namespace EcrContainerImageMetadata {
|
|
1791
|
+
/**
|
|
1792
|
+
* @internal
|
|
1793
|
+
*/
|
|
1794
|
+
const filterSensitiveLog: (obj: EcrContainerImageMetadata) => any;
|
|
1795
|
+
}
|
|
1796
|
+
export declare enum EcrScanFrequency {
|
|
1797
|
+
CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
|
|
1798
|
+
MANUAL = "MANUAL",
|
|
1799
|
+
SCAN_ON_PUSH = "SCAN_ON_PUSH"
|
|
1800
|
+
}
|
|
1801
|
+
/**
|
|
1802
|
+
* <p>Information on the Amazon ECR repository metadata associated with a finding.</p>
|
|
1803
|
+
*/
|
|
1804
|
+
export interface EcrRepositoryMetadata {
|
|
1805
|
+
/**
|
|
1806
|
+
* <p>The name of the Amazon ECR repository.</p>
|
|
1807
|
+
*/
|
|
1808
|
+
name?: string;
|
|
1809
|
+
/**
|
|
1810
|
+
* <p>The frequency of scans.</p>
|
|
1811
|
+
*/
|
|
1812
|
+
scanFrequency?: EcrScanFrequency | string;
|
|
1813
|
+
}
|
|
1814
|
+
export declare namespace EcrRepositoryMetadata {
|
|
1815
|
+
/**
|
|
1816
|
+
* @internal
|
|
1817
|
+
*/
|
|
1818
|
+
const filterSensitiveLog: (obj: EcrRepositoryMetadata) => any;
|
|
1819
|
+
}
|
|
1820
|
+
/**
|
|
1821
|
+
* <p>An object that contains details about the metadata for an Amazon ECR resource.</p>
|
|
1822
|
+
*/
|
|
1823
|
+
export interface ResourceScanMetadata {
|
|
1824
|
+
/**
|
|
1825
|
+
* <p>An object that contains details about the repository an Amazon ECR image resides in.</p>
|
|
1826
|
+
*/
|
|
1827
|
+
ecrRepository?: EcrRepositoryMetadata;
|
|
1828
|
+
/**
|
|
1829
|
+
* <p>An object that contains details about the container metadata for an Amazon ECR image.</p>
|
|
1830
|
+
*/
|
|
1831
|
+
ecrImage?: EcrContainerImageMetadata;
|
|
1832
|
+
/**
|
|
1833
|
+
* <p>An object that contains metadata details for an Amazon EC2 instance.</p>
|
|
1834
|
+
*/
|
|
1835
|
+
ec2?: Ec2Metadata;
|
|
1836
|
+
}
|
|
1837
|
+
export declare namespace ResourceScanMetadata {
|
|
1838
|
+
/**
|
|
1839
|
+
* @internal
|
|
1840
|
+
*/
|
|
1841
|
+
const filterSensitiveLog: (obj: ResourceScanMetadata) => any;
|
|
1842
|
+
}
|
|
1843
|
+
export declare enum ScanStatusReason {
|
|
1844
|
+
ACCESS_DENIED = "ACCESS_DENIED",
|
|
1845
|
+
EC2_INSTANCE_STOPPED = "EC2_INSTANCE_STOPPED",
|
|
1846
|
+
IMAGE_SIZE_EXCEEDED = "IMAGE_SIZE_EXCEEDED",
|
|
1847
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
1848
|
+
NO_RESOURCES_FOUND = "NO_RESOURCES_FOUND",
|
|
1849
|
+
PENDING_INITIAL_SCAN = "PENDING_INITIAL_SCAN",
|
|
1850
|
+
RESOURCE_TERMINATED = "RESOURCE_TERMINATED",
|
|
1851
|
+
SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
|
|
1852
|
+
SCAN_FREQUENCY_MANUAL = "SCAN_FREQUENCY_MANUAL",
|
|
1853
|
+
SCAN_FREQUENCY_SCAN_ON_PUSH = "SCAN_FREQUENCY_SCAN_ON_PUSH",
|
|
1854
|
+
SUCCESSFUL = "SUCCESSFUL",
|
|
1855
|
+
UNMANAGED_EC2_INSTANCE = "UNMANAGED_EC2_INSTANCE",
|
|
1856
|
+
UNSUPPORTED_OS = "UNSUPPORTED_OS"
|
|
1857
|
+
}
|
|
1858
|
+
export declare enum ScanStatusCode {
|
|
1859
|
+
ACTIVE = "ACTIVE",
|
|
1860
|
+
INACTIVE = "INACTIVE"
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* <p>The status of the scan.</p>
|
|
1864
|
+
*/
|
|
1865
|
+
export interface ScanStatus {
|
|
1866
|
+
/**
|
|
1867
|
+
* <p>The status code of the scan.</p>
|
|
1868
|
+
*/
|
|
1869
|
+
statusCode: ScanStatusCode | string | undefined;
|
|
1870
|
+
/**
|
|
1871
|
+
* <p>The reason for the scan.</p>
|
|
1872
|
+
*/
|
|
1873
|
+
reason: ScanStatusReason | string | undefined;
|
|
1874
|
+
}
|
|
1875
|
+
export declare namespace ScanStatus {
|
|
1876
|
+
/**
|
|
1877
|
+
* @internal
|
|
1878
|
+
*/
|
|
1879
|
+
const filterSensitiveLog: (obj: ScanStatus) => any;
|
|
1880
|
+
}
|
|
1881
|
+
export declare enum ScanType {
|
|
1882
|
+
NETWORK = "NETWORK",
|
|
1883
|
+
PACKAGE = "PACKAGE"
|
|
1884
|
+
}
|
|
1885
|
+
/**
|
|
1886
|
+
* <p>An object that contains details about a resource covered by Amazon Inspector.</p>
|
|
1887
|
+
*/
|
|
1888
|
+
export interface CoveredResource {
|
|
1889
|
+
/**
|
|
1890
|
+
* <p>The type of the covered resource.</p>
|
|
1891
|
+
*/
|
|
1892
|
+
resourceType: CoverageResourceType | string | undefined;
|
|
1893
|
+
/**
|
|
1894
|
+
* <p>The ID of the covered resource.</p>
|
|
1895
|
+
*/
|
|
1896
|
+
resourceId: string | undefined;
|
|
1897
|
+
/**
|
|
1898
|
+
* <p>The Amazon Web Services account ID of the covered resource.</p>
|
|
1899
|
+
*/
|
|
1900
|
+
accountId: string | undefined;
|
|
1901
|
+
/**
|
|
1902
|
+
* <p>The Amazon Inspector scan type covering the resource.</p>
|
|
1903
|
+
*/
|
|
1904
|
+
scanType: ScanType | string | undefined;
|
|
1905
|
+
/**
|
|
1906
|
+
* <p>The status of the scan covering the resource.</p>
|
|
1907
|
+
*/
|
|
1908
|
+
scanStatus?: ScanStatus;
|
|
1909
|
+
/**
|
|
1910
|
+
* <p>An object that contains details about the metadata.</p>
|
|
1911
|
+
*/
|
|
1912
|
+
resourceMetadata?: ResourceScanMetadata;
|
|
1913
|
+
}
|
|
1914
|
+
export declare namespace CoveredResource {
|
|
1915
|
+
/**
|
|
1916
|
+
* @internal
|
|
1917
|
+
*/
|
|
1918
|
+
const filterSensitiveLog: (obj: CoveredResource) => any;
|
|
1919
|
+
}
|
|
1920
|
+
export declare enum FilterAction {
|
|
1921
|
+
NONE = "NONE",
|
|
1922
|
+
SUPPRESS = "SUPPRESS"
|
|
1923
|
+
}
|
|
1924
|
+
/**
|
|
1925
|
+
* <p>Contains details on the time range used to filter findings.</p>
|
|
1926
|
+
*/
|
|
1927
|
+
export interface DateFilter {
|
|
1928
|
+
/**
|
|
1929
|
+
* <p>A timestamp representing the start of the time period filtered on.</p>
|
|
1930
|
+
*/
|
|
1931
|
+
startInclusive?: Date;
|
|
1932
|
+
/**
|
|
1933
|
+
* <p>A timestamp representing the end of the time period filtered on.</p>
|
|
1934
|
+
*/
|
|
1935
|
+
endInclusive?: Date;
|
|
1936
|
+
}
|
|
1937
|
+
export declare namespace DateFilter {
|
|
1938
|
+
/**
|
|
1939
|
+
* @internal
|
|
1940
|
+
*/
|
|
1941
|
+
const filterSensitiveLog: (obj: DateFilter) => any;
|
|
1942
|
+
}
|
|
1943
|
+
/**
|
|
1944
|
+
* <p>An object that describes the details of a number filter.</p>
|
|
1945
|
+
*/
|
|
1946
|
+
export interface NumberFilter {
|
|
1947
|
+
/**
|
|
1948
|
+
* <p>The highest number to be included in the filter.</p>
|
|
1949
|
+
*/
|
|
1950
|
+
upperInclusive?: number;
|
|
1951
|
+
/**
|
|
1952
|
+
* <p>The lowest number to be included in the filter.</p>
|
|
1953
|
+
*/
|
|
1954
|
+
lowerInclusive?: number;
|
|
1955
|
+
}
|
|
1956
|
+
export declare namespace NumberFilter {
|
|
1957
|
+
/**
|
|
1958
|
+
* @internal
|
|
1959
|
+
*/
|
|
1960
|
+
const filterSensitiveLog: (obj: NumberFilter) => any;
|
|
1961
|
+
}
|
|
1962
|
+
/**
|
|
1963
|
+
* <p>An object that describes the details of a port range filter.</p>
|
|
1964
|
+
*/
|
|
1965
|
+
export interface PortRangeFilter {
|
|
1966
|
+
/**
|
|
1967
|
+
* <p>The port number the port range begins at.</p>
|
|
1968
|
+
*/
|
|
1969
|
+
beginInclusive?: number;
|
|
1970
|
+
/**
|
|
1971
|
+
* <p>The port number the port range ends at.</p>
|
|
1972
|
+
*/
|
|
1973
|
+
endInclusive?: number;
|
|
1974
|
+
}
|
|
1975
|
+
export declare namespace PortRangeFilter {
|
|
1976
|
+
/**
|
|
1977
|
+
* @internal
|
|
1978
|
+
*/
|
|
1979
|
+
const filterSensitiveLog: (obj: PortRangeFilter) => any;
|
|
1980
|
+
}
|
|
1981
|
+
/**
|
|
1982
|
+
* <p>Contains information on the details of a package filter.</p>
|
|
1983
|
+
*/
|
|
1984
|
+
export interface PackageFilter {
|
|
1985
|
+
/**
|
|
1986
|
+
* <p>An object that contains details on the name of the package to filter on.</p>
|
|
1987
|
+
*/
|
|
1988
|
+
name?: StringFilter;
|
|
1989
|
+
/**
|
|
1990
|
+
* <p>The package version to filter on.</p>
|
|
1991
|
+
*/
|
|
1992
|
+
version?: StringFilter;
|
|
1993
|
+
/**
|
|
1994
|
+
* <p>An object that contains details on the package epoch to filter on.</p>
|
|
1995
|
+
*/
|
|
1996
|
+
epoch?: NumberFilter;
|
|
1997
|
+
/**
|
|
1998
|
+
* <p>An object that contains details on the package release to filter on.</p>
|
|
1999
|
+
*/
|
|
2000
|
+
release?: StringFilter;
|
|
2001
|
+
/**
|
|
2002
|
+
* <p>An object that contains details on the package architecture type to filter on.</p>
|
|
2003
|
+
*/
|
|
2004
|
+
architecture?: StringFilter;
|
|
2005
|
+
/**
|
|
2006
|
+
* <p>An object that contains details on the source layer hash to filter on.</p>
|
|
2007
|
+
*/
|
|
2008
|
+
sourceLayerHash?: StringFilter;
|
|
2009
|
+
}
|
|
2010
|
+
export declare namespace PackageFilter {
|
|
2011
|
+
/**
|
|
2012
|
+
* @internal
|
|
2013
|
+
*/
|
|
2014
|
+
const filterSensitiveLog: (obj: PackageFilter) => any;
|
|
2015
|
+
}
|
|
2016
|
+
/**
|
|
2017
|
+
* <p>Details on the criteria used to define the filter.</p>
|
|
2018
|
+
*/
|
|
2019
|
+
export interface FilterCriteria {
|
|
2020
|
+
/**
|
|
2021
|
+
* <p>Details on the finding ARNs used to filter findings.</p>
|
|
2022
|
+
*/
|
|
2023
|
+
findingArn?: StringFilter[];
|
|
2024
|
+
/**
|
|
2025
|
+
* <p>Details of the Amazon Web Services account IDs used to filter findings.</p>
|
|
2026
|
+
*/
|
|
2027
|
+
awsAccountId?: StringFilter[];
|
|
2028
|
+
/**
|
|
2029
|
+
* <p>Details on the finding types used to filter findings.</p>
|
|
2030
|
+
*/
|
|
2031
|
+
findingType?: StringFilter[];
|
|
2032
|
+
/**
|
|
2033
|
+
* <p>Details on the severity used to filter findings.</p>
|
|
2034
|
+
*/
|
|
2035
|
+
severity?: StringFilter[];
|
|
2036
|
+
/**
|
|
2037
|
+
* <p>Details on the date and time a finding was first seen used to filter findings.</p>
|
|
2038
|
+
*/
|
|
2039
|
+
firstObservedAt?: DateFilter[];
|
|
2040
|
+
/**
|
|
2041
|
+
* <p>Details on the date and time a finding was last seen used to filter findings.</p>
|
|
2042
|
+
*/
|
|
2043
|
+
lastObservedAt?: DateFilter[];
|
|
2044
|
+
/**
|
|
2045
|
+
* <p>Details on the date and time a finding was last updated at used to filter findings.</p>
|
|
2046
|
+
*/
|
|
2047
|
+
updatedAt?: DateFilter[];
|
|
2048
|
+
/**
|
|
2049
|
+
* <p>Details on the finding status types used to filter findings.</p>
|
|
2050
|
+
*/
|
|
2051
|
+
findingStatus?: StringFilter[];
|
|
2052
|
+
/**
|
|
2053
|
+
* <p>Details on the finding title used to filter findings.</p>
|
|
2054
|
+
*/
|
|
2055
|
+
title?: StringFilter[];
|
|
2056
|
+
/**
|
|
2057
|
+
* <p>The Amazon Inspector score to filter on.</p>
|
|
2058
|
+
*/
|
|
2059
|
+
inspectorScore?: NumberFilter[];
|
|
2060
|
+
/**
|
|
2061
|
+
* <p>Details on the resource types used to filter findings.</p>
|
|
2062
|
+
*/
|
|
2063
|
+
resourceType?: StringFilter[];
|
|
2064
|
+
/**
|
|
2065
|
+
* <p>Details on the resource IDs used to filter findings.</p>
|
|
2066
|
+
*/
|
|
2067
|
+
resourceId?: StringFilter[];
|
|
2068
|
+
/**
|
|
2069
|
+
* <p>Details on the resource tags used to filter findings.</p>
|
|
2070
|
+
*/
|
|
2071
|
+
resourceTags?: MapFilter[];
|
|
2072
|
+
/**
|
|
2073
|
+
* <p>Details of the Amazon EC2 instance image IDs used to filter findings.</p>
|
|
2074
|
+
*/
|
|
2075
|
+
ec2InstanceImageId?: StringFilter[];
|
|
2076
|
+
/**
|
|
2077
|
+
* <p>Details of the Amazon EC2 instance VPC IDs used to filter findings.</p>
|
|
2078
|
+
*/
|
|
2079
|
+
ec2InstanceVpcId?: StringFilter[];
|
|
2080
|
+
/**
|
|
2081
|
+
* <p>Details of the Amazon EC2 instance subnet IDs used to filter findings.</p>
|
|
2082
|
+
*/
|
|
2083
|
+
ec2InstanceSubnetId?: StringFilter[];
|
|
2084
|
+
/**
|
|
2085
|
+
* <p>Details on the Amazon ECR image push date and time used to filter findings.</p>
|
|
2086
|
+
*/
|
|
2087
|
+
ecrImagePushedAt?: DateFilter[];
|
|
2088
|
+
/**
|
|
2089
|
+
* <p>Details of the Amazon ECR image architecture types used to filter findings.</p>
|
|
2090
|
+
*/
|
|
2091
|
+
ecrImageArchitecture?: StringFilter[];
|
|
2092
|
+
/**
|
|
2093
|
+
* <p>Details on the Amazon ECR registry used to filter findings.</p>
|
|
2094
|
+
*/
|
|
2095
|
+
ecrImageRegistry?: StringFilter[];
|
|
2096
|
+
/**
|
|
2097
|
+
* <p>Details on the name of the Amazon ECR repository used to filter findings.</p>
|
|
2098
|
+
*/
|
|
2099
|
+
ecrImageRepositoryName?: StringFilter[];
|
|
2100
|
+
/**
|
|
2101
|
+
* <p>The tags attached to the Amazon ECR container image.</p>
|
|
2102
|
+
*/
|
|
2103
|
+
ecrImageTags?: StringFilter[];
|
|
2104
|
+
/**
|
|
2105
|
+
* <p>Details of the Amazon ECR image hashes used to filter findings.</p>
|
|
2106
|
+
*/
|
|
2107
|
+
ecrImageHash?: StringFilter[];
|
|
2108
|
+
/**
|
|
2109
|
+
* <p>Details on the port ranges used to filter findings.</p>
|
|
2110
|
+
*/
|
|
2111
|
+
portRange?: PortRangeFilter[];
|
|
2112
|
+
/**
|
|
2113
|
+
* <p>Details on the ingress source addresses used to filter findings.</p>
|
|
2114
|
+
*/
|
|
2115
|
+
networkProtocol?: StringFilter[];
|
|
2116
|
+
/**
|
|
2117
|
+
* <p>Details of the component IDs used to filter findings.</p>
|
|
2118
|
+
*/
|
|
2119
|
+
componentId?: StringFilter[];
|
|
2120
|
+
/**
|
|
2121
|
+
* <p>Details of the component types used to filter findings.</p>
|
|
2122
|
+
*/
|
|
2123
|
+
componentType?: StringFilter[];
|
|
2124
|
+
/**
|
|
2125
|
+
* <p>Details on the vulnerability ID used to filter findings.</p>
|
|
2126
|
+
*/
|
|
2127
|
+
vulnerabilityId?: StringFilter[];
|
|
2128
|
+
/**
|
|
2129
|
+
* <p>Details on the vulnerability type used to filter findings.</p>
|
|
2130
|
+
*/
|
|
2131
|
+
vulnerabilitySource?: StringFilter[];
|
|
2132
|
+
/**
|
|
2133
|
+
* <p>Details on the vendor severity used to filter findings.</p>
|
|
2134
|
+
*/
|
|
2135
|
+
vendorSeverity?: StringFilter[];
|
|
2136
|
+
/**
|
|
2137
|
+
* <p>Details on the vulnerable packages used to filter findings.</p>
|
|
2138
|
+
*/
|
|
2139
|
+
vulnerablePackages?: PackageFilter[];
|
|
2140
|
+
/**
|
|
2141
|
+
* <p>Details on the related vulnerabilities used to filter findings.</p>
|
|
2142
|
+
*/
|
|
2143
|
+
relatedVulnerabilities?: StringFilter[];
|
|
2144
|
+
}
|
|
2145
|
+
export declare namespace FilterCriteria {
|
|
2146
|
+
/**
|
|
2147
|
+
* @internal
|
|
2148
|
+
*/
|
|
2149
|
+
const filterSensitiveLog: (obj: FilterCriteria) => any;
|
|
2150
|
+
}
|
|
2151
|
+
export interface CreateFilterRequest {
|
|
2152
|
+
/**
|
|
2153
|
+
* <p>Defines the action that is to be applied to the findings that match the filter.</p>
|
|
2154
|
+
*/
|
|
2155
|
+
action: FilterAction | string | undefined;
|
|
2156
|
+
/**
|
|
2157
|
+
* <p>A description of the filter.</p>
|
|
2158
|
+
*/
|
|
2159
|
+
description?: string;
|
|
2160
|
+
/**
|
|
2161
|
+
* <p>Defines the criteria to be used in the filter for querying findings.</p>
|
|
2162
|
+
*/
|
|
2163
|
+
filterCriteria: FilterCriteria | undefined;
|
|
2164
|
+
/**
|
|
2165
|
+
* <p>The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters
|
|
2166
|
+
* include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not
|
|
2167
|
+
* allowed.</p>
|
|
2168
|
+
*/
|
|
2169
|
+
name: string | undefined;
|
|
2170
|
+
/**
|
|
2171
|
+
* <p>A list of tags for the filter.</p>
|
|
2172
|
+
*/
|
|
2173
|
+
tags?: {
|
|
2174
|
+
[key: string]: string;
|
|
2175
|
+
};
|
|
2176
|
+
}
|
|
2177
|
+
export declare namespace CreateFilterRequest {
|
|
2178
|
+
/**
|
|
2179
|
+
* @internal
|
|
2180
|
+
*/
|
|
2181
|
+
const filterSensitiveLog: (obj: CreateFilterRequest) => any;
|
|
2182
|
+
}
|
|
2183
|
+
export interface CreateFilterResponse {
|
|
2184
|
+
/**
|
|
2185
|
+
* <p>The Amazon Resource Number (ARN) of the successfully created filter.</p>
|
|
2186
|
+
*/
|
|
2187
|
+
arn: string | undefined;
|
|
2188
|
+
}
|
|
2189
|
+
export declare namespace CreateFilterResponse {
|
|
2190
|
+
/**
|
|
2191
|
+
* @internal
|
|
2192
|
+
*/
|
|
2193
|
+
const filterSensitiveLog: (obj: CreateFilterResponse) => any;
|
|
2194
|
+
}
|
|
2195
|
+
/**
|
|
2196
|
+
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
2197
|
+
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
2198
|
+
*/
|
|
2199
|
+
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
2200
|
+
name: "ServiceQuotaExceededException";
|
|
2201
|
+
$fault: "client";
|
|
2202
|
+
message: string | undefined;
|
|
2203
|
+
/**
|
|
2204
|
+
* <p>The ID of the resource that exceeds a service quota.</p>
|
|
2205
|
+
*/
|
|
2206
|
+
resourceId: string | undefined;
|
|
2207
|
+
}
|
|
2208
|
+
export declare namespace ServiceQuotaExceededException {
|
|
2209
|
+
/**
|
|
2210
|
+
* @internal
|
|
2211
|
+
*/
|
|
2212
|
+
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
2213
|
+
}
|
|
2214
|
+
export declare enum ReportFormat {
|
|
2215
|
+
CSV = "CSV",
|
|
2216
|
+
JSON = "JSON"
|
|
2217
|
+
}
|
|
2218
|
+
/**
|
|
2219
|
+
* <p>Contains details of the Amazon S3 bucket and KMS key used to export findings.</p>
|
|
2220
|
+
*/
|
|
2221
|
+
export interface Destination {
|
|
2222
|
+
/**
|
|
2223
|
+
* <p>The name of the Amazon S3 bucket to export findings to.</p>
|
|
2224
|
+
*/
|
|
2225
|
+
bucketName: string | undefined;
|
|
2226
|
+
/**
|
|
2227
|
+
* <p>The prefix of the KMS key used to export findings.</p>
|
|
2228
|
+
*/
|
|
2229
|
+
keyPrefix?: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* <p>The ARN of the KMS key used to encrypt data when exporting findings.</p>
|
|
2232
|
+
*/
|
|
2233
|
+
kmsKeyArn: string | undefined;
|
|
2234
|
+
}
|
|
2235
|
+
export declare namespace Destination {
|
|
2236
|
+
/**
|
|
2237
|
+
* @internal
|
|
2238
|
+
*/
|
|
2239
|
+
const filterSensitiveLog: (obj: Destination) => any;
|
|
2240
|
+
}
|
|
2241
|
+
export interface CreateFindingsReportRequest {
|
|
2242
|
+
/**
|
|
2243
|
+
* <p>The filter criteria to apply to the results of the finding report.</p>
|
|
2244
|
+
*/
|
|
2245
|
+
filterCriteria?: FilterCriteria;
|
|
2246
|
+
/**
|
|
2247
|
+
* <p>The format to generate the report in.</p>
|
|
2248
|
+
*/
|
|
2249
|
+
reportFormat: ReportFormat | string | undefined;
|
|
2250
|
+
/**
|
|
2251
|
+
* <p>The Amazon S3 export destination for the report.</p>
|
|
2252
|
+
*/
|
|
2253
|
+
s3Destination: Destination | undefined;
|
|
2254
|
+
}
|
|
2255
|
+
export declare namespace CreateFindingsReportRequest {
|
|
2256
|
+
/**
|
|
2257
|
+
* @internal
|
|
2258
|
+
*/
|
|
2259
|
+
const filterSensitiveLog: (obj: CreateFindingsReportRequest) => any;
|
|
2260
|
+
}
|
|
2261
|
+
export interface CreateFindingsReportResponse {
|
|
2262
|
+
/**
|
|
2263
|
+
* <p>The ID of the report.</p>
|
|
2264
|
+
*/
|
|
2265
|
+
reportId?: string;
|
|
2266
|
+
}
|
|
2267
|
+
export declare namespace CreateFindingsReportResponse {
|
|
2268
|
+
/**
|
|
2269
|
+
* @internal
|
|
2270
|
+
*/
|
|
2271
|
+
const filterSensitiveLog: (obj: CreateFindingsReportResponse) => any;
|
|
2272
|
+
}
|
|
2273
|
+
export declare enum Currency {
|
|
2274
|
+
USD = "USD"
|
|
2275
|
+
}
|
|
2276
|
+
/**
|
|
2277
|
+
* <p>The CVSS score for a finding.</p>
|
|
2278
|
+
*/
|
|
2279
|
+
export interface CvssScore {
|
|
2280
|
+
/**
|
|
2281
|
+
* <p>The base CVSS score used for the finding.</p>
|
|
2282
|
+
*/
|
|
2283
|
+
baseScore: number | undefined;
|
|
2284
|
+
/**
|
|
2285
|
+
* <p>The vector string of the CVSS score.</p>
|
|
2286
|
+
*/
|
|
2287
|
+
scoringVector: string | undefined;
|
|
2288
|
+
/**
|
|
2289
|
+
* <p>The version of CVSS used for the score.</p>
|
|
2290
|
+
*/
|
|
2291
|
+
version: string | undefined;
|
|
2292
|
+
/**
|
|
2293
|
+
* <p>The source of the CVSS score.</p>
|
|
2294
|
+
*/
|
|
2295
|
+
source: string | undefined;
|
|
2296
|
+
}
|
|
2297
|
+
export declare namespace CvssScore {
|
|
2298
|
+
/**
|
|
2299
|
+
* @internal
|
|
2300
|
+
*/
|
|
2301
|
+
const filterSensitiveLog: (obj: CvssScore) => any;
|
|
2302
|
+
}
|
|
2303
|
+
/**
|
|
2304
|
+
* <p>Details on adjustments Amazon Inspector made to the CVSS score for a finding.</p>
|
|
2305
|
+
*/
|
|
2306
|
+
export interface CvssScoreAdjustment {
|
|
2307
|
+
/**
|
|
2308
|
+
* <p>The metric used to adjust the CVSS score.</p>
|
|
2309
|
+
*/
|
|
2310
|
+
metric: string | undefined;
|
|
2311
|
+
/**
|
|
2312
|
+
* <p>The reason the CVSS score has been adjustment.</p>
|
|
2313
|
+
*/
|
|
2314
|
+
reason: string | undefined;
|
|
2315
|
+
}
|
|
2316
|
+
export declare namespace CvssScoreAdjustment {
|
|
2317
|
+
/**
|
|
2318
|
+
* @internal
|
|
2319
|
+
*/
|
|
2320
|
+
const filterSensitiveLog: (obj: CvssScoreAdjustment) => any;
|
|
2321
|
+
}
|
|
2322
|
+
/**
|
|
2323
|
+
* <p>Information about the CVSS score.</p>
|
|
2324
|
+
*/
|
|
2325
|
+
export interface CvssScoreDetails {
|
|
2326
|
+
/**
|
|
2327
|
+
* <p>The source for the CVSS score.</p>
|
|
2328
|
+
*/
|
|
2329
|
+
scoreSource: string | undefined;
|
|
2330
|
+
/**
|
|
2331
|
+
* <p>The source of the CVSS data.</p>
|
|
2332
|
+
*/
|
|
2333
|
+
cvssSource?: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* <p>The CVSS version used in scoring.</p>
|
|
2336
|
+
*/
|
|
2337
|
+
version: string | undefined;
|
|
2338
|
+
/**
|
|
2339
|
+
* <p>The CVSS score.</p>
|
|
2340
|
+
*/
|
|
2341
|
+
score: number | undefined;
|
|
2342
|
+
/**
|
|
2343
|
+
* <p>The vector for the CVSS score.</p>
|
|
2344
|
+
*/
|
|
2345
|
+
scoringVector: string | undefined;
|
|
2346
|
+
/**
|
|
2347
|
+
* <p>An object that contains details about adjustment Amazon Inspector made to the CVSS score.</p>
|
|
2348
|
+
*/
|
|
2349
|
+
adjustments?: CvssScoreAdjustment[];
|
|
2350
|
+
}
|
|
2351
|
+
export declare namespace CvssScoreDetails {
|
|
2352
|
+
/**
|
|
2353
|
+
* @internal
|
|
2354
|
+
*/
|
|
2355
|
+
const filterSensitiveLog: (obj: CvssScoreDetails) => any;
|
|
2356
|
+
}
|
|
2357
|
+
export declare enum RelationshipStatus {
|
|
2358
|
+
ACCOUNT_SUSPENDED = "ACCOUNT_SUSPENDED",
|
|
2359
|
+
CANNOT_CREATE_DETECTOR_IN_ORG_MASTER = "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER",
|
|
2360
|
+
CREATED = "CREATED",
|
|
2361
|
+
DELETED = "DELETED",
|
|
2362
|
+
DISABLED = "DISABLED",
|
|
2363
|
+
EMAIL_VERIFICATION_FAILED = "EMAIL_VERIFICATION_FAILED",
|
|
2364
|
+
EMAIL_VERIFICATION_IN_PROGRESS = "EMAIL_VERIFICATION_IN_PROGRESS",
|
|
2365
|
+
ENABLED = "ENABLED",
|
|
2366
|
+
INVITED = "INVITED",
|
|
2367
|
+
REGION_DISABLED = "REGION_DISABLED",
|
|
2368
|
+
REMOVED = "REMOVED",
|
|
2369
|
+
RESIGNED = "RESIGNED"
|
|
2370
|
+
}
|
|
2371
|
+
/**
|
|
2372
|
+
* <p>Details of the Amazon Inspector delegated administrator for your organization.</p>
|
|
2373
|
+
*/
|
|
2374
|
+
export interface DelegatedAdmin {
|
|
2375
|
+
/**
|
|
2376
|
+
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.</p>
|
|
2377
|
+
*/
|
|
2378
|
+
accountId?: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* <p>The status of the Amazon Inspector delegated administrator.</p>
|
|
2381
|
+
*/
|
|
2382
|
+
relationshipStatus?: RelationshipStatus | string;
|
|
2383
|
+
}
|
|
2384
|
+
export declare namespace DelegatedAdmin {
|
|
2385
|
+
/**
|
|
2386
|
+
* @internal
|
|
2387
|
+
*/
|
|
2388
|
+
const filterSensitiveLog: (obj: DelegatedAdmin) => any;
|
|
2389
|
+
}
|
|
2390
|
+
export declare enum DelegatedAdminStatus {
|
|
2391
|
+
DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
|
|
2392
|
+
ENABLED = "ENABLED"
|
|
2393
|
+
}
|
|
2394
|
+
/**
|
|
2395
|
+
* <p>Details of the Amazon Inspector delegated administrator for your organization.</p>
|
|
2396
|
+
*/
|
|
2397
|
+
export interface DelegatedAdminAccount {
|
|
2398
|
+
/**
|
|
2399
|
+
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator for your organization.</p>
|
|
2400
|
+
*/
|
|
2401
|
+
accountId?: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* <p>The status of the Amazon Inspector delegated administrator.</p>
|
|
2404
|
+
*/
|
|
2405
|
+
status?: DelegatedAdminStatus | string;
|
|
2406
|
+
}
|
|
2407
|
+
export declare namespace DelegatedAdminAccount {
|
|
2408
|
+
/**
|
|
2409
|
+
* @internal
|
|
2410
|
+
*/
|
|
2411
|
+
const filterSensitiveLog: (obj: DelegatedAdminAccount) => any;
|
|
2412
|
+
}
|
|
2413
|
+
export interface DeleteFilterRequest {
|
|
2414
|
+
/**
|
|
2415
|
+
* <p>The Amazon Resource Number (ARN) of the filter to be deleted.</p>
|
|
2416
|
+
*/
|
|
2417
|
+
arn: string | undefined;
|
|
2418
|
+
}
|
|
2419
|
+
export declare namespace DeleteFilterRequest {
|
|
2420
|
+
/**
|
|
2421
|
+
* @internal
|
|
2422
|
+
*/
|
|
2423
|
+
const filterSensitiveLog: (obj: DeleteFilterRequest) => any;
|
|
2424
|
+
}
|
|
2425
|
+
export interface DeleteFilterResponse {
|
|
2426
|
+
/**
|
|
2427
|
+
* <p>The Amazon Resource Number (ARN) of the filter that has been deleted.</p>
|
|
2428
|
+
*/
|
|
2429
|
+
arn: string | undefined;
|
|
2430
|
+
}
|
|
2431
|
+
export declare namespace DeleteFilterResponse {
|
|
2432
|
+
/**
|
|
2433
|
+
* @internal
|
|
2434
|
+
*/
|
|
2435
|
+
const filterSensitiveLog: (obj: DeleteFilterResponse) => any;
|
|
2436
|
+
}
|
|
2437
|
+
export interface DescribeOrganizationConfigurationRequest {
|
|
2438
|
+
}
|
|
2439
|
+
export declare namespace DescribeOrganizationConfigurationRequest {
|
|
2440
|
+
/**
|
|
2441
|
+
* @internal
|
|
2442
|
+
*/
|
|
2443
|
+
const filterSensitiveLog: (obj: DescribeOrganizationConfigurationRequest) => any;
|
|
2444
|
+
}
|
|
2445
|
+
export interface DescribeOrganizationConfigurationResponse {
|
|
2446
|
+
/**
|
|
2447
|
+
* <p>The scan types are automatically enabled for new members of your organization.</p>
|
|
2448
|
+
*/
|
|
2449
|
+
autoEnable?: AutoEnable;
|
|
2450
|
+
/**
|
|
2451
|
+
* <p>Represents whether your organization has reached the maximum Amazon Web Services account limit for Amazon Inspector.</p>
|
|
2452
|
+
*/
|
|
2453
|
+
maxAccountLimitReached?: boolean;
|
|
2454
|
+
}
|
|
2455
|
+
export declare namespace DescribeOrganizationConfigurationResponse {
|
|
2456
|
+
/**
|
|
2457
|
+
* @internal
|
|
2458
|
+
*/
|
|
2459
|
+
const filterSensitiveLog: (obj: DescribeOrganizationConfigurationResponse) => any;
|
|
2460
|
+
}
|
|
2461
|
+
export declare enum ResourceScanType {
|
|
2462
|
+
EC2 = "EC2",
|
|
2463
|
+
ECR = "ECR"
|
|
2464
|
+
}
|
|
2465
|
+
export interface DisableRequest {
|
|
2466
|
+
/**
|
|
2467
|
+
* <p>An array of account IDs you want to disable Amazon Inspector scans for.</p>
|
|
2468
|
+
*/
|
|
2469
|
+
accountIds?: string[];
|
|
2470
|
+
/**
|
|
2471
|
+
* <p>The resource scan types you want to disable.</p>
|
|
2472
|
+
*/
|
|
2473
|
+
resourceTypes?: (ResourceScanType | string)[];
|
|
2474
|
+
}
|
|
2475
|
+
export declare namespace DisableRequest {
|
|
2476
|
+
/**
|
|
2477
|
+
* @internal
|
|
2478
|
+
*/
|
|
2479
|
+
const filterSensitiveLog: (obj: DisableRequest) => any;
|
|
2480
|
+
}
|
|
2481
|
+
export interface DisableResponse {
|
|
2482
|
+
/**
|
|
2483
|
+
* <p>Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are
|
|
2484
|
+
* provided for each account.</p>
|
|
2485
|
+
*/
|
|
2486
|
+
accounts: Account[] | undefined;
|
|
2487
|
+
/**
|
|
2488
|
+
* <p>Information on any accounts for which Amazon Inspector scans could not be disabled. Details are
|
|
2489
|
+
* provided for each account.</p>
|
|
2490
|
+
*/
|
|
2491
|
+
failedAccounts?: FailedAccount[];
|
|
2492
|
+
}
|
|
2493
|
+
export declare namespace DisableResponse {
|
|
2494
|
+
/**
|
|
2495
|
+
* @internal
|
|
2496
|
+
*/
|
|
2497
|
+
const filterSensitiveLog: (obj: DisableResponse) => any;
|
|
2498
|
+
}
|
|
2499
|
+
export interface DisableDelegatedAdminAccountRequest {
|
|
2500
|
+
/**
|
|
2501
|
+
* <p>The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.</p>
|
|
2502
|
+
*/
|
|
2503
|
+
delegatedAdminAccountId: string | undefined;
|
|
2504
|
+
}
|
|
2505
|
+
export declare namespace DisableDelegatedAdminAccountRequest {
|
|
2506
|
+
/**
|
|
2507
|
+
* @internal
|
|
2508
|
+
*/
|
|
2509
|
+
const filterSensitiveLog: (obj: DisableDelegatedAdminAccountRequest) => any;
|
|
2510
|
+
}
|
|
2511
|
+
export interface DisableDelegatedAdminAccountResponse {
|
|
2512
|
+
/**
|
|
2513
|
+
* <p>The Amazon Web Services account ID of the successfully disabled delegated administrator.</p>
|
|
2514
|
+
*/
|
|
2515
|
+
delegatedAdminAccountId: string | undefined;
|
|
2516
|
+
}
|
|
2517
|
+
export declare namespace DisableDelegatedAdminAccountResponse {
|
|
2518
|
+
/**
|
|
2519
|
+
* @internal
|
|
2520
|
+
*/
|
|
2521
|
+
const filterSensitiveLog: (obj: DisableDelegatedAdminAccountResponse) => any;
|
|
2522
|
+
}
|
|
2523
|
+
export interface DisassociateMemberRequest {
|
|
2524
|
+
/**
|
|
2525
|
+
* <p>The Amazon Web Services account ID of the member account to disassociate.</p>
|
|
2526
|
+
*/
|
|
2527
|
+
accountId: string | undefined;
|
|
2528
|
+
}
|
|
2529
|
+
export declare namespace DisassociateMemberRequest {
|
|
2530
|
+
/**
|
|
2531
|
+
* @internal
|
|
2532
|
+
*/
|
|
2533
|
+
const filterSensitiveLog: (obj: DisassociateMemberRequest) => any;
|
|
2534
|
+
}
|
|
2535
|
+
export interface DisassociateMemberResponse {
|
|
2536
|
+
/**
|
|
2537
|
+
* <p>The Amazon Web Services account ID of the successfully disassociated member.</p>
|
|
2538
|
+
*/
|
|
2539
|
+
accountId: string | undefined;
|
|
2540
|
+
}
|
|
2541
|
+
export declare namespace DisassociateMemberResponse {
|
|
2542
|
+
/**
|
|
2543
|
+
* @internal
|
|
2544
|
+
*/
|
|
2545
|
+
const filterSensitiveLog: (obj: DisassociateMemberResponse) => any;
|
|
2546
|
+
}
|
|
2547
|
+
export interface EnableRequest {
|
|
2548
|
+
/**
|
|
2549
|
+
* <p>A list of account IDs you want to enable Amazon Inspector scans for.</p>
|
|
2550
|
+
*/
|
|
2551
|
+
accountIds?: string[];
|
|
2552
|
+
/**
|
|
2553
|
+
* <p>The resource scan types you want to enable.</p>
|
|
2554
|
+
*/
|
|
2555
|
+
resourceTypes: (ResourceScanType | string)[] | undefined;
|
|
2556
|
+
/**
|
|
2557
|
+
* <p>The idempotency token for the request.</p>
|
|
2558
|
+
*/
|
|
2559
|
+
clientToken?: string;
|
|
2560
|
+
}
|
|
2561
|
+
export declare namespace EnableRequest {
|
|
2562
|
+
/**
|
|
2563
|
+
* @internal
|
|
2564
|
+
*/
|
|
2565
|
+
const filterSensitiveLog: (obj: EnableRequest) => any;
|
|
2566
|
+
}
|
|
2567
|
+
export interface EnableResponse {
|
|
2568
|
+
/**
|
|
2569
|
+
* <p>Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are
|
|
2570
|
+
* provided for each account.</p>
|
|
2571
|
+
*/
|
|
2572
|
+
accounts: Account[] | undefined;
|
|
2573
|
+
/**
|
|
2574
|
+
* <p>Information on any accounts for which Amazon Inspector scans could not be enabled. Details are
|
|
2575
|
+
* provided for each account.</p>
|
|
2576
|
+
*/
|
|
2577
|
+
failedAccounts?: FailedAccount[];
|
|
2578
|
+
}
|
|
2579
|
+
export declare namespace EnableResponse {
|
|
2580
|
+
/**
|
|
2581
|
+
* @internal
|
|
2582
|
+
*/
|
|
2583
|
+
const filterSensitiveLog: (obj: EnableResponse) => any;
|
|
2584
|
+
}
|
|
2585
|
+
export interface EnableDelegatedAdminAccountRequest {
|
|
2586
|
+
/**
|
|
2587
|
+
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator.</p>
|
|
2588
|
+
*/
|
|
2589
|
+
delegatedAdminAccountId: string | undefined;
|
|
2590
|
+
/**
|
|
2591
|
+
* <p>The idempotency token for the request.</p>
|
|
2592
|
+
*/
|
|
2593
|
+
clientToken?: string;
|
|
2594
|
+
}
|
|
2595
|
+
export declare namespace EnableDelegatedAdminAccountRequest {
|
|
2596
|
+
/**
|
|
2597
|
+
* @internal
|
|
2598
|
+
*/
|
|
2599
|
+
const filterSensitiveLog: (obj: EnableDelegatedAdminAccountRequest) => any;
|
|
2600
|
+
}
|
|
2601
|
+
export interface EnableDelegatedAdminAccountResponse {
|
|
2602
|
+
/**
|
|
2603
|
+
* <p>The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.</p>
|
|
2604
|
+
*/
|
|
2605
|
+
delegatedAdminAccountId: string | undefined;
|
|
2606
|
+
}
|
|
2607
|
+
export declare namespace EnableDelegatedAdminAccountResponse {
|
|
2608
|
+
/**
|
|
2609
|
+
* @internal
|
|
2610
|
+
*/
|
|
2611
|
+
const filterSensitiveLog: (obj: EnableDelegatedAdminAccountResponse) => any;
|
|
2612
|
+
}
|
|
2613
|
+
export declare enum ExternalReportStatus {
|
|
2614
|
+
CANCELLED = "CANCELLED",
|
|
2615
|
+
FAILED = "FAILED",
|
|
2616
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2617
|
+
SUCCEEDED = "SUCCEEDED"
|
|
2618
|
+
}
|
|
2619
|
+
/**
|
|
2620
|
+
* <p>Details about a filter.</p>
|
|
2621
|
+
*/
|
|
2622
|
+
export interface Filter {
|
|
2623
|
+
/**
|
|
2624
|
+
* <p>The Amazon Resource Number (ARN) associated with this filter.</p>
|
|
2625
|
+
*/
|
|
2626
|
+
arn: string | undefined;
|
|
2627
|
+
/**
|
|
2628
|
+
* <p>The Amazon Web Services account ID of the account that created the filter.</p>
|
|
2629
|
+
*/
|
|
2630
|
+
ownerId: string | undefined;
|
|
2631
|
+
/**
|
|
2632
|
+
* <p>The name of the filter.</p>
|
|
2633
|
+
*/
|
|
2634
|
+
name: string | undefined;
|
|
2635
|
+
/**
|
|
2636
|
+
* <p>Details on the filter criteria associated with this filter.</p>
|
|
2637
|
+
*/
|
|
2638
|
+
criteria: FilterCriteria | undefined;
|
|
2639
|
+
/**
|
|
2640
|
+
* <p>The action that is to be applied to the findings that match the filter.</p>
|
|
2641
|
+
*/
|
|
2642
|
+
action: FilterAction | string | undefined;
|
|
2643
|
+
/**
|
|
2644
|
+
* <p>The date and time this filter was created at.</p>
|
|
2645
|
+
*/
|
|
2646
|
+
createdAt: Date | undefined;
|
|
2647
|
+
/**
|
|
2648
|
+
* <p>The date and time the filter was last updated at.</p>
|
|
2649
|
+
*/
|
|
2650
|
+
updatedAt: Date | undefined;
|
|
2651
|
+
/**
|
|
2652
|
+
* <p>A description of the filter.</p>
|
|
2653
|
+
*/
|
|
2654
|
+
description?: string;
|
|
2655
|
+
/**
|
|
2656
|
+
* <p>The reason for the filter.</p>
|
|
2657
|
+
*/
|
|
2658
|
+
reason?: string;
|
|
2659
|
+
/**
|
|
2660
|
+
* <p>The tags attached to the filter.</p>
|
|
2661
|
+
*/
|
|
2662
|
+
tags?: {
|
|
2663
|
+
[key: string]: string;
|
|
2664
|
+
};
|
|
2665
|
+
}
|
|
2666
|
+
export declare namespace Filter {
|
|
2667
|
+
/**
|
|
2668
|
+
* @internal
|
|
2669
|
+
*/
|
|
2670
|
+
const filterSensitiveLog: (obj: Filter) => any;
|
|
2671
|
+
}
|
|
2672
|
+
/**
|
|
2673
|
+
* <p>Information about the Amazon Inspector score given to a finding.</p>
|
|
2674
|
+
*/
|
|
2675
|
+
export interface InspectorScoreDetails {
|
|
2676
|
+
/**
|
|
2677
|
+
* <p>An object that contains details about the CVSS score given to a finding.</p>
|
|
2678
|
+
*/
|
|
2679
|
+
adjustedCvss?: CvssScoreDetails;
|
|
2680
|
+
}
|
|
2681
|
+
export declare namespace InspectorScoreDetails {
|
|
2682
|
+
/**
|
|
2683
|
+
* @internal
|
|
2684
|
+
*/
|
|
2685
|
+
const filterSensitiveLog: (obj: InspectorScoreDetails) => any;
|
|
2686
|
+
}
|
|
2687
|
+
/**
|
|
2688
|
+
* <p>Details about the step associated with a finding.</p>
|
|
2689
|
+
*/
|
|
2690
|
+
export interface Step {
|
|
2691
|
+
/**
|
|
2692
|
+
* <p>The component ID.</p>
|
|
2693
|
+
*/
|
|
2694
|
+
componentId: string | undefined;
|
|
2695
|
+
/**
|
|
2696
|
+
* <p>The component type.</p>
|
|
2697
|
+
*/
|
|
2698
|
+
componentType: string | undefined;
|
|
2699
|
+
}
|
|
2700
|
+
export declare namespace Step {
|
|
2701
|
+
/**
|
|
2702
|
+
* @internal
|
|
2703
|
+
*/
|
|
2704
|
+
const filterSensitiveLog: (obj: Step) => any;
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* <p>Information on the network path associated with a finding.</p>
|
|
2708
|
+
*/
|
|
2709
|
+
export interface NetworkPath {
|
|
2710
|
+
/**
|
|
2711
|
+
* <p>The details on the steps in the network path.</p>
|
|
2712
|
+
*/
|
|
2713
|
+
steps?: Step[];
|
|
2714
|
+
}
|
|
2715
|
+
export declare namespace NetworkPath {
|
|
2716
|
+
/**
|
|
2717
|
+
* @internal
|
|
2718
|
+
*/
|
|
2719
|
+
const filterSensitiveLog: (obj: NetworkPath) => any;
|
|
2720
|
+
}
|
|
2721
|
+
/**
|
|
2722
|
+
* <p>Details about the port range associated with a finding.</p>
|
|
2723
|
+
*/
|
|
2724
|
+
export interface PortRange {
|
|
2725
|
+
/**
|
|
2726
|
+
* <p>The beginning port in a port range.</p>
|
|
2727
|
+
*/
|
|
2728
|
+
begin: number | undefined;
|
|
2729
|
+
/**
|
|
2730
|
+
* <p>The ending port in a port range.</p>
|
|
2731
|
+
*/
|
|
2732
|
+
end: number | undefined;
|
|
2733
|
+
}
|
|
2734
|
+
export declare namespace PortRange {
|
|
2735
|
+
/**
|
|
2736
|
+
* @internal
|
|
2737
|
+
*/
|
|
2738
|
+
const filterSensitiveLog: (obj: PortRange) => any;
|
|
2739
|
+
}
|
|
2740
|
+
export declare enum NetworkProtocol {
|
|
2741
|
+
TCP = "TCP",
|
|
2742
|
+
UDP = "UDP"
|
|
2743
|
+
}
|
|
2744
|
+
/**
|
|
2745
|
+
* <p>Contains the details of a network reachability finding.</p>
|
|
2746
|
+
*/
|
|
2747
|
+
export interface NetworkReachabilityDetails {
|
|
2748
|
+
/**
|
|
2749
|
+
* <p>An object that contains details about the open port range associated with a finding.</p>
|
|
2750
|
+
*/
|
|
2751
|
+
openPortRange: PortRange | undefined;
|
|
2752
|
+
/**
|
|
2753
|
+
* <p>The protocol associated with a finding.</p>
|
|
2754
|
+
*/
|
|
2755
|
+
protocol: NetworkProtocol | string | undefined;
|
|
2756
|
+
/**
|
|
2757
|
+
* <p>An object that contains details about a network path associated with a finding.</p>
|
|
2758
|
+
*/
|
|
2759
|
+
networkPath: NetworkPath | undefined;
|
|
2760
|
+
}
|
|
2761
|
+
export declare namespace NetworkReachabilityDetails {
|
|
2762
|
+
/**
|
|
2763
|
+
* @internal
|
|
2764
|
+
*/
|
|
2765
|
+
const filterSensitiveLog: (obj: NetworkReachabilityDetails) => any;
|
|
2766
|
+
}
|
|
2767
|
+
export declare enum PackageManager {
|
|
2768
|
+
BUNDLER = "BUNDLER",
|
|
2769
|
+
CARGO = "CARGO",
|
|
2770
|
+
COMPOSER = "COMPOSER",
|
|
2771
|
+
GOBINARY = "GOBINARY",
|
|
2772
|
+
GOMOD = "GOMOD",
|
|
2773
|
+
JAR = "JAR",
|
|
2774
|
+
NPM = "NPM",
|
|
2775
|
+
NUGET = "NUGET",
|
|
2776
|
+
OS = "OS",
|
|
2777
|
+
PIPENV = "PIPENV",
|
|
2778
|
+
POETRY = "POETRY",
|
|
2779
|
+
YARN = "YARN"
|
|
2780
|
+
}
|
|
2781
|
+
/**
|
|
2782
|
+
* <p>Information on the vulnerable package identified by a finding.</p>
|
|
2783
|
+
*/
|
|
2784
|
+
export interface VulnerablePackage {
|
|
2785
|
+
/**
|
|
2786
|
+
* <p>The name of the vulnerable package.</p>
|
|
2787
|
+
*/
|
|
2788
|
+
name: string | undefined;
|
|
2789
|
+
/**
|
|
2790
|
+
* <p>The version of the vulnerable package.</p>
|
|
2791
|
+
*/
|
|
2792
|
+
version: string | undefined;
|
|
2793
|
+
/**
|
|
2794
|
+
* <p>The source layer hash of the vulnerable package.</p>
|
|
2795
|
+
*/
|
|
2796
|
+
sourceLayerHash?: string;
|
|
2797
|
+
/**
|
|
2798
|
+
* <p>The epoch of the vulnerable package.</p>
|
|
2799
|
+
*/
|
|
2800
|
+
epoch?: number;
|
|
2801
|
+
/**
|
|
2802
|
+
* <p>The release of the vulnerable package.</p>
|
|
2803
|
+
*/
|
|
2804
|
+
release?: string;
|
|
2805
|
+
/**
|
|
2806
|
+
* <p>The architecture of the vulnerable package.</p>
|
|
2807
|
+
*/
|
|
2808
|
+
arch?: string;
|
|
2809
|
+
/**
|
|
2810
|
+
* <p>The package manager of the vulnerable package.</p>
|
|
2811
|
+
*/
|
|
2812
|
+
packageManager?: PackageManager | string;
|
|
2813
|
+
/**
|
|
2814
|
+
* <p>The file path of the vulnerable package.</p>
|
|
2815
|
+
*/
|
|
2816
|
+
filePath?: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* <p>The version of the package that contains the vulnerability fix.</p>
|
|
2819
|
+
*/
|
|
2820
|
+
fixedInVersion?: string;
|
|
2821
|
+
}
|
|
2822
|
+
export declare namespace VulnerablePackage {
|
|
2823
|
+
/**
|
|
2824
|
+
* @internal
|
|
2825
|
+
*/
|
|
2826
|
+
const filterSensitiveLog: (obj: VulnerablePackage) => any;
|
|
2827
|
+
}
|
|
2828
|
+
/**
|
|
2829
|
+
* <p>Information about a package vulnerability finding.</p>
|
|
2830
|
+
*/
|
|
2831
|
+
export interface PackageVulnerabilityDetails {
|
|
2832
|
+
/**
|
|
2833
|
+
* <p>The ID given to this vulnerability.</p>
|
|
2834
|
+
*/
|
|
2835
|
+
vulnerabilityId: string | undefined;
|
|
2836
|
+
/**
|
|
2837
|
+
* <p>The packages impacted by this vulnerability.</p>
|
|
2838
|
+
*/
|
|
2839
|
+
vulnerablePackages: VulnerablePackage[] | undefined;
|
|
2840
|
+
/**
|
|
2841
|
+
* <p>The source of the vulnerability information.</p>
|
|
2842
|
+
*/
|
|
2843
|
+
source: string | undefined;
|
|
2844
|
+
/**
|
|
2845
|
+
* <p>An object that contains details about the CVSS score of a finding.</p>
|
|
2846
|
+
*/
|
|
2847
|
+
cvss?: CvssScore[];
|
|
2848
|
+
/**
|
|
2849
|
+
* <p>One or more vulnerabilities related to the one identified in this finding.</p>
|
|
2850
|
+
*/
|
|
2851
|
+
relatedVulnerabilities?: string[];
|
|
2852
|
+
/**
|
|
2853
|
+
* <p>A URL to the source of the vulnerability information.</p>
|
|
2854
|
+
*/
|
|
2855
|
+
sourceUrl?: string;
|
|
2856
|
+
/**
|
|
2857
|
+
* <p>The severity the vendor has given to this vulnerability type.</p>
|
|
2858
|
+
*/
|
|
2859
|
+
vendorSeverity?: string;
|
|
2860
|
+
/**
|
|
2861
|
+
* <p>The date and time that this vulnerability was first added to the vendor's database.</p>
|
|
2862
|
+
*/
|
|
2863
|
+
vendorCreatedAt?: Date;
|
|
2864
|
+
/**
|
|
2865
|
+
* <p>The date and time the vendor last updated this vulnerability in their database.</p>
|
|
2866
|
+
*/
|
|
2867
|
+
vendorUpdatedAt?: Date;
|
|
2868
|
+
/**
|
|
2869
|
+
* <p>One or more URLs that contain details about this vulnerability type.</p>
|
|
2870
|
+
*/
|
|
2871
|
+
referenceUrls?: string[];
|
|
2872
|
+
}
|
|
2873
|
+
export declare namespace PackageVulnerabilityDetails {
|
|
2874
|
+
/**
|
|
2875
|
+
* @internal
|
|
2876
|
+
*/
|
|
2877
|
+
const filterSensitiveLog: (obj: PackageVulnerabilityDetails) => any;
|
|
2878
|
+
}
|
|
2879
|
+
/**
|
|
2880
|
+
* <p>Details about the recommended course of action to remediate the finding.</p>
|
|
2881
|
+
*/
|
|
2882
|
+
export interface Recommendation {
|
|
2883
|
+
/**
|
|
2884
|
+
* <p>The recommended course of action to remediate the finding.</p>
|
|
2885
|
+
*/
|
|
2886
|
+
text?: string;
|
|
2887
|
+
/**
|
|
2888
|
+
* <p>The URL address to the CVE remediation recommendations.</p>
|
|
2889
|
+
*/
|
|
2890
|
+
Url?: string;
|
|
2891
|
+
}
|
|
2892
|
+
export declare namespace Recommendation {
|
|
2893
|
+
/**
|
|
2894
|
+
* @internal
|
|
2895
|
+
*/
|
|
2896
|
+
const filterSensitiveLog: (obj: Recommendation) => any;
|
|
2897
|
+
}
|
|
2898
|
+
/**
|
|
2899
|
+
* <p>Information on how to remediate a finding.</p>
|
|
2900
|
+
*/
|
|
2901
|
+
export interface Remediation {
|
|
2902
|
+
/**
|
|
2903
|
+
* <p>An object that contains information about the recommended course of action to remediate the finding.</p>
|
|
2904
|
+
*/
|
|
2905
|
+
recommendation?: Recommendation;
|
|
2906
|
+
}
|
|
2907
|
+
export declare namespace Remediation {
|
|
2908
|
+
/**
|
|
2909
|
+
* @internal
|
|
2910
|
+
*/
|
|
2911
|
+
const filterSensitiveLog: (obj: Remediation) => any;
|
|
2912
|
+
}
|
|
2913
|
+
/**
|
|
2914
|
+
* <p>Contains details about the resource involved in the finding.</p>
|
|
2915
|
+
*/
|
|
2916
|
+
export interface ResourceDetails {
|
|
2917
|
+
/**
|
|
2918
|
+
* <p>An object that contains details about the Amazon EC2 instance involved in the finding.</p>
|
|
2919
|
+
*/
|
|
2920
|
+
awsEc2Instance?: AwsEc2InstanceDetails;
|
|
2921
|
+
/**
|
|
2922
|
+
* <p>An object that contains details about the Amazon ECR container image involved in the finding.</p>
|
|
2923
|
+
*/
|
|
2924
|
+
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
2925
|
+
}
|
|
2926
|
+
export declare namespace ResourceDetails {
|
|
2927
|
+
/**
|
|
2928
|
+
* @internal
|
|
2929
|
+
*/
|
|
2930
|
+
const filterSensitiveLog: (obj: ResourceDetails) => any;
|
|
2931
|
+
}
|
|
2932
|
+
export declare enum ResourceType {
|
|
2933
|
+
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
2934
|
+
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
|
|
2935
|
+
AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY"
|
|
2936
|
+
}
|
|
2937
|
+
/**
|
|
2938
|
+
* <p>Details about the resource involved in a finding.</p>
|
|
2939
|
+
*/
|
|
2940
|
+
export interface Resource {
|
|
2941
|
+
/**
|
|
2942
|
+
* <p>The type of resource.</p>
|
|
2943
|
+
*/
|
|
2944
|
+
type: ResourceType | string | undefined;
|
|
2945
|
+
/**
|
|
2946
|
+
* <p>The ID of the resource.</p>
|
|
2947
|
+
*/
|
|
2948
|
+
id: string | undefined;
|
|
2949
|
+
/**
|
|
2950
|
+
* <p>The partition of the resource.</p>
|
|
2951
|
+
*/
|
|
2952
|
+
partition?: string;
|
|
2953
|
+
/**
|
|
2954
|
+
* <p>The Amazon Web Services Region the impacted resource is located in.</p>
|
|
2955
|
+
*/
|
|
2956
|
+
region?: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* <p>The tags attached to the resource.</p>
|
|
2959
|
+
*/
|
|
2960
|
+
tags?: {
|
|
2961
|
+
[key: string]: string;
|
|
2962
|
+
};
|
|
2963
|
+
/**
|
|
2964
|
+
* <p>An object that contains details about the resource involved in a finding.</p>
|
|
2965
|
+
*/
|
|
2966
|
+
details?: ResourceDetails;
|
|
2967
|
+
}
|
|
2968
|
+
export declare namespace Resource {
|
|
2969
|
+
/**
|
|
2970
|
+
* @internal
|
|
2971
|
+
*/
|
|
2972
|
+
const filterSensitiveLog: (obj: Resource) => any;
|
|
2973
|
+
}
|
|
2974
|
+
export declare enum Severity {
|
|
2975
|
+
CRITICAL = "CRITICAL",
|
|
2976
|
+
HIGH = "HIGH",
|
|
2977
|
+
INFORMATIONAL = "INFORMATIONAL",
|
|
2978
|
+
LOW = "LOW",
|
|
2979
|
+
MEDIUM = "MEDIUM",
|
|
2980
|
+
UNTRIAGED = "UNTRIAGED"
|
|
2981
|
+
}
|
|
2982
|
+
export declare enum FindingStatus {
|
|
2983
|
+
ACTIVE = "ACTIVE",
|
|
2984
|
+
CLOSED = "CLOSED",
|
|
2985
|
+
SUPPRESSED = "SUPPRESSED"
|
|
2986
|
+
}
|
|
2987
|
+
export declare enum FindingType {
|
|
2988
|
+
NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
|
|
2989
|
+
PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY"
|
|
2990
|
+
}
|
|
2991
|
+
/**
|
|
2992
|
+
* <p>Details about an Amazon Inspector finding.</p>
|
|
2993
|
+
*/
|
|
2994
|
+
export interface Finding {
|
|
2995
|
+
/**
|
|
2996
|
+
* <p>The Amazon Resource Number (ARN) of the finding.</p>
|
|
2997
|
+
*/
|
|
2998
|
+
findingArn: string | undefined;
|
|
2999
|
+
/**
|
|
3000
|
+
* <p>The Amazon Web Services account ID associated with the finding.</p>
|
|
3001
|
+
*/
|
|
3002
|
+
awsAccountId: string | undefined;
|
|
3003
|
+
/**
|
|
3004
|
+
* <p>The type of the finding.</p>
|
|
3005
|
+
*/
|
|
3006
|
+
type: FindingType | string | undefined;
|
|
3007
|
+
/**
|
|
3008
|
+
* <p>The description of the finding.</p>
|
|
3009
|
+
*/
|
|
3010
|
+
description: string | undefined;
|
|
3011
|
+
/**
|
|
3012
|
+
* <p>The title of the finding.</p>
|
|
3013
|
+
*/
|
|
3014
|
+
title?: string;
|
|
3015
|
+
/**
|
|
3016
|
+
* <p>An object that contains the details about how to remediate a finding.</p>
|
|
3017
|
+
*/
|
|
3018
|
+
remediation: Remediation | undefined;
|
|
3019
|
+
/**
|
|
3020
|
+
* <p>The severity of the finding.</p>
|
|
3021
|
+
*/
|
|
3022
|
+
severity: Severity | string | undefined;
|
|
3023
|
+
/**
|
|
3024
|
+
* <p>The date and time that the finding was first observed.</p>
|
|
3025
|
+
*/
|
|
3026
|
+
firstObservedAt: Date | undefined;
|
|
3027
|
+
/**
|
|
3028
|
+
* <p>The date and time that the finding was last observed.</p>
|
|
3029
|
+
*/
|
|
3030
|
+
lastObservedAt: Date | undefined;
|
|
3031
|
+
/**
|
|
3032
|
+
* <p>The date and time the finding was last updated at.</p>
|
|
3033
|
+
*/
|
|
3034
|
+
updatedAt?: Date;
|
|
3035
|
+
/**
|
|
3036
|
+
* <p>The status of the finding.</p>
|
|
3037
|
+
*/
|
|
3038
|
+
status: FindingStatus | string | undefined;
|
|
3039
|
+
/**
|
|
3040
|
+
* <p>Contains information on the resources involved in a finding.</p>
|
|
3041
|
+
*/
|
|
3042
|
+
resources: Resource[] | undefined;
|
|
3043
|
+
/**
|
|
3044
|
+
* <p>The Amazon Inspector score given to the finding.</p>
|
|
3045
|
+
*/
|
|
3046
|
+
inspectorScore?: number;
|
|
3047
|
+
/**
|
|
3048
|
+
* <p>An object that contains details of the Amazon Inspector score.</p>
|
|
3049
|
+
*/
|
|
3050
|
+
inspectorScoreDetails?: InspectorScoreDetails;
|
|
3051
|
+
/**
|
|
3052
|
+
* <p>An object that contains the details of a network reachability finding.</p>
|
|
3053
|
+
*/
|
|
3054
|
+
networkReachabilityDetails?: NetworkReachabilityDetails;
|
|
3055
|
+
/**
|
|
3056
|
+
* <p>An object that contains the details of a package vulnerability finding.</p>
|
|
3057
|
+
*/
|
|
3058
|
+
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
3059
|
+
}
|
|
3060
|
+
export declare namespace Finding {
|
|
3061
|
+
/**
|
|
3062
|
+
* @internal
|
|
3063
|
+
*/
|
|
3064
|
+
const filterSensitiveLog: (obj: Finding) => any;
|
|
3065
|
+
}
|
|
3066
|
+
export interface GetDelegatedAdminAccountRequest {
|
|
3067
|
+
}
|
|
3068
|
+
export declare namespace GetDelegatedAdminAccountRequest {
|
|
3069
|
+
/**
|
|
3070
|
+
* @internal
|
|
3071
|
+
*/
|
|
3072
|
+
const filterSensitiveLog: (obj: GetDelegatedAdminAccountRequest) => any;
|
|
3073
|
+
}
|
|
3074
|
+
export interface GetDelegatedAdminAccountResponse {
|
|
3075
|
+
/**
|
|
3076
|
+
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator.</p>
|
|
3077
|
+
*/
|
|
3078
|
+
delegatedAdmin?: DelegatedAdmin;
|
|
3079
|
+
}
|
|
3080
|
+
export declare namespace GetDelegatedAdminAccountResponse {
|
|
3081
|
+
/**
|
|
3082
|
+
* @internal
|
|
3083
|
+
*/
|
|
3084
|
+
const filterSensitiveLog: (obj: GetDelegatedAdminAccountResponse) => any;
|
|
3085
|
+
}
|
|
3086
|
+
export interface GetFindingsReportStatusRequest {
|
|
3087
|
+
/**
|
|
3088
|
+
* <p>The ID of the report to retrieve the status of.</p>
|
|
3089
|
+
*/
|
|
3090
|
+
reportId?: string;
|
|
3091
|
+
}
|
|
3092
|
+
export declare namespace GetFindingsReportStatusRequest {
|
|
3093
|
+
/**
|
|
3094
|
+
* @internal
|
|
3095
|
+
*/
|
|
3096
|
+
const filterSensitiveLog: (obj: GetFindingsReportStatusRequest) => any;
|
|
3097
|
+
}
|
|
3098
|
+
export declare enum ReportingErrorCode {
|
|
3099
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
3100
|
+
INVALID_PERMISSIONS = "INVALID_PERMISSIONS"
|
|
3101
|
+
}
|
|
3102
|
+
export interface GetFindingsReportStatusResponse {
|
|
3103
|
+
/**
|
|
3104
|
+
* <p>The ID of the report.</p>
|
|
3105
|
+
*/
|
|
3106
|
+
reportId?: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* <p>The status of the report.</p>
|
|
3109
|
+
*/
|
|
3110
|
+
status?: ExternalReportStatus | string;
|
|
3111
|
+
/**
|
|
3112
|
+
* <p>The error code of the report.</p>
|
|
3113
|
+
*/
|
|
3114
|
+
errorCode?: ReportingErrorCode | string;
|
|
3115
|
+
/**
|
|
3116
|
+
* <p>The error message of the report.</p>
|
|
3117
|
+
*/
|
|
3118
|
+
errorMessage?: string;
|
|
3119
|
+
/**
|
|
3120
|
+
* <p>The destination of the report.</p>
|
|
3121
|
+
*/
|
|
3122
|
+
destination?: Destination;
|
|
3123
|
+
/**
|
|
3124
|
+
* <p>The filter criteria associated with the report.</p>
|
|
3125
|
+
*/
|
|
3126
|
+
filterCriteria?: FilterCriteria;
|
|
3127
|
+
}
|
|
3128
|
+
export declare namespace GetFindingsReportStatusResponse {
|
|
3129
|
+
/**
|
|
3130
|
+
* @internal
|
|
3131
|
+
*/
|
|
3132
|
+
const filterSensitiveLog: (obj: GetFindingsReportStatusResponse) => any;
|
|
3133
|
+
}
|
|
3134
|
+
export interface GetMemberRequest {
|
|
3135
|
+
/**
|
|
3136
|
+
* <p>The Amazon Web Services account ID of the member account to retrieve information on.</p>
|
|
3137
|
+
*/
|
|
3138
|
+
accountId: string | undefined;
|
|
3139
|
+
}
|
|
3140
|
+
export declare namespace GetMemberRequest {
|
|
3141
|
+
/**
|
|
3142
|
+
* @internal
|
|
3143
|
+
*/
|
|
3144
|
+
const filterSensitiveLog: (obj: GetMemberRequest) => any;
|
|
3145
|
+
}
|
|
3146
|
+
/**
|
|
3147
|
+
* <p>Details on a member account in your organization.</p>
|
|
3148
|
+
*/
|
|
3149
|
+
export interface Member {
|
|
3150
|
+
/**
|
|
3151
|
+
* <p>The Amazon Web Services account ID of the member account.</p>
|
|
3152
|
+
*/
|
|
3153
|
+
accountId?: string;
|
|
3154
|
+
/**
|
|
3155
|
+
* <p>The status of the member account.</p>
|
|
3156
|
+
*/
|
|
3157
|
+
relationshipStatus?: RelationshipStatus | string;
|
|
3158
|
+
/**
|
|
3159
|
+
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.</p>
|
|
3160
|
+
*/
|
|
3161
|
+
delegatedAdminAccountId?: string;
|
|
3162
|
+
/**
|
|
3163
|
+
* <p>A timestamp showing when the status of this member was last updated.</p>
|
|
3164
|
+
*/
|
|
3165
|
+
updatedAt?: Date;
|
|
3166
|
+
}
|
|
3167
|
+
export declare namespace Member {
|
|
3168
|
+
/**
|
|
3169
|
+
* @internal
|
|
3170
|
+
*/
|
|
3171
|
+
const filterSensitiveLog: (obj: Member) => any;
|
|
3172
|
+
}
|
|
3173
|
+
export interface GetMemberResponse {
|
|
3174
|
+
/**
|
|
3175
|
+
* <p>Details of the retrieved member account.</p>
|
|
3176
|
+
*/
|
|
3177
|
+
member?: Member;
|
|
3178
|
+
}
|
|
3179
|
+
export declare namespace GetMemberResponse {
|
|
3180
|
+
/**
|
|
3181
|
+
* @internal
|
|
3182
|
+
*/
|
|
3183
|
+
const filterSensitiveLog: (obj: GetMemberResponse) => any;
|
|
3184
|
+
}
|
|
3185
|
+
export declare enum Service {
|
|
3186
|
+
EC2 = "EC2",
|
|
3187
|
+
ECR = "ECR"
|
|
3188
|
+
}
|
|
3189
|
+
export interface ListAccountPermissionsRequest {
|
|
3190
|
+
/**
|
|
3191
|
+
* <p>The service scan type to check permissions for.</p>
|
|
3192
|
+
*/
|
|
3193
|
+
service?: Service | string;
|
|
3194
|
+
/**
|
|
3195
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
3196
|
+
*/
|
|
3197
|
+
maxResults?: number;
|
|
3198
|
+
/**
|
|
3199
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3200
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3201
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3202
|
+
* results after the first page.</p>
|
|
3203
|
+
*/
|
|
3204
|
+
nextToken?: string;
|
|
3205
|
+
}
|
|
3206
|
+
export declare namespace ListAccountPermissionsRequest {
|
|
3207
|
+
/**
|
|
3208
|
+
* @internal
|
|
3209
|
+
*/
|
|
3210
|
+
const filterSensitiveLog: (obj: ListAccountPermissionsRequest) => any;
|
|
3211
|
+
}
|
|
3212
|
+
export declare enum Operation {
|
|
3213
|
+
DISABLE_REPOSITORY = "DISABLE_REPOSITORY",
|
|
3214
|
+
DISABLE_SCANNING = "DISABLE_SCANNING",
|
|
3215
|
+
ENABLE_REPOSITORY = "ENABLE_REPOSITORY",
|
|
3216
|
+
ENABLE_SCANNING = "ENABLE_SCANNING"
|
|
3217
|
+
}
|
|
3218
|
+
/**
|
|
3219
|
+
* <p>Contains information on the permissions an account has within Amazon Inspector.</p>
|
|
3220
|
+
*/
|
|
3221
|
+
export interface Permission {
|
|
3222
|
+
/**
|
|
3223
|
+
* <p>The services that the permissions allow an account to perform the given operations for.</p>
|
|
3224
|
+
*/
|
|
3225
|
+
service: Service | string | undefined;
|
|
3226
|
+
/**
|
|
3227
|
+
* <p>The operations that can be performed with the given permissions.</p>
|
|
3228
|
+
*/
|
|
3229
|
+
operation: Operation | string | undefined;
|
|
3230
|
+
}
|
|
3231
|
+
export declare namespace Permission {
|
|
3232
|
+
/**
|
|
3233
|
+
* @internal
|
|
3234
|
+
*/
|
|
3235
|
+
const filterSensitiveLog: (obj: Permission) => any;
|
|
3236
|
+
}
|
|
3237
|
+
export interface ListAccountPermissionsResponse {
|
|
3238
|
+
/**
|
|
3239
|
+
* <p>Contains details on the permissions an account has to configure Amazon Inspector.</p>
|
|
3240
|
+
*/
|
|
3241
|
+
permissions: Permission[] | undefined;
|
|
3242
|
+
/**
|
|
3243
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3244
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3245
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3246
|
+
* results after the first page.</p>
|
|
3247
|
+
*/
|
|
3248
|
+
nextToken?: string;
|
|
3249
|
+
}
|
|
3250
|
+
export declare namespace ListAccountPermissionsResponse {
|
|
3251
|
+
/**
|
|
3252
|
+
* @internal
|
|
3253
|
+
*/
|
|
3254
|
+
const filterSensitiveLog: (obj: ListAccountPermissionsResponse) => any;
|
|
3255
|
+
}
|
|
3256
|
+
export interface ListCoverageRequest {
|
|
3257
|
+
/**
|
|
3258
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
3259
|
+
*/
|
|
3260
|
+
maxResults?: number;
|
|
3261
|
+
/**
|
|
3262
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3263
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3264
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3265
|
+
* results after the first page.</p>
|
|
3266
|
+
*/
|
|
3267
|
+
nextToken?: string;
|
|
3268
|
+
/**
|
|
3269
|
+
* <p>An object that contains details on the filters to apply to the coverage data for your
|
|
3270
|
+
* environment.</p>
|
|
3271
|
+
*/
|
|
3272
|
+
filterCriteria?: CoverageFilterCriteria;
|
|
3273
|
+
}
|
|
3274
|
+
export declare namespace ListCoverageRequest {
|
|
3275
|
+
/**
|
|
3276
|
+
* @internal
|
|
3277
|
+
*/
|
|
3278
|
+
const filterSensitiveLog: (obj: ListCoverageRequest) => any;
|
|
3279
|
+
}
|
|
3280
|
+
export interface ListCoverageResponse {
|
|
3281
|
+
/**
|
|
3282
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3283
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3284
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3285
|
+
* results after the first page.</p>
|
|
3286
|
+
*/
|
|
3287
|
+
nextToken?: string;
|
|
3288
|
+
/**
|
|
3289
|
+
* <p>An object that contains details on the covered resources in your environment.</p>
|
|
3290
|
+
*/
|
|
3291
|
+
coveredResources?: CoveredResource[];
|
|
3292
|
+
}
|
|
3293
|
+
export declare namespace ListCoverageResponse {
|
|
3294
|
+
/**
|
|
3295
|
+
* @internal
|
|
3296
|
+
*/
|
|
3297
|
+
const filterSensitiveLog: (obj: ListCoverageResponse) => any;
|
|
3298
|
+
}
|
|
3299
|
+
export interface ListCoverageStatisticsRequest {
|
|
3300
|
+
/**
|
|
3301
|
+
* <p>An object that contains details on the filters to apply to the coverage data for your
|
|
3302
|
+
* environment.</p>
|
|
3303
|
+
*/
|
|
3304
|
+
filterCriteria?: CoverageFilterCriteria;
|
|
3305
|
+
/**
|
|
3306
|
+
* <p>The value to group the results by.</p>
|
|
3307
|
+
*/
|
|
3308
|
+
groupBy?: GroupKey | string;
|
|
3309
|
+
/**
|
|
3310
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3311
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3312
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3313
|
+
* results after the first page.</p>
|
|
3314
|
+
*/
|
|
3315
|
+
nextToken?: string;
|
|
3316
|
+
}
|
|
3317
|
+
export declare namespace ListCoverageStatisticsRequest {
|
|
3318
|
+
/**
|
|
3319
|
+
* @internal
|
|
3320
|
+
*/
|
|
3321
|
+
const filterSensitiveLog: (obj: ListCoverageStatisticsRequest) => any;
|
|
3322
|
+
}
|
|
3323
|
+
export interface ListCoverageStatisticsResponse {
|
|
3324
|
+
/**
|
|
3325
|
+
* <p>An array with the number for each group.</p>
|
|
3326
|
+
*/
|
|
3327
|
+
countsByGroup?: Counts[];
|
|
3328
|
+
/**
|
|
3329
|
+
* <p>The total number for all groups.</p>
|
|
3330
|
+
*/
|
|
3331
|
+
totalCounts: number | undefined;
|
|
3332
|
+
/**
|
|
3333
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3334
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3335
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3336
|
+
* results after the first page.</p>
|
|
3337
|
+
*/
|
|
3338
|
+
nextToken?: string;
|
|
3339
|
+
}
|
|
3340
|
+
export declare namespace ListCoverageStatisticsResponse {
|
|
3341
|
+
/**
|
|
3342
|
+
* @internal
|
|
3343
|
+
*/
|
|
3344
|
+
const filterSensitiveLog: (obj: ListCoverageStatisticsResponse) => any;
|
|
3345
|
+
}
|
|
3346
|
+
export interface ListDelegatedAdminAccountsRequest {
|
|
3347
|
+
/**
|
|
3348
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
3349
|
+
*/
|
|
3350
|
+
maxResults?: number;
|
|
3351
|
+
/**
|
|
3352
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3353
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3354
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3355
|
+
* results after the first page.</p>
|
|
3356
|
+
*/
|
|
3357
|
+
nextToken?: string;
|
|
3358
|
+
}
|
|
3359
|
+
export declare namespace ListDelegatedAdminAccountsRequest {
|
|
3360
|
+
/**
|
|
3361
|
+
* @internal
|
|
3362
|
+
*/
|
|
3363
|
+
const filterSensitiveLog: (obj: ListDelegatedAdminAccountsRequest) => any;
|
|
3364
|
+
}
|
|
3365
|
+
export interface ListDelegatedAdminAccountsResponse {
|
|
3366
|
+
/**
|
|
3367
|
+
* <p>Details of the Amazon Inspector delegated administrator of your organization.</p>
|
|
3368
|
+
*/
|
|
3369
|
+
delegatedAdminAccounts?: DelegatedAdminAccount[];
|
|
3370
|
+
/**
|
|
3371
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3372
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3373
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3374
|
+
* results after the first page.</p>
|
|
3375
|
+
*/
|
|
3376
|
+
nextToken?: string;
|
|
3377
|
+
}
|
|
3378
|
+
export declare namespace ListDelegatedAdminAccountsResponse {
|
|
3379
|
+
/**
|
|
3380
|
+
* @internal
|
|
3381
|
+
*/
|
|
3382
|
+
const filterSensitiveLog: (obj: ListDelegatedAdminAccountsResponse) => any;
|
|
3383
|
+
}
|
|
3384
|
+
export interface ListFiltersRequest {
|
|
3385
|
+
/**
|
|
3386
|
+
* <p>The Amazon resource number (ARN) of the filter.</p>
|
|
3387
|
+
*/
|
|
3388
|
+
arns?: string[];
|
|
3389
|
+
/**
|
|
3390
|
+
* <p>The action the filter applies to matched findings.</p>
|
|
3391
|
+
*/
|
|
3392
|
+
action?: FilterAction | string;
|
|
3393
|
+
/**
|
|
3394
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3395
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3396
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3397
|
+
* results after the first page.</p>
|
|
3398
|
+
*/
|
|
3399
|
+
nextToken?: string;
|
|
3400
|
+
/**
|
|
3401
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
3402
|
+
*/
|
|
3403
|
+
maxResults?: number;
|
|
3404
|
+
}
|
|
3405
|
+
export declare namespace ListFiltersRequest {
|
|
3406
|
+
/**
|
|
3407
|
+
* @internal
|
|
3408
|
+
*/
|
|
3409
|
+
const filterSensitiveLog: (obj: ListFiltersRequest) => any;
|
|
3410
|
+
}
|
|
3411
|
+
export interface ListFiltersResponse {
|
|
3412
|
+
/**
|
|
3413
|
+
* <p>Contains details on the filters associated with your account.</p>
|
|
3414
|
+
*/
|
|
3415
|
+
filters: Filter[] | undefined;
|
|
3416
|
+
/**
|
|
3417
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3418
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3419
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3420
|
+
* results after the first page.</p>
|
|
3421
|
+
*/
|
|
3422
|
+
nextToken?: string;
|
|
3423
|
+
}
|
|
3424
|
+
export declare namespace ListFiltersResponse {
|
|
3425
|
+
/**
|
|
3426
|
+
* @internal
|
|
3427
|
+
*/
|
|
3428
|
+
const filterSensitiveLog: (obj: ListFiltersResponse) => any;
|
|
3429
|
+
}
|
|
3430
|
+
export interface ListFindingAggregationsRequest {
|
|
3431
|
+
/**
|
|
3432
|
+
* <p>The type of the aggregation request.</p>
|
|
3433
|
+
*/
|
|
3434
|
+
aggregationType: AggregationType | string | undefined;
|
|
3435
|
+
/**
|
|
3436
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3437
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3438
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3439
|
+
* results after the first page.</p>
|
|
3440
|
+
*/
|
|
3441
|
+
nextToken?: string;
|
|
3442
|
+
/**
|
|
3443
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
3444
|
+
*/
|
|
3445
|
+
maxResults?: number;
|
|
3446
|
+
/**
|
|
3447
|
+
* <p>The Amazon Web Services account IDs to retrieve finding aggregation data for.</p>
|
|
3448
|
+
*/
|
|
3449
|
+
accountIds?: StringFilter[];
|
|
3450
|
+
/**
|
|
3451
|
+
* <p>Details of the aggregation request that is used to filter your aggregation results.</p>
|
|
3452
|
+
*/
|
|
3453
|
+
aggregationRequest?: AggregationRequest;
|
|
3454
|
+
}
|
|
3455
|
+
export declare namespace ListFindingAggregationsRequest {
|
|
3456
|
+
/**
|
|
3457
|
+
* @internal
|
|
3458
|
+
*/
|
|
3459
|
+
const filterSensitiveLog: (obj: ListFindingAggregationsRequest) => any;
|
|
3460
|
+
}
|
|
3461
|
+
export interface ListFindingAggregationsResponse {
|
|
3462
|
+
/**
|
|
3463
|
+
* <p>The type of aggregation to perform.</p>
|
|
3464
|
+
*/
|
|
3465
|
+
aggregationType: AggregationType | string | undefined;
|
|
3466
|
+
/**
|
|
3467
|
+
* <p>Objects that contain the results of an aggregation operation.</p>
|
|
3468
|
+
*/
|
|
3469
|
+
responses?: AggregationResponse[];
|
|
3470
|
+
/**
|
|
3471
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3472
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3473
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3474
|
+
* results after the first page.</p>
|
|
3475
|
+
*/
|
|
3476
|
+
nextToken?: string;
|
|
3477
|
+
}
|
|
3478
|
+
export declare namespace ListFindingAggregationsResponse {
|
|
3479
|
+
/**
|
|
3480
|
+
* @internal
|
|
3481
|
+
*/
|
|
3482
|
+
const filterSensitiveLog: (obj: ListFindingAggregationsResponse) => any;
|
|
3483
|
+
}
|
|
3484
|
+
export declare enum SortField {
|
|
3485
|
+
AWS_ACCOUNT_ID = "AWS_ACCOUNT_ID",
|
|
3486
|
+
COMPONENT_TYPE = "COMPONENT_TYPE",
|
|
3487
|
+
ECR_IMAGE_PUSHED_AT = "ECR_IMAGE_PUSHED_AT",
|
|
3488
|
+
ECR_IMAGE_REGISTRY = "ECR_IMAGE_REGISTRY",
|
|
3489
|
+
ECR_IMAGE_REPOSITORY_NAME = "ECR_IMAGE_REPOSITORY_NAME",
|
|
3490
|
+
FINDING_STATUS = "FINDING_STATUS",
|
|
3491
|
+
FINDING_TYPE = "FINDING_TYPE",
|
|
3492
|
+
FIRST_OBSERVED_AT = "FIRST_OBSERVED_AT",
|
|
3493
|
+
INSPECTOR_SCORE = "INSPECTOR_SCORE",
|
|
3494
|
+
LAST_OBSERVED_AT = "LAST_OBSERVED_AT",
|
|
3495
|
+
NETWORK_PROTOCOL = "NETWORK_PROTOCOL",
|
|
3496
|
+
RESOURCE_TYPE = "RESOURCE_TYPE",
|
|
3497
|
+
SEVERITY = "SEVERITY",
|
|
3498
|
+
VENDOR_SEVERITY = "VENDOR_SEVERITY",
|
|
3499
|
+
VULNERABILITY_ID = "VULNERABILITY_ID",
|
|
3500
|
+
VULNERABILITY_SOURCE = "VULNERABILITY_SOURCE"
|
|
3501
|
+
}
|
|
3502
|
+
/**
|
|
3503
|
+
* <p>Details about the criteria used to sort finding results.</p>
|
|
3504
|
+
*/
|
|
3505
|
+
export interface SortCriteria {
|
|
3506
|
+
/**
|
|
3507
|
+
* <p>The finding detail field by which results are sorted.</p>
|
|
3508
|
+
*/
|
|
3509
|
+
field: SortField | string | undefined;
|
|
3510
|
+
/**
|
|
3511
|
+
* <p>The order by which findings are sorted.</p>
|
|
3512
|
+
*/
|
|
3513
|
+
sortOrder: SortOrder | string | undefined;
|
|
3514
|
+
}
|
|
3515
|
+
export declare namespace SortCriteria {
|
|
3516
|
+
/**
|
|
3517
|
+
* @internal
|
|
3518
|
+
*/
|
|
3519
|
+
const filterSensitiveLog: (obj: SortCriteria) => any;
|
|
3520
|
+
}
|
|
3521
|
+
export interface ListFindingsRequest {
|
|
3522
|
+
/**
|
|
3523
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
3524
|
+
*/
|
|
3525
|
+
maxResults?: number;
|
|
3526
|
+
/**
|
|
3527
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3528
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3529
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3530
|
+
* results after the first page.</p>
|
|
3531
|
+
*/
|
|
3532
|
+
nextToken?: string;
|
|
3533
|
+
/**
|
|
3534
|
+
* <p>Details on the filters to apply to your finding results.</p>
|
|
3535
|
+
*/
|
|
3536
|
+
filterCriteria?: FilterCriteria;
|
|
3537
|
+
/**
|
|
3538
|
+
* <p>Details on the sort criteria to apply to your finding results.</p>
|
|
3539
|
+
*/
|
|
3540
|
+
sortCriteria?: SortCriteria;
|
|
3541
|
+
}
|
|
3542
|
+
export declare namespace ListFindingsRequest {
|
|
3543
|
+
/**
|
|
3544
|
+
* @internal
|
|
3545
|
+
*/
|
|
3546
|
+
const filterSensitiveLog: (obj: ListFindingsRequest) => any;
|
|
3547
|
+
}
|
|
3548
|
+
export interface ListFindingsResponse {
|
|
3549
|
+
/**
|
|
3550
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3551
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3552
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3553
|
+
* results after the first page.</p>
|
|
3554
|
+
*/
|
|
3555
|
+
nextToken?: string;
|
|
3556
|
+
/**
|
|
3557
|
+
* <p>Contains details on the findings in your environment.</p>
|
|
3558
|
+
*/
|
|
3559
|
+
findings?: Finding[];
|
|
3560
|
+
}
|
|
3561
|
+
export declare namespace ListFindingsResponse {
|
|
3562
|
+
/**
|
|
3563
|
+
* @internal
|
|
3564
|
+
*/
|
|
3565
|
+
const filterSensitiveLog: (obj: ListFindingsResponse) => any;
|
|
3566
|
+
}
|
|
3567
|
+
export interface ListMembersRequest {
|
|
3568
|
+
/**
|
|
3569
|
+
* <p>Specifies whether to list only currently associated members if <code>True</code> or to
|
|
3570
|
+
* list all members within the organization if <code>False</code>.</p>
|
|
3571
|
+
*/
|
|
3572
|
+
onlyAssociated?: boolean;
|
|
3573
|
+
/**
|
|
3574
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
3575
|
+
*/
|
|
3576
|
+
maxResults?: number;
|
|
3577
|
+
/**
|
|
3578
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3579
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3580
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3581
|
+
* results after the first page.</p>
|
|
3582
|
+
*/
|
|
3583
|
+
nextToken?: string;
|
|
3584
|
+
}
|
|
3585
|
+
export declare namespace ListMembersRequest {
|
|
3586
|
+
/**
|
|
3587
|
+
* @internal
|
|
3588
|
+
*/
|
|
3589
|
+
const filterSensitiveLog: (obj: ListMembersRequest) => any;
|
|
3590
|
+
}
|
|
3591
|
+
export interface ListMembersResponse {
|
|
3592
|
+
/**
|
|
3593
|
+
* <p>An object that contains details for each member account.</p>
|
|
3594
|
+
*/
|
|
3595
|
+
members?: Member[];
|
|
3596
|
+
/**
|
|
3597
|
+
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
3598
|
+
* items.</p>
|
|
3599
|
+
*/
|
|
3600
|
+
nextToken?: string;
|
|
3601
|
+
}
|
|
3602
|
+
export declare namespace ListMembersResponse {
|
|
3603
|
+
/**
|
|
3604
|
+
* @internal
|
|
3605
|
+
*/
|
|
3606
|
+
const filterSensitiveLog: (obj: ListMembersResponse) => any;
|
|
3607
|
+
}
|
|
3608
|
+
export interface ListTagsForResourceRequest {
|
|
3609
|
+
/**
|
|
3610
|
+
* <p>The Amazon resource number (ARN) of the resource to list tags of.</p>
|
|
3611
|
+
*/
|
|
3612
|
+
resourceArn: string | undefined;
|
|
3613
|
+
}
|
|
3614
|
+
export declare namespace ListTagsForResourceRequest {
|
|
3615
|
+
/**
|
|
3616
|
+
* @internal
|
|
3617
|
+
*/
|
|
3618
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
3619
|
+
}
|
|
3620
|
+
export interface ListTagsForResourceResponse {
|
|
3621
|
+
/**
|
|
3622
|
+
* <p>The tags associated with the resource.</p>
|
|
3623
|
+
*/
|
|
3624
|
+
tags?: {
|
|
3625
|
+
[key: string]: string;
|
|
3626
|
+
};
|
|
3627
|
+
}
|
|
3628
|
+
export declare namespace ListTagsForResourceResponse {
|
|
3629
|
+
/**
|
|
3630
|
+
* @internal
|
|
3631
|
+
*/
|
|
3632
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
3633
|
+
}
|
|
3634
|
+
export interface ListUsageTotalsRequest {
|
|
3635
|
+
/**
|
|
3636
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
3637
|
+
*/
|
|
3638
|
+
maxResults?: number;
|
|
3639
|
+
/**
|
|
3640
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
3641
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
3642
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
3643
|
+
* results after the first page.</p>
|
|
3644
|
+
*/
|
|
3645
|
+
nextToken?: string;
|
|
3646
|
+
/**
|
|
3647
|
+
* <p>The Amazon Web Services account IDs to retrieve usage totals for.</p>
|
|
3648
|
+
*/
|
|
3649
|
+
accountIds?: string[];
|
|
3650
|
+
}
|
|
3651
|
+
export declare namespace ListUsageTotalsRequest {
|
|
3652
|
+
/**
|
|
3653
|
+
* @internal
|
|
3654
|
+
*/
|
|
3655
|
+
const filterSensitiveLog: (obj: ListUsageTotalsRequest) => any;
|
|
3656
|
+
}
|
|
3657
|
+
export declare enum UsageType {
|
|
3658
|
+
EC2_INSTANCE_HOURS = "EC2_INSTANCE_HOURS",
|
|
3659
|
+
ECR_INITIAL_SCAN = "ECR_INITIAL_SCAN",
|
|
3660
|
+
ECR_RESCAN = "ECR_RESCAN"
|
|
3661
|
+
}
|
|
3662
|
+
/**
|
|
3663
|
+
* <p>Contains usage information about the cost of Amazon Inspector operation.</p>
|
|
3664
|
+
*/
|
|
3665
|
+
export interface Usage {
|
|
3666
|
+
/**
|
|
3667
|
+
* <p>The type scan.</p>
|
|
3668
|
+
*/
|
|
3669
|
+
type?: UsageType | string;
|
|
3670
|
+
/**
|
|
3671
|
+
* <p>The total of usage.</p>
|
|
3672
|
+
*/
|
|
3673
|
+
total?: number;
|
|
3674
|
+
/**
|
|
3675
|
+
* <p>The estimated monthly cost of Amazon Inspector.</p>
|
|
3676
|
+
*/
|
|
3677
|
+
estimatedMonthlyCost?: number;
|
|
3678
|
+
/**
|
|
3679
|
+
* <p>The currency type used when calculating usage data.</p>
|
|
3680
|
+
*/
|
|
3681
|
+
currency?: Currency | string;
|
|
3682
|
+
}
|
|
3683
|
+
export declare namespace Usage {
|
|
3684
|
+
/**
|
|
3685
|
+
* @internal
|
|
3686
|
+
*/
|
|
3687
|
+
const filterSensitiveLog: (obj: Usage) => any;
|
|
3688
|
+
}
|
|
3689
|
+
/**
|
|
3690
|
+
* <p>The total of usage for an account ID.</p>
|
|
3691
|
+
*/
|
|
3692
|
+
export interface UsageTotal {
|
|
3693
|
+
/**
|
|
3694
|
+
* <p>The account ID of the account that usage data was retrieved for.</p>
|
|
3695
|
+
*/
|
|
3696
|
+
accountId?: string;
|
|
3697
|
+
/**
|
|
3698
|
+
* <p>An object representing the total usage for an account.</p>
|
|
3699
|
+
*/
|
|
3700
|
+
usage?: Usage[];
|
|
3701
|
+
}
|
|
3702
|
+
export declare namespace UsageTotal {
|
|
3703
|
+
/**
|
|
3704
|
+
* @internal
|
|
3705
|
+
*/
|
|
3706
|
+
const filterSensitiveLog: (obj: UsageTotal) => any;
|
|
3707
|
+
}
|
|
3708
|
+
export interface ListUsageTotalsResponse {
|
|
3709
|
+
/**
|
|
3710
|
+
* <p>The pagination parameter to be used on the next list operation to retrieve more items.</p>
|
|
3711
|
+
*/
|
|
3712
|
+
nextToken?: string;
|
|
3713
|
+
/**
|
|
3714
|
+
* <p>An object with details on the total usage for the requested account.</p>
|
|
3715
|
+
*/
|
|
3716
|
+
totals?: UsageTotal[];
|
|
3717
|
+
}
|
|
3718
|
+
export declare namespace ListUsageTotalsResponse {
|
|
3719
|
+
/**
|
|
3720
|
+
* @internal
|
|
3721
|
+
*/
|
|
3722
|
+
const filterSensitiveLog: (obj: ListUsageTotalsResponse) => any;
|
|
3723
|
+
}
|
|
3724
|
+
export interface TagResourceRequest {
|
|
3725
|
+
/**
|
|
3726
|
+
* <p>The Amazon Resource Name (ARN) of the resource to apply a tag to.</p>
|
|
3727
|
+
*/
|
|
3728
|
+
resourceArn: string | undefined;
|
|
3729
|
+
/**
|
|
3730
|
+
* <p>The tags to be added to a resource.</p>
|
|
3731
|
+
*/
|
|
3732
|
+
tags: {
|
|
3733
|
+
[key: string]: string;
|
|
3734
|
+
} | undefined;
|
|
3735
|
+
}
|
|
3736
|
+
export declare namespace TagResourceRequest {
|
|
3737
|
+
/**
|
|
3738
|
+
* @internal
|
|
3739
|
+
*/
|
|
3740
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
3741
|
+
}
|
|
3742
|
+
export interface TagResourceResponse {
|
|
3743
|
+
}
|
|
3744
|
+
export declare namespace TagResourceResponse {
|
|
3745
|
+
/**
|
|
3746
|
+
* @internal
|
|
3747
|
+
*/
|
|
3748
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
3749
|
+
}
|
|
3750
|
+
export interface UntagResourceRequest {
|
|
3751
|
+
/**
|
|
3752
|
+
* <p>The Amazon Resource Name (ARN) for the resource to remove tags from.</p>
|
|
3753
|
+
*/
|
|
3754
|
+
resourceArn: string | undefined;
|
|
3755
|
+
/**
|
|
3756
|
+
* <p>The tag keys to remove from the resource.</p>
|
|
3757
|
+
*/
|
|
3758
|
+
tagKeys: string[] | undefined;
|
|
3759
|
+
}
|
|
3760
|
+
export declare namespace UntagResourceRequest {
|
|
3761
|
+
/**
|
|
3762
|
+
* @internal
|
|
3763
|
+
*/
|
|
3764
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
3765
|
+
}
|
|
3766
|
+
export interface UntagResourceResponse {
|
|
3767
|
+
}
|
|
3768
|
+
export declare namespace UntagResourceResponse {
|
|
3769
|
+
/**
|
|
3770
|
+
* @internal
|
|
3771
|
+
*/
|
|
3772
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
3773
|
+
}
|
|
3774
|
+
export interface UpdateFilterRequest {
|
|
3775
|
+
/**
|
|
3776
|
+
* <p>Specifies the action that is to be applied to the findings that match the filter.</p>
|
|
3777
|
+
*/
|
|
3778
|
+
action?: FilterAction | string;
|
|
3779
|
+
/**
|
|
3780
|
+
* <p>A description of the filter.</p>
|
|
3781
|
+
*/
|
|
3782
|
+
description?: string;
|
|
3783
|
+
/**
|
|
3784
|
+
* <p>Defines the criteria to be update in the filter.</p>
|
|
3785
|
+
*/
|
|
3786
|
+
filterCriteria?: FilterCriteria;
|
|
3787
|
+
/**
|
|
3788
|
+
* <p>The name of the filter.</p>
|
|
3789
|
+
*/
|
|
3790
|
+
name?: string;
|
|
3791
|
+
/**
|
|
3792
|
+
* <p>The Amazon Resource Number (ARN) of the filter to update.</p>
|
|
3793
|
+
*/
|
|
3794
|
+
filterArn: string | undefined;
|
|
3795
|
+
}
|
|
3796
|
+
export declare namespace UpdateFilterRequest {
|
|
3797
|
+
/**
|
|
3798
|
+
* @internal
|
|
3799
|
+
*/
|
|
3800
|
+
const filterSensitiveLog: (obj: UpdateFilterRequest) => any;
|
|
3801
|
+
}
|
|
3802
|
+
export interface UpdateFilterResponse {
|
|
3803
|
+
/**
|
|
3804
|
+
* <p>The Amazon Resource Number (ARN) of the successfully updated filter.</p>
|
|
3805
|
+
*/
|
|
3806
|
+
arn: string | undefined;
|
|
3807
|
+
}
|
|
3808
|
+
export declare namespace UpdateFilterResponse {
|
|
3809
|
+
/**
|
|
3810
|
+
* @internal
|
|
3811
|
+
*/
|
|
3812
|
+
const filterSensitiveLog: (obj: UpdateFilterResponse) => any;
|
|
3813
|
+
}
|
|
3814
|
+
export interface UpdateOrganizationConfigurationRequest {
|
|
3815
|
+
/**
|
|
3816
|
+
* <p>Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.</p>
|
|
3817
|
+
*/
|
|
3818
|
+
autoEnable: AutoEnable | undefined;
|
|
3819
|
+
}
|
|
3820
|
+
export declare namespace UpdateOrganizationConfigurationRequest {
|
|
3821
|
+
/**
|
|
3822
|
+
* @internal
|
|
3823
|
+
*/
|
|
3824
|
+
const filterSensitiveLog: (obj: UpdateOrganizationConfigurationRequest) => any;
|
|
3825
|
+
}
|
|
3826
|
+
export interface UpdateOrganizationConfigurationResponse {
|
|
3827
|
+
/**
|
|
3828
|
+
* <p>The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.</p>
|
|
3829
|
+
*/
|
|
3830
|
+
autoEnable: AutoEnable | undefined;
|
|
3831
|
+
}
|
|
3832
|
+
export declare namespace UpdateOrganizationConfigurationResponse {
|
|
3833
|
+
/**
|
|
3834
|
+
* @internal
|
|
3835
|
+
*/
|
|
3836
|
+
const filterSensitiveLog: (obj: UpdateOrganizationConfigurationResponse) => any;
|
|
3837
|
+
}
|