@aws-sdk/client-inspector2 3.1079.0 → 3.1081.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 +42 -0
- package/dist-cjs/index.js +967 -133
- package/dist-es/Inspector2.js +25 -1
- package/dist-es/commands/CreateConnectorCommand.js +4 -0
- package/dist-es/commands/DeleteConnectorCommand.js +4 -0
- package/dist-es/commands/ListConnectorScanConfigurationsCommand.js +4 -0
- package/dist-es/commands/ListConnectorsCommand.js +4 -0
- package/dist-es/commands/UpdateConnectorCommand.js +4 -0
- package/dist-es/commands/UpdateConnectorScanConfigurationCommand.js +4 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +130 -0
- package/dist-es/pagination/ListConnectorScanConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +542 -130
- package/dist-es/waiters/index.js +3 -0
- package/dist-es/waiters/waitForConnectorConnected.js +69 -0
- package/dist-es/waiters/waitForConnectorDeleted.js +46 -0
- package/dist-es/waiters/waitForConnectorEnabled.js +69 -0
- package/dist-types/Inspector2.d.ts +78 -1
- package/dist-types/Inspector2Client.d.ts +8 -2
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +1 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +167 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +24 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +24 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +105 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +18 -3
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +24 -0
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +135 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +226 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +59 -1
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +24 -1
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +25 -1
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +149 -2
- package/dist-types/commands/ListFindingsCommand.d.ts +86 -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 +2 -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 +1 -1
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +11 -3
- package/dist-types/commands/UpdateConnectorCommand.d.ts +146 -0
- package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +117 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +24 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +282 -0
- package/dist-types/models/models_0.d.ts +3359 -1910
- package/dist-types/models/models_1.d.ts +932 -2
- package/dist-types/pagination/ListConnectorScanConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +51 -0
- package/dist-types/ts3.4/Inspector2.d.ts +147 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorScanConfigurationsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -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 +1 -1
- package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateConnectorScanConfigurationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +162 -0
- package/dist-types/ts3.4/models/models_0.d.ts +571 -166
- package/dist-types/ts3.4/models/models_1.d.ts +248 -1
- package/dist-types/ts3.4/pagination/ListConnectorScanConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForConnectorConnected.d.ts +17 -0
- package/dist-types/ts3.4/waiters/waitForConnectorDeleted.d.ts +17 -0
- package/dist-types/ts3.4/waiters/waitForConnectorEnabled.d.ts +17 -0
- package/dist-types/waiters/index.d.ts +3 -0
- package/dist-types/waiters/waitForConnectorConnected.d.ts +15 -0
- package/dist-types/waiters/waitForConnectorDeleted.d.ts +15 -0
- package/dist-types/waiters/waitForConnectorEnabled.d.ts +15 -0
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListCoverageRequest, ListCoverageResponse } from "../models/
|
|
2
|
+
import type { ListCoverageRequest, ListCoverageResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -115,6 +115,29 @@ declare const ListCoverageCommand_base: {
|
|
|
115
115
|
* codeRepositoryProviderType: "<CoverageStringFilterList>",
|
|
116
116
|
* codeRepositoryProviderTypeVisibility: "<CoverageStringFilterList>",
|
|
117
117
|
* lastScannedCommitId: "<CoverageStringFilterList>",
|
|
118
|
+
* cloudProvider: "<CoverageStringFilterList>",
|
|
119
|
+
* cloudProviderAccountId: "<CoverageStringFilterList>",
|
|
120
|
+
* cloudProviderRegion: "<CoverageStringFilterList>",
|
|
121
|
+
* cloudVmInstanceTags: [
|
|
122
|
+
* {
|
|
123
|
+
* comparison: "STRING_VALUE", // required
|
|
124
|
+
* key: "STRING_VALUE", // required
|
|
125
|
+
* value: "STRING_VALUE",
|
|
126
|
+
* },
|
|
127
|
+
* ],
|
|
128
|
+
* cloudContainerImageTags: "<CoverageStringFilterList>",
|
|
129
|
+
* cloudContainerRepositoryName: "<CoverageStringFilterList>",
|
|
130
|
+
* cloudContainerRegistryName: "<CoverageStringFilterList>",
|
|
131
|
+
* cloudServerlessFunctionName: "<CoverageStringFilterList>",
|
|
132
|
+
* cloudServerlessFunctionRuntime: "<CoverageStringFilterList>",
|
|
133
|
+
* cloudServerlessFunctionTags: [
|
|
134
|
+
* {
|
|
135
|
+
* comparison: "STRING_VALUE", // required
|
|
136
|
+
* key: "STRING_VALUE", // required
|
|
137
|
+
* value: "STRING_VALUE",
|
|
138
|
+
* },
|
|
139
|
+
* ],
|
|
140
|
+
* cloudProviderOrgId: "<CoverageStringFilterList>",
|
|
118
141
|
* },
|
|
119
142
|
* };
|
|
120
143
|
* const command = new ListCoverageCommand(input);
|
|
@@ -194,9 +217,44 @@ declare const ListCoverageCommand_base: {
|
|
|
194
217
|
* // },
|
|
195
218
|
* // },
|
|
196
219
|
* // },
|
|
220
|
+
* // vmInstance: { // VmInstanceMetadata
|
|
221
|
+
* // tags: {
|
|
222
|
+
* // "<keys>": "STRING_VALUE",
|
|
223
|
+
* // },
|
|
224
|
+
* // platform: "STRING_VALUE",
|
|
225
|
+
* // inventoryHash: "STRING_VALUE",
|
|
226
|
+
* // vmImageReference: "STRING_VALUE",
|
|
227
|
+
* // },
|
|
228
|
+
* // containerImage: { // ContainerImageMetadata
|
|
229
|
+
* // imageTags: [
|
|
230
|
+
* // "STRING_VALUE",
|
|
231
|
+
* // ],
|
|
232
|
+
* // imagePulledAt: new Date("TIMESTAMP"),
|
|
233
|
+
* // lastInUseAt: new Date("TIMESTAMP"),
|
|
234
|
+
* // inUseCount: Number("long"),
|
|
235
|
+
* // },
|
|
236
|
+
* // containerRepository: { // ContainerRepositoryMetadata
|
|
237
|
+
* // name: "STRING_VALUE",
|
|
238
|
+
* // scanFrequency: "STRING_VALUE",
|
|
239
|
+
* // },
|
|
240
|
+
* // containerRegistry: { // ContainerRegistryMetadata
|
|
241
|
+
* // name: "STRING_VALUE",
|
|
242
|
+
* // },
|
|
243
|
+
* // serverlessFunction: { // ServerlessFunctionMetadata
|
|
244
|
+
* // serverlessFunctionName: "STRING_VALUE",
|
|
245
|
+
* // runtime: "STRING_VALUE",
|
|
246
|
+
* // functionTags: {
|
|
247
|
+
* // "<keys>": "STRING_VALUE",
|
|
248
|
+
* // },
|
|
249
|
+
* // },
|
|
197
250
|
* // },
|
|
198
251
|
* // lastScannedAt: new Date("TIMESTAMP"),
|
|
199
252
|
* // scanMode: "STRING_VALUE",
|
|
253
|
+
* // provider: "STRING_VALUE",
|
|
254
|
+
* // providerAccountId: "STRING_VALUE",
|
|
255
|
+
* // providerOrgId: "STRING_VALUE",
|
|
256
|
+
* // providerRegion: "STRING_VALUE",
|
|
257
|
+
* // providerPartition: "STRING_VALUE",
|
|
200
258
|
* // },
|
|
201
259
|
* // ],
|
|
202
260
|
* // };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListCoverageStatisticsRequest, ListCoverageStatisticsResponse } from "../models/
|
|
2
|
+
import type { ListCoverageStatisticsRequest, ListCoverageStatisticsResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -113,6 +113,29 @@ declare const ListCoverageStatisticsCommand_base: {
|
|
|
113
113
|
* codeRepositoryProviderType: "<CoverageStringFilterList>",
|
|
114
114
|
* codeRepositoryProviderTypeVisibility: "<CoverageStringFilterList>",
|
|
115
115
|
* lastScannedCommitId: "<CoverageStringFilterList>",
|
|
116
|
+
* cloudProvider: "<CoverageStringFilterList>",
|
|
117
|
+
* cloudProviderAccountId: "<CoverageStringFilterList>",
|
|
118
|
+
* cloudProviderRegion: "<CoverageStringFilterList>",
|
|
119
|
+
* cloudVmInstanceTags: [
|
|
120
|
+
* {
|
|
121
|
+
* comparison: "STRING_VALUE", // required
|
|
122
|
+
* key: "STRING_VALUE", // required
|
|
123
|
+
* value: "STRING_VALUE",
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* cloudContainerImageTags: "<CoverageStringFilterList>",
|
|
127
|
+
* cloudContainerRepositoryName: "<CoverageStringFilterList>",
|
|
128
|
+
* cloudContainerRegistryName: "<CoverageStringFilterList>",
|
|
129
|
+
* cloudServerlessFunctionName: "<CoverageStringFilterList>",
|
|
130
|
+
* cloudServerlessFunctionRuntime: "<CoverageStringFilterList>",
|
|
131
|
+
* cloudServerlessFunctionTags: [
|
|
132
|
+
* {
|
|
133
|
+
* comparison: "STRING_VALUE", // required
|
|
134
|
+
* key: "STRING_VALUE", // required
|
|
135
|
+
* value: "STRING_VALUE",
|
|
136
|
+
* },
|
|
137
|
+
* ],
|
|
138
|
+
* cloudProviderOrgId: "<CoverageStringFilterList>",
|
|
116
139
|
* },
|
|
117
140
|
* groupBy: "STRING_VALUE",
|
|
118
141
|
* nextToken: "STRING_VALUE",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListDelegatedAdminAccountsRequest, ListDelegatedAdminAccountsResponse } from "../models/
|
|
2
|
+
import type { ListDelegatedAdminAccountsRequest, ListDelegatedAdminAccountsResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListFiltersRequest, ListFiltersResponse } from "../models/
|
|
2
|
+
import type { ListFiltersRequest, ListFiltersResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -186,6 +186,30 @@ declare const ListFiltersCommand_base: {
|
|
|
186
186
|
* // ],
|
|
187
187
|
* // codeRepositoryProjectName: "<StringFilterList>",
|
|
188
188
|
* // codeRepositoryProviderType: "<StringFilterList>",
|
|
189
|
+
* // cloudProvider: "<StringFilterList>",
|
|
190
|
+
* // cloudProviderRegion: "<StringFilterList>",
|
|
191
|
+
* // cloudProviderAccountId: "<StringFilterList>",
|
|
192
|
+
* // cloudProviderOrgId: "<StringFilterList>",
|
|
193
|
+
* // cloudVmImageReference: "<StringFilterList>",
|
|
194
|
+
* // cloudVmNetworkId: "<StringFilterList>",
|
|
195
|
+
* // cloudVmSubnetIds: "<StringFilterList>",
|
|
196
|
+
* // cloudImageRepositoryName: "<StringFilterList>",
|
|
197
|
+
* // cloudImageRegistry: "<StringFilterList>",
|
|
198
|
+
* // cloudImageDigest: "<StringFilterList>",
|
|
199
|
+
* // cloudImageTags: "<StringFilterList>",
|
|
200
|
+
* // cloudImagePushedAt: "<DateFilterList>",
|
|
201
|
+
* // cloudImageArchitecture: "<StringFilterList>",
|
|
202
|
+
* // cloudImageLastInUseAt: "<DateFilterList>",
|
|
203
|
+
* // cloudImageInUseCount: [
|
|
204
|
+
* // {
|
|
205
|
+
* // upperInclusive: Number("double"),
|
|
206
|
+
* // lowerInclusive: Number("double"),
|
|
207
|
+
* // },
|
|
208
|
+
* // ],
|
|
209
|
+
* // cloudServerlessFunctionName: "<StringFilterList>",
|
|
210
|
+
* // cloudServerlessFunctionRuntime: "<StringFilterList>",
|
|
211
|
+
* // cloudServerlessFunctionLastModifiedAt: "<DateFilterList>",
|
|
212
|
+
* // cloudServerlessFunctionExecutionRole: "<StringFilterList>",
|
|
189
213
|
* // },
|
|
190
214
|
* // action: "STRING_VALUE", // required
|
|
191
215
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListFindingAggregationsRequest, ListFindingAggregationsResponse } from "../models/
|
|
2
|
+
import type { ListFindingAggregationsRequest, ListFindingAggregationsResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -120,6 +120,11 @@ declare const ListFindingAggregationsCommand_base: {
|
|
|
120
120
|
* repositories: "<StringFilterList>",
|
|
121
121
|
* resourceIds: "<StringFilterList>",
|
|
122
122
|
* layerHashes: "<StringFilterList>",
|
|
123
|
+
* cloudProviders: "<StringFilterList>",
|
|
124
|
+
* cloudAccountIds: "<StringFilterList>",
|
|
125
|
+
* cloudOrgIds: "<StringFilterList>",
|
|
126
|
+
* cloudRegions: "<StringFilterList>",
|
|
127
|
+
* cloudPartitions: "<StringFilterList>",
|
|
123
128
|
* sortOrder: "STRING_VALUE",
|
|
124
129
|
* sortBy: "STRING_VALUE",
|
|
125
130
|
* },
|
|
@@ -137,9 +142,9 @@ declare const ListFindingAggregationsCommand_base: {
|
|
|
137
142
|
* titles: "<StringFilterList>",
|
|
138
143
|
* vulnerabilityIds: "<StringFilterList>",
|
|
139
144
|
* resourceType: "STRING_VALUE",
|
|
145
|
+
* findingType: "STRING_VALUE",
|
|
140
146
|
* sortOrder: "STRING_VALUE",
|
|
141
147
|
* sortBy: "STRING_VALUE",
|
|
142
|
-
* findingType: "STRING_VALUE",
|
|
143
148
|
* },
|
|
144
149
|
* lambdaLayerAggregation: { // LambdaLayerAggregation
|
|
145
150
|
* functionNames: "<StringFilterList>",
|
|
@@ -169,6 +174,71 @@ declare const ListFindingAggregationsCommand_base: {
|
|
|
169
174
|
* sortBy: "STRING_VALUE",
|
|
170
175
|
* resourceIds: "<StringFilterList>",
|
|
171
176
|
* },
|
|
177
|
+
* vmInstanceAggregation: { // VmInstanceAggregation
|
|
178
|
+
* resourceIds: "<StringFilterList>",
|
|
179
|
+
* operatingSystems: "<StringFilterList>",
|
|
180
|
+
* instanceTags: [
|
|
181
|
+
* {
|
|
182
|
+
* comparison: "STRING_VALUE", // required
|
|
183
|
+
* key: "STRING_VALUE", // required
|
|
184
|
+
* value: "STRING_VALUE",
|
|
185
|
+
* },
|
|
186
|
+
* ],
|
|
187
|
+
* vmImageReferences: "<StringFilterList>",
|
|
188
|
+
* cloudProviders: "<StringFilterList>",
|
|
189
|
+
* cloudPartitions: "<StringFilterList>",
|
|
190
|
+
* cloudRegions: "<StringFilterList>",
|
|
191
|
+
* cloudOrgIds: "<StringFilterList>",
|
|
192
|
+
* cloudAccountIds: "<StringFilterList>",
|
|
193
|
+
* sortOrder: "STRING_VALUE",
|
|
194
|
+
* sortBy: "STRING_VALUE",
|
|
195
|
+
* },
|
|
196
|
+
* containerImageAggregation: { // ContainerImageAggregation
|
|
197
|
+
* resourceIds: "<StringFilterList>",
|
|
198
|
+
* imageDigests: "<StringFilterList>",
|
|
199
|
+
* repositories: "<StringFilterList>",
|
|
200
|
+
* registries: "<StringFilterList>",
|
|
201
|
+
* architectures: "<StringFilterList>",
|
|
202
|
+
* imageTags: "<StringFilterList>",
|
|
203
|
+
* cloudProviders: "<StringFilterList>",
|
|
204
|
+
* cloudPartitions: "<StringFilterList>",
|
|
205
|
+
* cloudRegions: "<StringFilterList>",
|
|
206
|
+
* cloudOrgIds: "<StringFilterList>",
|
|
207
|
+
* cloudAccountIds: "<StringFilterList>",
|
|
208
|
+
* lastInUseAt: [
|
|
209
|
+
* {
|
|
210
|
+
* startInclusive: new Date("TIMESTAMP"),
|
|
211
|
+
* endInclusive: new Date("TIMESTAMP"),
|
|
212
|
+
* },
|
|
213
|
+
* ],
|
|
214
|
+
* inUseCount: [
|
|
215
|
+
* {
|
|
216
|
+
* upperInclusive: Number("double"),
|
|
217
|
+
* lowerInclusive: Number("double"),
|
|
218
|
+
* },
|
|
219
|
+
* ],
|
|
220
|
+
* sortOrder: "STRING_VALUE",
|
|
221
|
+
* sortBy: "STRING_VALUE",
|
|
222
|
+
* },
|
|
223
|
+
* serverlessFunctionAggregation: { // ServerlessFunctionAggregation
|
|
224
|
+
* resourceIds: "<StringFilterList>",
|
|
225
|
+
* functionNames: "<StringFilterList>",
|
|
226
|
+
* runtimes: "<StringFilterList>",
|
|
227
|
+
* functionTags: [
|
|
228
|
+
* {
|
|
229
|
+
* comparison: "STRING_VALUE", // required
|
|
230
|
+
* key: "STRING_VALUE", // required
|
|
231
|
+
* value: "STRING_VALUE",
|
|
232
|
+
* },
|
|
233
|
+
* ],
|
|
234
|
+
* cloudProviders: "<StringFilterList>",
|
|
235
|
+
* cloudPartitions: "<StringFilterList>",
|
|
236
|
+
* cloudRegions: "<StringFilterList>",
|
|
237
|
+
* cloudOrgIds: "<StringFilterList>",
|
|
238
|
+
* cloudAccountIds: "<StringFilterList>",
|
|
239
|
+
* sortOrder: "STRING_VALUE",
|
|
240
|
+
* sortBy: "STRING_VALUE",
|
|
241
|
+
* },
|
|
172
242
|
* },
|
|
173
243
|
* };
|
|
174
244
|
* const command = new ListFindingAggregationsCommand(input);
|
|
@@ -191,6 +261,11 @@ declare const ListFindingAggregationsCommand_base: {
|
|
|
191
261
|
* // amiAggregation: { // AmiAggregationResponse
|
|
192
262
|
* // ami: "STRING_VALUE", // required
|
|
193
263
|
* // accountId: "STRING_VALUE",
|
|
264
|
+
* // cloudProvider: "STRING_VALUE",
|
|
265
|
+
* // cloudPartition: "STRING_VALUE",
|
|
266
|
+
* // cloudRegion: "STRING_VALUE",
|
|
267
|
+
* // cloudOrgId: "STRING_VALUE",
|
|
268
|
+
* // cloudAccountId: "STRING_VALUE",
|
|
194
269
|
* // severityCounts: {
|
|
195
270
|
* // all: Number("long"),
|
|
196
271
|
* // medium: Number("long"),
|
|
@@ -243,12 +318,22 @@ declare const ListFindingAggregationsCommand_base: {
|
|
|
243
318
|
* // },
|
|
244
319
|
* // exploitAvailableCount: Number("long"),
|
|
245
320
|
* // fixAvailableCount: Number("long"),
|
|
321
|
+
* // cloudProvider: "STRING_VALUE",
|
|
322
|
+
* // cloudAccountId: "STRING_VALUE",
|
|
323
|
+
* // cloudOrgId: "STRING_VALUE",
|
|
324
|
+
* // cloudRegion: "STRING_VALUE",
|
|
325
|
+
* // cloudPartition: "STRING_VALUE",
|
|
246
326
|
* // },
|
|
247
327
|
* // imageLayerAggregation: { // ImageLayerAggregationResponse
|
|
248
328
|
* // repository: "STRING_VALUE", // required
|
|
249
329
|
* // resourceId: "STRING_VALUE", // required
|
|
250
330
|
* // layerHash: "STRING_VALUE", // required
|
|
251
331
|
* // accountId: "STRING_VALUE", // required
|
|
332
|
+
* // cloudProvider: "STRING_VALUE",
|
|
333
|
+
* // cloudAccountId: "STRING_VALUE",
|
|
334
|
+
* // cloudOrgId: "STRING_VALUE",
|
|
335
|
+
* // cloudRegion: "STRING_VALUE",
|
|
336
|
+
* // cloudPartition: "STRING_VALUE",
|
|
252
337
|
* // severityCounts: "<SeverityCounts>",
|
|
253
338
|
* // },
|
|
254
339
|
* // packageAggregation: { // PackageAggregationResponse
|
|
@@ -259,6 +344,11 @@ declare const ListFindingAggregationsCommand_base: {
|
|
|
259
344
|
* // repositoryAggregation: { // RepositoryAggregationResponse
|
|
260
345
|
* // repository: "STRING_VALUE", // required
|
|
261
346
|
* // accountId: "STRING_VALUE",
|
|
347
|
+
* // cloudProvider: "STRING_VALUE",
|
|
348
|
+
* // cloudPartition: "STRING_VALUE",
|
|
349
|
+
* // cloudRegion: "STRING_VALUE",
|
|
350
|
+
* // cloudOrgId: "STRING_VALUE",
|
|
351
|
+
* // cloudAccountId: "STRING_VALUE",
|
|
262
352
|
* // severityCounts: "<SeverityCounts>",
|
|
263
353
|
* // affectedImages: Number("long"),
|
|
264
354
|
* // },
|
|
@@ -295,6 +385,63 @@ declare const ListFindingAggregationsCommand_base: {
|
|
|
295
385
|
* // accountId: "STRING_VALUE",
|
|
296
386
|
* // resourceId: "STRING_VALUE",
|
|
297
387
|
* // },
|
|
388
|
+
* // vmInstanceAggregation: { // VmInstanceAggregationResponse
|
|
389
|
+
* // resourceId: "STRING_VALUE", // required
|
|
390
|
+
* // cloudProvider: "STRING_VALUE",
|
|
391
|
+
* // cloudAccountId: "STRING_VALUE",
|
|
392
|
+
* // cloudPartition: "STRING_VALUE",
|
|
393
|
+
* // cloudRegion: "STRING_VALUE",
|
|
394
|
+
* // cloudOrgId: "STRING_VALUE",
|
|
395
|
+
* // vmImageReference: "STRING_VALUE",
|
|
396
|
+
* // operatingSystem: "STRING_VALUE",
|
|
397
|
+
* // tags: {
|
|
398
|
+
* // "<keys>": "STRING_VALUE",
|
|
399
|
+
* // },
|
|
400
|
+
* // accountId: "STRING_VALUE",
|
|
401
|
+
* // severityCounts: "<SeverityCounts>",
|
|
402
|
+
* // networkFindings: Number("long"),
|
|
403
|
+
* // exploitAvailableActiveFindingsCount: Number("long"),
|
|
404
|
+
* // fixAvailableActiveFindingsCount: Number("long"),
|
|
405
|
+
* // },
|
|
406
|
+
* // containerImageAggregation: { // ContainerImageAggregationResponse
|
|
407
|
+
* // resourceId: "STRING_VALUE", // required
|
|
408
|
+
* // cloudProvider: "STRING_VALUE",
|
|
409
|
+
* // cloudAccountId: "STRING_VALUE",
|
|
410
|
+
* // cloudPartition: "STRING_VALUE",
|
|
411
|
+
* // cloudRegion: "STRING_VALUE",
|
|
412
|
+
* // cloudOrgId: "STRING_VALUE",
|
|
413
|
+
* // imageDigest: "STRING_VALUE",
|
|
414
|
+
* // repository: "STRING_VALUE",
|
|
415
|
+
* // registry: "STRING_VALUE",
|
|
416
|
+
* // architecture: "STRING_VALUE",
|
|
417
|
+
* // imageTags: [
|
|
418
|
+
* // "STRING_VALUE",
|
|
419
|
+
* // ],
|
|
420
|
+
* // accountId: "STRING_VALUE",
|
|
421
|
+
* // severityCounts: "<SeverityCounts>",
|
|
422
|
+
* // lastInUseAt: new Date("TIMESTAMP"),
|
|
423
|
+
* // inUseCount: Number("long"),
|
|
424
|
+
* // exploitAvailableActiveFindingsCount: Number("long"),
|
|
425
|
+
* // fixAvailableActiveFindingsCount: Number("long"),
|
|
426
|
+
* // },
|
|
427
|
+
* // serverlessFunctionAggregation: { // ServerlessFunctionAggregationResponse
|
|
428
|
+
* // resourceId: "STRING_VALUE", // required
|
|
429
|
+
* // cloudProvider: "STRING_VALUE",
|
|
430
|
+
* // cloudAccountId: "STRING_VALUE",
|
|
431
|
+
* // cloudPartition: "STRING_VALUE",
|
|
432
|
+
* // cloudRegion: "STRING_VALUE",
|
|
433
|
+
* // cloudOrgId: "STRING_VALUE",
|
|
434
|
+
* // functionName: "STRING_VALUE",
|
|
435
|
+
* // runtime: "STRING_VALUE",
|
|
436
|
+
* // tags: {
|
|
437
|
+
* // "<keys>": "STRING_VALUE",
|
|
438
|
+
* // },
|
|
439
|
+
* // accountId: "STRING_VALUE",
|
|
440
|
+
* // severityCounts: "<SeverityCounts>",
|
|
441
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
442
|
+
* // exploitAvailableActiveFindingsCount: Number("long"),
|
|
443
|
+
* // fixAvailableActiveFindingsCount: Number("long"),
|
|
444
|
+
* // },
|
|
298
445
|
* // },
|
|
299
446
|
* // ],
|
|
300
447
|
* // nextToken: "STRING_VALUE",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListFindingsRequest, ListFindingsResponse } from "../models/
|
|
2
|
+
import type { ListFindingsRequest, ListFindingsResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -173,6 +173,30 @@ declare const ListFindingsCommand_base: {
|
|
|
173
173
|
* ],
|
|
174
174
|
* codeRepositoryProjectName: "<StringFilterList>",
|
|
175
175
|
* codeRepositoryProviderType: "<StringFilterList>",
|
|
176
|
+
* cloudProvider: "<StringFilterList>",
|
|
177
|
+
* cloudProviderRegion: "<StringFilterList>",
|
|
178
|
+
* cloudProviderAccountId: "<StringFilterList>",
|
|
179
|
+
* cloudProviderOrgId: "<StringFilterList>",
|
|
180
|
+
* cloudVmImageReference: "<StringFilterList>",
|
|
181
|
+
* cloudVmNetworkId: "<StringFilterList>",
|
|
182
|
+
* cloudVmSubnetIds: "<StringFilterList>",
|
|
183
|
+
* cloudImageRepositoryName: "<StringFilterList>",
|
|
184
|
+
* cloudImageRegistry: "<StringFilterList>",
|
|
185
|
+
* cloudImageDigest: "<StringFilterList>",
|
|
186
|
+
* cloudImageTags: "<StringFilterList>",
|
|
187
|
+
* cloudImagePushedAt: "<DateFilterList>",
|
|
188
|
+
* cloudImageArchitecture: "<StringFilterList>",
|
|
189
|
+
* cloudImageLastInUseAt: "<DateFilterList>",
|
|
190
|
+
* cloudImageInUseCount: [
|
|
191
|
+
* {
|
|
192
|
+
* upperInclusive: Number("double"),
|
|
193
|
+
* lowerInclusive: Number("double"),
|
|
194
|
+
* },
|
|
195
|
+
* ],
|
|
196
|
+
* cloudServerlessFunctionName: "<StringFilterList>",
|
|
197
|
+
* cloudServerlessFunctionRuntime: "<StringFilterList>",
|
|
198
|
+
* cloudServerlessFunctionLastModifiedAt: "<DateFilterList>",
|
|
199
|
+
* cloudServerlessFunctionExecutionRole: "<StringFilterList>",
|
|
176
200
|
* },
|
|
177
201
|
* sortCriteria: { // SortCriteria
|
|
178
202
|
* field: "STRING_VALUE", // required
|
|
@@ -270,7 +294,68 @@ declare const ListFindingsCommand_base: {
|
|
|
270
294
|
* // integrationArn: "STRING_VALUE",
|
|
271
295
|
* // providerType: "STRING_VALUE",
|
|
272
296
|
* // },
|
|
297
|
+
* // vm: { // Vm
|
|
298
|
+
* // type: "STRING_VALUE",
|
|
299
|
+
* // vmName: "STRING_VALUE",
|
|
300
|
+
* // vmImageReference: "STRING_VALUE",
|
|
301
|
+
* // ipV4Addresses: [
|
|
302
|
+
* // "STRING_VALUE",
|
|
303
|
+
* // ],
|
|
304
|
+
* // ipV6Addresses: [
|
|
305
|
+
* // "STRING_VALUE",
|
|
306
|
+
* // ],
|
|
307
|
+
* // networkId: "STRING_VALUE",
|
|
308
|
+
* // subnetIds: [ // CloudSubnetIdList
|
|
309
|
+
* // "STRING_VALUE",
|
|
310
|
+
* // ],
|
|
311
|
+
* // securityGroupIds: [ // CloudSecurityGroupIdList
|
|
312
|
+
* // "STRING_VALUE",
|
|
313
|
+
* // ],
|
|
314
|
+
* // launchedAt: new Date("TIMESTAMP"),
|
|
315
|
+
* // platform: "STRING_VALUE",
|
|
316
|
+
* // executionRole: "STRING_VALUE",
|
|
317
|
+
* // keyName: "STRING_VALUE",
|
|
318
|
+
* // },
|
|
319
|
+
* // image: { // Image
|
|
320
|
+
* // repositoryName: "STRING_VALUE",
|
|
321
|
+
* // registry: "STRING_VALUE",
|
|
322
|
+
* // imageTags: [
|
|
323
|
+
* // "STRING_VALUE",
|
|
324
|
+
* // ],
|
|
325
|
+
* // imageDigest: "STRING_VALUE",
|
|
326
|
+
* // pushedAt: new Date("TIMESTAMP"),
|
|
327
|
+
* // architecture: "STRING_VALUE",
|
|
328
|
+
* // author: "STRING_VALUE",
|
|
329
|
+
* // inUseCount: Number("long"),
|
|
330
|
+
* // lastInUseAt: new Date("TIMESTAMP"),
|
|
331
|
+
* // platform: "STRING_VALUE",
|
|
332
|
+
* // },
|
|
333
|
+
* // serverlessFunction: { // ServerlessFunction
|
|
334
|
+
* // serverlessFunctionName: "STRING_VALUE",
|
|
335
|
+
* // runtime: "STRING_VALUE",
|
|
336
|
+
* // version: "STRING_VALUE",
|
|
337
|
+
* // codeDigest: "STRING_VALUE",
|
|
338
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
339
|
+
* // networkId: "STRING_VALUE",
|
|
340
|
+
* // subnetIds: [
|
|
341
|
+
* // "STRING_VALUE",
|
|
342
|
+
* // ],
|
|
343
|
+
* // securityGroupIds: [
|
|
344
|
+
* // "STRING_VALUE",
|
|
345
|
+
* // ],
|
|
346
|
+
* // executionRole: "STRING_VALUE",
|
|
347
|
+
* // packageType: "STRING_VALUE",
|
|
348
|
+
* // architectures: [
|
|
349
|
+
* // "STRING_VALUE",
|
|
350
|
+
* // ],
|
|
351
|
+
* // layers: [ // ServerlessFunctionLayerList
|
|
352
|
+
* // "STRING_VALUE",
|
|
353
|
+
* // ],
|
|
354
|
+
* // },
|
|
273
355
|
* // },
|
|
356
|
+
* // provider: "STRING_VALUE",
|
|
357
|
+
* // providerAccountId: "STRING_VALUE",
|
|
358
|
+
* // providerOrgId: "STRING_VALUE",
|
|
274
359
|
* // },
|
|
275
360
|
* // ],
|
|
276
361
|
* // inspectorScore: Number("double"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/
|
|
2
|
+
import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListUsageTotalsRequest, ListUsageTotalsResponse } from "../models/
|
|
2
|
+
import type { ListUsageTotalsRequest, ListUsageTotalsResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -53,6 +53,7 @@ declare const ListUsageTotalsCommand_base: {
|
|
|
53
53
|
* // total: Number("double"),
|
|
54
54
|
* // estimatedMonthlyCost: Number("double"),
|
|
55
55
|
* // currency: "STRING_VALUE",
|
|
56
|
+
* // cloudProvider: "STRING_VALUE",
|
|
56
57
|
* // },
|
|
57
58
|
* // ],
|
|
58
59
|
* // },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ResetEncryptionKeyRequest, ResetEncryptionKeyResponse } from "../models/
|
|
2
|
+
import type { ResetEncryptionKeyRequest, ResetEncryptionKeyResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { SearchVulnerabilitiesRequest, SearchVulnerabilitiesResponse } from "../models/
|
|
2
|
+
import type { SearchVulnerabilitiesRequest, SearchVulnerabilitiesResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { SendCisSessionHealthRequest, SendCisSessionHealthResponse } from "../models/
|
|
2
|
+
import type { SendCisSessionHealthRequest, SendCisSessionHealthResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { SendCisSessionTelemetryRequest, SendCisSessionTelemetryResponse } from "../models/
|
|
2
|
+
import type { SendCisSessionTelemetryRequest, SendCisSessionTelemetryResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -24,9 +24,12 @@ declare const UpdateConfigurationCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Updates
|
|
28
|
-
*
|
|
29
|
-
* accounts
|
|
27
|
+
* <p>Updates the scan configuration for your Amazon Inspector account. If you don't specify an
|
|
28
|
+
* <code>accountId</code>, this operation updates the delegated administrator's configuration
|
|
29
|
+
* and propagates it to member accounts that have not been individually configured. If you
|
|
30
|
+
* specify an <code>accountId</code>, this operation updates that member account's
|
|
31
|
+
* configuration. Only the delegated administrator can specify an <code>accountId</code>;
|
|
32
|
+
* member accounts cannot call this operation.</p>
|
|
30
33
|
* @example
|
|
31
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
35
|
* ```javascript
|
|
@@ -36,6 +39,7 @@ declare const UpdateConfigurationCommand_base: {
|
|
|
36
39
|
* const config = {}; // type is Inspector2ClientConfig
|
|
37
40
|
* const client = new Inspector2Client(config);
|
|
38
41
|
* const input = { // UpdateConfigurationRequest
|
|
42
|
+
* accountId: "STRING_VALUE",
|
|
39
43
|
* ecrConfiguration: { // EcrConfiguration
|
|
40
44
|
* rescanDuration: "STRING_VALUE", // required
|
|
41
45
|
* pullDateRescanDuration: "STRING_VALUE",
|
|
@@ -45,6 +49,10 @@ declare const UpdateConfigurationCommand_base: {
|
|
|
45
49
|
* scanMode: "STRING_VALUE", // required
|
|
46
50
|
* activateVMScanner: true || false,
|
|
47
51
|
* },
|
|
52
|
+
* updateConfigurationInheritance: { // UpdateConfigurationInheritance
|
|
53
|
+
* ec2Configuration: "STRING_VALUE",
|
|
54
|
+
* ecrConfiguration: "STRING_VALUE",
|
|
55
|
+
* },
|
|
48
56
|
* };
|
|
49
57
|
* const command = new UpdateConfigurationCommand(input);
|
|
50
58
|
* const response = await client.send(command);
|