@aws-sdk/client-inspector2 3.689.0 → 3.692.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-types/models/models_0.d.ts +496 -496
- package/dist-types/models/models_1.d.ts +122 -122
- package/dist-types/ts3.4/models/models_0.d.ts +500 -496
- package/dist-types/ts3.4/models/models_1.d.ts +124 -122
- package/package.json +35 -35
|
@@ -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";
|
|
@@ -872,9 +872,9 @@ export declare const Runtime: {
|
|
|
872
872
|
};
|
|
873
873
|
export type Runtime = (typeof Runtime)[keyof typeof Runtime];
|
|
874
874
|
export interface LambdaVpcConfig {
|
|
875
|
-
subnetIds?: string[];
|
|
876
|
-
securityGroupIds?: string[];
|
|
877
|
-
vpcId?: string;
|
|
875
|
+
subnetIds?: string[] | undefined;
|
|
876
|
+
securityGroupIds?: string[] | undefined;
|
|
877
|
+
vpcId?: string | undefined;
|
|
878
878
|
}
|
|
879
879
|
export interface AwsLambdaFunctionDetails {
|
|
880
880
|
functionName: string | undefined;
|
|
@@ -882,11 +882,11 @@ export interface AwsLambdaFunctionDetails {
|
|
|
882
882
|
codeSha256: string | undefined;
|
|
883
883
|
version: string | undefined;
|
|
884
884
|
executionRoleArn: string | undefined;
|
|
885
|
-
layers?: string[];
|
|
886
|
-
vpcConfig?: LambdaVpcConfig;
|
|
887
|
-
packageType?: PackageType;
|
|
888
|
-
architectures?: Architecture[];
|
|
889
|
-
lastModifiedAt?: Date;
|
|
885
|
+
layers?: string[] | undefined;
|
|
886
|
+
vpcConfig?: LambdaVpcConfig | undefined;
|
|
887
|
+
packageType?: PackageType | undefined;
|
|
888
|
+
architectures?: Architecture[] | undefined;
|
|
889
|
+
lastModifiedAt?: Date | undefined;
|
|
890
890
|
}
|
|
891
891
|
export declare class BadRequestException extends __BaseException {
|
|
892
892
|
readonly name: "BadRequestException";
|
|
@@ -896,18 +896,18 @@ export declare class BadRequestException extends __BaseException {
|
|
|
896
896
|
);
|
|
897
897
|
}
|
|
898
898
|
export interface BatchGetAccountStatusRequest {
|
|
899
|
-
accountIds?: string[];
|
|
899
|
+
accountIds?: string[] | undefined;
|
|
900
900
|
}
|
|
901
901
|
export interface FailedAccount {
|
|
902
902
|
accountId: string | undefined;
|
|
903
|
-
status?: Status;
|
|
904
|
-
resourceStatus?: ResourceStatus;
|
|
903
|
+
status?: Status | undefined;
|
|
904
|
+
resourceStatus?: ResourceStatus | undefined;
|
|
905
905
|
errorCode: ErrorCode | undefined;
|
|
906
906
|
errorMessage: string | undefined;
|
|
907
907
|
}
|
|
908
908
|
export interface BatchGetAccountStatusResponse {
|
|
909
909
|
accounts: AccountState[] | undefined;
|
|
910
|
-
failedAccounts?: FailedAccount[];
|
|
910
|
+
failedAccounts?: FailedAccount[] | undefined;
|
|
911
911
|
}
|
|
912
912
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
913
913
|
readonly name: "ResourceNotFoundException";
|
|
@@ -924,15 +924,15 @@ export interface CodeLine {
|
|
|
924
924
|
lineNumber: number | undefined;
|
|
925
925
|
}
|
|
926
926
|
export interface SuggestedFix {
|
|
927
|
-
description?: string;
|
|
928
|
-
code?: string;
|
|
927
|
+
description?: string | undefined;
|
|
928
|
+
code?: string | undefined;
|
|
929
929
|
}
|
|
930
930
|
export interface CodeSnippetResult {
|
|
931
|
-
findingArn?: string;
|
|
932
|
-
startLine?: number;
|
|
933
|
-
endLine?: number;
|
|
934
|
-
codeSnippet?: CodeLine[];
|
|
935
|
-
suggestedFixes?: SuggestedFix[];
|
|
931
|
+
findingArn?: string | undefined;
|
|
932
|
+
startLine?: number | undefined;
|
|
933
|
+
endLine?: number | undefined;
|
|
934
|
+
codeSnippet?: CodeLine[] | undefined;
|
|
935
|
+
suggestedFixes?: SuggestedFix[] | undefined;
|
|
936
936
|
}
|
|
937
937
|
export declare const CodeSnippetErrorCode: {
|
|
938
938
|
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
@@ -948,8 +948,8 @@ export interface CodeSnippetError {
|
|
|
948
948
|
errorMessage: string | undefined;
|
|
949
949
|
}
|
|
950
950
|
export interface BatchGetCodeSnippetResponse {
|
|
951
|
-
codeSnippetResults?: CodeSnippetResult[];
|
|
952
|
-
errors?: CodeSnippetError[];
|
|
951
|
+
codeSnippetResults?: CodeSnippetResult[] | undefined;
|
|
952
|
+
errors?: CodeSnippetError[] | undefined;
|
|
953
953
|
}
|
|
954
954
|
export interface BatchGetFindingDetailsRequest {
|
|
955
955
|
findingArns: string[] | undefined;
|
|
@@ -968,34 +968,34 @@ export interface FindingDetailsError {
|
|
|
968
968
|
errorMessage: string | undefined;
|
|
969
969
|
}
|
|
970
970
|
export interface CisaData {
|
|
971
|
-
dateAdded?: Date;
|
|
972
|
-
dateDue?: Date;
|
|
973
|
-
action?: string;
|
|
971
|
+
dateAdded?: Date | undefined;
|
|
972
|
+
dateDue?: Date | undefined;
|
|
973
|
+
action?: string | undefined;
|
|
974
974
|
}
|
|
975
975
|
export interface Evidence {
|
|
976
|
-
evidenceRule?: string;
|
|
977
|
-
evidenceDetail?: string;
|
|
978
|
-
severity?: string;
|
|
976
|
+
evidenceRule?: string | undefined;
|
|
977
|
+
evidenceDetail?: string | undefined;
|
|
978
|
+
severity?: string | undefined;
|
|
979
979
|
}
|
|
980
980
|
export interface ExploitObserved {
|
|
981
|
-
lastSeen?: Date;
|
|
982
|
-
firstSeen?: Date;
|
|
981
|
+
lastSeen?: Date | undefined;
|
|
982
|
+
firstSeen?: Date | undefined;
|
|
983
983
|
}
|
|
984
984
|
export interface FindingDetail {
|
|
985
|
-
findingArn?: string;
|
|
986
|
-
cisaData?: CisaData;
|
|
987
|
-
riskScore?: number;
|
|
988
|
-
evidences?: Evidence[];
|
|
989
|
-
ttps?: string[];
|
|
990
|
-
tools?: string[];
|
|
991
|
-
exploitObserved?: ExploitObserved;
|
|
992
|
-
referenceUrls?: string[];
|
|
993
|
-
cwes?: string[];
|
|
994
|
-
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;
|
|
995
995
|
}
|
|
996
996
|
export interface BatchGetFindingDetailsResponse {
|
|
997
|
-
findingDetails?: FindingDetail[];
|
|
998
|
-
errors?: FindingDetailsError[];
|
|
997
|
+
findingDetails?: FindingDetail[] | undefined;
|
|
998
|
+
errors?: FindingDetailsError[] | undefined;
|
|
999
999
|
}
|
|
1000
1000
|
export interface BatchGetFreeTrialInfoRequest {
|
|
1001
1001
|
accountIds: string[] | undefined;
|
|
@@ -1039,7 +1039,7 @@ export interface BatchGetFreeTrialInfoResponse {
|
|
|
1039
1039
|
failedAccounts: FreeTrialInfoError[] | undefined;
|
|
1040
1040
|
}
|
|
1041
1041
|
export interface BatchGetMemberEc2DeepInspectionStatusRequest {
|
|
1042
|
-
accountIds?: string[];
|
|
1042
|
+
accountIds?: string[] | undefined;
|
|
1043
1043
|
}
|
|
1044
1044
|
export declare const Ec2DeepInspectionStatus: {
|
|
1045
1045
|
readonly ACTIVATED: "ACTIVATED";
|
|
@@ -1051,17 +1051,19 @@ export type Ec2DeepInspectionStatus =
|
|
|
1051
1051
|
(typeof Ec2DeepInspectionStatus)[keyof typeof Ec2DeepInspectionStatus];
|
|
1052
1052
|
export interface MemberAccountEc2DeepInspectionStatusState {
|
|
1053
1053
|
accountId: string | undefined;
|
|
1054
|
-
status?: Ec2DeepInspectionStatus;
|
|
1055
|
-
errorMessage?: string;
|
|
1054
|
+
status?: Ec2DeepInspectionStatus | undefined;
|
|
1055
|
+
errorMessage?: string | undefined;
|
|
1056
1056
|
}
|
|
1057
1057
|
export interface FailedMemberAccountEc2DeepInspectionStatusState {
|
|
1058
1058
|
accountId: string | undefined;
|
|
1059
|
-
ec2ScanStatus?: Status;
|
|
1060
|
-
errorMessage?: string;
|
|
1059
|
+
ec2ScanStatus?: Status | undefined;
|
|
1060
|
+
errorMessage?: string | undefined;
|
|
1061
1061
|
}
|
|
1062
1062
|
export interface BatchGetMemberEc2DeepInspectionStatusResponse {
|
|
1063
|
-
accountIds?: MemberAccountEc2DeepInspectionStatusState[];
|
|
1064
|
-
failedAccountIds?:
|
|
1063
|
+
accountIds?: MemberAccountEc2DeepInspectionStatusState[] | undefined;
|
|
1064
|
+
failedAccountIds?:
|
|
1065
|
+
| FailedMemberAccountEc2DeepInspectionStatusState[]
|
|
1066
|
+
| undefined;
|
|
1065
1067
|
}
|
|
1066
1068
|
export interface MemberAccountEc2DeepInspectionStatus {
|
|
1067
1069
|
accountId: string | undefined;
|
|
@@ -1071,8 +1073,10 @@ export interface BatchUpdateMemberEc2DeepInspectionStatusRequest {
|
|
|
1071
1073
|
accountIds: MemberAccountEc2DeepInspectionStatus[] | undefined;
|
|
1072
1074
|
}
|
|
1073
1075
|
export interface BatchUpdateMemberEc2DeepInspectionStatusResponse {
|
|
1074
|
-
accountIds?: MemberAccountEc2DeepInspectionStatusState[];
|
|
1075
|
-
failedAccountIds?:
|
|
1076
|
+
accountIds?: MemberAccountEc2DeepInspectionStatusState[] | undefined;
|
|
1077
|
+
failedAccountIds?:
|
|
1078
|
+
| FailedMemberAccountEc2DeepInspectionStatusState[]
|
|
1079
|
+
| undefined;
|
|
1076
1080
|
}
|
|
1077
1081
|
export interface CancelFindingsReportRequest {
|
|
1078
1082
|
reportId: string | undefined;
|
|
@@ -1084,7 +1088,7 @@ export interface CancelSbomExportRequest {
|
|
|
1084
1088
|
reportId: string | undefined;
|
|
1085
1089
|
}
|
|
1086
1090
|
export interface CancelSbomExportResponse {
|
|
1087
|
-
reportId?: string;
|
|
1091
|
+
reportId?: string | undefined;
|
|
1088
1092
|
}
|
|
1089
1093
|
export declare const CisSecurityLevel: {
|
|
1090
1094
|
readonly LEVEL_1: "LEVEL_1";
|
|
@@ -1093,23 +1097,23 @@ export declare const CisSecurityLevel: {
|
|
|
1093
1097
|
export type CisSecurityLevel =
|
|
1094
1098
|
(typeof CisSecurityLevel)[keyof typeof CisSecurityLevel];
|
|
1095
1099
|
export interface StatusCounts {
|
|
1096
|
-
failed?: number;
|
|
1097
|
-
skipped?: number;
|
|
1098
|
-
passed?: number;
|
|
1100
|
+
failed?: number | undefined;
|
|
1101
|
+
skipped?: number | undefined;
|
|
1102
|
+
passed?: number | undefined;
|
|
1099
1103
|
}
|
|
1100
1104
|
export interface CisCheckAggregation {
|
|
1101
1105
|
scanArn: string | undefined;
|
|
1102
|
-
checkId?: string;
|
|
1103
|
-
title?: string;
|
|
1104
|
-
checkDescription?: string;
|
|
1105
|
-
level?: CisSecurityLevel;
|
|
1106
|
-
accountId?: string;
|
|
1107
|
-
statusCounts?: StatusCounts;
|
|
1108
|
-
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;
|
|
1109
1113
|
}
|
|
1110
1114
|
export interface CisDateFilter {
|
|
1111
|
-
earliestScanStartTime?: Date;
|
|
1112
|
-
latestScanStartTime?: Date;
|
|
1115
|
+
earliestScanStartTime?: Date | undefined;
|
|
1116
|
+
latestScanStartTime?: Date | undefined;
|
|
1113
1117
|
}
|
|
1114
1118
|
export declare const CisFindingStatus: {
|
|
1115
1119
|
readonly FAILED: "FAILED";
|
|
@@ -1128,8 +1132,8 @@ export interface CisFindingStatusFilter {
|
|
|
1128
1132
|
value: CisFindingStatus | undefined;
|
|
1129
1133
|
}
|
|
1130
1134
|
export interface CisNumberFilter {
|
|
1131
|
-
upperInclusive?: number;
|
|
1132
|
-
lowerInclusive?: number;
|
|
1135
|
+
upperInclusive?: number | undefined;
|
|
1136
|
+
lowerInclusive?: number | undefined;
|
|
1133
1137
|
}
|
|
1134
1138
|
export declare const CisReportFormat: {
|
|
1135
1139
|
readonly CSV: "CSV";
|
|
@@ -1178,20 +1182,20 @@ export declare const CisScanStatus: {
|
|
|
1178
1182
|
};
|
|
1179
1183
|
export type CisScanStatus = (typeof CisScanStatus)[keyof typeof CisScanStatus];
|
|
1180
1184
|
export interface CisTargets {
|
|
1181
|
-
accountIds?: string[];
|
|
1182
|
-
targetResourceTags?: Record<string, string[]
|
|
1185
|
+
accountIds?: string[] | undefined;
|
|
1186
|
+
targetResourceTags?: Record<string, string[]> | undefined;
|
|
1183
1187
|
}
|
|
1184
1188
|
export interface CisScan {
|
|
1185
1189
|
scanArn: string | undefined;
|
|
1186
1190
|
scanConfigurationArn: string | undefined;
|
|
1187
|
-
status?: CisScanStatus;
|
|
1188
|
-
scanName?: string;
|
|
1189
|
-
scanDate?: Date;
|
|
1190
|
-
failedChecks?: number;
|
|
1191
|
-
totalChecks?: number;
|
|
1192
|
-
targets?: CisTargets;
|
|
1193
|
-
scheduledBy?: string;
|
|
1194
|
-
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;
|
|
1195
1199
|
}
|
|
1196
1200
|
export interface Time {
|
|
1197
1201
|
timeOfDay: string | undefined;
|
|
@@ -1272,12 +1276,12 @@ export declare namespace Schedule {
|
|
|
1272
1276
|
}
|
|
1273
1277
|
export interface CisScanConfiguration {
|
|
1274
1278
|
scanConfigurationArn: string | undefined;
|
|
1275
|
-
ownerId?: string;
|
|
1276
|
-
scanName?: string;
|
|
1277
|
-
securityLevel?: CisSecurityLevel;
|
|
1278
|
-
schedule?: Schedule;
|
|
1279
|
-
targets?: CisTargets;
|
|
1280
|
-
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;
|
|
1281
1285
|
}
|
|
1282
1286
|
export declare const CisScanConfigurationsSortBy: {
|
|
1283
1287
|
readonly SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN";
|
|
@@ -1287,17 +1291,17 @@ export type CisScanConfigurationsSortBy =
|
|
|
1287
1291
|
(typeof CisScanConfigurationsSortBy)[keyof typeof CisScanConfigurationsSortBy];
|
|
1288
1292
|
export interface CisScanResultDetails {
|
|
1289
1293
|
scanArn: string | undefined;
|
|
1290
|
-
accountId?: string;
|
|
1291
|
-
targetResourceId?: string;
|
|
1292
|
-
platform?: string;
|
|
1293
|
-
status?: CisFindingStatus;
|
|
1294
|
-
statusReason?: string;
|
|
1295
|
-
checkId?: string;
|
|
1296
|
-
title?: string;
|
|
1297
|
-
checkDescription?: string;
|
|
1298
|
-
remediation?: string;
|
|
1299
|
-
level?: CisSecurityLevel;
|
|
1300
|
-
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;
|
|
1301
1305
|
}
|
|
1302
1306
|
export declare const CisSecurityLevelComparison: {
|
|
1303
1307
|
readonly EQUALS: "EQUALS";
|
|
@@ -1309,11 +1313,11 @@ export interface CisSecurityLevelFilter {
|
|
|
1309
1313
|
value: CisSecurityLevel | undefined;
|
|
1310
1314
|
}
|
|
1311
1315
|
export interface CisScanResultDetailsFilterCriteria {
|
|
1312
|
-
findingStatusFilters?: CisFindingStatusFilter[];
|
|
1313
|
-
checkIdFilters?: CisStringFilter[];
|
|
1314
|
-
titleFilters?: CisStringFilter[];
|
|
1315
|
-
securityLevelFilters?: CisSecurityLevelFilter[];
|
|
1316
|
-
findingArnFilters?: CisStringFilter[];
|
|
1316
|
+
findingStatusFilters?: CisFindingStatusFilter[] | undefined;
|
|
1317
|
+
checkIdFilters?: CisStringFilter[] | undefined;
|
|
1318
|
+
titleFilters?: CisStringFilter[] | undefined;
|
|
1319
|
+
securityLevelFilters?: CisSecurityLevelFilter[] | undefined;
|
|
1320
|
+
findingArnFilters?: CisStringFilter[] | undefined;
|
|
1317
1321
|
}
|
|
1318
1322
|
export declare const CisScanResultDetailsSortBy: {
|
|
1319
1323
|
readonly CHECK_ID: "CHECK_ID";
|
|
@@ -1322,12 +1326,12 @@ export declare const CisScanResultDetailsSortBy: {
|
|
|
1322
1326
|
export type CisScanResultDetailsSortBy =
|
|
1323
1327
|
(typeof CisScanResultDetailsSortBy)[keyof typeof CisScanResultDetailsSortBy];
|
|
1324
1328
|
export interface CisScanResultsAggregatedByChecksFilterCriteria {
|
|
1325
|
-
accountIdFilters?: CisStringFilter[];
|
|
1326
|
-
checkIdFilters?: CisStringFilter[];
|
|
1327
|
-
titleFilters?: CisStringFilter[];
|
|
1328
|
-
platformFilters?: CisStringFilter[];
|
|
1329
|
-
failedResourcesFilters?: CisNumberFilter[];
|
|
1330
|
-
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;
|
|
1331
1335
|
}
|
|
1332
1336
|
export declare const CisScanResultsAggregatedByChecksSortBy: {
|
|
1333
1337
|
readonly CHECK_ID: "CHECK_ID";
|
|
@@ -1375,15 +1379,15 @@ export interface CisTargetStatusReasonFilter {
|
|
|
1375
1379
|
value: CisTargetStatusReason | undefined;
|
|
1376
1380
|
}
|
|
1377
1381
|
export interface CisScanResultsAggregatedByTargetResourceFilterCriteria {
|
|
1378
|
-
accountIdFilters?: CisStringFilter[];
|
|
1379
|
-
statusFilters?: CisResultStatusFilter[];
|
|
1380
|
-
checkIdFilters?: CisStringFilter[];
|
|
1381
|
-
targetResourceIdFilters?: CisStringFilter[];
|
|
1382
|
-
targetResourceTagFilters?: TagFilter[];
|
|
1383
|
-
platformFilters?: CisStringFilter[];
|
|
1384
|
-
targetStatusFilters?: CisTargetStatusFilter[];
|
|
1385
|
-
targetStatusReasonFilters?: CisTargetStatusReasonFilter[];
|
|
1386
|
-
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;
|
|
1387
1391
|
}
|
|
1388
1392
|
export declare const CisScanResultsAggregatedByTargetResourceSortBy: {
|
|
1389
1393
|
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
@@ -1416,13 +1420,13 @@ export declare const CisSortOrder: {
|
|
|
1416
1420
|
export type CisSortOrder = (typeof CisSortOrder)[keyof typeof CisSortOrder];
|
|
1417
1421
|
export interface CisTargetResourceAggregation {
|
|
1418
1422
|
scanArn: string | undefined;
|
|
1419
|
-
targetResourceId?: string;
|
|
1420
|
-
accountId?: string;
|
|
1421
|
-
targetResourceTags?: Record<string, string[]
|
|
1422
|
-
statusCounts?: StatusCounts;
|
|
1423
|
-
platform?: string;
|
|
1424
|
-
targetStatus?: CisTargetStatus;
|
|
1425
|
-
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;
|
|
1426
1430
|
}
|
|
1427
1431
|
export interface CodeFilePath {
|
|
1428
1432
|
fileName: string | undefined;
|
|
@@ -1432,18 +1436,18 @@ export interface CodeFilePath {
|
|
|
1432
1436
|
}
|
|
1433
1437
|
export interface CodeVulnerabilityDetails {
|
|
1434
1438
|
filePath: CodeFilePath | undefined;
|
|
1435
|
-
detectorTags?: string[];
|
|
1436
|
-
referenceUrls?: string[];
|
|
1437
|
-
ruleId?: string;
|
|
1438
|
-
sourceLambdaLayerArn?: string;
|
|
1439
|
+
detectorTags?: string[] | undefined;
|
|
1440
|
+
referenceUrls?: string[] | undefined;
|
|
1441
|
+
ruleId?: string | undefined;
|
|
1442
|
+
sourceLambdaLayerArn?: string | undefined;
|
|
1439
1443
|
detectorId: string | undefined;
|
|
1440
1444
|
detectorName: string | undefined;
|
|
1441
1445
|
cwes: string[] | undefined;
|
|
1442
1446
|
}
|
|
1443
1447
|
export interface ComputePlatform {
|
|
1444
|
-
vendor?: string;
|
|
1445
|
-
product?: string;
|
|
1446
|
-
version?: string;
|
|
1448
|
+
vendor?: string | undefined;
|
|
1449
|
+
product?: string | undefined;
|
|
1450
|
+
version?: string | undefined;
|
|
1447
1451
|
}
|
|
1448
1452
|
export declare class ConflictException extends __BaseException {
|
|
1449
1453
|
readonly name: "ConflictException";
|
|
@@ -1461,12 +1465,12 @@ export declare const GroupKey: {
|
|
|
1461
1465
|
};
|
|
1462
1466
|
export type GroupKey = (typeof GroupKey)[keyof typeof GroupKey];
|
|
1463
1467
|
export interface Counts {
|
|
1464
|
-
count?: number;
|
|
1465
|
-
groupKey?: GroupKey;
|
|
1468
|
+
count?: number | undefined;
|
|
1469
|
+
groupKey?: GroupKey | undefined;
|
|
1466
1470
|
}
|
|
1467
1471
|
export interface CoverageDateFilter {
|
|
1468
|
-
startInclusive?: Date;
|
|
1469
|
-
endInclusive?: Date;
|
|
1472
|
+
startInclusive?: Date | undefined;
|
|
1473
|
+
endInclusive?: Date | undefined;
|
|
1470
1474
|
}
|
|
1471
1475
|
export declare const CoverageStringComparison: {
|
|
1472
1476
|
readonly EQUALS: "EQUALS";
|
|
@@ -1486,24 +1490,24 @@ export type CoverageMapComparison =
|
|
|
1486
1490
|
export interface CoverageMapFilter {
|
|
1487
1491
|
comparison: CoverageMapComparison | undefined;
|
|
1488
1492
|
key: string | undefined;
|
|
1489
|
-
value?: string;
|
|
1493
|
+
value?: string | undefined;
|
|
1490
1494
|
}
|
|
1491
1495
|
export interface CoverageFilterCriteria {
|
|
1492
|
-
scanStatusCode?: CoverageStringFilter[];
|
|
1493
|
-
scanStatusReason?: CoverageStringFilter[];
|
|
1494
|
-
accountId?: CoverageStringFilter[];
|
|
1495
|
-
resourceId?: CoverageStringFilter[];
|
|
1496
|
-
resourceType?: CoverageStringFilter[];
|
|
1497
|
-
scanType?: CoverageStringFilter[];
|
|
1498
|
-
ecrRepositoryName?: CoverageStringFilter[];
|
|
1499
|
-
ecrImageTags?: CoverageStringFilter[];
|
|
1500
|
-
ec2InstanceTags?: CoverageMapFilter[];
|
|
1501
|
-
lambdaFunctionName?: CoverageStringFilter[];
|
|
1502
|
-
lambdaFunctionTags?: CoverageMapFilter[];
|
|
1503
|
-
lambdaFunctionRuntime?: CoverageStringFilter[];
|
|
1504
|
-
lastScannedAt?: CoverageDateFilter[];
|
|
1505
|
-
scanMode?: CoverageStringFilter[];
|
|
1506
|
-
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;
|
|
1507
1511
|
}
|
|
1508
1512
|
export declare const CoverageResourceType: {
|
|
1509
1513
|
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
@@ -1521,13 +1525,13 @@ export declare const Ec2Platform: {
|
|
|
1521
1525
|
};
|
|
1522
1526
|
export type Ec2Platform = (typeof Ec2Platform)[keyof typeof Ec2Platform];
|
|
1523
1527
|
export interface Ec2Metadata {
|
|
1524
|
-
tags?: Record<string, string
|
|
1525
|
-
amiId?: string;
|
|
1526
|
-
platform?: Ec2Platform;
|
|
1528
|
+
tags?: Record<string, string> | undefined;
|
|
1529
|
+
amiId?: string | undefined;
|
|
1530
|
+
platform?: Ec2Platform | undefined;
|
|
1527
1531
|
}
|
|
1528
1532
|
export interface EcrContainerImageMetadata {
|
|
1529
|
-
tags?: string[];
|
|
1530
|
-
imagePulledAt?: Date;
|
|
1533
|
+
tags?: string[] | undefined;
|
|
1534
|
+
imagePulledAt?: Date | undefined;
|
|
1531
1535
|
}
|
|
1532
1536
|
export declare const EcrScanFrequency: {
|
|
1533
1537
|
readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
|
|
@@ -1537,20 +1541,20 @@ export declare const EcrScanFrequency: {
|
|
|
1537
1541
|
export type EcrScanFrequency =
|
|
1538
1542
|
(typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
|
|
1539
1543
|
export interface EcrRepositoryMetadata {
|
|
1540
|
-
name?: string;
|
|
1541
|
-
scanFrequency?: EcrScanFrequency;
|
|
1544
|
+
name?: string | undefined;
|
|
1545
|
+
scanFrequency?: EcrScanFrequency | undefined;
|
|
1542
1546
|
}
|
|
1543
1547
|
export interface LambdaFunctionMetadata {
|
|
1544
|
-
functionTags?: Record<string, string
|
|
1545
|
-
layers?: string[];
|
|
1546
|
-
functionName?: string;
|
|
1547
|
-
runtime?: Runtime;
|
|
1548
|
+
functionTags?: Record<string, string> | undefined;
|
|
1549
|
+
layers?: string[] | undefined;
|
|
1550
|
+
functionName?: string | undefined;
|
|
1551
|
+
runtime?: Runtime | undefined;
|
|
1548
1552
|
}
|
|
1549
1553
|
export interface ResourceScanMetadata {
|
|
1550
|
-
ecrRepository?: EcrRepositoryMetadata;
|
|
1551
|
-
ecrImage?: EcrContainerImageMetadata;
|
|
1552
|
-
ec2?: Ec2Metadata;
|
|
1553
|
-
lambdaFunction?: LambdaFunctionMetadata;
|
|
1554
|
+
ecrRepository?: EcrRepositoryMetadata | undefined;
|
|
1555
|
+
ecrImage?: EcrContainerImageMetadata | undefined;
|
|
1556
|
+
ec2?: Ec2Metadata | undefined;
|
|
1557
|
+
lambdaFunction?: LambdaFunctionMetadata | undefined;
|
|
1554
1558
|
}
|
|
1555
1559
|
export declare const ScanMode: {
|
|
1556
1560
|
readonly EC2_AGENTLESS: "EC2_AGENTLESS";
|
|
@@ -1608,10 +1612,10 @@ export interface CoveredResource {
|
|
|
1608
1612
|
resourceId: string | undefined;
|
|
1609
1613
|
accountId: string | undefined;
|
|
1610
1614
|
scanType: ScanType | undefined;
|
|
1611
|
-
scanStatus?: ScanStatus;
|
|
1612
|
-
resourceMetadata?: ResourceScanMetadata;
|
|
1613
|
-
lastScannedAt?: Date;
|
|
1614
|
-
scanMode?: ScanMode;
|
|
1615
|
+
scanStatus?: ScanStatus | undefined;
|
|
1616
|
+
resourceMetadata?: ResourceScanMetadata | undefined;
|
|
1617
|
+
lastScannedAt?: Date | undefined;
|
|
1618
|
+
scanMode?: ScanMode | undefined;
|
|
1615
1619
|
}
|
|
1616
1620
|
export interface CreateCisTargets {
|
|
1617
1621
|
accountIds: string[] | undefined;
|
|
@@ -1622,10 +1626,10 @@ export interface CreateCisScanConfigurationRequest {
|
|
|
1622
1626
|
securityLevel: CisSecurityLevel | undefined;
|
|
1623
1627
|
schedule: Schedule | undefined;
|
|
1624
1628
|
targets: CreateCisTargets | undefined;
|
|
1625
|
-
tags?: Record<string, string
|
|
1629
|
+
tags?: Record<string, string> | undefined;
|
|
1626
1630
|
}
|
|
1627
1631
|
export interface CreateCisScanConfigurationResponse {
|
|
1628
|
-
scanConfigurationArn?: string;
|
|
1632
|
+
scanConfigurationArn?: string | undefined;
|
|
1629
1633
|
}
|
|
1630
1634
|
export declare const FilterAction: {
|
|
1631
1635
|
readonly NONE: "NONE";
|
|
@@ -1633,78 +1637,78 @@ export declare const FilterAction: {
|
|
|
1633
1637
|
};
|
|
1634
1638
|
export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
|
|
1635
1639
|
export interface DateFilter {
|
|
1636
|
-
startInclusive?: Date;
|
|
1637
|
-
endInclusive?: Date;
|
|
1640
|
+
startInclusive?: Date | undefined;
|
|
1641
|
+
endInclusive?: Date | undefined;
|
|
1638
1642
|
}
|
|
1639
1643
|
export interface NumberFilter {
|
|
1640
|
-
upperInclusive?: number;
|
|
1641
|
-
lowerInclusive?: number;
|
|
1644
|
+
upperInclusive?: number | undefined;
|
|
1645
|
+
lowerInclusive?: number | undefined;
|
|
1642
1646
|
}
|
|
1643
1647
|
export interface PortRangeFilter {
|
|
1644
|
-
beginInclusive?: number;
|
|
1645
|
-
endInclusive?: number;
|
|
1648
|
+
beginInclusive?: number | undefined;
|
|
1649
|
+
endInclusive?: number | undefined;
|
|
1646
1650
|
}
|
|
1647
1651
|
export interface PackageFilter {
|
|
1648
|
-
name?: StringFilter;
|
|
1649
|
-
version?: StringFilter;
|
|
1650
|
-
epoch?: NumberFilter;
|
|
1651
|
-
release?: StringFilter;
|
|
1652
|
-
architecture?: StringFilter;
|
|
1653
|
-
sourceLayerHash?: StringFilter;
|
|
1654
|
-
sourceLambdaLayerArn?: StringFilter;
|
|
1655
|
-
filePath?: 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;
|
|
1656
1660
|
}
|
|
1657
1661
|
export interface FilterCriteria {
|
|
1658
|
-
findingArn?: StringFilter[];
|
|
1659
|
-
awsAccountId?: StringFilter[];
|
|
1660
|
-
findingType?: StringFilter[];
|
|
1661
|
-
severity?: StringFilter[];
|
|
1662
|
-
firstObservedAt?: DateFilter[];
|
|
1663
|
-
lastObservedAt?: DateFilter[];
|
|
1664
|
-
updatedAt?: DateFilter[];
|
|
1665
|
-
findingStatus?: StringFilter[];
|
|
1666
|
-
title?: StringFilter[];
|
|
1667
|
-
inspectorScore?: NumberFilter[];
|
|
1668
|
-
resourceType?: StringFilter[];
|
|
1669
|
-
resourceId?: StringFilter[];
|
|
1670
|
-
resourceTags?: MapFilter[];
|
|
1671
|
-
ec2InstanceImageId?: StringFilter[];
|
|
1672
|
-
ec2InstanceVpcId?: StringFilter[];
|
|
1673
|
-
ec2InstanceSubnetId?: StringFilter[];
|
|
1674
|
-
ecrImagePushedAt?: DateFilter[];
|
|
1675
|
-
ecrImageArchitecture?: StringFilter[];
|
|
1676
|
-
ecrImageRegistry?: StringFilter[];
|
|
1677
|
-
ecrImageRepositoryName?: StringFilter[];
|
|
1678
|
-
ecrImageTags?: StringFilter[];
|
|
1679
|
-
ecrImageHash?: StringFilter[];
|
|
1680
|
-
portRange?: PortRangeFilter[];
|
|
1681
|
-
networkProtocol?: StringFilter[];
|
|
1682
|
-
componentId?: StringFilter[];
|
|
1683
|
-
componentType?: StringFilter[];
|
|
1684
|
-
vulnerabilityId?: StringFilter[];
|
|
1685
|
-
vulnerabilitySource?: StringFilter[];
|
|
1686
|
-
vendorSeverity?: StringFilter[];
|
|
1687
|
-
vulnerablePackages?: PackageFilter[];
|
|
1688
|
-
relatedVulnerabilities?: StringFilter[];
|
|
1689
|
-
fixAvailable?: StringFilter[];
|
|
1690
|
-
lambdaFunctionName?: StringFilter[];
|
|
1691
|
-
lambdaFunctionLayers?: StringFilter[];
|
|
1692
|
-
lambdaFunctionRuntime?: StringFilter[];
|
|
1693
|
-
lambdaFunctionLastModifiedAt?: DateFilter[];
|
|
1694
|
-
lambdaFunctionExecutionRoleArn?: StringFilter[];
|
|
1695
|
-
exploitAvailable?: StringFilter[];
|
|
1696
|
-
codeVulnerabilityDetectorName?: StringFilter[];
|
|
1697
|
-
codeVulnerabilityDetectorTags?: StringFilter[];
|
|
1698
|
-
codeVulnerabilityFilePath?: StringFilter[];
|
|
1699
|
-
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;
|
|
1700
1704
|
}
|
|
1701
1705
|
export interface CreateFilterRequest {
|
|
1702
1706
|
action: FilterAction | undefined;
|
|
1703
|
-
description?: string;
|
|
1707
|
+
description?: string | undefined;
|
|
1704
1708
|
filterCriteria: FilterCriteria | undefined;
|
|
1705
1709
|
name: string | undefined;
|
|
1706
|
-
tags?: Record<string, string
|
|
1707
|
-
reason?: string;
|
|
1710
|
+
tags?: Record<string, string> | undefined;
|
|
1711
|
+
reason?: string | undefined;
|
|
1708
1712
|
}
|
|
1709
1713
|
export interface CreateFilterResponse {
|
|
1710
1714
|
arn: string | undefined;
|
|
@@ -1724,16 +1728,16 @@ export declare const ReportFormat: {
|
|
|
1724
1728
|
export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
|
|
1725
1729
|
export interface Destination {
|
|
1726
1730
|
bucketName: string | undefined;
|
|
1727
|
-
keyPrefix?: string;
|
|
1731
|
+
keyPrefix?: string | undefined;
|
|
1728
1732
|
kmsKeyArn: string | undefined;
|
|
1729
1733
|
}
|
|
1730
1734
|
export interface CreateFindingsReportRequest {
|
|
1731
|
-
filterCriteria?: FilterCriteria;
|
|
1735
|
+
filterCriteria?: FilterCriteria | undefined;
|
|
1732
1736
|
reportFormat: ReportFormat | undefined;
|
|
1733
1737
|
s3Destination: Destination | undefined;
|
|
1734
1738
|
}
|
|
1735
1739
|
export interface CreateFindingsReportResponse {
|
|
1736
|
-
reportId?: string;
|
|
1740
|
+
reportId?: string | undefined;
|
|
1737
1741
|
}
|
|
1738
1742
|
export declare const SbomReportFormat: {
|
|
1739
1743
|
readonly CYCLONEDX_1_4: "CYCLONEDX_1_4";
|
|
@@ -1759,37 +1763,37 @@ export type ResourceMapComparison =
|
|
|
1759
1763
|
export interface ResourceMapFilter {
|
|
1760
1764
|
comparison: ResourceMapComparison | undefined;
|
|
1761
1765
|
key: string | undefined;
|
|
1762
|
-
value?: string;
|
|
1766
|
+
value?: string | undefined;
|
|
1763
1767
|
}
|
|
1764
1768
|
export interface ResourceFilterCriteria {
|
|
1765
|
-
accountId?: ResourceStringFilter[];
|
|
1766
|
-
resourceId?: ResourceStringFilter[];
|
|
1767
|
-
resourceType?: ResourceStringFilter[];
|
|
1768
|
-
ecrRepositoryName?: ResourceStringFilter[];
|
|
1769
|
-
lambdaFunctionName?: ResourceStringFilter[];
|
|
1770
|
-
ecrImageTags?: ResourceStringFilter[];
|
|
1771
|
-
ec2InstanceTags?: ResourceMapFilter[];
|
|
1772
|
-
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;
|
|
1773
1777
|
}
|
|
1774
1778
|
export interface CreateSbomExportRequest {
|
|
1775
|
-
resourceFilterCriteria?: ResourceFilterCriteria;
|
|
1779
|
+
resourceFilterCriteria?: ResourceFilterCriteria | undefined;
|
|
1776
1780
|
reportFormat: SbomReportFormat | undefined;
|
|
1777
1781
|
s3Destination: Destination | undefined;
|
|
1778
1782
|
}
|
|
1779
1783
|
export interface CreateSbomExportResponse {
|
|
1780
|
-
reportId?: string;
|
|
1784
|
+
reportId?: string | undefined;
|
|
1781
1785
|
}
|
|
1782
1786
|
export declare const Currency: {
|
|
1783
1787
|
readonly USD: "USD";
|
|
1784
1788
|
};
|
|
1785
1789
|
export type Currency = (typeof Currency)[keyof typeof Currency];
|
|
1786
1790
|
export interface Cvss2 {
|
|
1787
|
-
baseScore?: number;
|
|
1788
|
-
scoringVector?: string;
|
|
1791
|
+
baseScore?: number | undefined;
|
|
1792
|
+
scoringVector?: string | undefined;
|
|
1789
1793
|
}
|
|
1790
1794
|
export interface Cvss3 {
|
|
1791
|
-
baseScore?: number;
|
|
1792
|
-
scoringVector?: string;
|
|
1795
|
+
baseScore?: number | undefined;
|
|
1796
|
+
scoringVector?: string | undefined;
|
|
1793
1797
|
}
|
|
1794
1798
|
export interface CvssScore {
|
|
1795
1799
|
baseScore: number | undefined;
|
|
@@ -1803,11 +1807,11 @@ export interface CvssScoreAdjustment {
|
|
|
1803
1807
|
}
|
|
1804
1808
|
export interface CvssScoreDetails {
|
|
1805
1809
|
scoreSource: string | undefined;
|
|
1806
|
-
cvssSource?: string;
|
|
1810
|
+
cvssSource?: string | undefined;
|
|
1807
1811
|
version: string | undefined;
|
|
1808
1812
|
score: number | undefined;
|
|
1809
1813
|
scoringVector: string | undefined;
|
|
1810
|
-
adjustments?: CvssScoreAdjustment[];
|
|
1814
|
+
adjustments?: CvssScoreAdjustment[] | undefined;
|
|
1811
1815
|
}
|
|
1812
1816
|
export declare const RelationshipStatus: {
|
|
1813
1817
|
readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
|
|
@@ -1826,8 +1830,8 @@ export declare const RelationshipStatus: {
|
|
|
1826
1830
|
export type RelationshipStatus =
|
|
1827
1831
|
(typeof RelationshipStatus)[keyof typeof RelationshipStatus];
|
|
1828
1832
|
export interface DelegatedAdmin {
|
|
1829
|
-
accountId?: string;
|
|
1830
|
-
relationshipStatus?: RelationshipStatus;
|
|
1833
|
+
accountId?: string | undefined;
|
|
1834
|
+
relationshipStatus?: RelationshipStatus | undefined;
|
|
1831
1835
|
}
|
|
1832
1836
|
export declare const DelegatedAdminStatus: {
|
|
1833
1837
|
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
@@ -1836,8 +1840,8 @@ export declare const DelegatedAdminStatus: {
|
|
|
1836
1840
|
export type DelegatedAdminStatus =
|
|
1837
1841
|
(typeof DelegatedAdminStatus)[keyof typeof DelegatedAdminStatus];
|
|
1838
1842
|
export interface DelegatedAdminAccount {
|
|
1839
|
-
accountId?: string;
|
|
1840
|
-
status?: DelegatedAdminStatus;
|
|
1843
|
+
accountId?: string | undefined;
|
|
1844
|
+
status?: DelegatedAdminStatus | undefined;
|
|
1841
1845
|
}
|
|
1842
1846
|
export interface DeleteCisScanConfigurationRequest {
|
|
1843
1847
|
scanConfigurationArn: string | undefined;
|
|
@@ -1853,8 +1857,8 @@ export interface DeleteFilterResponse {
|
|
|
1853
1857
|
}
|
|
1854
1858
|
export interface DescribeOrganizationConfigurationRequest {}
|
|
1855
1859
|
export interface DescribeOrganizationConfigurationResponse {
|
|
1856
|
-
autoEnable?: AutoEnable;
|
|
1857
|
-
maxAccountLimitReached?: boolean;
|
|
1860
|
+
autoEnable?: AutoEnable | undefined;
|
|
1861
|
+
maxAccountLimitReached?: boolean | undefined;
|
|
1858
1862
|
}
|
|
1859
1863
|
export declare const ResourceScanType: {
|
|
1860
1864
|
readonly EC2: "EC2";
|
|
@@ -1865,12 +1869,12 @@ export declare const ResourceScanType: {
|
|
|
1865
1869
|
export type ResourceScanType =
|
|
1866
1870
|
(typeof ResourceScanType)[keyof typeof ResourceScanType];
|
|
1867
1871
|
export interface DisableRequest {
|
|
1868
|
-
accountIds?: string[];
|
|
1869
|
-
resourceTypes?: ResourceScanType[];
|
|
1872
|
+
accountIds?: string[] | undefined;
|
|
1873
|
+
resourceTypes?: ResourceScanType[] | undefined;
|
|
1870
1874
|
}
|
|
1871
1875
|
export interface DisableResponse {
|
|
1872
1876
|
accounts: Account[] | undefined;
|
|
1873
|
-
failedAccounts?: FailedAccount[];
|
|
1877
|
+
failedAccounts?: FailedAccount[] | undefined;
|
|
1874
1878
|
}
|
|
1875
1879
|
export interface DisableDelegatedAdminAccountRequest {
|
|
1876
1880
|
delegatedAdminAccountId: string | undefined;
|
|
@@ -1899,11 +1903,11 @@ export declare const Ec2ScanModeStatus: {
|
|
|
1899
1903
|
export type Ec2ScanModeStatus =
|
|
1900
1904
|
(typeof Ec2ScanModeStatus)[keyof typeof Ec2ScanModeStatus];
|
|
1901
1905
|
export interface Ec2ScanModeState {
|
|
1902
|
-
scanMode?: Ec2ScanMode;
|
|
1903
|
-
scanModeStatus?: Ec2ScanModeStatus;
|
|
1906
|
+
scanMode?: Ec2ScanMode | undefined;
|
|
1907
|
+
scanModeStatus?: Ec2ScanModeStatus | undefined;
|
|
1904
1908
|
}
|
|
1905
1909
|
export interface Ec2ConfigurationState {
|
|
1906
|
-
scanModeState?: Ec2ScanModeState;
|
|
1910
|
+
scanModeState?: Ec2ScanModeState | undefined;
|
|
1907
1911
|
}
|
|
1908
1912
|
export declare const EcrPullDateRescanDuration: {
|
|
1909
1913
|
readonly DAYS_14: "DAYS_14";
|
|
@@ -1926,7 +1930,7 @@ export type EcrRescanDuration =
|
|
|
1926
1930
|
(typeof EcrRescanDuration)[keyof typeof EcrRescanDuration];
|
|
1927
1931
|
export interface EcrConfiguration {
|
|
1928
1932
|
rescanDuration: EcrRescanDuration | undefined;
|
|
1929
|
-
pullDateRescanDuration?: EcrPullDateRescanDuration;
|
|
1933
|
+
pullDateRescanDuration?: EcrPullDateRescanDuration | undefined;
|
|
1930
1934
|
}
|
|
1931
1935
|
export declare const EcrRescanDurationStatus: {
|
|
1932
1936
|
readonly FAILED: "FAILED";
|
|
@@ -1936,38 +1940,38 @@ export declare const EcrRescanDurationStatus: {
|
|
|
1936
1940
|
export type EcrRescanDurationStatus =
|
|
1937
1941
|
(typeof EcrRescanDurationStatus)[keyof typeof EcrRescanDurationStatus];
|
|
1938
1942
|
export interface EcrRescanDurationState {
|
|
1939
|
-
rescanDuration?: EcrRescanDuration;
|
|
1940
|
-
status?: EcrRescanDurationStatus;
|
|
1941
|
-
updatedAt?: Date;
|
|
1942
|
-
pullDateRescanDuration?: EcrPullDateRescanDuration;
|
|
1943
|
+
rescanDuration?: EcrRescanDuration | undefined;
|
|
1944
|
+
status?: EcrRescanDurationStatus | undefined;
|
|
1945
|
+
updatedAt?: Date | undefined;
|
|
1946
|
+
pullDateRescanDuration?: EcrPullDateRescanDuration | undefined;
|
|
1943
1947
|
}
|
|
1944
1948
|
export interface EcrConfigurationState {
|
|
1945
|
-
rescanDurationState?: EcrRescanDurationState;
|
|
1949
|
+
rescanDurationState?: EcrRescanDurationState | undefined;
|
|
1946
1950
|
}
|
|
1947
1951
|
export interface EnableRequest {
|
|
1948
|
-
accountIds?: string[];
|
|
1952
|
+
accountIds?: string[] | undefined;
|
|
1949
1953
|
resourceTypes: ResourceScanType[] | undefined;
|
|
1950
|
-
clientToken?: string;
|
|
1954
|
+
clientToken?: string | undefined;
|
|
1951
1955
|
}
|
|
1952
1956
|
export interface EnableResponse {
|
|
1953
1957
|
accounts: Account[] | undefined;
|
|
1954
|
-
failedAccounts?: FailedAccount[];
|
|
1958
|
+
failedAccounts?: FailedAccount[] | undefined;
|
|
1955
1959
|
}
|
|
1956
1960
|
export interface EnableDelegatedAdminAccountRequest {
|
|
1957
1961
|
delegatedAdminAccountId: string | undefined;
|
|
1958
|
-
clientToken?: string;
|
|
1962
|
+
clientToken?: string | undefined;
|
|
1959
1963
|
}
|
|
1960
1964
|
export interface EnableDelegatedAdminAccountResponse {
|
|
1961
1965
|
delegatedAdminAccountId: string | undefined;
|
|
1962
1966
|
}
|
|
1963
1967
|
export interface Epss {
|
|
1964
|
-
score?: number;
|
|
1968
|
+
score?: number | undefined;
|
|
1965
1969
|
}
|
|
1966
1970
|
export interface EpssDetails {
|
|
1967
|
-
score?: number;
|
|
1971
|
+
score?: number | undefined;
|
|
1968
1972
|
}
|
|
1969
1973
|
export interface ExploitabilityDetails {
|
|
1970
|
-
lastKnownExploitAt?: Date;
|
|
1974
|
+
lastKnownExploitAt?: Date | undefined;
|
|
1971
1975
|
}
|
|
1972
1976
|
export declare const ExploitAvailable: {
|
|
1973
1977
|
readonly NO: "NO";
|
|
@@ -1991,9 +1995,9 @@ export interface Filter {
|
|
|
1991
1995
|
action: FilterAction | undefined;
|
|
1992
1996
|
createdAt: Date | undefined;
|
|
1993
1997
|
updatedAt: Date | undefined;
|
|
1994
|
-
description?: string;
|
|
1995
|
-
reason?: string;
|
|
1996
|
-
tags?: Record<string, string
|
|
1998
|
+
description?: string | undefined;
|
|
1999
|
+
reason?: string | undefined;
|
|
2000
|
+
tags?: Record<string, string> | undefined;
|
|
1997
2001
|
}
|
|
1998
2002
|
export declare const FixAvailable: {
|
|
1999
2003
|
readonly NO: "NO";
|
|
@@ -2002,14 +2006,14 @@ export declare const FixAvailable: {
|
|
|
2002
2006
|
};
|
|
2003
2007
|
export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
|
|
2004
2008
|
export interface InspectorScoreDetails {
|
|
2005
|
-
adjustedCvss?: CvssScoreDetails;
|
|
2009
|
+
adjustedCvss?: CvssScoreDetails | undefined;
|
|
2006
2010
|
}
|
|
2007
2011
|
export interface Step {
|
|
2008
2012
|
componentId: string | undefined;
|
|
2009
2013
|
componentType: string | undefined;
|
|
2010
2014
|
}
|
|
2011
2015
|
export interface NetworkPath {
|
|
2012
|
-
steps?: Step[];
|
|
2016
|
+
steps?: Step[] | undefined;
|
|
2013
2017
|
}
|
|
2014
2018
|
export interface PortRange {
|
|
2015
2019
|
begin: number | undefined;
|
|
@@ -2051,39 +2055,39 @@ export type PackageManager =
|
|
|
2051
2055
|
export interface VulnerablePackage {
|
|
2052
2056
|
name: string | undefined;
|
|
2053
2057
|
version: string | undefined;
|
|
2054
|
-
sourceLayerHash?: string;
|
|
2055
|
-
epoch?: number;
|
|
2056
|
-
release?: string;
|
|
2057
|
-
arch?: string;
|
|
2058
|
-
packageManager?: PackageManager;
|
|
2059
|
-
filePath?: string;
|
|
2060
|
-
fixedInVersion?: string;
|
|
2061
|
-
remediation?: string;
|
|
2062
|
-
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;
|
|
2063
2067
|
}
|
|
2064
2068
|
export interface PackageVulnerabilityDetails {
|
|
2065
2069
|
vulnerabilityId: string | undefined;
|
|
2066
|
-
vulnerablePackages?: VulnerablePackage[];
|
|
2070
|
+
vulnerablePackages?: VulnerablePackage[] | undefined;
|
|
2067
2071
|
source: string | undefined;
|
|
2068
|
-
cvss?: CvssScore[];
|
|
2069
|
-
relatedVulnerabilities?: string[];
|
|
2070
|
-
sourceUrl?: string;
|
|
2071
|
-
vendorSeverity?: string;
|
|
2072
|
-
vendorCreatedAt?: Date;
|
|
2073
|
-
vendorUpdatedAt?: Date;
|
|
2074
|
-
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;
|
|
2075
2079
|
}
|
|
2076
2080
|
export interface Recommendation {
|
|
2077
|
-
text?: string;
|
|
2078
|
-
Url?: string;
|
|
2081
|
+
text?: string | undefined;
|
|
2082
|
+
Url?: string | undefined;
|
|
2079
2083
|
}
|
|
2080
2084
|
export interface Remediation {
|
|
2081
|
-
recommendation?: Recommendation;
|
|
2085
|
+
recommendation?: Recommendation | undefined;
|
|
2082
2086
|
}
|
|
2083
2087
|
export interface ResourceDetails {
|
|
2084
|
-
awsEc2Instance?: AwsEc2InstanceDetails;
|
|
2085
|
-
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
2086
|
-
awsLambdaFunction?: AwsLambdaFunctionDetails;
|
|
2088
|
+
awsEc2Instance?: AwsEc2InstanceDetails | undefined;
|
|
2089
|
+
awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
|
|
2090
|
+
awsLambdaFunction?: AwsLambdaFunctionDetails | undefined;
|
|
2087
2091
|
}
|
|
2088
2092
|
export declare const ResourceType: {
|
|
2089
2093
|
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
@@ -2095,10 +2099,10 @@ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
|
2095
2099
|
export interface Resource {
|
|
2096
2100
|
type: ResourceType | undefined;
|
|
2097
2101
|
id: string | undefined;
|
|
2098
|
-
partition?: string;
|
|
2099
|
-
region?: string;
|
|
2100
|
-
tags?: Record<string, string
|
|
2101
|
-
details?: ResourceDetails;
|
|
2102
|
+
partition?: string | undefined;
|
|
2103
|
+
region?: string | undefined;
|
|
2104
|
+
tags?: Record<string, string> | undefined;
|
|
2105
|
+
details?: ResourceDetails | undefined;
|
|
2102
2106
|
}
|
|
2103
2107
|
export declare const Severity: {
|
|
2104
2108
|
readonly CRITICAL: "CRITICAL";
|
|
@@ -2126,62 +2130,62 @@ export interface Finding {
|
|
|
2126
2130
|
awsAccountId: string | undefined;
|
|
2127
2131
|
type: FindingType | undefined;
|
|
2128
2132
|
description: string | undefined;
|
|
2129
|
-
title?: string;
|
|
2133
|
+
title?: string | undefined;
|
|
2130
2134
|
remediation: Remediation | undefined;
|
|
2131
2135
|
severity: Severity | undefined;
|
|
2132
2136
|
firstObservedAt: Date | undefined;
|
|
2133
2137
|
lastObservedAt: Date | undefined;
|
|
2134
|
-
updatedAt?: Date;
|
|
2138
|
+
updatedAt?: Date | undefined;
|
|
2135
2139
|
status: FindingStatus | undefined;
|
|
2136
2140
|
resources: Resource[] | undefined;
|
|
2137
|
-
inspectorScore?: number;
|
|
2138
|
-
inspectorScoreDetails?: InspectorScoreDetails;
|
|
2139
|
-
networkReachabilityDetails?: NetworkReachabilityDetails;
|
|
2140
|
-
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
2141
|
-
fixAvailable?: FixAvailable;
|
|
2142
|
-
exploitAvailable?: ExploitAvailable;
|
|
2143
|
-
exploitabilityDetails?: ExploitabilityDetails;
|
|
2144
|
-
codeVulnerabilityDetails?: CodeVulnerabilityDetails;
|
|
2145
|
-
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;
|
|
2146
2150
|
}
|
|
2147
2151
|
export interface GetCisScanReportRequest {
|
|
2148
2152
|
scanArn: string | undefined;
|
|
2149
|
-
targetAccounts?: string[];
|
|
2150
|
-
reportFormat?: CisReportFormat;
|
|
2153
|
+
targetAccounts?: string[] | undefined;
|
|
2154
|
+
reportFormat?: CisReportFormat | undefined;
|
|
2151
2155
|
}
|
|
2152
2156
|
export interface GetCisScanReportResponse {
|
|
2153
|
-
url?: string;
|
|
2154
|
-
status?: CisReportStatus;
|
|
2157
|
+
url?: string | undefined;
|
|
2158
|
+
status?: CisReportStatus | undefined;
|
|
2155
2159
|
}
|
|
2156
2160
|
export interface GetCisScanResultDetailsRequest {
|
|
2157
2161
|
scanArn: string | undefined;
|
|
2158
2162
|
targetResourceId: string | undefined;
|
|
2159
2163
|
accountId: string | undefined;
|
|
2160
|
-
filterCriteria?: CisScanResultDetailsFilterCriteria;
|
|
2161
|
-
sortBy?: CisScanResultDetailsSortBy;
|
|
2162
|
-
sortOrder?: CisSortOrder;
|
|
2163
|
-
nextToken?: string;
|
|
2164
|
-
maxResults?: number;
|
|
2164
|
+
filterCriteria?: CisScanResultDetailsFilterCriteria | undefined;
|
|
2165
|
+
sortBy?: CisScanResultDetailsSortBy | undefined;
|
|
2166
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2167
|
+
nextToken?: string | undefined;
|
|
2168
|
+
maxResults?: number | undefined;
|
|
2165
2169
|
}
|
|
2166
2170
|
export interface GetCisScanResultDetailsResponse {
|
|
2167
|
-
scanResultDetails?: CisScanResultDetails[];
|
|
2168
|
-
nextToken?: string;
|
|
2171
|
+
scanResultDetails?: CisScanResultDetails[] | undefined;
|
|
2172
|
+
nextToken?: string | undefined;
|
|
2169
2173
|
}
|
|
2170
2174
|
export interface GetConfigurationRequest {}
|
|
2171
2175
|
export interface GetConfigurationResponse {
|
|
2172
|
-
ecrConfiguration?: EcrConfigurationState;
|
|
2173
|
-
ec2Configuration?: Ec2ConfigurationState;
|
|
2176
|
+
ecrConfiguration?: EcrConfigurationState | undefined;
|
|
2177
|
+
ec2Configuration?: Ec2ConfigurationState | undefined;
|
|
2174
2178
|
}
|
|
2175
2179
|
export interface GetDelegatedAdminAccountRequest {}
|
|
2176
2180
|
export interface GetDelegatedAdminAccountResponse {
|
|
2177
|
-
delegatedAdmin?: DelegatedAdmin;
|
|
2181
|
+
delegatedAdmin?: DelegatedAdmin | undefined;
|
|
2178
2182
|
}
|
|
2179
2183
|
export interface GetEc2DeepInspectionConfigurationRequest {}
|
|
2180
2184
|
export interface GetEc2DeepInspectionConfigurationResponse {
|
|
2181
|
-
packagePaths?: string[];
|
|
2182
|
-
orgPackagePaths?: string[];
|
|
2183
|
-
status?: Ec2DeepInspectionStatus;
|
|
2184
|
-
errorMessage?: string;
|
|
2185
|
+
packagePaths?: string[] | undefined;
|
|
2186
|
+
orgPackagePaths?: string[] | undefined;
|
|
2187
|
+
status?: Ec2DeepInspectionStatus | undefined;
|
|
2188
|
+
errorMessage?: string | undefined;
|
|
2185
2189
|
}
|
|
2186
2190
|
export interface GetEncryptionKeyRequest {
|
|
2187
2191
|
scanType: ScanType | undefined;
|
|
@@ -2191,7 +2195,7 @@ export interface GetEncryptionKeyResponse {
|
|
|
2191
2195
|
kmsKeyId: string | undefined;
|
|
2192
2196
|
}
|
|
2193
2197
|
export interface GetFindingsReportStatusRequest {
|
|
2194
|
-
reportId?: string;
|
|
2198
|
+
reportId?: string | undefined;
|
|
2195
2199
|
}
|
|
2196
2200
|
export declare const ReportingErrorCode: {
|
|
2197
2201
|
readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
|
|
@@ -2204,36 +2208,36 @@ export declare const ReportingErrorCode: {
|
|
|
2204
2208
|
export type ReportingErrorCode =
|
|
2205
2209
|
(typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
|
|
2206
2210
|
export interface GetFindingsReportStatusResponse {
|
|
2207
|
-
reportId?: string;
|
|
2208
|
-
status?: ExternalReportStatus;
|
|
2209
|
-
errorCode?: ReportingErrorCode;
|
|
2210
|
-
errorMessage?: string;
|
|
2211
|
-
destination?: Destination;
|
|
2212
|
-
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;
|
|
2213
2217
|
}
|
|
2214
2218
|
export interface GetMemberRequest {
|
|
2215
2219
|
accountId: string | undefined;
|
|
2216
2220
|
}
|
|
2217
2221
|
export interface Member {
|
|
2218
|
-
accountId?: string;
|
|
2219
|
-
relationshipStatus?: RelationshipStatus;
|
|
2220
|
-
delegatedAdminAccountId?: string;
|
|
2221
|
-
updatedAt?: Date;
|
|
2222
|
+
accountId?: string | undefined;
|
|
2223
|
+
relationshipStatus?: RelationshipStatus | undefined;
|
|
2224
|
+
delegatedAdminAccountId?: string | undefined;
|
|
2225
|
+
updatedAt?: Date | undefined;
|
|
2222
2226
|
}
|
|
2223
2227
|
export interface GetMemberResponse {
|
|
2224
|
-
member?: Member;
|
|
2228
|
+
member?: Member | undefined;
|
|
2225
2229
|
}
|
|
2226
2230
|
export interface GetSbomExportRequest {
|
|
2227
2231
|
reportId: string | undefined;
|
|
2228
2232
|
}
|
|
2229
2233
|
export interface GetSbomExportResponse {
|
|
2230
|
-
reportId?: string;
|
|
2231
|
-
format?: SbomReportFormat;
|
|
2232
|
-
status?: ExternalReportStatus;
|
|
2233
|
-
errorCode?: ReportingErrorCode;
|
|
2234
|
-
errorMessage?: string;
|
|
2235
|
-
s3Destination?: Destination;
|
|
2236
|
-
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;
|
|
2237
2241
|
}
|
|
2238
2242
|
export declare const Service: {
|
|
2239
2243
|
readonly EC2: "EC2";
|
|
@@ -2242,9 +2246,9 @@ export declare const Service: {
|
|
|
2242
2246
|
};
|
|
2243
2247
|
export type Service = (typeof Service)[keyof typeof Service];
|
|
2244
2248
|
export interface ListAccountPermissionsRequest {
|
|
2245
|
-
service?: Service;
|
|
2246
|
-
maxResults?: number;
|
|
2247
|
-
nextToken?: string;
|
|
2249
|
+
service?: Service | undefined;
|
|
2250
|
+
maxResults?: number | undefined;
|
|
2251
|
+
nextToken?: string | undefined;
|
|
2248
2252
|
}
|
|
2249
2253
|
export declare const Operation: {
|
|
2250
2254
|
readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
|
|
@@ -2259,33 +2263,33 @@ export interface Permission {
|
|
|
2259
2263
|
}
|
|
2260
2264
|
export interface ListAccountPermissionsResponse {
|
|
2261
2265
|
permissions: Permission[] | undefined;
|
|
2262
|
-
nextToken?: string;
|
|
2266
|
+
nextToken?: string | undefined;
|
|
2263
2267
|
}
|
|
2264
2268
|
export interface ListCisScanConfigurationsFilterCriteria {
|
|
2265
|
-
scanNameFilters?: CisStringFilter[];
|
|
2266
|
-
targetResourceTagFilters?: TagFilter[];
|
|
2267
|
-
scanConfigurationArnFilters?: CisStringFilter[];
|
|
2269
|
+
scanNameFilters?: CisStringFilter[] | undefined;
|
|
2270
|
+
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
2271
|
+
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
2268
2272
|
}
|
|
2269
2273
|
export interface ListCisScanConfigurationsRequest {
|
|
2270
|
-
filterCriteria?: ListCisScanConfigurationsFilterCriteria;
|
|
2271
|
-
sortBy?: CisScanConfigurationsSortBy;
|
|
2272
|
-
sortOrder?: CisSortOrder;
|
|
2273
|
-
nextToken?: string;
|
|
2274
|
-
maxResults?: number;
|
|
2274
|
+
filterCriteria?: ListCisScanConfigurationsFilterCriteria | undefined;
|
|
2275
|
+
sortBy?: CisScanConfigurationsSortBy | undefined;
|
|
2276
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2277
|
+
nextToken?: string | undefined;
|
|
2278
|
+
maxResults?: number | undefined;
|
|
2275
2279
|
}
|
|
2276
2280
|
export interface ListCisScanConfigurationsResponse {
|
|
2277
|
-
scanConfigurations?: CisScanConfiguration[];
|
|
2278
|
-
nextToken?: string;
|
|
2281
|
+
scanConfigurations?: CisScanConfiguration[] | undefined;
|
|
2282
|
+
nextToken?: string | undefined;
|
|
2279
2283
|
}
|
|
2280
2284
|
export interface ListCisScanResultsAggregatedByChecksRequest {
|
|
2281
2285
|
scanArn: string | undefined;
|
|
2282
|
-
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria;
|
|
2283
|
-
sortBy?: CisScanResultsAggregatedByChecksSortBy;
|
|
2284
|
-
sortOrder?: CisSortOrder;
|
|
2285
|
-
nextToken?: string;
|
|
2286
|
-
maxResults?: number;
|
|
2286
|
+
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria | undefined;
|
|
2287
|
+
sortBy?: CisScanResultsAggregatedByChecksSortBy | undefined;
|
|
2288
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2289
|
+
nextToken?: string | undefined;
|
|
2290
|
+
maxResults?: number | undefined;
|
|
2287
2291
|
}
|
|
2288
2292
|
export interface ListCisScanResultsAggregatedByChecksResponse {
|
|
2289
|
-
checkAggregations?: CisCheckAggregation[];
|
|
2290
|
-
nextToken?: string;
|
|
2293
|
+
checkAggregations?: CisCheckAggregation[] | undefined;
|
|
2294
|
+
nextToken?: string | undefined;
|
|
2291
2295
|
}
|