@aws-sdk/client-inspector2 3.936.0 → 3.940.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/index.js +546 -0
- package/dist-es/models/enums.js +475 -0
- package/dist-es/models/models_0.js +1 -423
- package/dist-es/models/models_1.js +1 -52
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetEncryptionKeyCommand.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/GetSbomExportCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScansCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCoverageCommand.d.ts +1 -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 +1 -1
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
- package/dist-types/commands/StartCisSessionCommand.d.ts +2 -1
- package/dist-types/models/enums.d.ts +1187 -144
- package/dist-types/models/errors.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1366 -945
- package/dist-types/models/models_1.d.ts +2 -1466
- package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
- 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/StartCisSessionCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/enums.d.ts +588 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +383 -528
- package/dist-types/ts3.4/models/models_1.d.ts +4 -419
- package/package.json +5 -5
|
@@ -1,438 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
CisScanConfigurationsSortBy,
|
|
3
|
-
CisScanResultsAggregatedByChecksSortBy,
|
|
4
|
-
CisScanResultsAggregatedByTargetResourceSortBy,
|
|
5
2
|
CisSecurityLevel,
|
|
6
|
-
CisSortOrder,
|
|
7
3
|
CodeScanStatus,
|
|
4
|
+
Ec2DeepInspectionStatus,
|
|
5
|
+
FilterAction,
|
|
8
6
|
IntegrationStatus,
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
ResourceType,
|
|
8
|
+
ScanType,
|
|
11
9
|
StopCisSessionStatus,
|
|
12
10
|
} from "./enums";
|
|
13
11
|
import {
|
|
14
|
-
AggregationRequest,
|
|
15
|
-
AggregationResponse,
|
|
16
|
-
AggregationType,
|
|
17
|
-
AtigData,
|
|
18
12
|
AutoEnable,
|
|
19
|
-
CisaData,
|
|
20
|
-
CisCheckAggregation,
|
|
21
|
-
CisDateFilter,
|
|
22
|
-
CisNumberFilter,
|
|
23
|
-
CisScan,
|
|
24
|
-
CisScanConfiguration,
|
|
25
|
-
CisScanResultsAggregatedByChecksFilterCriteria,
|
|
26
|
-
CisScanResultsAggregatedByTargetResourceFilterCriteria,
|
|
27
|
-
CisScanStatusFilter,
|
|
28
|
-
CisSessionMessage,
|
|
29
|
-
CisStringFilter,
|
|
30
|
-
CisTargetResourceAggregation,
|
|
31
|
-
CodeSecurityIntegrationSummary,
|
|
32
13
|
CodeSecurityResource,
|
|
33
14
|
CodeSecurityScanConfiguration,
|
|
34
|
-
CodeSecurityScanConfigurationAssociationSummary,
|
|
35
|
-
CodeSecurityScanConfigurationSummary,
|
|
36
15
|
ComputePlatform,
|
|
37
|
-
Counts,
|
|
38
|
-
CoverageFilterCriteria,
|
|
39
|
-
CoveredResource,
|
|
40
|
-
Currency,
|
|
41
|
-
Cvss2,
|
|
42
|
-
Cvss3,
|
|
43
|
-
Cvss4,
|
|
44
|
-
DelegatedAdmin,
|
|
45
|
-
DelegatedAdminAccount,
|
|
46
|
-
Destination,
|
|
47
16
|
Ec2Configuration,
|
|
48
|
-
Ec2DeepInspectionStatus,
|
|
49
17
|
EcrConfiguration,
|
|
50
|
-
Epss,
|
|
51
|
-
ExploitObserved,
|
|
52
|
-
ExternalReportStatus,
|
|
53
|
-
Filter,
|
|
54
|
-
FilterAction,
|
|
55
18
|
FilterCriteria,
|
|
56
|
-
Finding,
|
|
57
|
-
GroupKey,
|
|
58
|
-
RelationshipStatus,
|
|
59
|
-
ResourceFilterCriteria,
|
|
60
|
-
ResourceType,
|
|
61
|
-
SbomReportFormat,
|
|
62
|
-
ScanType,
|
|
63
19
|
Schedule,
|
|
64
|
-
SortOrder,
|
|
65
|
-
StringFilter,
|
|
66
|
-
TagFilter,
|
|
67
20
|
} from "./models_0";
|
|
68
|
-
export interface GetDelegatedAdminAccountRequest {}
|
|
69
|
-
export interface GetDelegatedAdminAccountResponse {
|
|
70
|
-
delegatedAdmin?: DelegatedAdmin | undefined;
|
|
71
|
-
}
|
|
72
|
-
export interface GetEc2DeepInspectionConfigurationRequest {}
|
|
73
|
-
export interface GetEc2DeepInspectionConfigurationResponse {
|
|
74
|
-
packagePaths?: string[] | undefined;
|
|
75
|
-
orgPackagePaths?: string[] | undefined;
|
|
76
|
-
status?: Ec2DeepInspectionStatus | undefined;
|
|
77
|
-
errorMessage?: string | undefined;
|
|
78
|
-
}
|
|
79
|
-
export interface GetEncryptionKeyRequest {
|
|
80
|
-
scanType: ScanType | undefined;
|
|
81
|
-
resourceType: ResourceType | undefined;
|
|
82
|
-
}
|
|
83
|
-
export interface GetEncryptionKeyResponse {
|
|
84
|
-
kmsKeyId: string | undefined;
|
|
85
|
-
}
|
|
86
|
-
export interface GetFindingsReportStatusRequest {
|
|
87
|
-
reportId?: string | undefined;
|
|
88
|
-
}
|
|
89
|
-
export declare const ReportingErrorCode: {
|
|
90
|
-
readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
|
|
91
|
-
readonly INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION";
|
|
92
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
93
|
-
readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
|
|
94
|
-
readonly MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY";
|
|
95
|
-
readonly NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND";
|
|
96
|
-
};
|
|
97
|
-
export type ReportingErrorCode =
|
|
98
|
-
(typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
|
|
99
|
-
export interface GetFindingsReportStatusResponse {
|
|
100
|
-
reportId?: string | undefined;
|
|
101
|
-
status?: ExternalReportStatus | undefined;
|
|
102
|
-
errorCode?: ReportingErrorCode | undefined;
|
|
103
|
-
errorMessage?: string | undefined;
|
|
104
|
-
destination?: Destination | undefined;
|
|
105
|
-
filterCriteria?: FilterCriteria | undefined;
|
|
106
|
-
}
|
|
107
|
-
export interface GetMemberRequest {
|
|
108
|
-
accountId: string | undefined;
|
|
109
|
-
}
|
|
110
|
-
export interface Member {
|
|
111
|
-
accountId?: string | undefined;
|
|
112
|
-
relationshipStatus?: RelationshipStatus | undefined;
|
|
113
|
-
delegatedAdminAccountId?: string | undefined;
|
|
114
|
-
updatedAt?: Date | undefined;
|
|
115
|
-
}
|
|
116
|
-
export interface GetMemberResponse {
|
|
117
|
-
member?: Member | undefined;
|
|
118
|
-
}
|
|
119
|
-
export interface GetSbomExportRequest {
|
|
120
|
-
reportId: string | undefined;
|
|
121
|
-
}
|
|
122
|
-
export interface GetSbomExportResponse {
|
|
123
|
-
reportId?: string | undefined;
|
|
124
|
-
format?: SbomReportFormat | undefined;
|
|
125
|
-
status?: ExternalReportStatus | undefined;
|
|
126
|
-
errorCode?: ReportingErrorCode | undefined;
|
|
127
|
-
errorMessage?: string | undefined;
|
|
128
|
-
s3Destination?: Destination | undefined;
|
|
129
|
-
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
130
|
-
}
|
|
131
|
-
export declare const Service: {
|
|
132
|
-
readonly EC2: "EC2";
|
|
133
|
-
readonly ECR: "ECR";
|
|
134
|
-
readonly LAMBDA: "LAMBDA";
|
|
135
|
-
};
|
|
136
|
-
export type Service = (typeof Service)[keyof typeof Service];
|
|
137
|
-
export interface ListAccountPermissionsRequest {
|
|
138
|
-
service?: Service | undefined;
|
|
139
|
-
maxResults?: number | undefined;
|
|
140
|
-
nextToken?: string | undefined;
|
|
141
|
-
}
|
|
142
|
-
export declare const Operation: {
|
|
143
|
-
readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
|
|
144
|
-
readonly DISABLE_SCANNING: "DISABLE_SCANNING";
|
|
145
|
-
readonly ENABLE_REPOSITORY: "ENABLE_REPOSITORY";
|
|
146
|
-
readonly ENABLE_SCANNING: "ENABLE_SCANNING";
|
|
147
|
-
};
|
|
148
|
-
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
149
|
-
export interface Permission {
|
|
150
|
-
service: Service | undefined;
|
|
151
|
-
operation: Operation | undefined;
|
|
152
|
-
}
|
|
153
|
-
export interface ListAccountPermissionsResponse {
|
|
154
|
-
permissions: Permission[] | undefined;
|
|
155
|
-
nextToken?: string | undefined;
|
|
156
|
-
}
|
|
157
|
-
export interface ListCisScanConfigurationsFilterCriteria {
|
|
158
|
-
scanNameFilters?: CisStringFilter[] | undefined;
|
|
159
|
-
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
160
|
-
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
161
|
-
}
|
|
162
|
-
export interface ListCisScanConfigurationsRequest {
|
|
163
|
-
filterCriteria?: ListCisScanConfigurationsFilterCriteria | undefined;
|
|
164
|
-
sortBy?: CisScanConfigurationsSortBy | undefined;
|
|
165
|
-
sortOrder?: CisSortOrder | undefined;
|
|
166
|
-
nextToken?: string | undefined;
|
|
167
|
-
maxResults?: number | undefined;
|
|
168
|
-
}
|
|
169
|
-
export interface ListCisScanConfigurationsResponse {
|
|
170
|
-
scanConfigurations?: CisScanConfiguration[] | undefined;
|
|
171
|
-
nextToken?: string | undefined;
|
|
172
|
-
}
|
|
173
|
-
export interface ListCisScanResultsAggregatedByChecksRequest {
|
|
174
|
-
scanArn: string | undefined;
|
|
175
|
-
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria | undefined;
|
|
176
|
-
sortBy?: CisScanResultsAggregatedByChecksSortBy | undefined;
|
|
177
|
-
sortOrder?: CisSortOrder | undefined;
|
|
178
|
-
nextToken?: string | undefined;
|
|
179
|
-
maxResults?: number | undefined;
|
|
180
|
-
}
|
|
181
|
-
export interface ListCisScanResultsAggregatedByChecksResponse {
|
|
182
|
-
checkAggregations?: CisCheckAggregation[] | undefined;
|
|
183
|
-
nextToken?: string | undefined;
|
|
184
|
-
}
|
|
185
|
-
export interface ListCisScanResultsAggregatedByTargetResourceRequest {
|
|
186
|
-
scanArn: string | undefined;
|
|
187
|
-
filterCriteria?:
|
|
188
|
-
| CisScanResultsAggregatedByTargetResourceFilterCriteria
|
|
189
|
-
| undefined;
|
|
190
|
-
sortBy?: CisScanResultsAggregatedByTargetResourceSortBy | undefined;
|
|
191
|
-
sortOrder?: CisSortOrder | undefined;
|
|
192
|
-
nextToken?: string | undefined;
|
|
193
|
-
maxResults?: number | undefined;
|
|
194
|
-
}
|
|
195
|
-
export interface ListCisScanResultsAggregatedByTargetResourceResponse {
|
|
196
|
-
targetResourceAggregations?: CisTargetResourceAggregation[] | undefined;
|
|
197
|
-
nextToken?: string | undefined;
|
|
198
|
-
}
|
|
199
|
-
export interface ListCisScansFilterCriteria {
|
|
200
|
-
scanNameFilters?: CisStringFilter[] | undefined;
|
|
201
|
-
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
202
|
-
targetResourceIdFilters?: CisStringFilter[] | undefined;
|
|
203
|
-
scanStatusFilters?: CisScanStatusFilter[] | undefined;
|
|
204
|
-
scanAtFilters?: CisDateFilter[] | undefined;
|
|
205
|
-
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
206
|
-
scanArnFilters?: CisStringFilter[] | undefined;
|
|
207
|
-
scheduledByFilters?: CisStringFilter[] | undefined;
|
|
208
|
-
failedChecksFilters?: CisNumberFilter[] | undefined;
|
|
209
|
-
targetAccountIdFilters?: CisStringFilter[] | undefined;
|
|
210
|
-
}
|
|
211
|
-
export interface ListCisScansRequest {
|
|
212
|
-
filterCriteria?: ListCisScansFilterCriteria | undefined;
|
|
213
|
-
detailLevel?: ListCisScansDetailLevel | undefined;
|
|
214
|
-
sortBy?: ListCisScansSortBy | undefined;
|
|
215
|
-
sortOrder?: CisSortOrder | undefined;
|
|
216
|
-
nextToken?: string | undefined;
|
|
217
|
-
maxResults?: number | undefined;
|
|
218
|
-
}
|
|
219
|
-
export interface ListCisScansResponse {
|
|
220
|
-
scans?: CisScan[] | undefined;
|
|
221
|
-
nextToken?: string | undefined;
|
|
222
|
-
}
|
|
223
|
-
export interface ListCodeSecurityIntegrationsRequest {
|
|
224
|
-
nextToken?: string | undefined;
|
|
225
|
-
maxResults?: number | undefined;
|
|
226
|
-
}
|
|
227
|
-
export interface ListCodeSecurityIntegrationsResponse {
|
|
228
|
-
integrations?: CodeSecurityIntegrationSummary[] | undefined;
|
|
229
|
-
nextToken?: string | undefined;
|
|
230
|
-
}
|
|
231
|
-
export interface ListCodeSecurityScanConfigurationAssociationsRequest {
|
|
232
|
-
scanConfigurationArn: string | undefined;
|
|
233
|
-
nextToken?: string | undefined;
|
|
234
|
-
maxResults?: number | undefined;
|
|
235
|
-
}
|
|
236
|
-
export interface ListCodeSecurityScanConfigurationAssociationsResponse {
|
|
237
|
-
associations?: CodeSecurityScanConfigurationAssociationSummary[] | undefined;
|
|
238
|
-
nextToken?: string | undefined;
|
|
239
|
-
}
|
|
240
|
-
export interface ListCodeSecurityScanConfigurationsRequest {
|
|
241
|
-
nextToken?: string | undefined;
|
|
242
|
-
maxResults?: number | undefined;
|
|
243
|
-
}
|
|
244
|
-
export interface ListCodeSecurityScanConfigurationsResponse {
|
|
245
|
-
configurations?: CodeSecurityScanConfigurationSummary[] | undefined;
|
|
246
|
-
nextToken?: string | undefined;
|
|
247
|
-
}
|
|
248
|
-
export interface ListCoverageRequest {
|
|
249
|
-
maxResults?: number | undefined;
|
|
250
|
-
nextToken?: string | undefined;
|
|
251
|
-
filterCriteria?: CoverageFilterCriteria | undefined;
|
|
252
|
-
}
|
|
253
|
-
export interface ListCoverageResponse {
|
|
254
|
-
nextToken?: string | undefined;
|
|
255
|
-
coveredResources?: CoveredResource[] | undefined;
|
|
256
|
-
}
|
|
257
|
-
export interface ListCoverageStatisticsRequest {
|
|
258
|
-
filterCriteria?: CoverageFilterCriteria | undefined;
|
|
259
|
-
groupBy?: GroupKey | undefined;
|
|
260
|
-
nextToken?: string | undefined;
|
|
261
|
-
}
|
|
262
|
-
export interface ListCoverageStatisticsResponse {
|
|
263
|
-
countsByGroup?: Counts[] | undefined;
|
|
264
|
-
totalCounts: number | undefined;
|
|
265
|
-
nextToken?: string | undefined;
|
|
266
|
-
}
|
|
267
|
-
export interface ListDelegatedAdminAccountsRequest {
|
|
268
|
-
maxResults?: number | undefined;
|
|
269
|
-
nextToken?: string | undefined;
|
|
270
|
-
}
|
|
271
|
-
export interface ListDelegatedAdminAccountsResponse {
|
|
272
|
-
delegatedAdminAccounts?: DelegatedAdminAccount[] | undefined;
|
|
273
|
-
nextToken?: string | undefined;
|
|
274
|
-
}
|
|
275
|
-
export interface ListFiltersRequest {
|
|
276
|
-
arns?: string[] | undefined;
|
|
277
|
-
action?: FilterAction | undefined;
|
|
278
|
-
nextToken?: string | undefined;
|
|
279
|
-
maxResults?: number | undefined;
|
|
280
|
-
}
|
|
281
|
-
export interface ListFiltersResponse {
|
|
282
|
-
filters: Filter[] | undefined;
|
|
283
|
-
nextToken?: string | undefined;
|
|
284
|
-
}
|
|
285
|
-
export interface ListFindingAggregationsRequest {
|
|
286
|
-
aggregationType: AggregationType | undefined;
|
|
287
|
-
nextToken?: string | undefined;
|
|
288
|
-
maxResults?: number | undefined;
|
|
289
|
-
accountIds?: StringFilter[] | undefined;
|
|
290
|
-
aggregationRequest?: AggregationRequest | undefined;
|
|
291
|
-
}
|
|
292
|
-
export interface ListFindingAggregationsResponse {
|
|
293
|
-
aggregationType: AggregationType | undefined;
|
|
294
|
-
responses?: AggregationResponse[] | undefined;
|
|
295
|
-
nextToken?: string | undefined;
|
|
296
|
-
}
|
|
297
|
-
export declare const SortField: {
|
|
298
|
-
readonly AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID";
|
|
299
|
-
readonly COMPONENT_TYPE: "COMPONENT_TYPE";
|
|
300
|
-
readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
|
|
301
|
-
readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
|
|
302
|
-
readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
|
|
303
|
-
readonly EPSS_SCORE: "EPSS_SCORE";
|
|
304
|
-
readonly FINDING_STATUS: "FINDING_STATUS";
|
|
305
|
-
readonly FINDING_TYPE: "FINDING_TYPE";
|
|
306
|
-
readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
|
|
307
|
-
readonly INSPECTOR_SCORE: "INSPECTOR_SCORE";
|
|
308
|
-
readonly LAST_OBSERVED_AT: "LAST_OBSERVED_AT";
|
|
309
|
-
readonly NETWORK_PROTOCOL: "NETWORK_PROTOCOL";
|
|
310
|
-
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
311
|
-
readonly SEVERITY: "SEVERITY";
|
|
312
|
-
readonly VENDOR_SEVERITY: "VENDOR_SEVERITY";
|
|
313
|
-
readonly VULNERABILITY_ID: "VULNERABILITY_ID";
|
|
314
|
-
readonly VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE";
|
|
315
|
-
};
|
|
316
|
-
export type SortField = (typeof SortField)[keyof typeof SortField];
|
|
317
|
-
export interface SortCriteria {
|
|
318
|
-
field: SortField | undefined;
|
|
319
|
-
sortOrder: SortOrder | undefined;
|
|
320
|
-
}
|
|
321
|
-
export interface ListFindingsRequest {
|
|
322
|
-
maxResults?: number | undefined;
|
|
323
|
-
nextToken?: string | undefined;
|
|
324
|
-
filterCriteria?: FilterCriteria | undefined;
|
|
325
|
-
sortCriteria?: SortCriteria | undefined;
|
|
326
|
-
}
|
|
327
|
-
export interface ListFindingsResponse {
|
|
328
|
-
nextToken?: string | undefined;
|
|
329
|
-
findings?: Finding[] | undefined;
|
|
330
|
-
}
|
|
331
|
-
export interface ListMembersRequest {
|
|
332
|
-
onlyAssociated?: boolean | undefined;
|
|
333
|
-
maxResults?: number | undefined;
|
|
334
|
-
nextToken?: string | undefined;
|
|
335
|
-
}
|
|
336
|
-
export interface ListMembersResponse {
|
|
337
|
-
members?: Member[] | undefined;
|
|
338
|
-
nextToken?: string | undefined;
|
|
339
|
-
}
|
|
340
|
-
export interface ListTagsForResourceRequest {
|
|
341
|
-
resourceArn: string | undefined;
|
|
342
|
-
}
|
|
343
|
-
export interface ListTagsForResourceResponse {
|
|
344
|
-
tags?: Record<string, string> | undefined;
|
|
345
|
-
}
|
|
346
|
-
export interface ListUsageTotalsRequest {
|
|
347
|
-
maxResults?: number | undefined;
|
|
348
|
-
nextToken?: string | undefined;
|
|
349
|
-
accountIds?: string[] | undefined;
|
|
350
|
-
}
|
|
351
|
-
export declare const UsageType: {
|
|
352
|
-
readonly CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC";
|
|
353
|
-
readonly CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST";
|
|
354
|
-
readonly CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA";
|
|
355
|
-
readonly EC2_AGENTLESS_INSTANCE_HOURS: "EC2_AGENTLESS_INSTANCE_HOURS";
|
|
356
|
-
readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
|
|
357
|
-
readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
|
|
358
|
-
readonly ECR_RESCAN: "ECR_RESCAN";
|
|
359
|
-
readonly LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS";
|
|
360
|
-
readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
|
|
361
|
-
};
|
|
362
|
-
export type UsageType = (typeof UsageType)[keyof typeof UsageType];
|
|
363
|
-
export interface Usage {
|
|
364
|
-
type?: UsageType | undefined;
|
|
365
|
-
total?: number | undefined;
|
|
366
|
-
estimatedMonthlyCost?: number | undefined;
|
|
367
|
-
currency?: Currency | undefined;
|
|
368
|
-
}
|
|
369
|
-
export interface UsageTotal {
|
|
370
|
-
accountId?: string | undefined;
|
|
371
|
-
usage?: Usage[] | undefined;
|
|
372
|
-
}
|
|
373
|
-
export interface ListUsageTotalsResponse {
|
|
374
|
-
nextToken?: string | undefined;
|
|
375
|
-
totals?: UsageTotal[] | undefined;
|
|
376
|
-
}
|
|
377
|
-
export interface ResetEncryptionKeyRequest {
|
|
378
|
-
scanType: ScanType | undefined;
|
|
379
|
-
resourceType: ResourceType | undefined;
|
|
380
|
-
}
|
|
381
|
-
export interface ResetEncryptionKeyResponse {}
|
|
382
|
-
export interface SearchVulnerabilitiesFilterCriteria {
|
|
383
|
-
vulnerabilityIds: string[] | undefined;
|
|
384
|
-
}
|
|
385
|
-
export interface SearchVulnerabilitiesRequest {
|
|
386
|
-
filterCriteria: SearchVulnerabilitiesFilterCriteria | undefined;
|
|
387
|
-
nextToken?: string | undefined;
|
|
388
|
-
}
|
|
389
|
-
export declare const VulnerabilitySource: {
|
|
390
|
-
readonly NVD: "NVD";
|
|
391
|
-
};
|
|
392
|
-
export type VulnerabilitySource =
|
|
393
|
-
(typeof VulnerabilitySource)[keyof typeof VulnerabilitySource];
|
|
394
|
-
export interface Vulnerability {
|
|
395
|
-
id: string | undefined;
|
|
396
|
-
cwes?: string[] | undefined;
|
|
397
|
-
cisaData?: CisaData | undefined;
|
|
398
|
-
source?: VulnerabilitySource | undefined;
|
|
399
|
-
description?: string | undefined;
|
|
400
|
-
atigData?: AtigData | undefined;
|
|
401
|
-
vendorSeverity?: string | undefined;
|
|
402
|
-
cvss4?: Cvss4 | undefined;
|
|
403
|
-
cvss3?: Cvss3 | undefined;
|
|
404
|
-
relatedVulnerabilities?: string[] | undefined;
|
|
405
|
-
cvss2?: Cvss2 | undefined;
|
|
406
|
-
vendorCreatedAt?: Date | undefined;
|
|
407
|
-
vendorUpdatedAt?: Date | undefined;
|
|
408
|
-
sourceUrl?: string | undefined;
|
|
409
|
-
referenceUrls?: string[] | undefined;
|
|
410
|
-
exploitObserved?: ExploitObserved | undefined;
|
|
411
|
-
detectionPlatforms?: string[] | undefined;
|
|
412
|
-
epss?: Epss | undefined;
|
|
413
|
-
}
|
|
414
|
-
export interface SearchVulnerabilitiesResponse {
|
|
415
|
-
vulnerabilities: Vulnerability[] | undefined;
|
|
416
|
-
nextToken?: string | undefined;
|
|
417
|
-
}
|
|
418
|
-
export interface SendCisSessionHealthRequest {
|
|
419
|
-
scanJobId: string | undefined;
|
|
420
|
-
sessionToken: string | undefined;
|
|
421
|
-
}
|
|
422
|
-
export interface SendCisSessionHealthResponse {}
|
|
423
|
-
export interface SendCisSessionTelemetryRequest {
|
|
424
|
-
scanJobId: string | undefined;
|
|
425
|
-
sessionToken: string | undefined;
|
|
426
|
-
messages: CisSessionMessage[] | undefined;
|
|
427
|
-
}
|
|
428
|
-
export interface SendCisSessionTelemetryResponse {}
|
|
429
|
-
export interface StartCisSessionMessage {
|
|
430
|
-
sessionToken: string | undefined;
|
|
431
|
-
}
|
|
432
|
-
export interface StartCisSessionRequest {
|
|
433
|
-
scanJobId: string | undefined;
|
|
434
|
-
message: StartCisSessionMessage | undefined;
|
|
435
|
-
}
|
|
436
21
|
export interface StartCisSessionResponse {}
|
|
437
22
|
export interface StartCodeSecurityScanRequest {
|
|
438
23
|
clientToken?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.940.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-inspector2",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.940.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.940.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.940.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.940.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|