@aws-sdk/client-inspector2 3.300.0 → 3.303.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/dist-cjs/models/models_0.js +362 -419
- package/dist-es/models/models_0.js +362 -419
- package/dist-types/commands/AssociateMemberCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -2
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +1 -1
- package/dist-types/commands/CreateFilterCommand.d.ts +45 -183
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +45 -183
- package/dist-types/commands/DeleteFilterCommand.d.ts +1 -1
- package/dist-types/commands/DisableCommand.d.ts +3 -3
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateMemberCommand.d.ts +1 -1
- package/dist-types/commands/EnableCommand.d.ts +3 -3
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetMemberCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListCoverageCommand.d.ts +11 -36
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +11 -36
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +2 -2
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +35 -125
- package/dist-types/commands/ListFindingsCommand.d.ts +45 -183
- 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 +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFilterCommand.d.ts +44 -182
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +647 -362
- package/dist-types/ts3.4/models/models_0.d.ts +449 -362
- package/package.json +34 -34
|
@@ -26,12 +26,12 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
26
26
|
* import { Inspector2Client, ListFindingsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, ListFindingsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListFindingsRequest
|
|
30
30
|
* maxResults: Number("int"),
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
|
-
* filterCriteria: {
|
|
33
|
-
* findingArn: [
|
|
34
|
-
* {
|
|
32
|
+
* filterCriteria: { // FilterCriteria
|
|
33
|
+
* findingArn: [ // StringFilterList
|
|
34
|
+
* { // StringFilter
|
|
35
35
|
* comparison: "STRING_VALUE", // required
|
|
36
36
|
* value: "STRING_VALUE", // required
|
|
37
37
|
* },
|
|
@@ -54,8 +54,8 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
54
54
|
* value: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
-
* firstObservedAt: [
|
|
58
|
-
* {
|
|
57
|
+
* firstObservedAt: [ // DateFilterList
|
|
58
|
+
* { // DateFilter
|
|
59
59
|
* startInclusive: new Date("TIMESTAMP"),
|
|
60
60
|
* endInclusive: new Date("TIMESTAMP"),
|
|
61
61
|
* },
|
|
@@ -78,215 +78,77 @@ export interface ListFindingsCommandOutput extends ListFindingsResponse, __Metad
|
|
|
78
78
|
* value: "STRING_VALUE", // required
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
|
-
* title:
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
* value: "STRING_VALUE", // required
|
|
85
|
-
* },
|
|
86
|
-
* ],
|
|
87
|
-
* inspectorScore: [
|
|
88
|
-
* {
|
|
81
|
+
* title: "<StringFilterList>",
|
|
82
|
+
* inspectorScore: [ // NumberFilterList
|
|
83
|
+
* { // NumberFilter
|
|
89
84
|
* upperInclusive: Number("double"),
|
|
90
85
|
* lowerInclusive: Number("double"),
|
|
91
86
|
* },
|
|
92
87
|
* ],
|
|
93
|
-
* resourceType:
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* },
|
|
98
|
-
* ],
|
|
99
|
-
* resourceId: [
|
|
100
|
-
* {
|
|
101
|
-
* comparison: "STRING_VALUE", // required
|
|
102
|
-
* value: "STRING_VALUE", // required
|
|
103
|
-
* },
|
|
104
|
-
* ],
|
|
105
|
-
* resourceTags: [
|
|
106
|
-
* {
|
|
88
|
+
* resourceType: "<StringFilterList>",
|
|
89
|
+
* resourceId: "<StringFilterList>",
|
|
90
|
+
* resourceTags: [ // MapFilterList
|
|
91
|
+
* { // MapFilter
|
|
107
92
|
* comparison: "STRING_VALUE", // required
|
|
108
93
|
* key: "STRING_VALUE", // required
|
|
109
94
|
* value: "STRING_VALUE",
|
|
110
95
|
* },
|
|
111
96
|
* ],
|
|
112
|
-
* ec2InstanceImageId:
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
* value: "STRING_VALUE", // required
|
|
116
|
-
* },
|
|
117
|
-
* ],
|
|
118
|
-
* ec2InstanceVpcId: [
|
|
119
|
-
* {
|
|
120
|
-
* comparison: "STRING_VALUE", // required
|
|
121
|
-
* value: "STRING_VALUE", // required
|
|
122
|
-
* },
|
|
123
|
-
* ],
|
|
124
|
-
* ec2InstanceSubnetId: [
|
|
125
|
-
* {
|
|
126
|
-
* comparison: "STRING_VALUE", // required
|
|
127
|
-
* value: "STRING_VALUE", // required
|
|
128
|
-
* },
|
|
129
|
-
* ],
|
|
97
|
+
* ec2InstanceImageId: "<StringFilterList>",
|
|
98
|
+
* ec2InstanceVpcId: "<StringFilterList>",
|
|
99
|
+
* ec2InstanceSubnetId: "<StringFilterList>",
|
|
130
100
|
* ecrImagePushedAt: [
|
|
131
101
|
* {
|
|
132
102
|
* startInclusive: new Date("TIMESTAMP"),
|
|
133
103
|
* endInclusive: new Date("TIMESTAMP"),
|
|
134
104
|
* },
|
|
135
105
|
* ],
|
|
136
|
-
* ecrImageArchitecture:
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* {
|
|
144
|
-
* comparison: "STRING_VALUE", // required
|
|
145
|
-
* value: "STRING_VALUE", // required
|
|
146
|
-
* },
|
|
147
|
-
* ],
|
|
148
|
-
* ecrImageRepositoryName: [
|
|
149
|
-
* {
|
|
150
|
-
* comparison: "STRING_VALUE", // required
|
|
151
|
-
* value: "STRING_VALUE", // required
|
|
152
|
-
* },
|
|
153
|
-
* ],
|
|
154
|
-
* ecrImageTags: [
|
|
155
|
-
* {
|
|
156
|
-
* comparison: "STRING_VALUE", // required
|
|
157
|
-
* value: "STRING_VALUE", // required
|
|
158
|
-
* },
|
|
159
|
-
* ],
|
|
160
|
-
* ecrImageHash: [
|
|
161
|
-
* {
|
|
162
|
-
* comparison: "STRING_VALUE", // required
|
|
163
|
-
* value: "STRING_VALUE", // required
|
|
164
|
-
* },
|
|
165
|
-
* ],
|
|
166
|
-
* portRange: [
|
|
167
|
-
* {
|
|
106
|
+
* ecrImageArchitecture: "<StringFilterList>",
|
|
107
|
+
* ecrImageRegistry: "<StringFilterList>",
|
|
108
|
+
* ecrImageRepositoryName: "<StringFilterList>",
|
|
109
|
+
* ecrImageTags: "<StringFilterList>",
|
|
110
|
+
* ecrImageHash: "<StringFilterList>",
|
|
111
|
+
* portRange: [ // PortRangeFilterList
|
|
112
|
+
* { // PortRangeFilter
|
|
168
113
|
* beginInclusive: Number("int"),
|
|
169
114
|
* endInclusive: Number("int"),
|
|
170
115
|
* },
|
|
171
116
|
* ],
|
|
172
|
-
* networkProtocol:
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* {
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* },
|
|
183
|
-
* ],
|
|
184
|
-
* componentType: [
|
|
185
|
-
* {
|
|
186
|
-
* comparison: "STRING_VALUE", // required
|
|
187
|
-
* value: "STRING_VALUE", // required
|
|
188
|
-
* },
|
|
189
|
-
* ],
|
|
190
|
-
* vulnerabilityId: [
|
|
191
|
-
* {
|
|
192
|
-
* comparison: "STRING_VALUE", // required
|
|
193
|
-
* value: "STRING_VALUE", // required
|
|
194
|
-
* },
|
|
195
|
-
* ],
|
|
196
|
-
* vulnerabilitySource: [
|
|
197
|
-
* {
|
|
198
|
-
* comparison: "STRING_VALUE", // required
|
|
199
|
-
* value: "STRING_VALUE", // required
|
|
200
|
-
* },
|
|
201
|
-
* ],
|
|
202
|
-
* vendorSeverity: [
|
|
203
|
-
* {
|
|
204
|
-
* comparison: "STRING_VALUE", // required
|
|
205
|
-
* value: "STRING_VALUE", // required
|
|
206
|
-
* },
|
|
207
|
-
* ],
|
|
208
|
-
* vulnerablePackages: [
|
|
209
|
-
* {
|
|
210
|
-
* name: {
|
|
211
|
-
* comparison: "STRING_VALUE", // required
|
|
212
|
-
* value: "STRING_VALUE", // required
|
|
213
|
-
* },
|
|
214
|
-
* version: {
|
|
215
|
-
* comparison: "STRING_VALUE", // required
|
|
216
|
-
* value: "STRING_VALUE", // required
|
|
217
|
-
* },
|
|
117
|
+
* networkProtocol: "<StringFilterList>",
|
|
118
|
+
* componentId: "<StringFilterList>",
|
|
119
|
+
* componentType: "<StringFilterList>",
|
|
120
|
+
* vulnerabilityId: "<StringFilterList>",
|
|
121
|
+
* vulnerabilitySource: "<StringFilterList>",
|
|
122
|
+
* vendorSeverity: "<StringFilterList>",
|
|
123
|
+
* vulnerablePackages: [ // PackageFilterList
|
|
124
|
+
* { // PackageFilter
|
|
125
|
+
* name: "<StringFilter>",
|
|
126
|
+
* version: "<StringFilter>",
|
|
218
127
|
* epoch: {
|
|
219
128
|
* upperInclusive: Number("double"),
|
|
220
129
|
* lowerInclusive: Number("double"),
|
|
221
130
|
* },
|
|
222
|
-
* release:
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* architecture: {
|
|
227
|
-
* comparison: "STRING_VALUE", // required
|
|
228
|
-
* value: "STRING_VALUE", // required
|
|
229
|
-
* },
|
|
230
|
-
* sourceLayerHash: {
|
|
231
|
-
* comparison: "STRING_VALUE", // required
|
|
232
|
-
* value: "STRING_VALUE", // required
|
|
233
|
-
* },
|
|
234
|
-
* sourceLambdaLayerArn: {
|
|
235
|
-
* comparison: "STRING_VALUE", // required
|
|
236
|
-
* value: "STRING_VALUE", // required
|
|
237
|
-
* },
|
|
238
|
-
* },
|
|
239
|
-
* ],
|
|
240
|
-
* relatedVulnerabilities: [
|
|
241
|
-
* {
|
|
242
|
-
* comparison: "STRING_VALUE", // required
|
|
243
|
-
* value: "STRING_VALUE", // required
|
|
244
|
-
* },
|
|
245
|
-
* ],
|
|
246
|
-
* fixAvailable: [
|
|
247
|
-
* {
|
|
248
|
-
* comparison: "STRING_VALUE", // required
|
|
249
|
-
* value: "STRING_VALUE", // required
|
|
250
|
-
* },
|
|
251
|
-
* ],
|
|
252
|
-
* lambdaFunctionName: [
|
|
253
|
-
* {
|
|
254
|
-
* comparison: "STRING_VALUE", // required
|
|
255
|
-
* value: "STRING_VALUE", // required
|
|
256
|
-
* },
|
|
257
|
-
* ],
|
|
258
|
-
* lambdaFunctionLayers: [
|
|
259
|
-
* {
|
|
260
|
-
* comparison: "STRING_VALUE", // required
|
|
261
|
-
* value: "STRING_VALUE", // required
|
|
262
|
-
* },
|
|
263
|
-
* ],
|
|
264
|
-
* lambdaFunctionRuntime: [
|
|
265
|
-
* {
|
|
266
|
-
* comparison: "STRING_VALUE", // required
|
|
267
|
-
* value: "STRING_VALUE", // required
|
|
131
|
+
* release: "<StringFilter>",
|
|
132
|
+
* architecture: "<StringFilter>",
|
|
133
|
+
* sourceLayerHash: "<StringFilter>",
|
|
134
|
+
* sourceLambdaLayerArn: "<StringFilter>",
|
|
268
135
|
* },
|
|
269
136
|
* ],
|
|
137
|
+
* relatedVulnerabilities: "<StringFilterList>",
|
|
138
|
+
* fixAvailable: "<StringFilterList>",
|
|
139
|
+
* lambdaFunctionName: "<StringFilterList>",
|
|
140
|
+
* lambdaFunctionLayers: "<StringFilterList>",
|
|
141
|
+
* lambdaFunctionRuntime: "<StringFilterList>",
|
|
270
142
|
* lambdaFunctionLastModifiedAt: [
|
|
271
143
|
* {
|
|
272
144
|
* startInclusive: new Date("TIMESTAMP"),
|
|
273
145
|
* endInclusive: new Date("TIMESTAMP"),
|
|
274
146
|
* },
|
|
275
147
|
* ],
|
|
276
|
-
* lambdaFunctionExecutionRoleArn:
|
|
277
|
-
*
|
|
278
|
-
* comparison: "STRING_VALUE", // required
|
|
279
|
-
* value: "STRING_VALUE", // required
|
|
280
|
-
* },
|
|
281
|
-
* ],
|
|
282
|
-
* exploitAvailable: [
|
|
283
|
-
* {
|
|
284
|
-
* comparison: "STRING_VALUE", // required
|
|
285
|
-
* value: "STRING_VALUE", // required
|
|
286
|
-
* },
|
|
287
|
-
* ],
|
|
148
|
+
* lambdaFunctionExecutionRoleArn: "<StringFilterList>",
|
|
149
|
+
* exploitAvailable: "<StringFilterList>",
|
|
288
150
|
* },
|
|
289
|
-
* sortCriteria: {
|
|
151
|
+
* sortCriteria: { // SortCriteria
|
|
290
152
|
* field: "STRING_VALUE", // required
|
|
291
153
|
* sortOrder: "STRING_VALUE", // required
|
|
292
154
|
* },
|
|
@@ -27,7 +27,7 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
|
|
|
27
27
|
* import { Inspector2Client, ListMembersCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
28
28
|
* // const { Inspector2Client, ListMembersCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
29
29
|
* const client = new Inspector2Client(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListMembersRequest
|
|
31
31
|
* onlyAssociated: true || false,
|
|
32
32
|
* maxResults: Number("int"),
|
|
33
33
|
* nextToken: "STRING_VALUE",
|
|
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
26
26
|
* import { Inspector2Client, ListTagsForResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListTagsForResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,10 +26,10 @@ export interface ListUsageTotalsCommandOutput extends ListUsageTotalsResponse, _
|
|
|
26
26
|
* import { Inspector2Client, ListUsageTotalsCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, ListUsageTotalsCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListUsageTotalsRequest
|
|
30
30
|
* maxResults: Number("int"),
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
|
-
* accountIds: [
|
|
32
|
+
* accountIds: [ // UsageAccountIdList
|
|
33
33
|
* "STRING_VALUE",
|
|
34
34
|
* ],
|
|
35
35
|
* };
|
|
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
26
26
|
* import { Inspector2Client, TagResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, TagResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // TagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tags: { // required
|
|
31
|
+
* tags: { // TagMap // required
|
|
32
32
|
* "<keys>": "STRING_VALUE",
|
|
33
33
|
* },
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { Inspector2Client, UntagResourceCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, UntagResourceCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,8 +26,8 @@ export interface UpdateConfigurationCommandOutput extends UpdateConfigurationRes
|
|
|
26
26
|
* import { Inspector2Client, UpdateConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, UpdateConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* ecrConfiguration: {
|
|
29
|
+
* const input = { // UpdateConfigurationRequest
|
|
30
|
+
* ecrConfiguration: { // EcrConfiguration
|
|
31
31
|
* rescanDuration: "STRING_VALUE", // required
|
|
32
32
|
* },
|
|
33
33
|
* };
|
|
@@ -26,12 +26,12 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
|
|
|
26
26
|
* import { Inspector2Client, UpdateFilterCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, UpdateFilterCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateFilterRequest
|
|
30
30
|
* action: "STRING_VALUE",
|
|
31
31
|
* description: "STRING_VALUE",
|
|
32
|
-
* filterCriteria: {
|
|
33
|
-
* findingArn: [
|
|
34
|
-
* {
|
|
32
|
+
* filterCriteria: { // FilterCriteria
|
|
33
|
+
* findingArn: [ // StringFilterList
|
|
34
|
+
* { // StringFilter
|
|
35
35
|
* comparison: "STRING_VALUE", // required
|
|
36
36
|
* value: "STRING_VALUE", // required
|
|
37
37
|
* },
|
|
@@ -54,8 +54,8 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
|
|
|
54
54
|
* value: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
-
* firstObservedAt: [
|
|
58
|
-
* {
|
|
57
|
+
* firstObservedAt: [ // DateFilterList
|
|
58
|
+
* { // DateFilter
|
|
59
59
|
* startInclusive: new Date("TIMESTAMP"),
|
|
60
60
|
* endInclusive: new Date("TIMESTAMP"),
|
|
61
61
|
* },
|
|
@@ -78,213 +78,75 @@ export interface UpdateFilterCommandOutput extends UpdateFilterResponse, __Metad
|
|
|
78
78
|
* value: "STRING_VALUE", // required
|
|
79
79
|
* },
|
|
80
80
|
* ],
|
|
81
|
-
* title:
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
* value: "STRING_VALUE", // required
|
|
85
|
-
* },
|
|
86
|
-
* ],
|
|
87
|
-
* inspectorScore: [
|
|
88
|
-
* {
|
|
81
|
+
* title: "<StringFilterList>",
|
|
82
|
+
* inspectorScore: [ // NumberFilterList
|
|
83
|
+
* { // NumberFilter
|
|
89
84
|
* upperInclusive: Number("double"),
|
|
90
85
|
* lowerInclusive: Number("double"),
|
|
91
86
|
* },
|
|
92
87
|
* ],
|
|
93
|
-
* resourceType:
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* },
|
|
98
|
-
* ],
|
|
99
|
-
* resourceId: [
|
|
100
|
-
* {
|
|
101
|
-
* comparison: "STRING_VALUE", // required
|
|
102
|
-
* value: "STRING_VALUE", // required
|
|
103
|
-
* },
|
|
104
|
-
* ],
|
|
105
|
-
* resourceTags: [
|
|
106
|
-
* {
|
|
88
|
+
* resourceType: "<StringFilterList>",
|
|
89
|
+
* resourceId: "<StringFilterList>",
|
|
90
|
+
* resourceTags: [ // MapFilterList
|
|
91
|
+
* { // MapFilter
|
|
107
92
|
* comparison: "STRING_VALUE", // required
|
|
108
93
|
* key: "STRING_VALUE", // required
|
|
109
94
|
* value: "STRING_VALUE",
|
|
110
95
|
* },
|
|
111
96
|
* ],
|
|
112
|
-
* ec2InstanceImageId:
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
* value: "STRING_VALUE", // required
|
|
116
|
-
* },
|
|
117
|
-
* ],
|
|
118
|
-
* ec2InstanceVpcId: [
|
|
119
|
-
* {
|
|
120
|
-
* comparison: "STRING_VALUE", // required
|
|
121
|
-
* value: "STRING_VALUE", // required
|
|
122
|
-
* },
|
|
123
|
-
* ],
|
|
124
|
-
* ec2InstanceSubnetId: [
|
|
125
|
-
* {
|
|
126
|
-
* comparison: "STRING_VALUE", // required
|
|
127
|
-
* value: "STRING_VALUE", // required
|
|
128
|
-
* },
|
|
129
|
-
* ],
|
|
97
|
+
* ec2InstanceImageId: "<StringFilterList>",
|
|
98
|
+
* ec2InstanceVpcId: "<StringFilterList>",
|
|
99
|
+
* ec2InstanceSubnetId: "<StringFilterList>",
|
|
130
100
|
* ecrImagePushedAt: [
|
|
131
101
|
* {
|
|
132
102
|
* startInclusive: new Date("TIMESTAMP"),
|
|
133
103
|
* endInclusive: new Date("TIMESTAMP"),
|
|
134
104
|
* },
|
|
135
105
|
* ],
|
|
136
|
-
* ecrImageArchitecture:
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
* {
|
|
144
|
-
* comparison: "STRING_VALUE", // required
|
|
145
|
-
* value: "STRING_VALUE", // required
|
|
146
|
-
* },
|
|
147
|
-
* ],
|
|
148
|
-
* ecrImageRepositoryName: [
|
|
149
|
-
* {
|
|
150
|
-
* comparison: "STRING_VALUE", // required
|
|
151
|
-
* value: "STRING_VALUE", // required
|
|
152
|
-
* },
|
|
153
|
-
* ],
|
|
154
|
-
* ecrImageTags: [
|
|
155
|
-
* {
|
|
156
|
-
* comparison: "STRING_VALUE", // required
|
|
157
|
-
* value: "STRING_VALUE", // required
|
|
158
|
-
* },
|
|
159
|
-
* ],
|
|
160
|
-
* ecrImageHash: [
|
|
161
|
-
* {
|
|
162
|
-
* comparison: "STRING_VALUE", // required
|
|
163
|
-
* value: "STRING_VALUE", // required
|
|
164
|
-
* },
|
|
165
|
-
* ],
|
|
166
|
-
* portRange: [
|
|
167
|
-
* {
|
|
106
|
+
* ecrImageArchitecture: "<StringFilterList>",
|
|
107
|
+
* ecrImageRegistry: "<StringFilterList>",
|
|
108
|
+
* ecrImageRepositoryName: "<StringFilterList>",
|
|
109
|
+
* ecrImageTags: "<StringFilterList>",
|
|
110
|
+
* ecrImageHash: "<StringFilterList>",
|
|
111
|
+
* portRange: [ // PortRangeFilterList
|
|
112
|
+
* { // PortRangeFilter
|
|
168
113
|
* beginInclusive: Number("int"),
|
|
169
114
|
* endInclusive: Number("int"),
|
|
170
115
|
* },
|
|
171
116
|
* ],
|
|
172
|
-
* networkProtocol:
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* {
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* },
|
|
183
|
-
* ],
|
|
184
|
-
* componentType: [
|
|
185
|
-
* {
|
|
186
|
-
* comparison: "STRING_VALUE", // required
|
|
187
|
-
* value: "STRING_VALUE", // required
|
|
188
|
-
* },
|
|
189
|
-
* ],
|
|
190
|
-
* vulnerabilityId: [
|
|
191
|
-
* {
|
|
192
|
-
* comparison: "STRING_VALUE", // required
|
|
193
|
-
* value: "STRING_VALUE", // required
|
|
194
|
-
* },
|
|
195
|
-
* ],
|
|
196
|
-
* vulnerabilitySource: [
|
|
197
|
-
* {
|
|
198
|
-
* comparison: "STRING_VALUE", // required
|
|
199
|
-
* value: "STRING_VALUE", // required
|
|
200
|
-
* },
|
|
201
|
-
* ],
|
|
202
|
-
* vendorSeverity: [
|
|
203
|
-
* {
|
|
204
|
-
* comparison: "STRING_VALUE", // required
|
|
205
|
-
* value: "STRING_VALUE", // required
|
|
206
|
-
* },
|
|
207
|
-
* ],
|
|
208
|
-
* vulnerablePackages: [
|
|
209
|
-
* {
|
|
210
|
-
* name: {
|
|
211
|
-
* comparison: "STRING_VALUE", // required
|
|
212
|
-
* value: "STRING_VALUE", // required
|
|
213
|
-
* },
|
|
214
|
-
* version: {
|
|
215
|
-
* comparison: "STRING_VALUE", // required
|
|
216
|
-
* value: "STRING_VALUE", // required
|
|
217
|
-
* },
|
|
117
|
+
* networkProtocol: "<StringFilterList>",
|
|
118
|
+
* componentId: "<StringFilterList>",
|
|
119
|
+
* componentType: "<StringFilterList>",
|
|
120
|
+
* vulnerabilityId: "<StringFilterList>",
|
|
121
|
+
* vulnerabilitySource: "<StringFilterList>",
|
|
122
|
+
* vendorSeverity: "<StringFilterList>",
|
|
123
|
+
* vulnerablePackages: [ // PackageFilterList
|
|
124
|
+
* { // PackageFilter
|
|
125
|
+
* name: "<StringFilter>",
|
|
126
|
+
* version: "<StringFilter>",
|
|
218
127
|
* epoch: {
|
|
219
128
|
* upperInclusive: Number("double"),
|
|
220
129
|
* lowerInclusive: Number("double"),
|
|
221
130
|
* },
|
|
222
|
-
* release:
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* architecture: {
|
|
227
|
-
* comparison: "STRING_VALUE", // required
|
|
228
|
-
* value: "STRING_VALUE", // required
|
|
229
|
-
* },
|
|
230
|
-
* sourceLayerHash: {
|
|
231
|
-
* comparison: "STRING_VALUE", // required
|
|
232
|
-
* value: "STRING_VALUE", // required
|
|
233
|
-
* },
|
|
234
|
-
* sourceLambdaLayerArn: {
|
|
235
|
-
* comparison: "STRING_VALUE", // required
|
|
236
|
-
* value: "STRING_VALUE", // required
|
|
237
|
-
* },
|
|
238
|
-
* },
|
|
239
|
-
* ],
|
|
240
|
-
* relatedVulnerabilities: [
|
|
241
|
-
* {
|
|
242
|
-
* comparison: "STRING_VALUE", // required
|
|
243
|
-
* value: "STRING_VALUE", // required
|
|
244
|
-
* },
|
|
245
|
-
* ],
|
|
246
|
-
* fixAvailable: [
|
|
247
|
-
* {
|
|
248
|
-
* comparison: "STRING_VALUE", // required
|
|
249
|
-
* value: "STRING_VALUE", // required
|
|
250
|
-
* },
|
|
251
|
-
* ],
|
|
252
|
-
* lambdaFunctionName: [
|
|
253
|
-
* {
|
|
254
|
-
* comparison: "STRING_VALUE", // required
|
|
255
|
-
* value: "STRING_VALUE", // required
|
|
256
|
-
* },
|
|
257
|
-
* ],
|
|
258
|
-
* lambdaFunctionLayers: [
|
|
259
|
-
* {
|
|
260
|
-
* comparison: "STRING_VALUE", // required
|
|
261
|
-
* value: "STRING_VALUE", // required
|
|
262
|
-
* },
|
|
263
|
-
* ],
|
|
264
|
-
* lambdaFunctionRuntime: [
|
|
265
|
-
* {
|
|
266
|
-
* comparison: "STRING_VALUE", // required
|
|
267
|
-
* value: "STRING_VALUE", // required
|
|
131
|
+
* release: "<StringFilter>",
|
|
132
|
+
* architecture: "<StringFilter>",
|
|
133
|
+
* sourceLayerHash: "<StringFilter>",
|
|
134
|
+
* sourceLambdaLayerArn: "<StringFilter>",
|
|
268
135
|
* },
|
|
269
136
|
* ],
|
|
137
|
+
* relatedVulnerabilities: "<StringFilterList>",
|
|
138
|
+
* fixAvailable: "<StringFilterList>",
|
|
139
|
+
* lambdaFunctionName: "<StringFilterList>",
|
|
140
|
+
* lambdaFunctionLayers: "<StringFilterList>",
|
|
141
|
+
* lambdaFunctionRuntime: "<StringFilterList>",
|
|
270
142
|
* lambdaFunctionLastModifiedAt: [
|
|
271
143
|
* {
|
|
272
144
|
* startInclusive: new Date("TIMESTAMP"),
|
|
273
145
|
* endInclusive: new Date("TIMESTAMP"),
|
|
274
146
|
* },
|
|
275
147
|
* ],
|
|
276
|
-
* lambdaFunctionExecutionRoleArn:
|
|
277
|
-
*
|
|
278
|
-
* comparison: "STRING_VALUE", // required
|
|
279
|
-
* value: "STRING_VALUE", // required
|
|
280
|
-
* },
|
|
281
|
-
* ],
|
|
282
|
-
* exploitAvailable: [
|
|
283
|
-
* {
|
|
284
|
-
* comparison: "STRING_VALUE", // required
|
|
285
|
-
* value: "STRING_VALUE", // required
|
|
286
|
-
* },
|
|
287
|
-
* ],
|
|
148
|
+
* lambdaFunctionExecutionRoleArn: "<StringFilterList>",
|
|
149
|
+
* exploitAvailable: "<StringFilterList>",
|
|
288
150
|
* },
|
|
289
151
|
* name: "STRING_VALUE",
|
|
290
152
|
* filterArn: "STRING_VALUE", // required
|
|
@@ -26,8 +26,8 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
|
|
|
26
26
|
* import { Inspector2Client, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-inspector2"; // ES Modules import
|
|
27
27
|
* // const { Inspector2Client, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-inspector2"); // CommonJS import
|
|
28
28
|
* const client = new Inspector2Client(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* autoEnable: {
|
|
29
|
+
* const input = { // UpdateOrganizationConfigurationRequest
|
|
30
|
+
* autoEnable: { // AutoEnable
|
|
31
31
|
* ec2: true || false, // required
|
|
32
32
|
* ecr: true || false, // required
|
|
33
33
|
* lambda: true || false,
|