@aws-sdk/client-inspector2 3.495.0 → 3.498.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/README.md +104 -0
- package/dist-cjs/commands/CreateCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/commands/DeleteCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/commands/GetCisScanReportCommand.js +1 -0
- package/dist-cjs/commands/GetCisScanResultDetailsCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanConfigurationsCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanResultsAggregatedByChecksCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +1 -0
- package/dist-cjs/commands/ListCisScansCommand.js +1 -0
- package/dist-cjs/commands/SendCisSessionHealthCommand.js +1 -0
- package/dist-cjs/commands/SendCisSessionTelemetryCommand.js +1 -0
- package/dist-cjs/commands/StartCisSessionCommand.js +1 -0
- package/dist-cjs/commands/StopCisSessionCommand.js +1 -0
- package/dist-cjs/commands/UpdateCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/index.js +1722 -397
- package/dist-cjs/models/models_1.js +1 -0
- package/dist-cjs/pagination/GetCisScanResultDetailsPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanConfigurationsPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScansPaginator.js +1 -0
- package/dist-es/Inspector2.js +26 -0
- package/dist-es/commands/CreateCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/GetCisScanReportCommand.js +24 -0
- package/dist-es/commands/GetCisScanResultDetailsCommand.js +24 -0
- package/dist-es/commands/ListCisScanConfigurationsCommand.js +24 -0
- package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +24 -0
- package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +24 -0
- package/dist-es/commands/ListCisScansCommand.js +24 -0
- package/dist-es/commands/SendCisSessionHealthCommand.js +24 -0
- package/dist-es/commands/SendCisSessionTelemetryCommand.js +24 -0
- package/dist-es/commands/StartCisSessionCommand.js +24 -0
- package/dist-es/commands/StopCisSessionCommand.js +24 -0
- package/dist-es/commands/UpdateCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +126 -28
- package/dist-es/models/models_1.js +35 -0
- package/dist-es/pagination/GetCisScanResultDetailsPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +4 -0
- package/dist-es/pagination/ListCisScansPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +847 -20
- package/dist-types/Inspector2.d.ts +91 -0
- package/dist-types/Inspector2Client.d.ts +15 -2
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +74 -0
- package/dist-types/commands/GetCisScanReportCommand.d.ts +75 -0
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +125 -0
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +141 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +129 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +152 -0
- package/dist-types/commands/ListCisScansCommand.d.ts +158 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +2 -1
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +77 -0
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +84 -0
- package/dist-types/commands/StartCisSessionCommand.d.ts +79 -0
- package/dist-types/commands/StopCisSessionCommand.d.ts +98 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +111 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFilterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2223 -1516
- package/dist-types/models/models_1.d.ts +1053 -0
- package/dist-types/pagination/GetCisScanResultDetailsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/Inspector2.d.ts +233 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/StopCisSessionCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +449 -192
- package/dist-types/ts3.4/models/models_1.d.ts +309 -0
- package/dist-types/ts3.4/pagination/GetCisScanResultDetailsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +39 -39
|
@@ -0,0 +1,1053 @@
|
|
|
1
|
+
import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, CisaData, CisSecurityLevel, CisSessionMessage, ComputePlatform, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, DelegatedAdminAccount, Ec2DeepInspectionStatus, EcrConfiguration, Epss, ExploitObserved, Filter, FilterAction, FilterCriteria, Finding, GroupKey, Member, ResourceType, ScanType, Schedule, SortOrder, StringFilter } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ListCoverageResponse {
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
9
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
10
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
11
|
+
* results after the first page.</p>
|
|
12
|
+
*/
|
|
13
|
+
nextToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
* <p>An object that contains details on the covered resources in your environment.</p>
|
|
17
|
+
*/
|
|
18
|
+
coveredResources?: CoveredResource[];
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCoverageStatisticsRequest {
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>An object that contains details on the filters to apply to the coverage data for your
|
|
27
|
+
* environment.</p>
|
|
28
|
+
*/
|
|
29
|
+
filterCriteria?: CoverageFilterCriteria;
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* <p>The value to group the results by.</p>
|
|
33
|
+
*/
|
|
34
|
+
groupBy?: GroupKey;
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
38
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
39
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
40
|
+
* results after the first page.</p>
|
|
41
|
+
*/
|
|
42
|
+
nextToken?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export interface ListCoverageStatisticsResponse {
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
* <p>An array with the number for each group.</p>
|
|
51
|
+
*/
|
|
52
|
+
countsByGroup?: Counts[];
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
* <p>The total number for all groups.</p>
|
|
56
|
+
*/
|
|
57
|
+
totalCounts: number | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
61
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
62
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
63
|
+
* results after the first page.</p>
|
|
64
|
+
*/
|
|
65
|
+
nextToken?: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export interface ListDelegatedAdminAccountsRequest {
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
74
|
+
*/
|
|
75
|
+
maxResults?: number;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
79
|
+
*/
|
|
80
|
+
nextToken?: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export interface ListDelegatedAdminAccountsResponse {
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
* <p>Details of the Amazon Inspector delegated administrator of your organization.</p>
|
|
89
|
+
*/
|
|
90
|
+
delegatedAdminAccounts?: DelegatedAdminAccount[];
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
94
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
95
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
96
|
+
* results after the first page.</p>
|
|
97
|
+
*/
|
|
98
|
+
nextToken?: string;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export interface ListFiltersRequest {
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* <p>The Amazon resource number (ARN) of the filter.</p>
|
|
107
|
+
*/
|
|
108
|
+
arns?: string[];
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
* <p>The action the filter applies to matched findings.</p>
|
|
112
|
+
*/
|
|
113
|
+
action?: FilterAction;
|
|
114
|
+
/**
|
|
115
|
+
* @public
|
|
116
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
117
|
+
*/
|
|
118
|
+
nextToken?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
122
|
+
*/
|
|
123
|
+
maxResults?: number;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export interface ListFiltersResponse {
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* <p>Contains details on the filters associated with your account.</p>
|
|
132
|
+
*/
|
|
133
|
+
filters: Filter[] | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
137
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
138
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
139
|
+
* results after the first page.</p>
|
|
140
|
+
*/
|
|
141
|
+
nextToken?: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
export interface ListFindingAggregationsRequest {
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
* <p>The type of the aggregation request.</p>
|
|
150
|
+
*/
|
|
151
|
+
aggregationType: AggregationType | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
155
|
+
*/
|
|
156
|
+
nextToken?: string;
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
160
|
+
*/
|
|
161
|
+
maxResults?: number;
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* <p>The Amazon Web Services account IDs to retrieve finding aggregation data for.</p>
|
|
165
|
+
*/
|
|
166
|
+
accountIds?: StringFilter[];
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
* <p>Details of the aggregation request that is used to filter your aggregation results.</p>
|
|
170
|
+
*/
|
|
171
|
+
aggregationRequest?: AggregationRequest;
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
export interface ListFindingAggregationsResponse {
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
* <p>The type of aggregation to perform.</p>
|
|
180
|
+
*/
|
|
181
|
+
aggregationType: AggregationType | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
* <p>Objects that contain the results of an aggregation operation.</p>
|
|
185
|
+
*/
|
|
186
|
+
responses?: AggregationResponse[];
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
190
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
191
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
192
|
+
* results after the first page.</p>
|
|
193
|
+
*/
|
|
194
|
+
nextToken?: string;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* @public
|
|
198
|
+
* @enum
|
|
199
|
+
*/
|
|
200
|
+
export declare const SortField: {
|
|
201
|
+
readonly AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID";
|
|
202
|
+
readonly COMPONENT_TYPE: "COMPONENT_TYPE";
|
|
203
|
+
readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
|
|
204
|
+
readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
|
|
205
|
+
readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
|
|
206
|
+
readonly EPSS_SCORE: "EPSS_SCORE";
|
|
207
|
+
readonly FINDING_STATUS: "FINDING_STATUS";
|
|
208
|
+
readonly FINDING_TYPE: "FINDING_TYPE";
|
|
209
|
+
readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
|
|
210
|
+
readonly INSPECTOR_SCORE: "INSPECTOR_SCORE";
|
|
211
|
+
readonly LAST_OBSERVED_AT: "LAST_OBSERVED_AT";
|
|
212
|
+
readonly NETWORK_PROTOCOL: "NETWORK_PROTOCOL";
|
|
213
|
+
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
214
|
+
readonly SEVERITY: "SEVERITY";
|
|
215
|
+
readonly VENDOR_SEVERITY: "VENDOR_SEVERITY";
|
|
216
|
+
readonly VULNERABILITY_ID: "VULNERABILITY_ID";
|
|
217
|
+
readonly VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE";
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* @public
|
|
221
|
+
*/
|
|
222
|
+
export type SortField = (typeof SortField)[keyof typeof SortField];
|
|
223
|
+
/**
|
|
224
|
+
* @public
|
|
225
|
+
* <p>Details about the criteria used to sort finding results.</p>
|
|
226
|
+
*/
|
|
227
|
+
export interface SortCriteria {
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
* <p>The finding detail field by which results are sorted.</p>
|
|
231
|
+
*/
|
|
232
|
+
field: SortField | undefined;
|
|
233
|
+
/**
|
|
234
|
+
* @public
|
|
235
|
+
* <p>The order by which findings are sorted.</p>
|
|
236
|
+
*/
|
|
237
|
+
sortOrder: SortOrder | undefined;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
export interface ListFindingsRequest {
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
246
|
+
*/
|
|
247
|
+
maxResults?: number;
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
251
|
+
*/
|
|
252
|
+
nextToken?: string;
|
|
253
|
+
/**
|
|
254
|
+
* @public
|
|
255
|
+
* <p>Details on the filters to apply to your finding results.</p>
|
|
256
|
+
*/
|
|
257
|
+
filterCriteria?: FilterCriteria;
|
|
258
|
+
/**
|
|
259
|
+
* @public
|
|
260
|
+
* <p>Details on the sort criteria to apply to your finding results.</p>
|
|
261
|
+
*/
|
|
262
|
+
sortCriteria?: SortCriteria;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
export interface ListFindingsResponse {
|
|
268
|
+
/**
|
|
269
|
+
* @public
|
|
270
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
271
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
272
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
273
|
+
* results after the first page.</p>
|
|
274
|
+
*/
|
|
275
|
+
nextToken?: string;
|
|
276
|
+
/**
|
|
277
|
+
* @public
|
|
278
|
+
* <p>Contains details on the findings in your environment.</p>
|
|
279
|
+
*/
|
|
280
|
+
findings?: Finding[];
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
285
|
+
export interface ListMembersRequest {
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* <p>Specifies whether to list only currently associated members if <code>True</code> or to
|
|
289
|
+
* list all members within the organization if <code>False</code>.</p>
|
|
290
|
+
*/
|
|
291
|
+
onlyAssociated?: boolean;
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
295
|
+
*/
|
|
296
|
+
maxResults?: number;
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
300
|
+
*/
|
|
301
|
+
nextToken?: string;
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
export interface ListMembersResponse {
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
* <p>An object that contains details for each member account.</p>
|
|
310
|
+
*/
|
|
311
|
+
members?: Member[];
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
315
|
+
* items.</p>
|
|
316
|
+
*/
|
|
317
|
+
nextToken?: string;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @public
|
|
321
|
+
*/
|
|
322
|
+
export interface ListTagsForResourceRequest {
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
* <p>The Amazon resource number (ARN) of the resource to list tags of.</p>
|
|
326
|
+
*/
|
|
327
|
+
resourceArn: string | undefined;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
export interface ListTagsForResourceResponse {
|
|
333
|
+
/**
|
|
334
|
+
* @public
|
|
335
|
+
* <p>The tags associated with the resource.</p>
|
|
336
|
+
*/
|
|
337
|
+
tags?: Record<string, string>;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
export interface ListUsageTotalsRequest {
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
346
|
+
*/
|
|
347
|
+
maxResults?: number;
|
|
348
|
+
/**
|
|
349
|
+
* @public
|
|
350
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
|
|
351
|
+
*/
|
|
352
|
+
nextToken?: string;
|
|
353
|
+
/**
|
|
354
|
+
* @public
|
|
355
|
+
* <p>The Amazon Web Services account IDs to retrieve usage totals for.</p>
|
|
356
|
+
*/
|
|
357
|
+
accountIds?: string[];
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
* @enum
|
|
362
|
+
*/
|
|
363
|
+
export declare const UsageType: {
|
|
364
|
+
readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
|
|
365
|
+
readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
|
|
366
|
+
readonly ECR_RESCAN: "ECR_RESCAN";
|
|
367
|
+
readonly LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS";
|
|
368
|
+
readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
export type UsageType = (typeof UsageType)[keyof typeof UsageType];
|
|
374
|
+
/**
|
|
375
|
+
* @public
|
|
376
|
+
* <p>Contains usage information about the cost of Amazon Inspector operation.</p>
|
|
377
|
+
*/
|
|
378
|
+
export interface Usage {
|
|
379
|
+
/**
|
|
380
|
+
* @public
|
|
381
|
+
* <p>The type scan.</p>
|
|
382
|
+
*/
|
|
383
|
+
type?: UsageType;
|
|
384
|
+
/**
|
|
385
|
+
* @public
|
|
386
|
+
* <p>The total of usage.</p>
|
|
387
|
+
*/
|
|
388
|
+
total?: number;
|
|
389
|
+
/**
|
|
390
|
+
* @public
|
|
391
|
+
* <p>The estimated monthly cost of Amazon Inspector.</p>
|
|
392
|
+
*/
|
|
393
|
+
estimatedMonthlyCost?: number;
|
|
394
|
+
/**
|
|
395
|
+
* @public
|
|
396
|
+
* <p>The currency type used when calculating usage data.</p>
|
|
397
|
+
*/
|
|
398
|
+
currency?: Currency;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* @public
|
|
402
|
+
* <p>The total of usage for an account ID.</p>
|
|
403
|
+
*/
|
|
404
|
+
export interface UsageTotal {
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
* <p>The account ID of the account that usage data was retrieved for.</p>
|
|
408
|
+
*/
|
|
409
|
+
accountId?: string;
|
|
410
|
+
/**
|
|
411
|
+
* @public
|
|
412
|
+
* <p>An object representing the total usage for an account.</p>
|
|
413
|
+
*/
|
|
414
|
+
usage?: Usage[];
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
export interface ListUsageTotalsResponse {
|
|
420
|
+
/**
|
|
421
|
+
* @public
|
|
422
|
+
* <p>The pagination parameter to be used on the next list operation to retrieve more items.</p>
|
|
423
|
+
*/
|
|
424
|
+
nextToken?: string;
|
|
425
|
+
/**
|
|
426
|
+
* @public
|
|
427
|
+
* <p>An object with details on the total usage for the requested account.</p>
|
|
428
|
+
*/
|
|
429
|
+
totals?: UsageTotal[];
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* @public
|
|
433
|
+
*/
|
|
434
|
+
export interface ResetEncryptionKeyRequest {
|
|
435
|
+
/**
|
|
436
|
+
* @public
|
|
437
|
+
* <p>The scan type the key encrypts.</p>
|
|
438
|
+
*/
|
|
439
|
+
scanType: ScanType | undefined;
|
|
440
|
+
/**
|
|
441
|
+
* @public
|
|
442
|
+
* <p>The resource type the key encrypts.</p>
|
|
443
|
+
*/
|
|
444
|
+
resourceType: ResourceType | undefined;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
export interface ResetEncryptionKeyResponse {
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* @public
|
|
453
|
+
* <p>Details on the criteria used to define the filter for a vulnerability search.
|
|
454
|
+
* </p>
|
|
455
|
+
*/
|
|
456
|
+
export interface SearchVulnerabilitiesFilterCriteria {
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
* <p>The IDs for specific vulnerabilities.</p>
|
|
460
|
+
*/
|
|
461
|
+
vulnerabilityIds: string[] | undefined;
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* @public
|
|
465
|
+
*/
|
|
466
|
+
export interface SearchVulnerabilitiesRequest {
|
|
467
|
+
/**
|
|
468
|
+
* @public
|
|
469
|
+
* <p>The criteria used to filter the results of a vulnerability search.</p>
|
|
470
|
+
*/
|
|
471
|
+
filterCriteria: SearchVulnerabilitiesFilterCriteria | undefined;
|
|
472
|
+
/**
|
|
473
|
+
* @public
|
|
474
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
475
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
476
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
477
|
+
* results after the first page.</p>
|
|
478
|
+
*/
|
|
479
|
+
nextToken?: string;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* @public
|
|
483
|
+
* @enum
|
|
484
|
+
*/
|
|
485
|
+
export declare const VulnerabilitySource: {
|
|
486
|
+
readonly NVD: "NVD";
|
|
487
|
+
};
|
|
488
|
+
/**
|
|
489
|
+
* @public
|
|
490
|
+
*/
|
|
491
|
+
export type VulnerabilitySource = (typeof VulnerabilitySource)[keyof typeof VulnerabilitySource];
|
|
492
|
+
/**
|
|
493
|
+
* @public
|
|
494
|
+
* <p>Contains details about a specific vulnerability Amazon Inspector can detect.</p>
|
|
495
|
+
*/
|
|
496
|
+
export interface Vulnerability {
|
|
497
|
+
/**
|
|
498
|
+
* @public
|
|
499
|
+
* <p>The ID for the specific vulnerability.</p>
|
|
500
|
+
*/
|
|
501
|
+
id: string | undefined;
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
* <p>The Common Weakness Enumeration (CWE) associated with the vulnerability.</p>
|
|
505
|
+
*/
|
|
506
|
+
cwes?: string[];
|
|
507
|
+
/**
|
|
508
|
+
* @public
|
|
509
|
+
* <p>An object that contains the Cybersecurity and Infrastructure Security Agency (CISA) details for the vulnerability.</p>
|
|
510
|
+
*/
|
|
511
|
+
cisaData?: CisaData;
|
|
512
|
+
/**
|
|
513
|
+
* @public
|
|
514
|
+
* <p>The source of the vulnerability information. Possible results are <code>RHEL</code>, <code>AMAZON_CVE</code>, <code>DEBIAN</code> or <code>NVD</code>.</p>
|
|
515
|
+
*/
|
|
516
|
+
source?: VulnerabilitySource;
|
|
517
|
+
/**
|
|
518
|
+
* @public
|
|
519
|
+
* <p>A description of the vulnerability.</p>
|
|
520
|
+
*/
|
|
521
|
+
description?: string;
|
|
522
|
+
/**
|
|
523
|
+
* @public
|
|
524
|
+
* <p>An object that contains information about the Amazon Web Services Threat Intel Group (ATIG) details for the vulnerability.</p>
|
|
525
|
+
*/
|
|
526
|
+
atigData?: AtigData;
|
|
527
|
+
/**
|
|
528
|
+
* @public
|
|
529
|
+
* <p>The severity assigned by the vendor.</p>
|
|
530
|
+
*/
|
|
531
|
+
vendorSeverity?: string;
|
|
532
|
+
/**
|
|
533
|
+
* @public
|
|
534
|
+
* <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details for the vulnerability.</p>
|
|
535
|
+
*/
|
|
536
|
+
cvss3?: Cvss3;
|
|
537
|
+
/**
|
|
538
|
+
* @public
|
|
539
|
+
* <p>A list of related vulnerabilities.</p>
|
|
540
|
+
*/
|
|
541
|
+
relatedVulnerabilities?: string[];
|
|
542
|
+
/**
|
|
543
|
+
* @public
|
|
544
|
+
* <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details for the vulnerability.</p>
|
|
545
|
+
*/
|
|
546
|
+
cvss2?: Cvss2;
|
|
547
|
+
/**
|
|
548
|
+
* @public
|
|
549
|
+
* <p>The date and time when the vendor created this vulnerability.</p>
|
|
550
|
+
*/
|
|
551
|
+
vendorCreatedAt?: Date;
|
|
552
|
+
/**
|
|
553
|
+
* @public
|
|
554
|
+
* <p>The date and time when the vendor last updated this vulnerability.</p>
|
|
555
|
+
*/
|
|
556
|
+
vendorUpdatedAt?: Date;
|
|
557
|
+
/**
|
|
558
|
+
* @public
|
|
559
|
+
* <p>A link to the official source material for this vulnerability.</p>
|
|
560
|
+
*/
|
|
561
|
+
sourceUrl?: string;
|
|
562
|
+
/**
|
|
563
|
+
* @public
|
|
564
|
+
* <p>Links to various resources with more information on this vulnerability. </p>
|
|
565
|
+
*/
|
|
566
|
+
referenceUrls?: string[];
|
|
567
|
+
/**
|
|
568
|
+
* @public
|
|
569
|
+
* <p>An object that contains details on when the exploit was observed.</p>
|
|
570
|
+
*/
|
|
571
|
+
exploitObserved?: ExploitObserved;
|
|
572
|
+
/**
|
|
573
|
+
* @public
|
|
574
|
+
* <p>Platforms that the vulnerability can be detected on.</p>
|
|
575
|
+
*/
|
|
576
|
+
detectionPlatforms?: string[];
|
|
577
|
+
/**
|
|
578
|
+
* @public
|
|
579
|
+
* <p>An object that contains the Exploit Prediction Scoring System (EPSS) score for a vulnerability.</p>
|
|
580
|
+
*/
|
|
581
|
+
epss?: Epss;
|
|
582
|
+
}
|
|
583
|
+
/**
|
|
584
|
+
* @public
|
|
585
|
+
*/
|
|
586
|
+
export interface SearchVulnerabilitiesResponse {
|
|
587
|
+
/**
|
|
588
|
+
* @public
|
|
589
|
+
* <p>Details about the listed vulnerability.</p>
|
|
590
|
+
*/
|
|
591
|
+
vulnerabilities: Vulnerability[] | undefined;
|
|
592
|
+
/**
|
|
593
|
+
* @public
|
|
594
|
+
* <p>The pagination parameter to be used on the next list operation to retrieve more items.</p>
|
|
595
|
+
*/
|
|
596
|
+
nextToken?: string;
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
export interface SendCisSessionHealthRequest {
|
|
602
|
+
/**
|
|
603
|
+
* @public
|
|
604
|
+
* <p>A unique identifier for the scan job.</p>
|
|
605
|
+
*/
|
|
606
|
+
scanJobId: string | undefined;
|
|
607
|
+
/**
|
|
608
|
+
* @public
|
|
609
|
+
* <p>The unique token that identifies the CIS session.</p>
|
|
610
|
+
*/
|
|
611
|
+
sessionToken: string | undefined;
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* @public
|
|
615
|
+
*/
|
|
616
|
+
export interface SendCisSessionHealthResponse {
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
export interface SendCisSessionTelemetryRequest {
|
|
622
|
+
/**
|
|
623
|
+
* @public
|
|
624
|
+
* <p>A unique identifier for the scan job.</p>
|
|
625
|
+
*/
|
|
626
|
+
scanJobId: string | undefined;
|
|
627
|
+
/**
|
|
628
|
+
* @public
|
|
629
|
+
* <p>The unique token that identifies the CIS session.</p>
|
|
630
|
+
*/
|
|
631
|
+
sessionToken: string | undefined;
|
|
632
|
+
/**
|
|
633
|
+
* @public
|
|
634
|
+
* <p>The CIS session telemetry messages.</p>
|
|
635
|
+
*/
|
|
636
|
+
messages: CisSessionMessage[] | undefined;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* @public
|
|
640
|
+
*/
|
|
641
|
+
export interface SendCisSessionTelemetryResponse {
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* @public
|
|
645
|
+
* <p>The start CIS session message.</p>
|
|
646
|
+
*/
|
|
647
|
+
export interface StartCisSessionMessage {
|
|
648
|
+
/**
|
|
649
|
+
* @public
|
|
650
|
+
* <p>The unique token that identifies the CIS session.</p>
|
|
651
|
+
*/
|
|
652
|
+
sessionToken: string | undefined;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
export interface StartCisSessionRequest {
|
|
658
|
+
/**
|
|
659
|
+
* @public
|
|
660
|
+
* <p>A unique identifier for the scan job.</p>
|
|
661
|
+
*/
|
|
662
|
+
scanJobId: string | undefined;
|
|
663
|
+
/**
|
|
664
|
+
* @public
|
|
665
|
+
* <p>The start CIS session message.</p>
|
|
666
|
+
*/
|
|
667
|
+
message: StartCisSessionMessage | undefined;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* @public
|
|
671
|
+
*/
|
|
672
|
+
export interface StartCisSessionResponse {
|
|
673
|
+
}
|
|
674
|
+
/**
|
|
675
|
+
* @public
|
|
676
|
+
* <p>The stop CIS message progress.</p>
|
|
677
|
+
*/
|
|
678
|
+
export interface StopCisMessageProgress {
|
|
679
|
+
/**
|
|
680
|
+
* @public
|
|
681
|
+
* <p>The progress' total checks.</p>
|
|
682
|
+
*/
|
|
683
|
+
totalChecks?: number;
|
|
684
|
+
/**
|
|
685
|
+
* @public
|
|
686
|
+
* <p>The progress' successful checks.</p>
|
|
687
|
+
*/
|
|
688
|
+
successfulChecks?: number;
|
|
689
|
+
/**
|
|
690
|
+
* @public
|
|
691
|
+
* <p>The progress' failed checks.</p>
|
|
692
|
+
*/
|
|
693
|
+
failedChecks?: number;
|
|
694
|
+
/**
|
|
695
|
+
* @public
|
|
696
|
+
* <p>The progress' not evaluated checks.</p>
|
|
697
|
+
*/
|
|
698
|
+
notEvaluatedChecks?: number;
|
|
699
|
+
/**
|
|
700
|
+
* @public
|
|
701
|
+
* <p>The progress' unknown checks.</p>
|
|
702
|
+
*/
|
|
703
|
+
unknownChecks?: number;
|
|
704
|
+
/**
|
|
705
|
+
* @public
|
|
706
|
+
* <p>The progress' not applicable checks.</p>
|
|
707
|
+
*/
|
|
708
|
+
notApplicableChecks?: number;
|
|
709
|
+
/**
|
|
710
|
+
* @public
|
|
711
|
+
* <p>The progress' informational checks.</p>
|
|
712
|
+
*/
|
|
713
|
+
informationalChecks?: number;
|
|
714
|
+
/**
|
|
715
|
+
* @public
|
|
716
|
+
* <p>The progress' error checks.</p>
|
|
717
|
+
*/
|
|
718
|
+
errorChecks?: number;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* @public
|
|
722
|
+
* @enum
|
|
723
|
+
*/
|
|
724
|
+
export declare const StopCisSessionStatus: {
|
|
725
|
+
readonly FAILED: "FAILED";
|
|
726
|
+
readonly INTERRUPTED: "INTERRUPTED";
|
|
727
|
+
readonly SUCCESS: "SUCCESS";
|
|
728
|
+
readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
|
|
729
|
+
};
|
|
730
|
+
/**
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
export type StopCisSessionStatus = (typeof StopCisSessionStatus)[keyof typeof StopCisSessionStatus];
|
|
734
|
+
/**
|
|
735
|
+
* @public
|
|
736
|
+
* <p>The stop CIS session message.</p>
|
|
737
|
+
*/
|
|
738
|
+
export interface StopCisSessionMessage {
|
|
739
|
+
/**
|
|
740
|
+
* @public
|
|
741
|
+
* <p>The status of the message.</p>
|
|
742
|
+
*/
|
|
743
|
+
status: StopCisSessionStatus | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* @public
|
|
746
|
+
* <p>The reason for the message.</p>
|
|
747
|
+
*/
|
|
748
|
+
reason?: string;
|
|
749
|
+
/**
|
|
750
|
+
* @public
|
|
751
|
+
* <p>The progress of the message.</p>
|
|
752
|
+
*/
|
|
753
|
+
progress: StopCisMessageProgress | undefined;
|
|
754
|
+
/**
|
|
755
|
+
* @public
|
|
756
|
+
* <p>The message compute platform.</p>
|
|
757
|
+
*/
|
|
758
|
+
computePlatform?: ComputePlatform;
|
|
759
|
+
/**
|
|
760
|
+
* @public
|
|
761
|
+
* <p>The message benchmark version.</p>
|
|
762
|
+
*/
|
|
763
|
+
benchmarkVersion?: string;
|
|
764
|
+
/**
|
|
765
|
+
* @public
|
|
766
|
+
* <p>The message benchmark profile.</p>
|
|
767
|
+
*/
|
|
768
|
+
benchmarkProfile?: string;
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* @public
|
|
772
|
+
*/
|
|
773
|
+
export interface StopCisSessionRequest {
|
|
774
|
+
/**
|
|
775
|
+
* @public
|
|
776
|
+
* <p>A unique identifier for the scan job.</p>
|
|
777
|
+
*/
|
|
778
|
+
scanJobId: string | undefined;
|
|
779
|
+
/**
|
|
780
|
+
* @public
|
|
781
|
+
* <p>The unique token that identifies the CIS session.</p>
|
|
782
|
+
*/
|
|
783
|
+
sessionToken: string | undefined;
|
|
784
|
+
/**
|
|
785
|
+
* @public
|
|
786
|
+
* <p>The stop CIS session message.</p>
|
|
787
|
+
*/
|
|
788
|
+
message: StopCisSessionMessage | undefined;
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
export interface StopCisSessionResponse {
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* @public
|
|
797
|
+
*/
|
|
798
|
+
export interface TagResourceRequest {
|
|
799
|
+
/**
|
|
800
|
+
* @public
|
|
801
|
+
* <p>The Amazon Resource Name (ARN) of the resource to apply a tag to.</p>
|
|
802
|
+
*/
|
|
803
|
+
resourceArn: string | undefined;
|
|
804
|
+
/**
|
|
805
|
+
* @public
|
|
806
|
+
* <p>The tags to be added to a resource.</p>
|
|
807
|
+
*/
|
|
808
|
+
tags: Record<string, string> | undefined;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
export interface TagResourceResponse {
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* @public
|
|
817
|
+
*/
|
|
818
|
+
export interface UntagResourceRequest {
|
|
819
|
+
/**
|
|
820
|
+
* @public
|
|
821
|
+
* <p>The Amazon Resource Name (ARN) for the resource to remove tags from.</p>
|
|
822
|
+
*/
|
|
823
|
+
resourceArn: string | undefined;
|
|
824
|
+
/**
|
|
825
|
+
* @public
|
|
826
|
+
* <p>The tag keys to remove from the resource.</p>
|
|
827
|
+
*/
|
|
828
|
+
tagKeys: string[] | undefined;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
export interface UntagResourceResponse {
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* @public
|
|
837
|
+
* <p>Updates CIS targets.</p>
|
|
838
|
+
*/
|
|
839
|
+
export interface UpdateCisTargets {
|
|
840
|
+
/**
|
|
841
|
+
* @public
|
|
842
|
+
* <p>The target account ids.</p>
|
|
843
|
+
*/
|
|
844
|
+
accountIds?: string[];
|
|
845
|
+
/**
|
|
846
|
+
* @public
|
|
847
|
+
* <p>The target resource tags.</p>
|
|
848
|
+
*/
|
|
849
|
+
targetResourceTags?: Record<string, string[]>;
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* @public
|
|
853
|
+
*/
|
|
854
|
+
export interface UpdateCisScanConfigurationRequest {
|
|
855
|
+
/**
|
|
856
|
+
* @public
|
|
857
|
+
* <p>The CIS scan configuration ARN.</p>
|
|
858
|
+
*/
|
|
859
|
+
scanConfigurationArn: string | undefined;
|
|
860
|
+
/**
|
|
861
|
+
* @public
|
|
862
|
+
* <p>The scan name for the CIS scan configuration.</p>
|
|
863
|
+
*/
|
|
864
|
+
scanName?: string;
|
|
865
|
+
/**
|
|
866
|
+
* @public
|
|
867
|
+
* <p>
|
|
868
|
+
* The security level for the CIS scan configuration.
|
|
869
|
+
* Security level refers to the Benchmark levels that CIS assigns to a profile.
|
|
870
|
+
* </p>
|
|
871
|
+
*/
|
|
872
|
+
securityLevel?: CisSecurityLevel;
|
|
873
|
+
/**
|
|
874
|
+
* @public
|
|
875
|
+
* <p>The schedule for the CIS scan configuration.</p>
|
|
876
|
+
*/
|
|
877
|
+
schedule?: Schedule;
|
|
878
|
+
/**
|
|
879
|
+
* @public
|
|
880
|
+
* <p>The targets for the CIS scan configuration.</p>
|
|
881
|
+
*/
|
|
882
|
+
targets?: UpdateCisTargets;
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* @public
|
|
886
|
+
*/
|
|
887
|
+
export interface UpdateCisScanConfigurationResponse {
|
|
888
|
+
/**
|
|
889
|
+
* @public
|
|
890
|
+
* <p>The CIS scan configuration ARN.</p>
|
|
891
|
+
*/
|
|
892
|
+
scanConfigurationArn: string | undefined;
|
|
893
|
+
}
|
|
894
|
+
/**
|
|
895
|
+
* @public
|
|
896
|
+
*/
|
|
897
|
+
export interface UpdateConfigurationRequest {
|
|
898
|
+
/**
|
|
899
|
+
* @public
|
|
900
|
+
* <p>Specifies how the ECR automated re-scan will be updated for your environment.</p>
|
|
901
|
+
*/
|
|
902
|
+
ecrConfiguration: EcrConfiguration | undefined;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* @public
|
|
906
|
+
*/
|
|
907
|
+
export interface UpdateConfigurationResponse {
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* @public
|
|
911
|
+
*/
|
|
912
|
+
export interface UpdateEc2DeepInspectionConfigurationRequest {
|
|
913
|
+
/**
|
|
914
|
+
* @public
|
|
915
|
+
* <p>Specify <code>TRUE</code> to activate Amazon Inspector deep inspection in your account, or <code>FALSE</code> to deactivate. Member accounts in an organization cannot deactivate deep inspection, instead the delegated administrator for the organization can deactivate a member account using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html">BatchUpdateMemberEc2DeepInspectionStatus</a>.</p>
|
|
916
|
+
*/
|
|
917
|
+
activateDeepInspection?: boolean;
|
|
918
|
+
/**
|
|
919
|
+
* @public
|
|
920
|
+
* <p>The Amazon Inspector deep inspection custom paths you are adding for your account.</p>
|
|
921
|
+
*/
|
|
922
|
+
packagePaths?: string[];
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* @public
|
|
926
|
+
*/
|
|
927
|
+
export interface UpdateEc2DeepInspectionConfigurationResponse {
|
|
928
|
+
/**
|
|
929
|
+
* @public
|
|
930
|
+
* <p>The current Amazon Inspector deep inspection custom paths for your account.</p>
|
|
931
|
+
*/
|
|
932
|
+
packagePaths?: string[];
|
|
933
|
+
/**
|
|
934
|
+
* @public
|
|
935
|
+
* <p>The current Amazon Inspector deep inspection custom paths for the organization.</p>
|
|
936
|
+
*/
|
|
937
|
+
orgPackagePaths?: string[];
|
|
938
|
+
/**
|
|
939
|
+
* @public
|
|
940
|
+
* <p>The status of Amazon Inspector deep inspection in your account.</p>
|
|
941
|
+
*/
|
|
942
|
+
status?: Ec2DeepInspectionStatus;
|
|
943
|
+
/**
|
|
944
|
+
* @public
|
|
945
|
+
* <p>An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.</p>
|
|
946
|
+
*/
|
|
947
|
+
errorMessage?: string;
|
|
948
|
+
}
|
|
949
|
+
/**
|
|
950
|
+
* @public
|
|
951
|
+
*/
|
|
952
|
+
export interface UpdateEncryptionKeyRequest {
|
|
953
|
+
/**
|
|
954
|
+
* @public
|
|
955
|
+
* <p>A KMS key ID for the encryption key.</p>
|
|
956
|
+
*/
|
|
957
|
+
kmsKeyId: string | undefined;
|
|
958
|
+
/**
|
|
959
|
+
* @public
|
|
960
|
+
* <p>The scan type for the encryption key.</p>
|
|
961
|
+
*/
|
|
962
|
+
scanType: ScanType | undefined;
|
|
963
|
+
/**
|
|
964
|
+
* @public
|
|
965
|
+
* <p>The resource type for the encryption key.</p>
|
|
966
|
+
*/
|
|
967
|
+
resourceType: ResourceType | undefined;
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* @public
|
|
971
|
+
*/
|
|
972
|
+
export interface UpdateEncryptionKeyResponse {
|
|
973
|
+
}
|
|
974
|
+
/**
|
|
975
|
+
* @public
|
|
976
|
+
*/
|
|
977
|
+
export interface UpdateFilterRequest {
|
|
978
|
+
/**
|
|
979
|
+
* @public
|
|
980
|
+
* <p>Specifies the action that is to be applied to the findings that match the filter.</p>
|
|
981
|
+
*/
|
|
982
|
+
action?: FilterAction;
|
|
983
|
+
/**
|
|
984
|
+
* @public
|
|
985
|
+
* <p>A description of the filter.</p>
|
|
986
|
+
*/
|
|
987
|
+
description?: string;
|
|
988
|
+
/**
|
|
989
|
+
* @public
|
|
990
|
+
* <p>Defines the criteria to be update in the filter.</p>
|
|
991
|
+
*/
|
|
992
|
+
filterCriteria?: FilterCriteria;
|
|
993
|
+
/**
|
|
994
|
+
* @public
|
|
995
|
+
* <p>The name of the filter.</p>
|
|
996
|
+
*/
|
|
997
|
+
name?: string;
|
|
998
|
+
/**
|
|
999
|
+
* @public
|
|
1000
|
+
* <p>The Amazon Resource Number (ARN) of the filter to update.</p>
|
|
1001
|
+
*/
|
|
1002
|
+
filterArn: string | undefined;
|
|
1003
|
+
/**
|
|
1004
|
+
* @public
|
|
1005
|
+
* <p>The reason the filter was updated.</p>
|
|
1006
|
+
*/
|
|
1007
|
+
reason?: string;
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* @public
|
|
1011
|
+
*/
|
|
1012
|
+
export interface UpdateFilterResponse {
|
|
1013
|
+
/**
|
|
1014
|
+
* @public
|
|
1015
|
+
* <p>The Amazon Resource Number (ARN) of the successfully updated filter.</p>
|
|
1016
|
+
*/
|
|
1017
|
+
arn: string | undefined;
|
|
1018
|
+
}
|
|
1019
|
+
/**
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
1022
|
+
export interface UpdateOrganizationConfigurationRequest {
|
|
1023
|
+
/**
|
|
1024
|
+
* @public
|
|
1025
|
+
* <p>Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.</p>
|
|
1026
|
+
*/
|
|
1027
|
+
autoEnable: AutoEnable | undefined;
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* @public
|
|
1031
|
+
*/
|
|
1032
|
+
export interface UpdateOrganizationConfigurationResponse {
|
|
1033
|
+
/**
|
|
1034
|
+
* @public
|
|
1035
|
+
* <p>The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.</p>
|
|
1036
|
+
*/
|
|
1037
|
+
autoEnable: AutoEnable | undefined;
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
* @public
|
|
1041
|
+
*/
|
|
1042
|
+
export interface UpdateOrgEc2DeepInspectionConfigurationRequest {
|
|
1043
|
+
/**
|
|
1044
|
+
* @public
|
|
1045
|
+
* <p>The Amazon Inspector deep inspection custom paths you are adding for your organization.</p>
|
|
1046
|
+
*/
|
|
1047
|
+
orgPackagePaths: string[] | undefined;
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
1052
|
+
export interface UpdateOrgEc2DeepInspectionConfigurationResponse {
|
|
1053
|
+
}
|