@aws-sdk/client-inspector2 3.687.0 → 3.691.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 +9 -0
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/AssociateMemberCommand.d.ts +0 -3
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +0 -3
- package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +0 -3
- package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +0 -3
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +0 -3
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +0 -3
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +0 -3
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +0 -3
- package/dist-types/commands/CancelSbomExportCommand.d.ts +0 -3
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/CreateFilterCommand.d.ts +1 -3
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +1 -3
- package/dist-types/commands/CreateSbomExportCommand.d.ts +0 -3
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/DeleteFilterCommand.d.ts +0 -3
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/DisableCommand.d.ts +0 -3
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +0 -3
- package/dist-types/commands/DisassociateMemberCommand.d.ts +0 -3
- package/dist-types/commands/EnableCommand.d.ts +0 -3
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +0 -3
- package/dist-types/commands/GetCisScanReportCommand.d.ts +0 -3
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +0 -3
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +0 -3
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/GetEncryptionKeyCommand.d.ts +0 -3
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +1 -3
- package/dist-types/commands/GetMemberCommand.d.ts +0 -3
- package/dist-types/commands/GetSbomExportCommand.d.ts +0 -3
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +0 -3
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +0 -3
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +0 -3
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +0 -3
- package/dist-types/commands/ListCisScansCommand.d.ts +0 -3
- package/dist-types/commands/ListCoverageCommand.d.ts +1 -1
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +0 -3
- package/dist-types/commands/ListFiltersCommand.d.ts +1 -3
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -0
- package/dist-types/commands/ListMembersCommand.d.ts +0 -3
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +0 -3
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +0 -3
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +0 -3
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +0 -3
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +0 -3
- package/dist-types/commands/StartCisSessionCommand.d.ts +0 -3
- package/dist-types/commands/StopCisSessionCommand.d.ts +1 -4
- package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +0 -3
- package/dist-types/commands/UpdateFilterCommand.d.ts +1 -3
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +0 -3
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -3
- package/dist-types/models/models_0.d.ts +509 -500
- package/dist-types/models/models_1.d.ts +122 -122
- package/dist-types/ts3.4/models/models_0.d.ts +507 -495
- package/dist-types/ts3.4/models/models_1.d.ts +124 -122
- package/package.json +7 -7
|
@@ -19,8 +19,8 @@ export type Status = (typeof Status)[keyof typeof Status];
|
|
|
19
19
|
export interface ResourceStatus {
|
|
20
20
|
ec2: Status | undefined;
|
|
21
21
|
ecr: Status | undefined;
|
|
22
|
-
lambda?: Status;
|
|
23
|
-
lambdaCode?: Status;
|
|
22
|
+
lambda?: Status | undefined;
|
|
23
|
+
lambdaCode?: Status | undefined;
|
|
24
24
|
}
|
|
25
25
|
export interface Account {
|
|
26
26
|
accountId: string | undefined;
|
|
@@ -53,22 +53,22 @@ export declare const SortOrder: {
|
|
|
53
53
|
};
|
|
54
54
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
55
55
|
export interface AccountAggregation {
|
|
56
|
-
findingType?: AggregationFindingType;
|
|
57
|
-
resourceType?: AggregationResourceType;
|
|
58
|
-
sortOrder?: SortOrder;
|
|
59
|
-
sortBy?: AccountSortBy;
|
|
56
|
+
findingType?: AggregationFindingType | undefined;
|
|
57
|
+
resourceType?: AggregationResourceType | undefined;
|
|
58
|
+
sortOrder?: SortOrder | undefined;
|
|
59
|
+
sortBy?: AccountSortBy | undefined;
|
|
60
60
|
}
|
|
61
61
|
export interface SeverityCounts {
|
|
62
|
-
all?: number;
|
|
63
|
-
medium?: number;
|
|
64
|
-
high?: number;
|
|
65
|
-
critical?: number;
|
|
62
|
+
all?: number | undefined;
|
|
63
|
+
medium?: number | undefined;
|
|
64
|
+
high?: number | undefined;
|
|
65
|
+
critical?: number | undefined;
|
|
66
66
|
}
|
|
67
67
|
export interface AccountAggregationResponse {
|
|
68
|
-
accountId?: string;
|
|
69
|
-
severityCounts?: SeverityCounts;
|
|
70
|
-
exploitAvailableCount?: number;
|
|
71
|
-
fixAvailableCount?: number;
|
|
68
|
+
accountId?: string | undefined;
|
|
69
|
+
severityCounts?: SeverityCounts | undefined;
|
|
70
|
+
exploitAvailableCount?: number | undefined;
|
|
71
|
+
fixAvailableCount?: number | undefined;
|
|
72
72
|
}
|
|
73
73
|
export declare const CisStringComparison: {
|
|
74
74
|
readonly EQUALS: "EQUALS";
|
|
@@ -108,8 +108,8 @@ export interface State {
|
|
|
108
108
|
export interface ResourceState {
|
|
109
109
|
ec2: State | undefined;
|
|
110
110
|
ecr: State | undefined;
|
|
111
|
-
lambda?: State;
|
|
112
|
-
lambdaCode?: State;
|
|
111
|
+
lambda?: State | undefined;
|
|
112
|
+
lambdaCode?: State | undefined;
|
|
113
113
|
}
|
|
114
114
|
export interface AccountState {
|
|
115
115
|
accountId: string | undefined;
|
|
@@ -135,9 +135,9 @@ export declare const AmiSortBy: {
|
|
|
135
135
|
};
|
|
136
136
|
export type AmiSortBy = (typeof AmiSortBy)[keyof typeof AmiSortBy];
|
|
137
137
|
export interface AmiAggregation {
|
|
138
|
-
amis?: StringFilter[];
|
|
139
|
-
sortOrder?: SortOrder;
|
|
140
|
-
sortBy?: AmiSortBy;
|
|
138
|
+
amis?: StringFilter[] | undefined;
|
|
139
|
+
sortOrder?: SortOrder | undefined;
|
|
140
|
+
sortBy?: AmiSortBy | undefined;
|
|
141
141
|
}
|
|
142
142
|
export declare const AwsEcrContainerSortBy: {
|
|
143
143
|
readonly ALL: "ALL";
|
|
@@ -147,13 +147,13 @@ export declare const AwsEcrContainerSortBy: {
|
|
|
147
147
|
export type AwsEcrContainerSortBy =
|
|
148
148
|
(typeof AwsEcrContainerSortBy)[keyof typeof AwsEcrContainerSortBy];
|
|
149
149
|
export interface AwsEcrContainerAggregation {
|
|
150
|
-
resourceIds?: StringFilter[];
|
|
151
|
-
imageShas?: StringFilter[];
|
|
152
|
-
repositories?: StringFilter[];
|
|
153
|
-
architectures?: StringFilter[];
|
|
154
|
-
imageTags?: StringFilter[];
|
|
155
|
-
sortOrder?: SortOrder;
|
|
156
|
-
sortBy?: AwsEcrContainerSortBy;
|
|
150
|
+
resourceIds?: StringFilter[] | undefined;
|
|
151
|
+
imageShas?: StringFilter[] | undefined;
|
|
152
|
+
repositories?: StringFilter[] | undefined;
|
|
153
|
+
architectures?: StringFilter[] | undefined;
|
|
154
|
+
imageTags?: StringFilter[] | undefined;
|
|
155
|
+
sortOrder?: SortOrder | undefined;
|
|
156
|
+
sortBy?: AwsEcrContainerSortBy | undefined;
|
|
157
157
|
}
|
|
158
158
|
export declare const MapComparison: {
|
|
159
159
|
readonly EQUALS: "EQUALS";
|
|
@@ -162,7 +162,7 @@ export type MapComparison = (typeof MapComparison)[keyof typeof MapComparison];
|
|
|
162
162
|
export interface MapFilter {
|
|
163
163
|
comparison: MapComparison | undefined;
|
|
164
164
|
key: string | undefined;
|
|
165
|
-
value?: string;
|
|
165
|
+
value?: string | undefined;
|
|
166
166
|
}
|
|
167
167
|
export declare const Ec2InstanceSortBy: {
|
|
168
168
|
readonly ALL: "ALL";
|
|
@@ -173,12 +173,12 @@ export declare const Ec2InstanceSortBy: {
|
|
|
173
173
|
export type Ec2InstanceSortBy =
|
|
174
174
|
(typeof Ec2InstanceSortBy)[keyof typeof Ec2InstanceSortBy];
|
|
175
175
|
export interface Ec2InstanceAggregation {
|
|
176
|
-
amis?: StringFilter[];
|
|
177
|
-
operatingSystems?: StringFilter[];
|
|
178
|
-
instanceIds?: StringFilter[];
|
|
179
|
-
instanceTags?: MapFilter[];
|
|
180
|
-
sortOrder?: SortOrder;
|
|
181
|
-
sortBy?: Ec2InstanceSortBy;
|
|
176
|
+
amis?: StringFilter[] | undefined;
|
|
177
|
+
operatingSystems?: StringFilter[] | undefined;
|
|
178
|
+
instanceIds?: StringFilter[] | undefined;
|
|
179
|
+
instanceTags?: MapFilter[] | undefined;
|
|
180
|
+
sortOrder?: SortOrder | undefined;
|
|
181
|
+
sortBy?: Ec2InstanceSortBy | undefined;
|
|
182
182
|
}
|
|
183
183
|
export declare const FindingTypeSortBy: {
|
|
184
184
|
readonly ALL: "ALL";
|
|
@@ -188,10 +188,10 @@ export declare const FindingTypeSortBy: {
|
|
|
188
188
|
export type FindingTypeSortBy =
|
|
189
189
|
(typeof FindingTypeSortBy)[keyof typeof FindingTypeSortBy];
|
|
190
190
|
export interface FindingTypeAggregation {
|
|
191
|
-
findingType?: AggregationFindingType;
|
|
192
|
-
resourceType?: AggregationResourceType;
|
|
193
|
-
sortOrder?: SortOrder;
|
|
194
|
-
sortBy?: FindingTypeSortBy;
|
|
191
|
+
findingType?: AggregationFindingType | undefined;
|
|
192
|
+
resourceType?: AggregationResourceType | undefined;
|
|
193
|
+
sortOrder?: SortOrder | undefined;
|
|
194
|
+
sortBy?: FindingTypeSortBy | undefined;
|
|
195
195
|
}
|
|
196
196
|
export declare const ImageLayerSortBy: {
|
|
197
197
|
readonly ALL: "ALL";
|
|
@@ -201,11 +201,11 @@ export declare const ImageLayerSortBy: {
|
|
|
201
201
|
export type ImageLayerSortBy =
|
|
202
202
|
(typeof ImageLayerSortBy)[keyof typeof ImageLayerSortBy];
|
|
203
203
|
export interface ImageLayerAggregation {
|
|
204
|
-
repositories?: StringFilter[];
|
|
205
|
-
resourceIds?: StringFilter[];
|
|
206
|
-
layerHashes?: StringFilter[];
|
|
207
|
-
sortOrder?: SortOrder;
|
|
208
|
-
sortBy?: ImageLayerSortBy;
|
|
204
|
+
repositories?: StringFilter[] | undefined;
|
|
205
|
+
resourceIds?: StringFilter[] | undefined;
|
|
206
|
+
layerHashes?: StringFilter[] | undefined;
|
|
207
|
+
sortOrder?: SortOrder | undefined;
|
|
208
|
+
sortBy?: ImageLayerSortBy | undefined;
|
|
209
209
|
}
|
|
210
210
|
export declare const LambdaFunctionSortBy: {
|
|
211
211
|
readonly ALL: "ALL";
|
|
@@ -215,12 +215,12 @@ export declare const LambdaFunctionSortBy: {
|
|
|
215
215
|
export type LambdaFunctionSortBy =
|
|
216
216
|
(typeof LambdaFunctionSortBy)[keyof typeof LambdaFunctionSortBy];
|
|
217
217
|
export interface LambdaFunctionAggregation {
|
|
218
|
-
resourceIds?: StringFilter[];
|
|
219
|
-
functionNames?: StringFilter[];
|
|
220
|
-
runtimes?: StringFilter[];
|
|
221
|
-
functionTags?: MapFilter[];
|
|
222
|
-
sortOrder?: SortOrder;
|
|
223
|
-
sortBy?: LambdaFunctionSortBy;
|
|
218
|
+
resourceIds?: StringFilter[] | undefined;
|
|
219
|
+
functionNames?: StringFilter[] | undefined;
|
|
220
|
+
runtimes?: StringFilter[] | undefined;
|
|
221
|
+
functionTags?: MapFilter[] | undefined;
|
|
222
|
+
sortOrder?: SortOrder | undefined;
|
|
223
|
+
sortBy?: LambdaFunctionSortBy | undefined;
|
|
224
224
|
}
|
|
225
225
|
export declare const LambdaLayerSortBy: {
|
|
226
226
|
readonly ALL: "ALL";
|
|
@@ -230,11 +230,11 @@ export declare const LambdaLayerSortBy: {
|
|
|
230
230
|
export type LambdaLayerSortBy =
|
|
231
231
|
(typeof LambdaLayerSortBy)[keyof typeof LambdaLayerSortBy];
|
|
232
232
|
export interface LambdaLayerAggregation {
|
|
233
|
-
functionNames?: StringFilter[];
|
|
234
|
-
resourceIds?: StringFilter[];
|
|
235
|
-
layerArns?: StringFilter[];
|
|
236
|
-
sortOrder?: SortOrder;
|
|
237
|
-
sortBy?: LambdaLayerSortBy;
|
|
233
|
+
functionNames?: StringFilter[] | undefined;
|
|
234
|
+
resourceIds?: StringFilter[] | undefined;
|
|
235
|
+
layerArns?: StringFilter[] | undefined;
|
|
236
|
+
sortOrder?: SortOrder | undefined;
|
|
237
|
+
sortBy?: LambdaLayerSortBy | undefined;
|
|
238
238
|
}
|
|
239
239
|
export declare const PackageSortBy: {
|
|
240
240
|
readonly ALL: "ALL";
|
|
@@ -243,9 +243,9 @@ export declare const PackageSortBy: {
|
|
|
243
243
|
};
|
|
244
244
|
export type PackageSortBy = (typeof PackageSortBy)[keyof typeof PackageSortBy];
|
|
245
245
|
export interface PackageAggregation {
|
|
246
|
-
packageNames?: StringFilter[];
|
|
247
|
-
sortOrder?: SortOrder;
|
|
248
|
-
sortBy?: PackageSortBy;
|
|
246
|
+
packageNames?: StringFilter[] | undefined;
|
|
247
|
+
sortOrder?: SortOrder | undefined;
|
|
248
|
+
sortBy?: PackageSortBy | undefined;
|
|
249
249
|
}
|
|
250
250
|
export declare const RepositorySortBy: {
|
|
251
251
|
readonly AFFECTED_IMAGES: "AFFECTED_IMAGES";
|
|
@@ -256,9 +256,9 @@ export declare const RepositorySortBy: {
|
|
|
256
256
|
export type RepositorySortBy =
|
|
257
257
|
(typeof RepositorySortBy)[keyof typeof RepositorySortBy];
|
|
258
258
|
export interface RepositoryAggregation {
|
|
259
|
-
repositories?: StringFilter[];
|
|
260
|
-
sortOrder?: SortOrder;
|
|
261
|
-
sortBy?: RepositorySortBy;
|
|
259
|
+
repositories?: StringFilter[] | undefined;
|
|
260
|
+
sortOrder?: SortOrder | undefined;
|
|
261
|
+
sortBy?: RepositorySortBy | undefined;
|
|
262
262
|
}
|
|
263
263
|
export declare const TitleSortBy: {
|
|
264
264
|
readonly ALL: "ALL";
|
|
@@ -267,12 +267,12 @@ export declare const TitleSortBy: {
|
|
|
267
267
|
};
|
|
268
268
|
export type TitleSortBy = (typeof TitleSortBy)[keyof typeof TitleSortBy];
|
|
269
269
|
export interface TitleAggregation {
|
|
270
|
-
titles?: StringFilter[];
|
|
271
|
-
vulnerabilityIds?: StringFilter[];
|
|
272
|
-
resourceType?: AggregationResourceType;
|
|
273
|
-
sortOrder?: SortOrder;
|
|
274
|
-
sortBy?: TitleSortBy;
|
|
275
|
-
findingType?: AggregationFindingType;
|
|
270
|
+
titles?: StringFilter[] | undefined;
|
|
271
|
+
vulnerabilityIds?: StringFilter[] | undefined;
|
|
272
|
+
resourceType?: AggregationResourceType | undefined;
|
|
273
|
+
sortOrder?: SortOrder | undefined;
|
|
274
|
+
sortBy?: TitleSortBy | undefined;
|
|
275
|
+
findingType?: AggregationFindingType | undefined;
|
|
276
276
|
}
|
|
277
277
|
export type AggregationRequest =
|
|
278
278
|
| AggregationRequest.AccountAggregationMember
|
|
@@ -474,73 +474,73 @@ export declare namespace AggregationRequest {
|
|
|
474
474
|
}
|
|
475
475
|
export interface AmiAggregationResponse {
|
|
476
476
|
ami: string | undefined;
|
|
477
|
-
accountId?: string;
|
|
478
|
-
severityCounts?: SeverityCounts;
|
|
479
|
-
affectedInstances?: number;
|
|
477
|
+
accountId?: string | undefined;
|
|
478
|
+
severityCounts?: SeverityCounts | undefined;
|
|
479
|
+
affectedInstances?: number | undefined;
|
|
480
480
|
}
|
|
481
481
|
export interface AwsEcrContainerAggregationResponse {
|
|
482
482
|
resourceId: string | undefined;
|
|
483
|
-
imageSha?: string;
|
|
484
|
-
repository?: string;
|
|
485
|
-
architecture?: string;
|
|
486
|
-
imageTags?: string[];
|
|
487
|
-
accountId?: string;
|
|
488
|
-
severityCounts?: SeverityCounts;
|
|
483
|
+
imageSha?: string | undefined;
|
|
484
|
+
repository?: string | undefined;
|
|
485
|
+
architecture?: string | undefined;
|
|
486
|
+
imageTags?: string[] | undefined;
|
|
487
|
+
accountId?: string | undefined;
|
|
488
|
+
severityCounts?: SeverityCounts | undefined;
|
|
489
489
|
}
|
|
490
490
|
export interface Ec2InstanceAggregationResponse {
|
|
491
491
|
instanceId: string | undefined;
|
|
492
|
-
ami?: string;
|
|
493
|
-
operatingSystem?: string;
|
|
494
|
-
instanceTags?: Record<string, string
|
|
495
|
-
accountId?: string;
|
|
496
|
-
severityCounts?: SeverityCounts;
|
|
497
|
-
networkFindings?: number;
|
|
492
|
+
ami?: string | undefined;
|
|
493
|
+
operatingSystem?: string | undefined;
|
|
494
|
+
instanceTags?: Record<string, string> | undefined;
|
|
495
|
+
accountId?: string | undefined;
|
|
496
|
+
severityCounts?: SeverityCounts | undefined;
|
|
497
|
+
networkFindings?: number | undefined;
|
|
498
498
|
}
|
|
499
499
|
export interface FindingTypeAggregationResponse {
|
|
500
|
-
accountId?: string;
|
|
501
|
-
severityCounts?: SeverityCounts;
|
|
502
|
-
exploitAvailableCount?: number;
|
|
503
|
-
fixAvailableCount?: number;
|
|
500
|
+
accountId?: string | undefined;
|
|
501
|
+
severityCounts?: SeverityCounts | undefined;
|
|
502
|
+
exploitAvailableCount?: number | undefined;
|
|
503
|
+
fixAvailableCount?: number | undefined;
|
|
504
504
|
}
|
|
505
505
|
export interface ImageLayerAggregationResponse {
|
|
506
506
|
repository: string | undefined;
|
|
507
507
|
resourceId: string | undefined;
|
|
508
508
|
layerHash: string | undefined;
|
|
509
509
|
accountId: string | undefined;
|
|
510
|
-
severityCounts?: SeverityCounts;
|
|
510
|
+
severityCounts?: SeverityCounts | undefined;
|
|
511
511
|
}
|
|
512
512
|
export interface LambdaFunctionAggregationResponse {
|
|
513
513
|
resourceId: string | undefined;
|
|
514
|
-
functionName?: string;
|
|
515
|
-
runtime?: string;
|
|
516
|
-
lambdaTags?: Record<string, string
|
|
517
|
-
accountId?: string;
|
|
518
|
-
severityCounts?: SeverityCounts;
|
|
519
|
-
lastModifiedAt?: Date;
|
|
514
|
+
functionName?: string | undefined;
|
|
515
|
+
runtime?: string | undefined;
|
|
516
|
+
lambdaTags?: Record<string, string> | undefined;
|
|
517
|
+
accountId?: string | undefined;
|
|
518
|
+
severityCounts?: SeverityCounts | undefined;
|
|
519
|
+
lastModifiedAt?: Date | undefined;
|
|
520
520
|
}
|
|
521
521
|
export interface LambdaLayerAggregationResponse {
|
|
522
522
|
functionName: string | undefined;
|
|
523
523
|
resourceId: string | undefined;
|
|
524
524
|
layerArn: string | undefined;
|
|
525
525
|
accountId: string | undefined;
|
|
526
|
-
severityCounts?: SeverityCounts;
|
|
526
|
+
severityCounts?: SeverityCounts | undefined;
|
|
527
527
|
}
|
|
528
528
|
export interface PackageAggregationResponse {
|
|
529
529
|
packageName: string | undefined;
|
|
530
|
-
accountId?: string;
|
|
531
|
-
severityCounts?: SeverityCounts;
|
|
530
|
+
accountId?: string | undefined;
|
|
531
|
+
severityCounts?: SeverityCounts | undefined;
|
|
532
532
|
}
|
|
533
533
|
export interface RepositoryAggregationResponse {
|
|
534
534
|
repository: string | undefined;
|
|
535
|
-
accountId?: string;
|
|
536
|
-
severityCounts?: SeverityCounts;
|
|
537
|
-
affectedImages?: number;
|
|
535
|
+
accountId?: string | undefined;
|
|
536
|
+
severityCounts?: SeverityCounts | undefined;
|
|
537
|
+
affectedImages?: number | undefined;
|
|
538
538
|
}
|
|
539
539
|
export interface TitleAggregationResponse {
|
|
540
540
|
title: string | undefined;
|
|
541
|
-
vulnerabilityId?: string;
|
|
542
|
-
accountId?: string;
|
|
543
|
-
severityCounts?: SeverityCounts;
|
|
541
|
+
vulnerabilityId?: string | undefined;
|
|
542
|
+
accountId?: string | undefined;
|
|
543
|
+
severityCounts?: SeverityCounts | undefined;
|
|
544
544
|
}
|
|
545
545
|
export type AggregationResponse =
|
|
546
546
|
| AggregationResponse.AccountAggregationMember
|
|
@@ -772,7 +772,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
772
772
|
readonly name: "InternalServerException";
|
|
773
773
|
readonly $fault: "server";
|
|
774
774
|
$retryable: {};
|
|
775
|
-
retryAfterSeconds?: number;
|
|
775
|
+
retryAfterSeconds?: number | undefined;
|
|
776
776
|
constructor(
|
|
777
777
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
778
778
|
);
|
|
@@ -783,7 +783,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
783
783
|
$retryable: {
|
|
784
784
|
throttling: boolean;
|
|
785
785
|
};
|
|
786
|
-
retryAfterSeconds?: number;
|
|
786
|
+
retryAfterSeconds?: number | undefined;
|
|
787
787
|
constructor(
|
|
788
788
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
789
789
|
);
|
|
@@ -803,44 +803,44 @@ export declare class ValidationException extends __BaseException {
|
|
|
803
803
|
readonly name: "ValidationException";
|
|
804
804
|
readonly $fault: "client";
|
|
805
805
|
reason: ValidationExceptionReason | undefined;
|
|
806
|
-
fields?: ValidationExceptionField[];
|
|
806
|
+
fields?: ValidationExceptionField[] | undefined;
|
|
807
807
|
constructor(
|
|
808
808
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
809
809
|
);
|
|
810
810
|
}
|
|
811
811
|
export interface AtigData {
|
|
812
|
-
firstSeen?: Date;
|
|
813
|
-
lastSeen?: Date;
|
|
814
|
-
targets?: string[];
|
|
815
|
-
ttps?: string[];
|
|
812
|
+
firstSeen?: Date | undefined;
|
|
813
|
+
lastSeen?: Date | undefined;
|
|
814
|
+
targets?: string[] | undefined;
|
|
815
|
+
ttps?: string[] | undefined;
|
|
816
816
|
}
|
|
817
817
|
export interface AutoEnable {
|
|
818
818
|
ec2: boolean | undefined;
|
|
819
819
|
ecr: boolean | undefined;
|
|
820
|
-
lambda?: boolean;
|
|
821
|
-
lambdaCode?: boolean;
|
|
820
|
+
lambda?: boolean | undefined;
|
|
821
|
+
lambdaCode?: boolean | undefined;
|
|
822
822
|
}
|
|
823
823
|
export interface AwsEc2InstanceDetails {
|
|
824
|
-
type?: string;
|
|
825
|
-
imageId?: string;
|
|
826
|
-
ipV4Addresses?: string[];
|
|
827
|
-
ipV6Addresses?: string[];
|
|
828
|
-
keyName?: string;
|
|
829
|
-
iamInstanceProfileArn?: string;
|
|
830
|
-
vpcId?: string;
|
|
831
|
-
subnetId?: string;
|
|
832
|
-
launchedAt?: Date;
|
|
833
|
-
platform?: string;
|
|
824
|
+
type?: string | undefined;
|
|
825
|
+
imageId?: string | undefined;
|
|
826
|
+
ipV4Addresses?: string[] | undefined;
|
|
827
|
+
ipV6Addresses?: string[] | undefined;
|
|
828
|
+
keyName?: string | undefined;
|
|
829
|
+
iamInstanceProfileArn?: string | undefined;
|
|
830
|
+
vpcId?: string | undefined;
|
|
831
|
+
subnetId?: string | undefined;
|
|
832
|
+
launchedAt?: Date | undefined;
|
|
833
|
+
platform?: string | undefined;
|
|
834
834
|
}
|
|
835
835
|
export interface AwsEcrContainerImageDetails {
|
|
836
836
|
repositoryName: string | undefined;
|
|
837
|
-
imageTags?: string[];
|
|
838
|
-
pushedAt?: Date;
|
|
839
|
-
author?: string;
|
|
840
|
-
architecture?: string;
|
|
837
|
+
imageTags?: string[] | undefined;
|
|
838
|
+
pushedAt?: Date | undefined;
|
|
839
|
+
author?: string | undefined;
|
|
840
|
+
architecture?: string | undefined;
|
|
841
841
|
imageHash: string | undefined;
|
|
842
842
|
registry: string | undefined;
|
|
843
|
-
platform?: string;
|
|
843
|
+
platform?: string | undefined;
|
|
844
844
|
}
|
|
845
845
|
export declare const PackageType: {
|
|
846
846
|
readonly IMAGE: "IMAGE";
|
|
@@ -848,6 +848,9 @@ export declare const PackageType: {
|
|
|
848
848
|
};
|
|
849
849
|
export type PackageType = (typeof PackageType)[keyof typeof PackageType];
|
|
850
850
|
export declare const Runtime: {
|
|
851
|
+
readonly DOTNETCORE_3_1: "DOTNETCORE_3_1";
|
|
852
|
+
readonly DOTNET_6: "DOTNET_6";
|
|
853
|
+
readonly DOTNET_7: "DOTNET_7";
|
|
851
854
|
readonly GO_1_X: "GO_1_X";
|
|
852
855
|
readonly JAVA_11: "JAVA_11";
|
|
853
856
|
readonly JAVA_17: "JAVA_17";
|
|
@@ -859,16 +862,19 @@ export declare const Runtime: {
|
|
|
859
862
|
readonly NODEJS_16_X: "NODEJS_16_X";
|
|
860
863
|
readonly NODEJS_18_X: "NODEJS_18_X";
|
|
861
864
|
readonly PYTHON_3_10: "PYTHON_3_10";
|
|
865
|
+
readonly PYTHON_3_11: "PYTHON_3_11";
|
|
862
866
|
readonly PYTHON_3_7: "PYTHON_3_7";
|
|
863
867
|
readonly PYTHON_3_8: "PYTHON_3_8";
|
|
864
868
|
readonly PYTHON_3_9: "PYTHON_3_9";
|
|
869
|
+
readonly RUBY_2_7: "RUBY_2_7";
|
|
870
|
+
readonly RUBY_3_2: "RUBY_3_2";
|
|
865
871
|
readonly UNSUPPORTED: "UNSUPPORTED";
|
|
866
872
|
};
|
|
867
873
|
export type Runtime = (typeof Runtime)[keyof typeof Runtime];
|
|
868
874
|
export interface LambdaVpcConfig {
|
|
869
|
-
subnetIds?: string[];
|
|
870
|
-
securityGroupIds?: string[];
|
|
871
|
-
vpcId?: string;
|
|
875
|
+
subnetIds?: string[] | undefined;
|
|
876
|
+
securityGroupIds?: string[] | undefined;
|
|
877
|
+
vpcId?: string | undefined;
|
|
872
878
|
}
|
|
873
879
|
export interface AwsLambdaFunctionDetails {
|
|
874
880
|
functionName: string | undefined;
|
|
@@ -876,11 +882,11 @@ export interface AwsLambdaFunctionDetails {
|
|
|
876
882
|
codeSha256: string | undefined;
|
|
877
883
|
version: string | undefined;
|
|
878
884
|
executionRoleArn: string | undefined;
|
|
879
|
-
layers?: string[];
|
|
880
|
-
vpcConfig?: LambdaVpcConfig;
|
|
881
|
-
packageType?: PackageType;
|
|
882
|
-
architectures?: Architecture[];
|
|
883
|
-
lastModifiedAt?: Date;
|
|
885
|
+
layers?: string[] | undefined;
|
|
886
|
+
vpcConfig?: LambdaVpcConfig | undefined;
|
|
887
|
+
packageType?: PackageType | undefined;
|
|
888
|
+
architectures?: Architecture[] | undefined;
|
|
889
|
+
lastModifiedAt?: Date | undefined;
|
|
884
890
|
}
|
|
885
891
|
export declare class BadRequestException extends __BaseException {
|
|
886
892
|
readonly name: "BadRequestException";
|
|
@@ -890,18 +896,18 @@ export declare class BadRequestException extends __BaseException {
|
|
|
890
896
|
);
|
|
891
897
|
}
|
|
892
898
|
export interface BatchGetAccountStatusRequest {
|
|
893
|
-
accountIds?: string[];
|
|
899
|
+
accountIds?: string[] | undefined;
|
|
894
900
|
}
|
|
895
901
|
export interface FailedAccount {
|
|
896
902
|
accountId: string | undefined;
|
|
897
|
-
status?: Status;
|
|
898
|
-
resourceStatus?: ResourceStatus;
|
|
903
|
+
status?: Status | undefined;
|
|
904
|
+
resourceStatus?: ResourceStatus | undefined;
|
|
899
905
|
errorCode: ErrorCode | undefined;
|
|
900
906
|
errorMessage: string | undefined;
|
|
901
907
|
}
|
|
902
908
|
export interface BatchGetAccountStatusResponse {
|
|
903
909
|
accounts: AccountState[] | undefined;
|
|
904
|
-
failedAccounts?: FailedAccount[];
|
|
910
|
+
failedAccounts?: FailedAccount[] | undefined;
|
|
905
911
|
}
|
|
906
912
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
907
913
|
readonly name: "ResourceNotFoundException";
|
|
@@ -918,15 +924,15 @@ export interface CodeLine {
|
|
|
918
924
|
lineNumber: number | undefined;
|
|
919
925
|
}
|
|
920
926
|
export interface SuggestedFix {
|
|
921
|
-
description?: string;
|
|
922
|
-
code?: string;
|
|
927
|
+
description?: string | undefined;
|
|
928
|
+
code?: string | undefined;
|
|
923
929
|
}
|
|
924
930
|
export interface CodeSnippetResult {
|
|
925
|
-
findingArn?: string;
|
|
926
|
-
startLine?: number;
|
|
927
|
-
endLine?: number;
|
|
928
|
-
codeSnippet?: CodeLine[];
|
|
929
|
-
suggestedFixes?: SuggestedFix[];
|
|
931
|
+
findingArn?: string | undefined;
|
|
932
|
+
startLine?: number | undefined;
|
|
933
|
+
endLine?: number | undefined;
|
|
934
|
+
codeSnippet?: CodeLine[] | undefined;
|
|
935
|
+
suggestedFixes?: SuggestedFix[] | undefined;
|
|
930
936
|
}
|
|
931
937
|
export declare const CodeSnippetErrorCode: {
|
|
932
938
|
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
@@ -942,8 +948,8 @@ export interface CodeSnippetError {
|
|
|
942
948
|
errorMessage: string | undefined;
|
|
943
949
|
}
|
|
944
950
|
export interface BatchGetCodeSnippetResponse {
|
|
945
|
-
codeSnippetResults?: CodeSnippetResult[];
|
|
946
|
-
errors?: CodeSnippetError[];
|
|
951
|
+
codeSnippetResults?: CodeSnippetResult[] | undefined;
|
|
952
|
+
errors?: CodeSnippetError[] | undefined;
|
|
947
953
|
}
|
|
948
954
|
export interface BatchGetFindingDetailsRequest {
|
|
949
955
|
findingArns: string[] | undefined;
|
|
@@ -962,34 +968,34 @@ export interface FindingDetailsError {
|
|
|
962
968
|
errorMessage: string | undefined;
|
|
963
969
|
}
|
|
964
970
|
export interface CisaData {
|
|
965
|
-
dateAdded?: Date;
|
|
966
|
-
dateDue?: Date;
|
|
967
|
-
action?: string;
|
|
971
|
+
dateAdded?: Date | undefined;
|
|
972
|
+
dateDue?: Date | undefined;
|
|
973
|
+
action?: string | undefined;
|
|
968
974
|
}
|
|
969
975
|
export interface Evidence {
|
|
970
|
-
evidenceRule?: string;
|
|
971
|
-
evidenceDetail?: string;
|
|
972
|
-
severity?: string;
|
|
976
|
+
evidenceRule?: string | undefined;
|
|
977
|
+
evidenceDetail?: string | undefined;
|
|
978
|
+
severity?: string | undefined;
|
|
973
979
|
}
|
|
974
980
|
export interface ExploitObserved {
|
|
975
|
-
lastSeen?: Date;
|
|
976
|
-
firstSeen?: Date;
|
|
981
|
+
lastSeen?: Date | undefined;
|
|
982
|
+
firstSeen?: Date | undefined;
|
|
977
983
|
}
|
|
978
984
|
export interface FindingDetail {
|
|
979
|
-
findingArn?: string;
|
|
980
|
-
cisaData?: CisaData;
|
|
981
|
-
riskScore?: number;
|
|
982
|
-
evidences?: Evidence[];
|
|
983
|
-
ttps?: string[];
|
|
984
|
-
tools?: string[];
|
|
985
|
-
exploitObserved?: ExploitObserved;
|
|
986
|
-
referenceUrls?: string[];
|
|
987
|
-
cwes?: string[];
|
|
988
|
-
epssScore?: number;
|
|
985
|
+
findingArn?: string | undefined;
|
|
986
|
+
cisaData?: CisaData | undefined;
|
|
987
|
+
riskScore?: number | undefined;
|
|
988
|
+
evidences?: Evidence[] | undefined;
|
|
989
|
+
ttps?: string[] | undefined;
|
|
990
|
+
tools?: string[] | undefined;
|
|
991
|
+
exploitObserved?: ExploitObserved | undefined;
|
|
992
|
+
referenceUrls?: string[] | undefined;
|
|
993
|
+
cwes?: string[] | undefined;
|
|
994
|
+
epssScore?: number | undefined;
|
|
989
995
|
}
|
|
990
996
|
export interface BatchGetFindingDetailsResponse {
|
|
991
|
-
findingDetails?: FindingDetail[];
|
|
992
|
-
errors?: FindingDetailsError[];
|
|
997
|
+
findingDetails?: FindingDetail[] | undefined;
|
|
998
|
+
errors?: FindingDetailsError[] | undefined;
|
|
993
999
|
}
|
|
994
1000
|
export interface BatchGetFreeTrialInfoRequest {
|
|
995
1001
|
accountIds: string[] | undefined;
|
|
@@ -1033,7 +1039,7 @@ export interface BatchGetFreeTrialInfoResponse {
|
|
|
1033
1039
|
failedAccounts: FreeTrialInfoError[] | undefined;
|
|
1034
1040
|
}
|
|
1035
1041
|
export interface BatchGetMemberEc2DeepInspectionStatusRequest {
|
|
1036
|
-
accountIds?: string[];
|
|
1042
|
+
accountIds?: string[] | undefined;
|
|
1037
1043
|
}
|
|
1038
1044
|
export declare const Ec2DeepInspectionStatus: {
|
|
1039
1045
|
readonly ACTIVATED: "ACTIVATED";
|
|
@@ -1045,17 +1051,19 @@ export type Ec2DeepInspectionStatus =
|
|
|
1045
1051
|
(typeof Ec2DeepInspectionStatus)[keyof typeof Ec2DeepInspectionStatus];
|
|
1046
1052
|
export interface MemberAccountEc2DeepInspectionStatusState {
|
|
1047
1053
|
accountId: string | undefined;
|
|
1048
|
-
status?: Ec2DeepInspectionStatus;
|
|
1049
|
-
errorMessage?: string;
|
|
1054
|
+
status?: Ec2DeepInspectionStatus | undefined;
|
|
1055
|
+
errorMessage?: string | undefined;
|
|
1050
1056
|
}
|
|
1051
1057
|
export interface FailedMemberAccountEc2DeepInspectionStatusState {
|
|
1052
1058
|
accountId: string | undefined;
|
|
1053
|
-
ec2ScanStatus?: Status;
|
|
1054
|
-
errorMessage?: string;
|
|
1059
|
+
ec2ScanStatus?: Status | undefined;
|
|
1060
|
+
errorMessage?: string | undefined;
|
|
1055
1061
|
}
|
|
1056
1062
|
export interface BatchGetMemberEc2DeepInspectionStatusResponse {
|
|
1057
|
-
accountIds?: MemberAccountEc2DeepInspectionStatusState[];
|
|
1058
|
-
failedAccountIds?:
|
|
1063
|
+
accountIds?: MemberAccountEc2DeepInspectionStatusState[] | undefined;
|
|
1064
|
+
failedAccountIds?:
|
|
1065
|
+
| FailedMemberAccountEc2DeepInspectionStatusState[]
|
|
1066
|
+
| undefined;
|
|
1059
1067
|
}
|
|
1060
1068
|
export interface MemberAccountEc2DeepInspectionStatus {
|
|
1061
1069
|
accountId: string | undefined;
|
|
@@ -1065,8 +1073,10 @@ export interface BatchUpdateMemberEc2DeepInspectionStatusRequest {
|
|
|
1065
1073
|
accountIds: MemberAccountEc2DeepInspectionStatus[] | undefined;
|
|
1066
1074
|
}
|
|
1067
1075
|
export interface BatchUpdateMemberEc2DeepInspectionStatusResponse {
|
|
1068
|
-
accountIds?: MemberAccountEc2DeepInspectionStatusState[];
|
|
1069
|
-
failedAccountIds?:
|
|
1076
|
+
accountIds?: MemberAccountEc2DeepInspectionStatusState[] | undefined;
|
|
1077
|
+
failedAccountIds?:
|
|
1078
|
+
| FailedMemberAccountEc2DeepInspectionStatusState[]
|
|
1079
|
+
| undefined;
|
|
1070
1080
|
}
|
|
1071
1081
|
export interface CancelFindingsReportRequest {
|
|
1072
1082
|
reportId: string | undefined;
|
|
@@ -1078,7 +1088,7 @@ export interface CancelSbomExportRequest {
|
|
|
1078
1088
|
reportId: string | undefined;
|
|
1079
1089
|
}
|
|
1080
1090
|
export interface CancelSbomExportResponse {
|
|
1081
|
-
reportId?: string;
|
|
1091
|
+
reportId?: string | undefined;
|
|
1082
1092
|
}
|
|
1083
1093
|
export declare const CisSecurityLevel: {
|
|
1084
1094
|
readonly LEVEL_1: "LEVEL_1";
|
|
@@ -1087,23 +1097,23 @@ export declare const CisSecurityLevel: {
|
|
|
1087
1097
|
export type CisSecurityLevel =
|
|
1088
1098
|
(typeof CisSecurityLevel)[keyof typeof CisSecurityLevel];
|
|
1089
1099
|
export interface StatusCounts {
|
|
1090
|
-
failed?: number;
|
|
1091
|
-
skipped?: number;
|
|
1092
|
-
passed?: number;
|
|
1100
|
+
failed?: number | undefined;
|
|
1101
|
+
skipped?: number | undefined;
|
|
1102
|
+
passed?: number | undefined;
|
|
1093
1103
|
}
|
|
1094
1104
|
export interface CisCheckAggregation {
|
|
1095
1105
|
scanArn: string | undefined;
|
|
1096
|
-
checkId?: string;
|
|
1097
|
-
title?: string;
|
|
1098
|
-
checkDescription?: string;
|
|
1099
|
-
level?: CisSecurityLevel;
|
|
1100
|
-
accountId?: string;
|
|
1101
|
-
statusCounts?: StatusCounts;
|
|
1102
|
-
platform?: string;
|
|
1106
|
+
checkId?: string | undefined;
|
|
1107
|
+
title?: string | undefined;
|
|
1108
|
+
checkDescription?: string | undefined;
|
|
1109
|
+
level?: CisSecurityLevel | undefined;
|
|
1110
|
+
accountId?: string | undefined;
|
|
1111
|
+
statusCounts?: StatusCounts | undefined;
|
|
1112
|
+
platform?: string | undefined;
|
|
1103
1113
|
}
|
|
1104
1114
|
export interface CisDateFilter {
|
|
1105
|
-
earliestScanStartTime?: Date;
|
|
1106
|
-
latestScanStartTime?: Date;
|
|
1115
|
+
earliestScanStartTime?: Date | undefined;
|
|
1116
|
+
latestScanStartTime?: Date | undefined;
|
|
1107
1117
|
}
|
|
1108
1118
|
export declare const CisFindingStatus: {
|
|
1109
1119
|
readonly FAILED: "FAILED";
|
|
@@ -1122,8 +1132,8 @@ export interface CisFindingStatusFilter {
|
|
|
1122
1132
|
value: CisFindingStatus | undefined;
|
|
1123
1133
|
}
|
|
1124
1134
|
export interface CisNumberFilter {
|
|
1125
|
-
upperInclusive?: number;
|
|
1126
|
-
lowerInclusive?: number;
|
|
1135
|
+
upperInclusive?: number | undefined;
|
|
1136
|
+
lowerInclusive?: number | undefined;
|
|
1127
1137
|
}
|
|
1128
1138
|
export declare const CisReportFormat: {
|
|
1129
1139
|
readonly CSV: "CSV";
|
|
@@ -1172,20 +1182,20 @@ export declare const CisScanStatus: {
|
|
|
1172
1182
|
};
|
|
1173
1183
|
export type CisScanStatus = (typeof CisScanStatus)[keyof typeof CisScanStatus];
|
|
1174
1184
|
export interface CisTargets {
|
|
1175
|
-
accountIds?: string[];
|
|
1176
|
-
targetResourceTags?: Record<string, string[]
|
|
1185
|
+
accountIds?: string[] | undefined;
|
|
1186
|
+
targetResourceTags?: Record<string, string[]> | undefined;
|
|
1177
1187
|
}
|
|
1178
1188
|
export interface CisScan {
|
|
1179
1189
|
scanArn: string | undefined;
|
|
1180
1190
|
scanConfigurationArn: string | undefined;
|
|
1181
|
-
status?: CisScanStatus;
|
|
1182
|
-
scanName?: string;
|
|
1183
|
-
scanDate?: Date;
|
|
1184
|
-
failedChecks?: number;
|
|
1185
|
-
totalChecks?: number;
|
|
1186
|
-
targets?: CisTargets;
|
|
1187
|
-
scheduledBy?: string;
|
|
1188
|
-
securityLevel?: CisSecurityLevel;
|
|
1191
|
+
status?: CisScanStatus | undefined;
|
|
1192
|
+
scanName?: string | undefined;
|
|
1193
|
+
scanDate?: Date | undefined;
|
|
1194
|
+
failedChecks?: number | undefined;
|
|
1195
|
+
totalChecks?: number | undefined;
|
|
1196
|
+
targets?: CisTargets | undefined;
|
|
1197
|
+
scheduledBy?: string | undefined;
|
|
1198
|
+
securityLevel?: CisSecurityLevel | undefined;
|
|
1189
1199
|
}
|
|
1190
1200
|
export interface Time {
|
|
1191
1201
|
timeOfDay: string | undefined;
|
|
@@ -1266,12 +1276,12 @@ export declare namespace Schedule {
|
|
|
1266
1276
|
}
|
|
1267
1277
|
export interface CisScanConfiguration {
|
|
1268
1278
|
scanConfigurationArn: string | undefined;
|
|
1269
|
-
ownerId?: string;
|
|
1270
|
-
scanName?: string;
|
|
1271
|
-
securityLevel?: CisSecurityLevel;
|
|
1272
|
-
schedule?: Schedule;
|
|
1273
|
-
targets?: CisTargets;
|
|
1274
|
-
tags?: Record<string, string
|
|
1279
|
+
ownerId?: string | undefined;
|
|
1280
|
+
scanName?: string | undefined;
|
|
1281
|
+
securityLevel?: CisSecurityLevel | undefined;
|
|
1282
|
+
schedule?: Schedule | undefined;
|
|
1283
|
+
targets?: CisTargets | undefined;
|
|
1284
|
+
tags?: Record<string, string> | undefined;
|
|
1275
1285
|
}
|
|
1276
1286
|
export declare const CisScanConfigurationsSortBy: {
|
|
1277
1287
|
readonly SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN";
|
|
@@ -1281,17 +1291,17 @@ export type CisScanConfigurationsSortBy =
|
|
|
1281
1291
|
(typeof CisScanConfigurationsSortBy)[keyof typeof CisScanConfigurationsSortBy];
|
|
1282
1292
|
export interface CisScanResultDetails {
|
|
1283
1293
|
scanArn: string | undefined;
|
|
1284
|
-
accountId?: string;
|
|
1285
|
-
targetResourceId?: string;
|
|
1286
|
-
platform?: string;
|
|
1287
|
-
status?: CisFindingStatus;
|
|
1288
|
-
statusReason?: string;
|
|
1289
|
-
checkId?: string;
|
|
1290
|
-
title?: string;
|
|
1291
|
-
checkDescription?: string;
|
|
1292
|
-
remediation?: string;
|
|
1293
|
-
level?: CisSecurityLevel;
|
|
1294
|
-
findingArn?: string;
|
|
1294
|
+
accountId?: string | undefined;
|
|
1295
|
+
targetResourceId?: string | undefined;
|
|
1296
|
+
platform?: string | undefined;
|
|
1297
|
+
status?: CisFindingStatus | undefined;
|
|
1298
|
+
statusReason?: string | undefined;
|
|
1299
|
+
checkId?: string | undefined;
|
|
1300
|
+
title?: string | undefined;
|
|
1301
|
+
checkDescription?: string | undefined;
|
|
1302
|
+
remediation?: string | undefined;
|
|
1303
|
+
level?: CisSecurityLevel | undefined;
|
|
1304
|
+
findingArn?: string | undefined;
|
|
1295
1305
|
}
|
|
1296
1306
|
export declare const CisSecurityLevelComparison: {
|
|
1297
1307
|
readonly EQUALS: "EQUALS";
|
|
@@ -1303,11 +1313,11 @@ export interface CisSecurityLevelFilter {
|
|
|
1303
1313
|
value: CisSecurityLevel | undefined;
|
|
1304
1314
|
}
|
|
1305
1315
|
export interface CisScanResultDetailsFilterCriteria {
|
|
1306
|
-
findingStatusFilters?: CisFindingStatusFilter[];
|
|
1307
|
-
checkIdFilters?: CisStringFilter[];
|
|
1308
|
-
titleFilters?: CisStringFilter[];
|
|
1309
|
-
securityLevelFilters?: CisSecurityLevelFilter[];
|
|
1310
|
-
findingArnFilters?: CisStringFilter[];
|
|
1316
|
+
findingStatusFilters?: CisFindingStatusFilter[] | undefined;
|
|
1317
|
+
checkIdFilters?: CisStringFilter[] | undefined;
|
|
1318
|
+
titleFilters?: CisStringFilter[] | undefined;
|
|
1319
|
+
securityLevelFilters?: CisSecurityLevelFilter[] | undefined;
|
|
1320
|
+
findingArnFilters?: CisStringFilter[] | undefined;
|
|
1311
1321
|
}
|
|
1312
1322
|
export declare const CisScanResultDetailsSortBy: {
|
|
1313
1323
|
readonly CHECK_ID: "CHECK_ID";
|
|
@@ -1316,12 +1326,12 @@ export declare const CisScanResultDetailsSortBy: {
|
|
|
1316
1326
|
export type CisScanResultDetailsSortBy =
|
|
1317
1327
|
(typeof CisScanResultDetailsSortBy)[keyof typeof CisScanResultDetailsSortBy];
|
|
1318
1328
|
export interface CisScanResultsAggregatedByChecksFilterCriteria {
|
|
1319
|
-
accountIdFilters?: CisStringFilter[];
|
|
1320
|
-
checkIdFilters?: CisStringFilter[];
|
|
1321
|
-
titleFilters?: CisStringFilter[];
|
|
1322
|
-
platformFilters?: CisStringFilter[];
|
|
1323
|
-
failedResourcesFilters?: CisNumberFilter[];
|
|
1324
|
-
securityLevelFilters?: CisSecurityLevelFilter[];
|
|
1329
|
+
accountIdFilters?: CisStringFilter[] | undefined;
|
|
1330
|
+
checkIdFilters?: CisStringFilter[] | undefined;
|
|
1331
|
+
titleFilters?: CisStringFilter[] | undefined;
|
|
1332
|
+
platformFilters?: CisStringFilter[] | undefined;
|
|
1333
|
+
failedResourcesFilters?: CisNumberFilter[] | undefined;
|
|
1334
|
+
securityLevelFilters?: CisSecurityLevelFilter[] | undefined;
|
|
1325
1335
|
}
|
|
1326
1336
|
export declare const CisScanResultsAggregatedByChecksSortBy: {
|
|
1327
1337
|
readonly CHECK_ID: "CHECK_ID";
|
|
@@ -1369,15 +1379,15 @@ export interface CisTargetStatusReasonFilter {
|
|
|
1369
1379
|
value: CisTargetStatusReason | undefined;
|
|
1370
1380
|
}
|
|
1371
1381
|
export interface CisScanResultsAggregatedByTargetResourceFilterCriteria {
|
|
1372
|
-
accountIdFilters?: CisStringFilter[];
|
|
1373
|
-
statusFilters?: CisResultStatusFilter[];
|
|
1374
|
-
checkIdFilters?: CisStringFilter[];
|
|
1375
|
-
targetResourceIdFilters?: CisStringFilter[];
|
|
1376
|
-
targetResourceTagFilters?: TagFilter[];
|
|
1377
|
-
platformFilters?: CisStringFilter[];
|
|
1378
|
-
targetStatusFilters?: CisTargetStatusFilter[];
|
|
1379
|
-
targetStatusReasonFilters?: CisTargetStatusReasonFilter[];
|
|
1380
|
-
failedChecksFilters?: CisNumberFilter[];
|
|
1382
|
+
accountIdFilters?: CisStringFilter[] | undefined;
|
|
1383
|
+
statusFilters?: CisResultStatusFilter[] | undefined;
|
|
1384
|
+
checkIdFilters?: CisStringFilter[] | undefined;
|
|
1385
|
+
targetResourceIdFilters?: CisStringFilter[] | undefined;
|
|
1386
|
+
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
1387
|
+
platformFilters?: CisStringFilter[] | undefined;
|
|
1388
|
+
targetStatusFilters?: CisTargetStatusFilter[] | undefined;
|
|
1389
|
+
targetStatusReasonFilters?: CisTargetStatusReasonFilter[] | undefined;
|
|
1390
|
+
failedChecksFilters?: CisNumberFilter[] | undefined;
|
|
1381
1391
|
}
|
|
1382
1392
|
export declare const CisScanResultsAggregatedByTargetResourceSortBy: {
|
|
1383
1393
|
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
@@ -1410,13 +1420,13 @@ export declare const CisSortOrder: {
|
|
|
1410
1420
|
export type CisSortOrder = (typeof CisSortOrder)[keyof typeof CisSortOrder];
|
|
1411
1421
|
export interface CisTargetResourceAggregation {
|
|
1412
1422
|
scanArn: string | undefined;
|
|
1413
|
-
targetResourceId?: string;
|
|
1414
|
-
accountId?: string;
|
|
1415
|
-
targetResourceTags?: Record<string, string[]
|
|
1416
|
-
statusCounts?: StatusCounts;
|
|
1417
|
-
platform?: string;
|
|
1418
|
-
targetStatus?: CisTargetStatus;
|
|
1419
|
-
targetStatusReason?: CisTargetStatusReason;
|
|
1423
|
+
targetResourceId?: string | undefined;
|
|
1424
|
+
accountId?: string | undefined;
|
|
1425
|
+
targetResourceTags?: Record<string, string[]> | undefined;
|
|
1426
|
+
statusCounts?: StatusCounts | undefined;
|
|
1427
|
+
platform?: string | undefined;
|
|
1428
|
+
targetStatus?: CisTargetStatus | undefined;
|
|
1429
|
+
targetStatusReason?: CisTargetStatusReason | undefined;
|
|
1420
1430
|
}
|
|
1421
1431
|
export interface CodeFilePath {
|
|
1422
1432
|
fileName: string | undefined;
|
|
@@ -1426,18 +1436,18 @@ export interface CodeFilePath {
|
|
|
1426
1436
|
}
|
|
1427
1437
|
export interface CodeVulnerabilityDetails {
|
|
1428
1438
|
filePath: CodeFilePath | undefined;
|
|
1429
|
-
detectorTags?: string[];
|
|
1430
|
-
referenceUrls?: string[];
|
|
1431
|
-
ruleId?: string;
|
|
1432
|
-
sourceLambdaLayerArn?: string;
|
|
1439
|
+
detectorTags?: string[] | undefined;
|
|
1440
|
+
referenceUrls?: string[] | undefined;
|
|
1441
|
+
ruleId?: string | undefined;
|
|
1442
|
+
sourceLambdaLayerArn?: string | undefined;
|
|
1433
1443
|
detectorId: string | undefined;
|
|
1434
1444
|
detectorName: string | undefined;
|
|
1435
1445
|
cwes: string[] | undefined;
|
|
1436
1446
|
}
|
|
1437
1447
|
export interface ComputePlatform {
|
|
1438
|
-
vendor?: string;
|
|
1439
|
-
product?: string;
|
|
1440
|
-
version?: string;
|
|
1448
|
+
vendor?: string | undefined;
|
|
1449
|
+
product?: string | undefined;
|
|
1450
|
+
version?: string | undefined;
|
|
1441
1451
|
}
|
|
1442
1452
|
export declare class ConflictException extends __BaseException {
|
|
1443
1453
|
readonly name: "ConflictException";
|
|
@@ -1455,12 +1465,12 @@ export declare const GroupKey: {
|
|
|
1455
1465
|
};
|
|
1456
1466
|
export type GroupKey = (typeof GroupKey)[keyof typeof GroupKey];
|
|
1457
1467
|
export interface Counts {
|
|
1458
|
-
count?: number;
|
|
1459
|
-
groupKey?: GroupKey;
|
|
1468
|
+
count?: number | undefined;
|
|
1469
|
+
groupKey?: GroupKey | undefined;
|
|
1460
1470
|
}
|
|
1461
1471
|
export interface CoverageDateFilter {
|
|
1462
|
-
startInclusive?: Date;
|
|
1463
|
-
endInclusive?: Date;
|
|
1472
|
+
startInclusive?: Date | undefined;
|
|
1473
|
+
endInclusive?: Date | undefined;
|
|
1464
1474
|
}
|
|
1465
1475
|
export declare const CoverageStringComparison: {
|
|
1466
1476
|
readonly EQUALS: "EQUALS";
|
|
@@ -1480,24 +1490,24 @@ export type CoverageMapComparison =
|
|
|
1480
1490
|
export interface CoverageMapFilter {
|
|
1481
1491
|
comparison: CoverageMapComparison | undefined;
|
|
1482
1492
|
key: string | undefined;
|
|
1483
|
-
value?: string;
|
|
1493
|
+
value?: string | undefined;
|
|
1484
1494
|
}
|
|
1485
1495
|
export interface CoverageFilterCriteria {
|
|
1486
|
-
scanStatusCode?: CoverageStringFilter[];
|
|
1487
|
-
scanStatusReason?: CoverageStringFilter[];
|
|
1488
|
-
accountId?: CoverageStringFilter[];
|
|
1489
|
-
resourceId?: CoverageStringFilter[];
|
|
1490
|
-
resourceType?: CoverageStringFilter[];
|
|
1491
|
-
scanType?: CoverageStringFilter[];
|
|
1492
|
-
ecrRepositoryName?: CoverageStringFilter[];
|
|
1493
|
-
ecrImageTags?: CoverageStringFilter[];
|
|
1494
|
-
ec2InstanceTags?: CoverageMapFilter[];
|
|
1495
|
-
lambdaFunctionName?: CoverageStringFilter[];
|
|
1496
|
-
lambdaFunctionTags?: CoverageMapFilter[];
|
|
1497
|
-
lambdaFunctionRuntime?: CoverageStringFilter[];
|
|
1498
|
-
lastScannedAt?: CoverageDateFilter[];
|
|
1499
|
-
scanMode?: CoverageStringFilter[];
|
|
1500
|
-
imagePulledAt?: CoverageDateFilter[];
|
|
1496
|
+
scanStatusCode?: CoverageStringFilter[] | undefined;
|
|
1497
|
+
scanStatusReason?: CoverageStringFilter[] | undefined;
|
|
1498
|
+
accountId?: CoverageStringFilter[] | undefined;
|
|
1499
|
+
resourceId?: CoverageStringFilter[] | undefined;
|
|
1500
|
+
resourceType?: CoverageStringFilter[] | undefined;
|
|
1501
|
+
scanType?: CoverageStringFilter[] | undefined;
|
|
1502
|
+
ecrRepositoryName?: CoverageStringFilter[] | undefined;
|
|
1503
|
+
ecrImageTags?: CoverageStringFilter[] | undefined;
|
|
1504
|
+
ec2InstanceTags?: CoverageMapFilter[] | undefined;
|
|
1505
|
+
lambdaFunctionName?: CoverageStringFilter[] | undefined;
|
|
1506
|
+
lambdaFunctionTags?: CoverageMapFilter[] | undefined;
|
|
1507
|
+
lambdaFunctionRuntime?: CoverageStringFilter[] | undefined;
|
|
1508
|
+
lastScannedAt?: CoverageDateFilter[] | undefined;
|
|
1509
|
+
scanMode?: CoverageStringFilter[] | undefined;
|
|
1510
|
+
imagePulledAt?: CoverageDateFilter[] | undefined;
|
|
1501
1511
|
}
|
|
1502
1512
|
export declare const CoverageResourceType: {
|
|
1503
1513
|
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
@@ -1515,13 +1525,13 @@ export declare const Ec2Platform: {
|
|
|
1515
1525
|
};
|
|
1516
1526
|
export type Ec2Platform = (typeof Ec2Platform)[keyof typeof Ec2Platform];
|
|
1517
1527
|
export interface Ec2Metadata {
|
|
1518
|
-
tags?: Record<string, string
|
|
1519
|
-
amiId?: string;
|
|
1520
|
-
platform?: Ec2Platform;
|
|
1528
|
+
tags?: Record<string, string> | undefined;
|
|
1529
|
+
amiId?: string | undefined;
|
|
1530
|
+
platform?: Ec2Platform | undefined;
|
|
1521
1531
|
}
|
|
1522
1532
|
export interface EcrContainerImageMetadata {
|
|
1523
|
-
tags?: string[];
|
|
1524
|
-
imagePulledAt?: Date;
|
|
1533
|
+
tags?: string[] | undefined;
|
|
1534
|
+
imagePulledAt?: Date | undefined;
|
|
1525
1535
|
}
|
|
1526
1536
|
export declare const EcrScanFrequency: {
|
|
1527
1537
|
readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
|
|
@@ -1531,20 +1541,20 @@ export declare const EcrScanFrequency: {
|
|
|
1531
1541
|
export type EcrScanFrequency =
|
|
1532
1542
|
(typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
|
|
1533
1543
|
export interface EcrRepositoryMetadata {
|
|
1534
|
-
name?: string;
|
|
1535
|
-
scanFrequency?: EcrScanFrequency;
|
|
1544
|
+
name?: string | undefined;
|
|
1545
|
+
scanFrequency?: EcrScanFrequency | undefined;
|
|
1536
1546
|
}
|
|
1537
1547
|
export interface LambdaFunctionMetadata {
|
|
1538
|
-
functionTags?: Record<string, string
|
|
1539
|
-
layers?: string[];
|
|
1540
|
-
functionName?: string;
|
|
1541
|
-
runtime?: Runtime;
|
|
1548
|
+
functionTags?: Record<string, string> | undefined;
|
|
1549
|
+
layers?: string[] | undefined;
|
|
1550
|
+
functionName?: string | undefined;
|
|
1551
|
+
runtime?: Runtime | undefined;
|
|
1542
1552
|
}
|
|
1543
1553
|
export interface ResourceScanMetadata {
|
|
1544
|
-
ecrRepository?: EcrRepositoryMetadata;
|
|
1545
|
-
ecrImage?: EcrContainerImageMetadata;
|
|
1546
|
-
ec2?: Ec2Metadata;
|
|
1547
|
-
lambdaFunction?: LambdaFunctionMetadata;
|
|
1554
|
+
ecrRepository?: EcrRepositoryMetadata | undefined;
|
|
1555
|
+
ecrImage?: EcrContainerImageMetadata | undefined;
|
|
1556
|
+
ec2?: Ec2Metadata | undefined;
|
|
1557
|
+
lambdaFunction?: LambdaFunctionMetadata | undefined;
|
|
1548
1558
|
}
|
|
1549
1559
|
export declare const ScanMode: {
|
|
1550
1560
|
readonly EC2_AGENTLESS: "EC2_AGENTLESS";
|
|
@@ -1602,10 +1612,10 @@ export interface CoveredResource {
|
|
|
1602
1612
|
resourceId: string | undefined;
|
|
1603
1613
|
accountId: string | undefined;
|
|
1604
1614
|
scanType: ScanType | undefined;
|
|
1605
|
-
scanStatus?: ScanStatus;
|
|
1606
|
-
resourceMetadata?: ResourceScanMetadata;
|
|
1607
|
-
lastScannedAt?: Date;
|
|
1608
|
-
scanMode?: ScanMode;
|
|
1615
|
+
scanStatus?: ScanStatus | undefined;
|
|
1616
|
+
resourceMetadata?: ResourceScanMetadata | undefined;
|
|
1617
|
+
lastScannedAt?: Date | undefined;
|
|
1618
|
+
scanMode?: ScanMode | undefined;
|
|
1609
1619
|
}
|
|
1610
1620
|
export interface CreateCisTargets {
|
|
1611
1621
|
accountIds: string[] | undefined;
|
|
@@ -1616,10 +1626,10 @@ export interface CreateCisScanConfigurationRequest {
|
|
|
1616
1626
|
securityLevel: CisSecurityLevel | undefined;
|
|
1617
1627
|
schedule: Schedule | undefined;
|
|
1618
1628
|
targets: CreateCisTargets | undefined;
|
|
1619
|
-
tags?: Record<string, string
|
|
1629
|
+
tags?: Record<string, string> | undefined;
|
|
1620
1630
|
}
|
|
1621
1631
|
export interface CreateCisScanConfigurationResponse {
|
|
1622
|
-
scanConfigurationArn?: string;
|
|
1632
|
+
scanConfigurationArn?: string | undefined;
|
|
1623
1633
|
}
|
|
1624
1634
|
export declare const FilterAction: {
|
|
1625
1635
|
readonly NONE: "NONE";
|
|
@@ -1627,77 +1637,78 @@ export declare const FilterAction: {
|
|
|
1627
1637
|
};
|
|
1628
1638
|
export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
|
|
1629
1639
|
export interface DateFilter {
|
|
1630
|
-
startInclusive?: Date;
|
|
1631
|
-
endInclusive?: Date;
|
|
1640
|
+
startInclusive?: Date | undefined;
|
|
1641
|
+
endInclusive?: Date | undefined;
|
|
1632
1642
|
}
|
|
1633
1643
|
export interface NumberFilter {
|
|
1634
|
-
upperInclusive?: number;
|
|
1635
|
-
lowerInclusive?: number;
|
|
1644
|
+
upperInclusive?: number | undefined;
|
|
1645
|
+
lowerInclusive?: number | undefined;
|
|
1636
1646
|
}
|
|
1637
1647
|
export interface PortRangeFilter {
|
|
1638
|
-
beginInclusive?: number;
|
|
1639
|
-
endInclusive?: number;
|
|
1648
|
+
beginInclusive?: number | undefined;
|
|
1649
|
+
endInclusive?: number | undefined;
|
|
1640
1650
|
}
|
|
1641
1651
|
export interface PackageFilter {
|
|
1642
|
-
name?: StringFilter;
|
|
1643
|
-
version?: StringFilter;
|
|
1644
|
-
epoch?: NumberFilter;
|
|
1645
|
-
release?: StringFilter;
|
|
1646
|
-
architecture?: StringFilter;
|
|
1647
|
-
sourceLayerHash?: StringFilter;
|
|
1648
|
-
sourceLambdaLayerArn?: StringFilter;
|
|
1652
|
+
name?: StringFilter | undefined;
|
|
1653
|
+
version?: StringFilter | undefined;
|
|
1654
|
+
epoch?: NumberFilter | undefined;
|
|
1655
|
+
release?: StringFilter | undefined;
|
|
1656
|
+
architecture?: StringFilter | undefined;
|
|
1657
|
+
sourceLayerHash?: StringFilter | undefined;
|
|
1658
|
+
sourceLambdaLayerArn?: StringFilter | undefined;
|
|
1659
|
+
filePath?: StringFilter | undefined;
|
|
1649
1660
|
}
|
|
1650
1661
|
export interface FilterCriteria {
|
|
1651
|
-
findingArn?: StringFilter[];
|
|
1652
|
-
awsAccountId?: StringFilter[];
|
|
1653
|
-
findingType?: StringFilter[];
|
|
1654
|
-
severity?: StringFilter[];
|
|
1655
|
-
firstObservedAt?: DateFilter[];
|
|
1656
|
-
lastObservedAt?: DateFilter[];
|
|
1657
|
-
updatedAt?: DateFilter[];
|
|
1658
|
-
findingStatus?: StringFilter[];
|
|
1659
|
-
title?: StringFilter[];
|
|
1660
|
-
inspectorScore?: NumberFilter[];
|
|
1661
|
-
resourceType?: StringFilter[];
|
|
1662
|
-
resourceId?: StringFilter[];
|
|
1663
|
-
resourceTags?: MapFilter[];
|
|
1664
|
-
ec2InstanceImageId?: StringFilter[];
|
|
1665
|
-
ec2InstanceVpcId?: StringFilter[];
|
|
1666
|
-
ec2InstanceSubnetId?: StringFilter[];
|
|
1667
|
-
ecrImagePushedAt?: DateFilter[];
|
|
1668
|
-
ecrImageArchitecture?: StringFilter[];
|
|
1669
|
-
ecrImageRegistry?: StringFilter[];
|
|
1670
|
-
ecrImageRepositoryName?: StringFilter[];
|
|
1671
|
-
ecrImageTags?: StringFilter[];
|
|
1672
|
-
ecrImageHash?: StringFilter[];
|
|
1673
|
-
portRange?: PortRangeFilter[];
|
|
1674
|
-
networkProtocol?: StringFilter[];
|
|
1675
|
-
componentId?: StringFilter[];
|
|
1676
|
-
componentType?: StringFilter[];
|
|
1677
|
-
vulnerabilityId?: StringFilter[];
|
|
1678
|
-
vulnerabilitySource?: StringFilter[];
|
|
1679
|
-
vendorSeverity?: StringFilter[];
|
|
1680
|
-
vulnerablePackages?: PackageFilter[];
|
|
1681
|
-
relatedVulnerabilities?: StringFilter[];
|
|
1682
|
-
fixAvailable?: StringFilter[];
|
|
1683
|
-
lambdaFunctionName?: StringFilter[];
|
|
1684
|
-
lambdaFunctionLayers?: StringFilter[];
|
|
1685
|
-
lambdaFunctionRuntime?: StringFilter[];
|
|
1686
|
-
lambdaFunctionLastModifiedAt?: DateFilter[];
|
|
1687
|
-
lambdaFunctionExecutionRoleArn?: StringFilter[];
|
|
1688
|
-
exploitAvailable?: StringFilter[];
|
|
1689
|
-
codeVulnerabilityDetectorName?: StringFilter[];
|
|
1690
|
-
codeVulnerabilityDetectorTags?: StringFilter[];
|
|
1691
|
-
codeVulnerabilityFilePath?: StringFilter[];
|
|
1692
|
-
epssScore?: NumberFilter[];
|
|
1662
|
+
findingArn?: StringFilter[] | undefined;
|
|
1663
|
+
awsAccountId?: StringFilter[] | undefined;
|
|
1664
|
+
findingType?: StringFilter[] | undefined;
|
|
1665
|
+
severity?: StringFilter[] | undefined;
|
|
1666
|
+
firstObservedAt?: DateFilter[] | undefined;
|
|
1667
|
+
lastObservedAt?: DateFilter[] | undefined;
|
|
1668
|
+
updatedAt?: DateFilter[] | undefined;
|
|
1669
|
+
findingStatus?: StringFilter[] | undefined;
|
|
1670
|
+
title?: StringFilter[] | undefined;
|
|
1671
|
+
inspectorScore?: NumberFilter[] | undefined;
|
|
1672
|
+
resourceType?: StringFilter[] | undefined;
|
|
1673
|
+
resourceId?: StringFilter[] | undefined;
|
|
1674
|
+
resourceTags?: MapFilter[] | undefined;
|
|
1675
|
+
ec2InstanceImageId?: StringFilter[] | undefined;
|
|
1676
|
+
ec2InstanceVpcId?: StringFilter[] | undefined;
|
|
1677
|
+
ec2InstanceSubnetId?: StringFilter[] | undefined;
|
|
1678
|
+
ecrImagePushedAt?: DateFilter[] | undefined;
|
|
1679
|
+
ecrImageArchitecture?: StringFilter[] | undefined;
|
|
1680
|
+
ecrImageRegistry?: StringFilter[] | undefined;
|
|
1681
|
+
ecrImageRepositoryName?: StringFilter[] | undefined;
|
|
1682
|
+
ecrImageTags?: StringFilter[] | undefined;
|
|
1683
|
+
ecrImageHash?: StringFilter[] | undefined;
|
|
1684
|
+
portRange?: PortRangeFilter[] | undefined;
|
|
1685
|
+
networkProtocol?: StringFilter[] | undefined;
|
|
1686
|
+
componentId?: StringFilter[] | undefined;
|
|
1687
|
+
componentType?: StringFilter[] | undefined;
|
|
1688
|
+
vulnerabilityId?: StringFilter[] | undefined;
|
|
1689
|
+
vulnerabilitySource?: StringFilter[] | undefined;
|
|
1690
|
+
vendorSeverity?: StringFilter[] | undefined;
|
|
1691
|
+
vulnerablePackages?: PackageFilter[] | undefined;
|
|
1692
|
+
relatedVulnerabilities?: StringFilter[] | undefined;
|
|
1693
|
+
fixAvailable?: StringFilter[] | undefined;
|
|
1694
|
+
lambdaFunctionName?: StringFilter[] | undefined;
|
|
1695
|
+
lambdaFunctionLayers?: StringFilter[] | undefined;
|
|
1696
|
+
lambdaFunctionRuntime?: StringFilter[] | undefined;
|
|
1697
|
+
lambdaFunctionLastModifiedAt?: DateFilter[] | undefined;
|
|
1698
|
+
lambdaFunctionExecutionRoleArn?: StringFilter[] | undefined;
|
|
1699
|
+
exploitAvailable?: StringFilter[] | undefined;
|
|
1700
|
+
codeVulnerabilityDetectorName?: StringFilter[] | undefined;
|
|
1701
|
+
codeVulnerabilityDetectorTags?: StringFilter[] | undefined;
|
|
1702
|
+
codeVulnerabilityFilePath?: StringFilter[] | undefined;
|
|
1703
|
+
epssScore?: NumberFilter[] | undefined;
|
|
1693
1704
|
}
|
|
1694
1705
|
export interface CreateFilterRequest {
|
|
1695
1706
|
action: FilterAction | undefined;
|
|
1696
|
-
description?: string;
|
|
1707
|
+
description?: string | undefined;
|
|
1697
1708
|
filterCriteria: FilterCriteria | undefined;
|
|
1698
1709
|
name: string | undefined;
|
|
1699
|
-
tags?: Record<string, string
|
|
1700
|
-
reason?: string;
|
|
1710
|
+
tags?: Record<string, string> | undefined;
|
|
1711
|
+
reason?: string | undefined;
|
|
1701
1712
|
}
|
|
1702
1713
|
export interface CreateFilterResponse {
|
|
1703
1714
|
arn: string | undefined;
|
|
@@ -1717,16 +1728,16 @@ export declare const ReportFormat: {
|
|
|
1717
1728
|
export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
|
|
1718
1729
|
export interface Destination {
|
|
1719
1730
|
bucketName: string | undefined;
|
|
1720
|
-
keyPrefix?: string;
|
|
1731
|
+
keyPrefix?: string | undefined;
|
|
1721
1732
|
kmsKeyArn: string | undefined;
|
|
1722
1733
|
}
|
|
1723
1734
|
export interface CreateFindingsReportRequest {
|
|
1724
|
-
filterCriteria?: FilterCriteria;
|
|
1735
|
+
filterCriteria?: FilterCriteria | undefined;
|
|
1725
1736
|
reportFormat: ReportFormat | undefined;
|
|
1726
1737
|
s3Destination: Destination | undefined;
|
|
1727
1738
|
}
|
|
1728
1739
|
export interface CreateFindingsReportResponse {
|
|
1729
|
-
reportId?: string;
|
|
1740
|
+
reportId?: string | undefined;
|
|
1730
1741
|
}
|
|
1731
1742
|
export declare const SbomReportFormat: {
|
|
1732
1743
|
readonly CYCLONEDX_1_4: "CYCLONEDX_1_4";
|
|
@@ -1752,37 +1763,37 @@ export type ResourceMapComparison =
|
|
|
1752
1763
|
export interface ResourceMapFilter {
|
|
1753
1764
|
comparison: ResourceMapComparison | undefined;
|
|
1754
1765
|
key: string | undefined;
|
|
1755
|
-
value?: string;
|
|
1766
|
+
value?: string | undefined;
|
|
1756
1767
|
}
|
|
1757
1768
|
export interface ResourceFilterCriteria {
|
|
1758
|
-
accountId?: ResourceStringFilter[];
|
|
1759
|
-
resourceId?: ResourceStringFilter[];
|
|
1760
|
-
resourceType?: ResourceStringFilter[];
|
|
1761
|
-
ecrRepositoryName?: ResourceStringFilter[];
|
|
1762
|
-
lambdaFunctionName?: ResourceStringFilter[];
|
|
1763
|
-
ecrImageTags?: ResourceStringFilter[];
|
|
1764
|
-
ec2InstanceTags?: ResourceMapFilter[];
|
|
1765
|
-
lambdaFunctionTags?: ResourceMapFilter[];
|
|
1769
|
+
accountId?: ResourceStringFilter[] | undefined;
|
|
1770
|
+
resourceId?: ResourceStringFilter[] | undefined;
|
|
1771
|
+
resourceType?: ResourceStringFilter[] | undefined;
|
|
1772
|
+
ecrRepositoryName?: ResourceStringFilter[] | undefined;
|
|
1773
|
+
lambdaFunctionName?: ResourceStringFilter[] | undefined;
|
|
1774
|
+
ecrImageTags?: ResourceStringFilter[] | undefined;
|
|
1775
|
+
ec2InstanceTags?: ResourceMapFilter[] | undefined;
|
|
1776
|
+
lambdaFunctionTags?: ResourceMapFilter[] | undefined;
|
|
1766
1777
|
}
|
|
1767
1778
|
export interface CreateSbomExportRequest {
|
|
1768
|
-
resourceFilterCriteria?: ResourceFilterCriteria;
|
|
1779
|
+
resourceFilterCriteria?: ResourceFilterCriteria | undefined;
|
|
1769
1780
|
reportFormat: SbomReportFormat | undefined;
|
|
1770
1781
|
s3Destination: Destination | undefined;
|
|
1771
1782
|
}
|
|
1772
1783
|
export interface CreateSbomExportResponse {
|
|
1773
|
-
reportId?: string;
|
|
1784
|
+
reportId?: string | undefined;
|
|
1774
1785
|
}
|
|
1775
1786
|
export declare const Currency: {
|
|
1776
1787
|
readonly USD: "USD";
|
|
1777
1788
|
};
|
|
1778
1789
|
export type Currency = (typeof Currency)[keyof typeof Currency];
|
|
1779
1790
|
export interface Cvss2 {
|
|
1780
|
-
baseScore?: number;
|
|
1781
|
-
scoringVector?: string;
|
|
1791
|
+
baseScore?: number | undefined;
|
|
1792
|
+
scoringVector?: string | undefined;
|
|
1782
1793
|
}
|
|
1783
1794
|
export interface Cvss3 {
|
|
1784
|
-
baseScore?: number;
|
|
1785
|
-
scoringVector?: string;
|
|
1795
|
+
baseScore?: number | undefined;
|
|
1796
|
+
scoringVector?: string | undefined;
|
|
1786
1797
|
}
|
|
1787
1798
|
export interface CvssScore {
|
|
1788
1799
|
baseScore: number | undefined;
|
|
@@ -1796,11 +1807,11 @@ export interface CvssScoreAdjustment {
|
|
|
1796
1807
|
}
|
|
1797
1808
|
export interface CvssScoreDetails {
|
|
1798
1809
|
scoreSource: string | undefined;
|
|
1799
|
-
cvssSource?: string;
|
|
1810
|
+
cvssSource?: string | undefined;
|
|
1800
1811
|
version: string | undefined;
|
|
1801
1812
|
score: number | undefined;
|
|
1802
1813
|
scoringVector: string | undefined;
|
|
1803
|
-
adjustments?: CvssScoreAdjustment[];
|
|
1814
|
+
adjustments?: CvssScoreAdjustment[] | undefined;
|
|
1804
1815
|
}
|
|
1805
1816
|
export declare const RelationshipStatus: {
|
|
1806
1817
|
readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
|
|
@@ -1819,8 +1830,8 @@ export declare const RelationshipStatus: {
|
|
|
1819
1830
|
export type RelationshipStatus =
|
|
1820
1831
|
(typeof RelationshipStatus)[keyof typeof RelationshipStatus];
|
|
1821
1832
|
export interface DelegatedAdmin {
|
|
1822
|
-
accountId?: string;
|
|
1823
|
-
relationshipStatus?: RelationshipStatus;
|
|
1833
|
+
accountId?: string | undefined;
|
|
1834
|
+
relationshipStatus?: RelationshipStatus | undefined;
|
|
1824
1835
|
}
|
|
1825
1836
|
export declare const DelegatedAdminStatus: {
|
|
1826
1837
|
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
@@ -1829,8 +1840,8 @@ export declare const DelegatedAdminStatus: {
|
|
|
1829
1840
|
export type DelegatedAdminStatus =
|
|
1830
1841
|
(typeof DelegatedAdminStatus)[keyof typeof DelegatedAdminStatus];
|
|
1831
1842
|
export interface DelegatedAdminAccount {
|
|
1832
|
-
accountId?: string;
|
|
1833
|
-
status?: DelegatedAdminStatus;
|
|
1843
|
+
accountId?: string | undefined;
|
|
1844
|
+
status?: DelegatedAdminStatus | undefined;
|
|
1834
1845
|
}
|
|
1835
1846
|
export interface DeleteCisScanConfigurationRequest {
|
|
1836
1847
|
scanConfigurationArn: string | undefined;
|
|
@@ -1846,8 +1857,8 @@ export interface DeleteFilterResponse {
|
|
|
1846
1857
|
}
|
|
1847
1858
|
export interface DescribeOrganizationConfigurationRequest {}
|
|
1848
1859
|
export interface DescribeOrganizationConfigurationResponse {
|
|
1849
|
-
autoEnable?: AutoEnable;
|
|
1850
|
-
maxAccountLimitReached?: boolean;
|
|
1860
|
+
autoEnable?: AutoEnable | undefined;
|
|
1861
|
+
maxAccountLimitReached?: boolean | undefined;
|
|
1851
1862
|
}
|
|
1852
1863
|
export declare const ResourceScanType: {
|
|
1853
1864
|
readonly EC2: "EC2";
|
|
@@ -1858,12 +1869,12 @@ export declare const ResourceScanType: {
|
|
|
1858
1869
|
export type ResourceScanType =
|
|
1859
1870
|
(typeof ResourceScanType)[keyof typeof ResourceScanType];
|
|
1860
1871
|
export interface DisableRequest {
|
|
1861
|
-
accountIds?: string[];
|
|
1862
|
-
resourceTypes?: ResourceScanType[];
|
|
1872
|
+
accountIds?: string[] | undefined;
|
|
1873
|
+
resourceTypes?: ResourceScanType[] | undefined;
|
|
1863
1874
|
}
|
|
1864
1875
|
export interface DisableResponse {
|
|
1865
1876
|
accounts: Account[] | undefined;
|
|
1866
|
-
failedAccounts?: FailedAccount[];
|
|
1877
|
+
failedAccounts?: FailedAccount[] | undefined;
|
|
1867
1878
|
}
|
|
1868
1879
|
export interface DisableDelegatedAdminAccountRequest {
|
|
1869
1880
|
delegatedAdminAccountId: string | undefined;
|
|
@@ -1892,11 +1903,11 @@ export declare const Ec2ScanModeStatus: {
|
|
|
1892
1903
|
export type Ec2ScanModeStatus =
|
|
1893
1904
|
(typeof Ec2ScanModeStatus)[keyof typeof Ec2ScanModeStatus];
|
|
1894
1905
|
export interface Ec2ScanModeState {
|
|
1895
|
-
scanMode?: Ec2ScanMode;
|
|
1896
|
-
scanModeStatus?: Ec2ScanModeStatus;
|
|
1906
|
+
scanMode?: Ec2ScanMode | undefined;
|
|
1907
|
+
scanModeStatus?: Ec2ScanModeStatus | undefined;
|
|
1897
1908
|
}
|
|
1898
1909
|
export interface Ec2ConfigurationState {
|
|
1899
|
-
scanModeState?: Ec2ScanModeState;
|
|
1910
|
+
scanModeState?: Ec2ScanModeState | undefined;
|
|
1900
1911
|
}
|
|
1901
1912
|
export declare const EcrPullDateRescanDuration: {
|
|
1902
1913
|
readonly DAYS_14: "DAYS_14";
|
|
@@ -1919,7 +1930,7 @@ export type EcrRescanDuration =
|
|
|
1919
1930
|
(typeof EcrRescanDuration)[keyof typeof EcrRescanDuration];
|
|
1920
1931
|
export interface EcrConfiguration {
|
|
1921
1932
|
rescanDuration: EcrRescanDuration | undefined;
|
|
1922
|
-
pullDateRescanDuration?: EcrPullDateRescanDuration;
|
|
1933
|
+
pullDateRescanDuration?: EcrPullDateRescanDuration | undefined;
|
|
1923
1934
|
}
|
|
1924
1935
|
export declare const EcrRescanDurationStatus: {
|
|
1925
1936
|
readonly FAILED: "FAILED";
|
|
@@ -1929,38 +1940,38 @@ export declare const EcrRescanDurationStatus: {
|
|
|
1929
1940
|
export type EcrRescanDurationStatus =
|
|
1930
1941
|
(typeof EcrRescanDurationStatus)[keyof typeof EcrRescanDurationStatus];
|
|
1931
1942
|
export interface EcrRescanDurationState {
|
|
1932
|
-
rescanDuration?: EcrRescanDuration;
|
|
1933
|
-
status?: EcrRescanDurationStatus;
|
|
1934
|
-
updatedAt?: Date;
|
|
1935
|
-
pullDateRescanDuration?: EcrPullDateRescanDuration;
|
|
1943
|
+
rescanDuration?: EcrRescanDuration | undefined;
|
|
1944
|
+
status?: EcrRescanDurationStatus | undefined;
|
|
1945
|
+
updatedAt?: Date | undefined;
|
|
1946
|
+
pullDateRescanDuration?: EcrPullDateRescanDuration | undefined;
|
|
1936
1947
|
}
|
|
1937
1948
|
export interface EcrConfigurationState {
|
|
1938
|
-
rescanDurationState?: EcrRescanDurationState;
|
|
1949
|
+
rescanDurationState?: EcrRescanDurationState | undefined;
|
|
1939
1950
|
}
|
|
1940
1951
|
export interface EnableRequest {
|
|
1941
|
-
accountIds?: string[];
|
|
1952
|
+
accountIds?: string[] | undefined;
|
|
1942
1953
|
resourceTypes: ResourceScanType[] | undefined;
|
|
1943
|
-
clientToken?: string;
|
|
1954
|
+
clientToken?: string | undefined;
|
|
1944
1955
|
}
|
|
1945
1956
|
export interface EnableResponse {
|
|
1946
1957
|
accounts: Account[] | undefined;
|
|
1947
|
-
failedAccounts?: FailedAccount[];
|
|
1958
|
+
failedAccounts?: FailedAccount[] | undefined;
|
|
1948
1959
|
}
|
|
1949
1960
|
export interface EnableDelegatedAdminAccountRequest {
|
|
1950
1961
|
delegatedAdminAccountId: string | undefined;
|
|
1951
|
-
clientToken?: string;
|
|
1962
|
+
clientToken?: string | undefined;
|
|
1952
1963
|
}
|
|
1953
1964
|
export interface EnableDelegatedAdminAccountResponse {
|
|
1954
1965
|
delegatedAdminAccountId: string | undefined;
|
|
1955
1966
|
}
|
|
1956
1967
|
export interface Epss {
|
|
1957
|
-
score?: number;
|
|
1968
|
+
score?: number | undefined;
|
|
1958
1969
|
}
|
|
1959
1970
|
export interface EpssDetails {
|
|
1960
|
-
score?: number;
|
|
1971
|
+
score?: number | undefined;
|
|
1961
1972
|
}
|
|
1962
1973
|
export interface ExploitabilityDetails {
|
|
1963
|
-
lastKnownExploitAt?: Date;
|
|
1974
|
+
lastKnownExploitAt?: Date | undefined;
|
|
1964
1975
|
}
|
|
1965
1976
|
export declare const ExploitAvailable: {
|
|
1966
1977
|
readonly NO: "NO";
|
|
@@ -1984,9 +1995,9 @@ export interface Filter {
|
|
|
1984
1995
|
action: FilterAction | undefined;
|
|
1985
1996
|
createdAt: Date | undefined;
|
|
1986
1997
|
updatedAt: Date | undefined;
|
|
1987
|
-
description?: string;
|
|
1988
|
-
reason?: string;
|
|
1989
|
-
tags?: Record<string, string
|
|
1998
|
+
description?: string | undefined;
|
|
1999
|
+
reason?: string | undefined;
|
|
2000
|
+
tags?: Record<string, string> | undefined;
|
|
1990
2001
|
}
|
|
1991
2002
|
export declare const FixAvailable: {
|
|
1992
2003
|
readonly NO: "NO";
|
|
@@ -1995,14 +2006,14 @@ export declare const FixAvailable: {
|
|
|
1995
2006
|
};
|
|
1996
2007
|
export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
|
|
1997
2008
|
export interface InspectorScoreDetails {
|
|
1998
|
-
adjustedCvss?: CvssScoreDetails;
|
|
2009
|
+
adjustedCvss?: CvssScoreDetails | undefined;
|
|
1999
2010
|
}
|
|
2000
2011
|
export interface Step {
|
|
2001
2012
|
componentId: string | undefined;
|
|
2002
2013
|
componentType: string | undefined;
|
|
2003
2014
|
}
|
|
2004
2015
|
export interface NetworkPath {
|
|
2005
|
-
steps?: Step[];
|
|
2016
|
+
steps?: Step[] | undefined;
|
|
2006
2017
|
}
|
|
2007
2018
|
export interface PortRange {
|
|
2008
2019
|
begin: number | undefined;
|
|
@@ -2023,6 +2034,7 @@ export declare const PackageManager: {
|
|
|
2023
2034
|
readonly BUNDLER: "BUNDLER";
|
|
2024
2035
|
readonly CARGO: "CARGO";
|
|
2025
2036
|
readonly COMPOSER: "COMPOSER";
|
|
2037
|
+
readonly DOTNET_CORE: "DOTNET_CORE";
|
|
2026
2038
|
readonly GEMSPEC: "GEMSPEC";
|
|
2027
2039
|
readonly GOBINARY: "GOBINARY";
|
|
2028
2040
|
readonly GOMOD: "GOMOD";
|
|
@@ -2043,39 +2055,39 @@ export type PackageManager =
|
|
|
2043
2055
|
export interface VulnerablePackage {
|
|
2044
2056
|
name: string | undefined;
|
|
2045
2057
|
version: string | undefined;
|
|
2046
|
-
sourceLayerHash?: string;
|
|
2047
|
-
epoch?: number;
|
|
2048
|
-
release?: string;
|
|
2049
|
-
arch?: string;
|
|
2050
|
-
packageManager?: PackageManager;
|
|
2051
|
-
filePath?: string;
|
|
2052
|
-
fixedInVersion?: string;
|
|
2053
|
-
remediation?: string;
|
|
2054
|
-
sourceLambdaLayerArn?: string;
|
|
2058
|
+
sourceLayerHash?: string | undefined;
|
|
2059
|
+
epoch?: number | undefined;
|
|
2060
|
+
release?: string | undefined;
|
|
2061
|
+
arch?: string | undefined;
|
|
2062
|
+
packageManager?: PackageManager | undefined;
|
|
2063
|
+
filePath?: string | undefined;
|
|
2064
|
+
fixedInVersion?: string | undefined;
|
|
2065
|
+
remediation?: string | undefined;
|
|
2066
|
+
sourceLambdaLayerArn?: string | undefined;
|
|
2055
2067
|
}
|
|
2056
2068
|
export interface PackageVulnerabilityDetails {
|
|
2057
2069
|
vulnerabilityId: string | undefined;
|
|
2058
|
-
vulnerablePackages?: VulnerablePackage[];
|
|
2070
|
+
vulnerablePackages?: VulnerablePackage[] | undefined;
|
|
2059
2071
|
source: string | undefined;
|
|
2060
|
-
cvss?: CvssScore[];
|
|
2061
|
-
relatedVulnerabilities?: string[];
|
|
2062
|
-
sourceUrl?: string;
|
|
2063
|
-
vendorSeverity?: string;
|
|
2064
|
-
vendorCreatedAt?: Date;
|
|
2065
|
-
vendorUpdatedAt?: Date;
|
|
2066
|
-
referenceUrls?: string[];
|
|
2072
|
+
cvss?: CvssScore[] | undefined;
|
|
2073
|
+
relatedVulnerabilities?: string[] | undefined;
|
|
2074
|
+
sourceUrl?: string | undefined;
|
|
2075
|
+
vendorSeverity?: string | undefined;
|
|
2076
|
+
vendorCreatedAt?: Date | undefined;
|
|
2077
|
+
vendorUpdatedAt?: Date | undefined;
|
|
2078
|
+
referenceUrls?: string[] | undefined;
|
|
2067
2079
|
}
|
|
2068
2080
|
export interface Recommendation {
|
|
2069
|
-
text?: string;
|
|
2070
|
-
Url?: string;
|
|
2081
|
+
text?: string | undefined;
|
|
2082
|
+
Url?: string | undefined;
|
|
2071
2083
|
}
|
|
2072
2084
|
export interface Remediation {
|
|
2073
|
-
recommendation?: Recommendation;
|
|
2085
|
+
recommendation?: Recommendation | undefined;
|
|
2074
2086
|
}
|
|
2075
2087
|
export interface ResourceDetails {
|
|
2076
|
-
awsEc2Instance?: AwsEc2InstanceDetails;
|
|
2077
|
-
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
2078
|
-
awsLambdaFunction?: AwsLambdaFunctionDetails;
|
|
2088
|
+
awsEc2Instance?: AwsEc2InstanceDetails | undefined;
|
|
2089
|
+
awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
|
|
2090
|
+
awsLambdaFunction?: AwsLambdaFunctionDetails | undefined;
|
|
2079
2091
|
}
|
|
2080
2092
|
export declare const ResourceType: {
|
|
2081
2093
|
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
@@ -2087,10 +2099,10 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
2087
2099
|
export interface Resource {
|
|
2088
2100
|
type: ResourceType | undefined;
|
|
2089
2101
|
id: string | undefined;
|
|
2090
|
-
partition?: string;
|
|
2091
|
-
region?: string;
|
|
2092
|
-
tags?: Record<string, string
|
|
2093
|
-
details?: ResourceDetails;
|
|
2102
|
+
partition?: string | undefined;
|
|
2103
|
+
region?: string | undefined;
|
|
2104
|
+
tags?: Record<string, string> | undefined;
|
|
2105
|
+
details?: ResourceDetails | undefined;
|
|
2094
2106
|
}
|
|
2095
2107
|
export declare const Severity: {
|
|
2096
2108
|
readonly CRITICAL: "CRITICAL";
|
|
@@ -2118,62 +2130,62 @@ export interface Finding {
|
|
|
2118
2130
|
awsAccountId: string | undefined;
|
|
2119
2131
|
type: FindingType | undefined;
|
|
2120
2132
|
description: string | undefined;
|
|
2121
|
-
title?: string;
|
|
2133
|
+
title?: string | undefined;
|
|
2122
2134
|
remediation: Remediation | undefined;
|
|
2123
2135
|
severity: Severity | undefined;
|
|
2124
2136
|
firstObservedAt: Date | undefined;
|
|
2125
2137
|
lastObservedAt: Date | undefined;
|
|
2126
|
-
updatedAt?: Date;
|
|
2138
|
+
updatedAt?: Date | undefined;
|
|
2127
2139
|
status: FindingStatus | undefined;
|
|
2128
2140
|
resources: Resource[] | undefined;
|
|
2129
|
-
inspectorScore?: number;
|
|
2130
|
-
inspectorScoreDetails?: InspectorScoreDetails;
|
|
2131
|
-
networkReachabilityDetails?: NetworkReachabilityDetails;
|
|
2132
|
-
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
2133
|
-
fixAvailable?: FixAvailable;
|
|
2134
|
-
exploitAvailable?: ExploitAvailable;
|
|
2135
|
-
exploitabilityDetails?: ExploitabilityDetails;
|
|
2136
|
-
codeVulnerabilityDetails?: CodeVulnerabilityDetails;
|
|
2137
|
-
epss?: EpssDetails;
|
|
2141
|
+
inspectorScore?: number | undefined;
|
|
2142
|
+
inspectorScoreDetails?: InspectorScoreDetails | undefined;
|
|
2143
|
+
networkReachabilityDetails?: NetworkReachabilityDetails | undefined;
|
|
2144
|
+
packageVulnerabilityDetails?: PackageVulnerabilityDetails | undefined;
|
|
2145
|
+
fixAvailable?: FixAvailable | undefined;
|
|
2146
|
+
exploitAvailable?: ExploitAvailable | undefined;
|
|
2147
|
+
exploitabilityDetails?: ExploitabilityDetails | undefined;
|
|
2148
|
+
codeVulnerabilityDetails?: CodeVulnerabilityDetails | undefined;
|
|
2149
|
+
epss?: EpssDetails | undefined;
|
|
2138
2150
|
}
|
|
2139
2151
|
export interface GetCisScanReportRequest {
|
|
2140
2152
|
scanArn: string | undefined;
|
|
2141
|
-
targetAccounts?: string[];
|
|
2142
|
-
reportFormat?: CisReportFormat;
|
|
2153
|
+
targetAccounts?: string[] | undefined;
|
|
2154
|
+
reportFormat?: CisReportFormat | undefined;
|
|
2143
2155
|
}
|
|
2144
2156
|
export interface GetCisScanReportResponse {
|
|
2145
|
-
url?: string;
|
|
2146
|
-
status?: CisReportStatus;
|
|
2157
|
+
url?: string | undefined;
|
|
2158
|
+
status?: CisReportStatus | undefined;
|
|
2147
2159
|
}
|
|
2148
2160
|
export interface GetCisScanResultDetailsRequest {
|
|
2149
2161
|
scanArn: string | undefined;
|
|
2150
2162
|
targetResourceId: string | undefined;
|
|
2151
2163
|
accountId: string | undefined;
|
|
2152
|
-
filterCriteria?: CisScanResultDetailsFilterCriteria;
|
|
2153
|
-
sortBy?: CisScanResultDetailsSortBy;
|
|
2154
|
-
sortOrder?: CisSortOrder;
|
|
2155
|
-
nextToken?: string;
|
|
2156
|
-
maxResults?: number;
|
|
2164
|
+
filterCriteria?: CisScanResultDetailsFilterCriteria | undefined;
|
|
2165
|
+
sortBy?: CisScanResultDetailsSortBy | undefined;
|
|
2166
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2167
|
+
nextToken?: string | undefined;
|
|
2168
|
+
maxResults?: number | undefined;
|
|
2157
2169
|
}
|
|
2158
2170
|
export interface GetCisScanResultDetailsResponse {
|
|
2159
|
-
scanResultDetails?: CisScanResultDetails[];
|
|
2160
|
-
nextToken?: string;
|
|
2171
|
+
scanResultDetails?: CisScanResultDetails[] | undefined;
|
|
2172
|
+
nextToken?: string | undefined;
|
|
2161
2173
|
}
|
|
2162
2174
|
export interface GetConfigurationRequest {}
|
|
2163
2175
|
export interface GetConfigurationResponse {
|
|
2164
|
-
ecrConfiguration?: EcrConfigurationState;
|
|
2165
|
-
ec2Configuration?: Ec2ConfigurationState;
|
|
2176
|
+
ecrConfiguration?: EcrConfigurationState | undefined;
|
|
2177
|
+
ec2Configuration?: Ec2ConfigurationState | undefined;
|
|
2166
2178
|
}
|
|
2167
2179
|
export interface GetDelegatedAdminAccountRequest {}
|
|
2168
2180
|
export interface GetDelegatedAdminAccountResponse {
|
|
2169
|
-
delegatedAdmin?: DelegatedAdmin;
|
|
2181
|
+
delegatedAdmin?: DelegatedAdmin | undefined;
|
|
2170
2182
|
}
|
|
2171
2183
|
export interface GetEc2DeepInspectionConfigurationRequest {}
|
|
2172
2184
|
export interface GetEc2DeepInspectionConfigurationResponse {
|
|
2173
|
-
packagePaths?: string[];
|
|
2174
|
-
orgPackagePaths?: string[];
|
|
2175
|
-
status?: Ec2DeepInspectionStatus;
|
|
2176
|
-
errorMessage?: string;
|
|
2185
|
+
packagePaths?: string[] | undefined;
|
|
2186
|
+
orgPackagePaths?: string[] | undefined;
|
|
2187
|
+
status?: Ec2DeepInspectionStatus | undefined;
|
|
2188
|
+
errorMessage?: string | undefined;
|
|
2177
2189
|
}
|
|
2178
2190
|
export interface GetEncryptionKeyRequest {
|
|
2179
2191
|
scanType: ScanType | undefined;
|
|
@@ -2183,7 +2195,7 @@ export interface GetEncryptionKeyResponse {
|
|
|
2183
2195
|
kmsKeyId: string | undefined;
|
|
2184
2196
|
}
|
|
2185
2197
|
export interface GetFindingsReportStatusRequest {
|
|
2186
|
-
reportId?: string;
|
|
2198
|
+
reportId?: string | undefined;
|
|
2187
2199
|
}
|
|
2188
2200
|
export declare const ReportingErrorCode: {
|
|
2189
2201
|
readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
|
|
@@ -2196,36 +2208,36 @@ export declare const ReportingErrorCode: {
|
|
|
2196
2208
|
export type ReportingErrorCode =
|
|
2197
2209
|
(typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
|
|
2198
2210
|
export interface GetFindingsReportStatusResponse {
|
|
2199
|
-
reportId?: string;
|
|
2200
|
-
status?: ExternalReportStatus;
|
|
2201
|
-
errorCode?: ReportingErrorCode;
|
|
2202
|
-
errorMessage?: string;
|
|
2203
|
-
destination?: Destination;
|
|
2204
|
-
filterCriteria?: FilterCriteria;
|
|
2211
|
+
reportId?: string | undefined;
|
|
2212
|
+
status?: ExternalReportStatus | undefined;
|
|
2213
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
2214
|
+
errorMessage?: string | undefined;
|
|
2215
|
+
destination?: Destination | undefined;
|
|
2216
|
+
filterCriteria?: FilterCriteria | undefined;
|
|
2205
2217
|
}
|
|
2206
2218
|
export interface GetMemberRequest {
|
|
2207
2219
|
accountId: string | undefined;
|
|
2208
2220
|
}
|
|
2209
2221
|
export interface Member {
|
|
2210
|
-
accountId?: string;
|
|
2211
|
-
relationshipStatus?: RelationshipStatus;
|
|
2212
|
-
delegatedAdminAccountId?: string;
|
|
2213
|
-
updatedAt?: Date;
|
|
2222
|
+
accountId?: string | undefined;
|
|
2223
|
+
relationshipStatus?: RelationshipStatus | undefined;
|
|
2224
|
+
delegatedAdminAccountId?: string | undefined;
|
|
2225
|
+
updatedAt?: Date | undefined;
|
|
2214
2226
|
}
|
|
2215
2227
|
export interface GetMemberResponse {
|
|
2216
|
-
member?: Member;
|
|
2228
|
+
member?: Member | undefined;
|
|
2217
2229
|
}
|
|
2218
2230
|
export interface GetSbomExportRequest {
|
|
2219
2231
|
reportId: string | undefined;
|
|
2220
2232
|
}
|
|
2221
2233
|
export interface GetSbomExportResponse {
|
|
2222
|
-
reportId?: string;
|
|
2223
|
-
format?: SbomReportFormat;
|
|
2224
|
-
status?: ExternalReportStatus;
|
|
2225
|
-
errorCode?: ReportingErrorCode;
|
|
2226
|
-
errorMessage?: string;
|
|
2227
|
-
s3Destination?: Destination;
|
|
2228
|
-
filterCriteria?: ResourceFilterCriteria;
|
|
2234
|
+
reportId?: string | undefined;
|
|
2235
|
+
format?: SbomReportFormat | undefined;
|
|
2236
|
+
status?: ExternalReportStatus | undefined;
|
|
2237
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
2238
|
+
errorMessage?: string | undefined;
|
|
2239
|
+
s3Destination?: Destination | undefined;
|
|
2240
|
+
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
2229
2241
|
}
|
|
2230
2242
|
export declare const Service: {
|
|
2231
2243
|
readonly EC2: "EC2";
|
|
@@ -2234,9 +2246,9 @@ export declare const Service: {
|
|
|
2234
2246
|
};
|
|
2235
2247
|
export type Service = (typeof Service)[keyof typeof Service];
|
|
2236
2248
|
export interface ListAccountPermissionsRequest {
|
|
2237
|
-
service?: Service;
|
|
2238
|
-
maxResults?: number;
|
|
2239
|
-
nextToken?: string;
|
|
2249
|
+
service?: Service | undefined;
|
|
2250
|
+
maxResults?: number | undefined;
|
|
2251
|
+
nextToken?: string | undefined;
|
|
2240
2252
|
}
|
|
2241
2253
|
export declare const Operation: {
|
|
2242
2254
|
readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
|
|
@@ -2251,33 +2263,33 @@ export interface Permission {
|
|
|
2251
2263
|
}
|
|
2252
2264
|
export interface ListAccountPermissionsResponse {
|
|
2253
2265
|
permissions: Permission[] | undefined;
|
|
2254
|
-
nextToken?: string;
|
|
2266
|
+
nextToken?: string | undefined;
|
|
2255
2267
|
}
|
|
2256
2268
|
export interface ListCisScanConfigurationsFilterCriteria {
|
|
2257
|
-
scanNameFilters?: CisStringFilter[];
|
|
2258
|
-
targetResourceTagFilters?: TagFilter[];
|
|
2259
|
-
scanConfigurationArnFilters?: CisStringFilter[];
|
|
2269
|
+
scanNameFilters?: CisStringFilter[] | undefined;
|
|
2270
|
+
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
2271
|
+
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
2260
2272
|
}
|
|
2261
2273
|
export interface ListCisScanConfigurationsRequest {
|
|
2262
|
-
filterCriteria?: ListCisScanConfigurationsFilterCriteria;
|
|
2263
|
-
sortBy?: CisScanConfigurationsSortBy;
|
|
2264
|
-
sortOrder?: CisSortOrder;
|
|
2265
|
-
nextToken?: string;
|
|
2266
|
-
maxResults?: number;
|
|
2274
|
+
filterCriteria?: ListCisScanConfigurationsFilterCriteria | undefined;
|
|
2275
|
+
sortBy?: CisScanConfigurationsSortBy | undefined;
|
|
2276
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2277
|
+
nextToken?: string | undefined;
|
|
2278
|
+
maxResults?: number | undefined;
|
|
2267
2279
|
}
|
|
2268
2280
|
export interface ListCisScanConfigurationsResponse {
|
|
2269
|
-
scanConfigurations?: CisScanConfiguration[];
|
|
2270
|
-
nextToken?: string;
|
|
2281
|
+
scanConfigurations?: CisScanConfiguration[] | undefined;
|
|
2282
|
+
nextToken?: string | undefined;
|
|
2271
2283
|
}
|
|
2272
2284
|
export interface ListCisScanResultsAggregatedByChecksRequest {
|
|
2273
2285
|
scanArn: string | undefined;
|
|
2274
|
-
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria;
|
|
2275
|
-
sortBy?: CisScanResultsAggregatedByChecksSortBy;
|
|
2276
|
-
sortOrder?: CisSortOrder;
|
|
2277
|
-
nextToken?: string;
|
|
2278
|
-
maxResults?: number;
|
|
2286
|
+
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria | undefined;
|
|
2287
|
+
sortBy?: CisScanResultsAggregatedByChecksSortBy | undefined;
|
|
2288
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2289
|
+
nextToken?: string | undefined;
|
|
2290
|
+
maxResults?: number | undefined;
|
|
2279
2291
|
}
|
|
2280
2292
|
export interface ListCisScanResultsAggregatedByChecksResponse {
|
|
2281
|
-
checkAggregations?: CisCheckAggregation[];
|
|
2282
|
-
nextToken?: string;
|
|
2293
|
+
checkAggregations?: CisCheckAggregation[] | undefined;
|
|
2294
|
+
nextToken?: string | undefined;
|
|
2283
2295
|
}
|