@aws-sdk/client-inspector2 3.428.0 → 3.430.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 +108 -108
- package/dist-types/ts3.4/models/models_0.d.ts +108 -108
- package/package.json +11 -11
|
@@ -17,14 +17,14 @@ export declare const Status: {
|
|
|
17
17
|
};
|
|
18
18
|
export type Status = (typeof Status)[keyof typeof Status];
|
|
19
19
|
export interface ResourceStatus {
|
|
20
|
-
ec2: Status |
|
|
21
|
-
ecr: Status |
|
|
22
|
-
lambda?: Status
|
|
23
|
-
lambdaCode?: Status
|
|
20
|
+
ec2: Status | undefined;
|
|
21
|
+
ecr: Status | undefined;
|
|
22
|
+
lambda?: Status;
|
|
23
|
+
lambdaCode?: Status;
|
|
24
24
|
}
|
|
25
25
|
export interface Account {
|
|
26
26
|
accountId: string | undefined;
|
|
27
|
-
status: Status |
|
|
27
|
+
status: Status | undefined;
|
|
28
28
|
resourceStatus: ResourceStatus | undefined;
|
|
29
29
|
}
|
|
30
30
|
export declare const AggregationFindingType: {
|
|
@@ -53,10 +53,10 @@ 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;
|
|
57
|
+
resourceType?: AggregationResourceType;
|
|
58
|
+
sortOrder?: SortOrder;
|
|
59
|
+
sortBy?: AccountSortBy;
|
|
60
60
|
}
|
|
61
61
|
export interface SeverityCounts {
|
|
62
62
|
all?: number;
|
|
@@ -86,8 +86,8 @@ export declare const ErrorCode: {
|
|
|
86
86
|
};
|
|
87
87
|
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
88
88
|
export interface State {
|
|
89
|
-
status: Status |
|
|
90
|
-
errorCode: ErrorCode |
|
|
89
|
+
status: Status | undefined;
|
|
90
|
+
errorCode: ErrorCode | undefined;
|
|
91
91
|
errorMessage: string | undefined;
|
|
92
92
|
}
|
|
93
93
|
export interface ResourceState {
|
|
@@ -109,7 +109,7 @@ export declare const StringComparison: {
|
|
|
109
109
|
export type StringComparison =
|
|
110
110
|
(typeof StringComparison)[keyof typeof StringComparison];
|
|
111
111
|
export interface StringFilter {
|
|
112
|
-
comparison: StringComparison |
|
|
112
|
+
comparison: StringComparison | undefined;
|
|
113
113
|
value: string | undefined;
|
|
114
114
|
}
|
|
115
115
|
export declare const AmiSortBy: {
|
|
@@ -121,8 +121,8 @@ export declare const AmiSortBy: {
|
|
|
121
121
|
export type AmiSortBy = (typeof AmiSortBy)[keyof typeof AmiSortBy];
|
|
122
122
|
export interface AmiAggregation {
|
|
123
123
|
amis?: StringFilter[];
|
|
124
|
-
sortOrder?: SortOrder
|
|
125
|
-
sortBy?: AmiSortBy
|
|
124
|
+
sortOrder?: SortOrder;
|
|
125
|
+
sortBy?: AmiSortBy;
|
|
126
126
|
}
|
|
127
127
|
export declare const AwsEcrContainerSortBy: {
|
|
128
128
|
readonly ALL: "ALL";
|
|
@@ -137,15 +137,15 @@ export interface AwsEcrContainerAggregation {
|
|
|
137
137
|
repositories?: StringFilter[];
|
|
138
138
|
architectures?: StringFilter[];
|
|
139
139
|
imageTags?: StringFilter[];
|
|
140
|
-
sortOrder?: SortOrder
|
|
141
|
-
sortBy?: AwsEcrContainerSortBy
|
|
140
|
+
sortOrder?: SortOrder;
|
|
141
|
+
sortBy?: AwsEcrContainerSortBy;
|
|
142
142
|
}
|
|
143
143
|
export declare const MapComparison: {
|
|
144
144
|
readonly EQUALS: "EQUALS";
|
|
145
145
|
};
|
|
146
146
|
export type MapComparison = (typeof MapComparison)[keyof typeof MapComparison];
|
|
147
147
|
export interface MapFilter {
|
|
148
|
-
comparison: MapComparison |
|
|
148
|
+
comparison: MapComparison | undefined;
|
|
149
149
|
key: string | undefined;
|
|
150
150
|
value?: string;
|
|
151
151
|
}
|
|
@@ -162,8 +162,8 @@ export interface Ec2InstanceAggregation {
|
|
|
162
162
|
operatingSystems?: StringFilter[];
|
|
163
163
|
instanceIds?: StringFilter[];
|
|
164
164
|
instanceTags?: MapFilter[];
|
|
165
|
-
sortOrder?: SortOrder
|
|
166
|
-
sortBy?: Ec2InstanceSortBy
|
|
165
|
+
sortOrder?: SortOrder;
|
|
166
|
+
sortBy?: Ec2InstanceSortBy;
|
|
167
167
|
}
|
|
168
168
|
export declare const FindingTypeSortBy: {
|
|
169
169
|
readonly ALL: "ALL";
|
|
@@ -173,10 +173,10 @@ export declare const FindingTypeSortBy: {
|
|
|
173
173
|
export type FindingTypeSortBy =
|
|
174
174
|
(typeof FindingTypeSortBy)[keyof typeof FindingTypeSortBy];
|
|
175
175
|
export interface FindingTypeAggregation {
|
|
176
|
-
findingType?: AggregationFindingType
|
|
177
|
-
resourceType?: AggregationResourceType
|
|
178
|
-
sortOrder?: SortOrder
|
|
179
|
-
sortBy?: FindingTypeSortBy
|
|
176
|
+
findingType?: AggregationFindingType;
|
|
177
|
+
resourceType?: AggregationResourceType;
|
|
178
|
+
sortOrder?: SortOrder;
|
|
179
|
+
sortBy?: FindingTypeSortBy;
|
|
180
180
|
}
|
|
181
181
|
export declare const ImageLayerSortBy: {
|
|
182
182
|
readonly ALL: "ALL";
|
|
@@ -189,8 +189,8 @@ export interface ImageLayerAggregation {
|
|
|
189
189
|
repositories?: StringFilter[];
|
|
190
190
|
resourceIds?: StringFilter[];
|
|
191
191
|
layerHashes?: StringFilter[];
|
|
192
|
-
sortOrder?: SortOrder
|
|
193
|
-
sortBy?: ImageLayerSortBy
|
|
192
|
+
sortOrder?: SortOrder;
|
|
193
|
+
sortBy?: ImageLayerSortBy;
|
|
194
194
|
}
|
|
195
195
|
export declare const LambdaFunctionSortBy: {
|
|
196
196
|
readonly ALL: "ALL";
|
|
@@ -204,8 +204,8 @@ export interface LambdaFunctionAggregation {
|
|
|
204
204
|
functionNames?: StringFilter[];
|
|
205
205
|
runtimes?: StringFilter[];
|
|
206
206
|
functionTags?: MapFilter[];
|
|
207
|
-
sortOrder?: SortOrder
|
|
208
|
-
sortBy?: LambdaFunctionSortBy
|
|
207
|
+
sortOrder?: SortOrder;
|
|
208
|
+
sortBy?: LambdaFunctionSortBy;
|
|
209
209
|
}
|
|
210
210
|
export declare const LambdaLayerSortBy: {
|
|
211
211
|
readonly ALL: "ALL";
|
|
@@ -218,8 +218,8 @@ export interface LambdaLayerAggregation {
|
|
|
218
218
|
functionNames?: StringFilter[];
|
|
219
219
|
resourceIds?: StringFilter[];
|
|
220
220
|
layerArns?: StringFilter[];
|
|
221
|
-
sortOrder?: SortOrder
|
|
222
|
-
sortBy?: LambdaLayerSortBy
|
|
221
|
+
sortOrder?: SortOrder;
|
|
222
|
+
sortBy?: LambdaLayerSortBy;
|
|
223
223
|
}
|
|
224
224
|
export declare const PackageSortBy: {
|
|
225
225
|
readonly ALL: "ALL";
|
|
@@ -229,8 +229,8 @@ export declare const PackageSortBy: {
|
|
|
229
229
|
export type PackageSortBy = (typeof PackageSortBy)[keyof typeof PackageSortBy];
|
|
230
230
|
export interface PackageAggregation {
|
|
231
231
|
packageNames?: StringFilter[];
|
|
232
|
-
sortOrder?: SortOrder
|
|
233
|
-
sortBy?: PackageSortBy
|
|
232
|
+
sortOrder?: SortOrder;
|
|
233
|
+
sortBy?: PackageSortBy;
|
|
234
234
|
}
|
|
235
235
|
export declare const RepositorySortBy: {
|
|
236
236
|
readonly AFFECTED_IMAGES: "AFFECTED_IMAGES";
|
|
@@ -242,8 +242,8 @@ export type RepositorySortBy =
|
|
|
242
242
|
(typeof RepositorySortBy)[keyof typeof RepositorySortBy];
|
|
243
243
|
export interface RepositoryAggregation {
|
|
244
244
|
repositories?: StringFilter[];
|
|
245
|
-
sortOrder?: SortOrder
|
|
246
|
-
sortBy?: RepositorySortBy
|
|
245
|
+
sortOrder?: SortOrder;
|
|
246
|
+
sortBy?: RepositorySortBy;
|
|
247
247
|
}
|
|
248
248
|
export declare const TitleSortBy: {
|
|
249
249
|
readonly ALL: "ALL";
|
|
@@ -254,10 +254,10 @@ export type TitleSortBy = (typeof TitleSortBy)[keyof typeof TitleSortBy];
|
|
|
254
254
|
export interface TitleAggregation {
|
|
255
255
|
titles?: StringFilter[];
|
|
256
256
|
vulnerabilityIds?: StringFilter[];
|
|
257
|
-
resourceType?: AggregationResourceType
|
|
258
|
-
sortOrder?: SortOrder
|
|
259
|
-
sortBy?: TitleSortBy
|
|
260
|
-
findingType?: AggregationFindingType
|
|
257
|
+
resourceType?: AggregationResourceType;
|
|
258
|
+
sortOrder?: SortOrder;
|
|
259
|
+
sortBy?: TitleSortBy;
|
|
260
|
+
findingType?: AggregationFindingType;
|
|
261
261
|
}
|
|
262
262
|
export type AggregationRequest =
|
|
263
263
|
| AggregationRequest.AccountAggregationMember
|
|
@@ -785,7 +785,7 @@ export type ValidationExceptionReason =
|
|
|
785
785
|
export declare class ValidationException extends __BaseException {
|
|
786
786
|
readonly name: "ValidationException";
|
|
787
787
|
readonly $fault: "client";
|
|
788
|
-
reason: ValidationExceptionReason |
|
|
788
|
+
reason: ValidationExceptionReason | undefined;
|
|
789
789
|
fields?: ValidationExceptionField[];
|
|
790
790
|
constructor(
|
|
791
791
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
@@ -855,14 +855,14 @@ export interface LambdaVpcConfig {
|
|
|
855
855
|
}
|
|
856
856
|
export interface AwsLambdaFunctionDetails {
|
|
857
857
|
functionName: string | undefined;
|
|
858
|
-
runtime: Runtime |
|
|
858
|
+
runtime: Runtime | undefined;
|
|
859
859
|
codeSha256: string | undefined;
|
|
860
860
|
version: string | undefined;
|
|
861
861
|
executionRoleArn: string | undefined;
|
|
862
862
|
layers?: string[];
|
|
863
863
|
vpcConfig?: LambdaVpcConfig;
|
|
864
|
-
packageType?: PackageType
|
|
865
|
-
architectures?:
|
|
864
|
+
packageType?: PackageType;
|
|
865
|
+
architectures?: Architecture[];
|
|
866
866
|
lastModifiedAt?: Date;
|
|
867
867
|
}
|
|
868
868
|
export declare class BadRequestException extends __BaseException {
|
|
@@ -877,9 +877,9 @@ export interface BatchGetAccountStatusRequest {
|
|
|
877
877
|
}
|
|
878
878
|
export interface FailedAccount {
|
|
879
879
|
accountId: string | undefined;
|
|
880
|
-
status?: Status
|
|
880
|
+
status?: Status;
|
|
881
881
|
resourceStatus?: ResourceStatus;
|
|
882
|
-
errorCode: ErrorCode |
|
|
882
|
+
errorCode: ErrorCode | undefined;
|
|
883
883
|
errorMessage: string | undefined;
|
|
884
884
|
}
|
|
885
885
|
export interface BatchGetAccountStatusResponse {
|
|
@@ -921,7 +921,7 @@ export type CodeSnippetErrorCode =
|
|
|
921
921
|
(typeof CodeSnippetErrorCode)[keyof typeof CodeSnippetErrorCode];
|
|
922
922
|
export interface CodeSnippetError {
|
|
923
923
|
findingArn: string | undefined;
|
|
924
|
-
errorCode: CodeSnippetErrorCode |
|
|
924
|
+
errorCode: CodeSnippetErrorCode | undefined;
|
|
925
925
|
errorMessage: string | undefined;
|
|
926
926
|
}
|
|
927
927
|
export interface BatchGetCodeSnippetResponse {
|
|
@@ -941,7 +941,7 @@ export type FindingDetailsErrorCode =
|
|
|
941
941
|
(typeof FindingDetailsErrorCode)[keyof typeof FindingDetailsErrorCode];
|
|
942
942
|
export interface FindingDetailsError {
|
|
943
943
|
findingArn: string | undefined;
|
|
944
|
-
errorCode: FindingDetailsErrorCode |
|
|
944
|
+
errorCode: FindingDetailsErrorCode | undefined;
|
|
945
945
|
errorMessage: string | undefined;
|
|
946
946
|
}
|
|
947
947
|
export interface CisaData {
|
|
@@ -991,10 +991,10 @@ export declare const FreeTrialType: {
|
|
|
991
991
|
};
|
|
992
992
|
export type FreeTrialType = (typeof FreeTrialType)[keyof typeof FreeTrialType];
|
|
993
993
|
export interface FreeTrialInfo {
|
|
994
|
-
type: FreeTrialType |
|
|
994
|
+
type: FreeTrialType | undefined;
|
|
995
995
|
start: Date | undefined;
|
|
996
996
|
end: Date | undefined;
|
|
997
|
-
status: FreeTrialStatus |
|
|
997
|
+
status: FreeTrialStatus | undefined;
|
|
998
998
|
}
|
|
999
999
|
export interface FreeTrialAccountInfo {
|
|
1000
1000
|
accountId: string | undefined;
|
|
@@ -1008,7 +1008,7 @@ export type FreeTrialInfoErrorCode =
|
|
|
1008
1008
|
(typeof FreeTrialInfoErrorCode)[keyof typeof FreeTrialInfoErrorCode];
|
|
1009
1009
|
export interface FreeTrialInfoError {
|
|
1010
1010
|
accountId: string | undefined;
|
|
1011
|
-
code: FreeTrialInfoErrorCode |
|
|
1011
|
+
code: FreeTrialInfoErrorCode | undefined;
|
|
1012
1012
|
message: string | undefined;
|
|
1013
1013
|
}
|
|
1014
1014
|
export interface BatchGetFreeTrialInfoResponse {
|
|
@@ -1028,12 +1028,12 @@ export type Ec2DeepInspectionStatus =
|
|
|
1028
1028
|
(typeof Ec2DeepInspectionStatus)[keyof typeof Ec2DeepInspectionStatus];
|
|
1029
1029
|
export interface MemberAccountEc2DeepInspectionStatusState {
|
|
1030
1030
|
accountId: string | undefined;
|
|
1031
|
-
status?: Ec2DeepInspectionStatus
|
|
1031
|
+
status?: Ec2DeepInspectionStatus;
|
|
1032
1032
|
errorMessage?: string;
|
|
1033
1033
|
}
|
|
1034
1034
|
export interface FailedMemberAccountEc2DeepInspectionStatusState {
|
|
1035
1035
|
accountId: string | undefined;
|
|
1036
|
-
ec2ScanStatus?: Status
|
|
1036
|
+
ec2ScanStatus?: Status;
|
|
1037
1037
|
errorMessage?: string;
|
|
1038
1038
|
}
|
|
1039
1039
|
export interface BatchGetMemberEc2DeepInspectionStatusResponse {
|
|
@@ -1096,7 +1096,7 @@ export declare const GroupKey: {
|
|
|
1096
1096
|
export type GroupKey = (typeof GroupKey)[keyof typeof GroupKey];
|
|
1097
1097
|
export interface Counts {
|
|
1098
1098
|
count?: number;
|
|
1099
|
-
groupKey?: GroupKey
|
|
1099
|
+
groupKey?: GroupKey;
|
|
1100
1100
|
}
|
|
1101
1101
|
export interface CoverageDateFilter {
|
|
1102
1102
|
startInclusive?: Date;
|
|
@@ -1109,7 +1109,7 @@ export declare const CoverageStringComparison: {
|
|
|
1109
1109
|
export type CoverageStringComparison =
|
|
1110
1110
|
(typeof CoverageStringComparison)[keyof typeof CoverageStringComparison];
|
|
1111
1111
|
export interface CoverageStringFilter {
|
|
1112
|
-
comparison: CoverageStringComparison |
|
|
1112
|
+
comparison: CoverageStringComparison | undefined;
|
|
1113
1113
|
value: string | undefined;
|
|
1114
1114
|
}
|
|
1115
1115
|
export declare const CoverageMapComparison: {
|
|
@@ -1118,7 +1118,7 @@ export declare const CoverageMapComparison: {
|
|
|
1118
1118
|
export type CoverageMapComparison =
|
|
1119
1119
|
(typeof CoverageMapComparison)[keyof typeof CoverageMapComparison];
|
|
1120
1120
|
export interface CoverageMapFilter {
|
|
1121
|
-
comparison: CoverageMapComparison |
|
|
1121
|
+
comparison: CoverageMapComparison | undefined;
|
|
1122
1122
|
key: string | undefined;
|
|
1123
1123
|
value?: string;
|
|
1124
1124
|
}
|
|
@@ -1155,7 +1155,7 @@ export type Ec2Platform = (typeof Ec2Platform)[keyof typeof Ec2Platform];
|
|
|
1155
1155
|
export interface Ec2Metadata {
|
|
1156
1156
|
tags?: Record<string, string>;
|
|
1157
1157
|
amiId?: string;
|
|
1158
|
-
platform?: Ec2Platform
|
|
1158
|
+
platform?: Ec2Platform;
|
|
1159
1159
|
}
|
|
1160
1160
|
export interface EcrContainerImageMetadata {
|
|
1161
1161
|
tags?: string[];
|
|
@@ -1169,13 +1169,13 @@ export type EcrScanFrequency =
|
|
|
1169
1169
|
(typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
|
|
1170
1170
|
export interface EcrRepositoryMetadata {
|
|
1171
1171
|
name?: string;
|
|
1172
|
-
scanFrequency?: EcrScanFrequency
|
|
1172
|
+
scanFrequency?: EcrScanFrequency;
|
|
1173
1173
|
}
|
|
1174
1174
|
export interface LambdaFunctionMetadata {
|
|
1175
1175
|
functionTags?: Record<string, string>;
|
|
1176
1176
|
layers?: string[];
|
|
1177
1177
|
functionName?: string;
|
|
1178
|
-
runtime?: Runtime
|
|
1178
|
+
runtime?: Runtime;
|
|
1179
1179
|
}
|
|
1180
1180
|
export interface ResourceScanMetadata {
|
|
1181
1181
|
ecrRepository?: EcrRepositoryMetadata;
|
|
@@ -1218,8 +1218,8 @@ export declare const ScanStatusCode: {
|
|
|
1218
1218
|
export type ScanStatusCode =
|
|
1219
1219
|
(typeof ScanStatusCode)[keyof typeof ScanStatusCode];
|
|
1220
1220
|
export interface ScanStatus {
|
|
1221
|
-
statusCode: ScanStatusCode |
|
|
1222
|
-
reason: ScanStatusReason |
|
|
1221
|
+
statusCode: ScanStatusCode | undefined;
|
|
1222
|
+
reason: ScanStatusReason | undefined;
|
|
1223
1223
|
}
|
|
1224
1224
|
export declare const ScanType: {
|
|
1225
1225
|
readonly CODE: "CODE";
|
|
@@ -1228,10 +1228,10 @@ export declare const ScanType: {
|
|
|
1228
1228
|
};
|
|
1229
1229
|
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
1230
1230
|
export interface CoveredResource {
|
|
1231
|
-
resourceType: CoverageResourceType |
|
|
1231
|
+
resourceType: CoverageResourceType | undefined;
|
|
1232
1232
|
resourceId: string | undefined;
|
|
1233
1233
|
accountId: string | undefined;
|
|
1234
|
-
scanType: ScanType |
|
|
1234
|
+
scanType: ScanType | undefined;
|
|
1235
1235
|
scanStatus?: ScanStatus;
|
|
1236
1236
|
resourceMetadata?: ResourceScanMetadata;
|
|
1237
1237
|
lastScannedAt?: Date;
|
|
@@ -1307,7 +1307,7 @@ export interface FilterCriteria {
|
|
|
1307
1307
|
epssScore?: NumberFilter[];
|
|
1308
1308
|
}
|
|
1309
1309
|
export interface CreateFilterRequest {
|
|
1310
|
-
action: FilterAction |
|
|
1310
|
+
action: FilterAction | undefined;
|
|
1311
1311
|
description?: string;
|
|
1312
1312
|
filterCriteria: FilterCriteria | undefined;
|
|
1313
1313
|
name: string | undefined;
|
|
@@ -1337,7 +1337,7 @@ export interface Destination {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
export interface CreateFindingsReportRequest {
|
|
1339
1339
|
filterCriteria?: FilterCriteria;
|
|
1340
|
-
reportFormat: ReportFormat |
|
|
1340
|
+
reportFormat: ReportFormat | undefined;
|
|
1341
1341
|
s3Destination: Destination | undefined;
|
|
1342
1342
|
}
|
|
1343
1343
|
export interface CreateFindingsReportResponse {
|
|
@@ -1356,7 +1356,7 @@ export declare const ResourceStringComparison: {
|
|
|
1356
1356
|
export type ResourceStringComparison =
|
|
1357
1357
|
(typeof ResourceStringComparison)[keyof typeof ResourceStringComparison];
|
|
1358
1358
|
export interface ResourceStringFilter {
|
|
1359
|
-
comparison: ResourceStringComparison |
|
|
1359
|
+
comparison: ResourceStringComparison | undefined;
|
|
1360
1360
|
value: string | undefined;
|
|
1361
1361
|
}
|
|
1362
1362
|
export declare const ResourceMapComparison: {
|
|
@@ -1365,7 +1365,7 @@ export declare const ResourceMapComparison: {
|
|
|
1365
1365
|
export type ResourceMapComparison =
|
|
1366
1366
|
(typeof ResourceMapComparison)[keyof typeof ResourceMapComparison];
|
|
1367
1367
|
export interface ResourceMapFilter {
|
|
1368
|
-
comparison: ResourceMapComparison |
|
|
1368
|
+
comparison: ResourceMapComparison | undefined;
|
|
1369
1369
|
key: string | undefined;
|
|
1370
1370
|
value?: string;
|
|
1371
1371
|
}
|
|
@@ -1381,7 +1381,7 @@ export interface ResourceFilterCriteria {
|
|
|
1381
1381
|
}
|
|
1382
1382
|
export interface CreateSbomExportRequest {
|
|
1383
1383
|
resourceFilterCriteria?: ResourceFilterCriteria;
|
|
1384
|
-
reportFormat: SbomReportFormat |
|
|
1384
|
+
reportFormat: SbomReportFormat | undefined;
|
|
1385
1385
|
s3Destination: Destination | undefined;
|
|
1386
1386
|
}
|
|
1387
1387
|
export interface CreateSbomExportResponse {
|
|
@@ -1435,7 +1435,7 @@ export type RelationshipStatus =
|
|
|
1435
1435
|
(typeof RelationshipStatus)[keyof typeof RelationshipStatus];
|
|
1436
1436
|
export interface DelegatedAdmin {
|
|
1437
1437
|
accountId?: string;
|
|
1438
|
-
relationshipStatus?: RelationshipStatus
|
|
1438
|
+
relationshipStatus?: RelationshipStatus;
|
|
1439
1439
|
}
|
|
1440
1440
|
export declare const DelegatedAdminStatus: {
|
|
1441
1441
|
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
@@ -1445,7 +1445,7 @@ export type DelegatedAdminStatus =
|
|
|
1445
1445
|
(typeof DelegatedAdminStatus)[keyof typeof DelegatedAdminStatus];
|
|
1446
1446
|
export interface DelegatedAdminAccount {
|
|
1447
1447
|
accountId?: string;
|
|
1448
|
-
status?: DelegatedAdminStatus
|
|
1448
|
+
status?: DelegatedAdminStatus;
|
|
1449
1449
|
}
|
|
1450
1450
|
export interface DeleteFilterRequest {
|
|
1451
1451
|
arn: string | undefined;
|
|
@@ -1468,7 +1468,7 @@ export type ResourceScanType =
|
|
|
1468
1468
|
(typeof ResourceScanType)[keyof typeof ResourceScanType];
|
|
1469
1469
|
export interface DisableRequest {
|
|
1470
1470
|
accountIds?: string[];
|
|
1471
|
-
resourceTypes?:
|
|
1471
|
+
resourceTypes?: ResourceScanType[];
|
|
1472
1472
|
}
|
|
1473
1473
|
export interface DisableResponse {
|
|
1474
1474
|
accounts: Account[] | undefined;
|
|
@@ -1494,7 +1494,7 @@ export declare const EcrRescanDuration: {
|
|
|
1494
1494
|
export type EcrRescanDuration =
|
|
1495
1495
|
(typeof EcrRescanDuration)[keyof typeof EcrRescanDuration];
|
|
1496
1496
|
export interface EcrConfiguration {
|
|
1497
|
-
rescanDuration: EcrRescanDuration |
|
|
1497
|
+
rescanDuration: EcrRescanDuration | undefined;
|
|
1498
1498
|
}
|
|
1499
1499
|
export declare const EcrRescanDurationStatus: {
|
|
1500
1500
|
readonly FAILED: "FAILED";
|
|
@@ -1504,8 +1504,8 @@ export declare const EcrRescanDurationStatus: {
|
|
|
1504
1504
|
export type EcrRescanDurationStatus =
|
|
1505
1505
|
(typeof EcrRescanDurationStatus)[keyof typeof EcrRescanDurationStatus];
|
|
1506
1506
|
export interface EcrRescanDurationState {
|
|
1507
|
-
rescanDuration?: EcrRescanDuration
|
|
1508
|
-
status?: EcrRescanDurationStatus
|
|
1507
|
+
rescanDuration?: EcrRescanDuration;
|
|
1508
|
+
status?: EcrRescanDurationStatus;
|
|
1509
1509
|
updatedAt?: Date;
|
|
1510
1510
|
}
|
|
1511
1511
|
export interface EcrConfigurationState {
|
|
@@ -1513,7 +1513,7 @@ export interface EcrConfigurationState {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
export interface EnableRequest {
|
|
1515
1515
|
accountIds?: string[];
|
|
1516
|
-
resourceTypes:
|
|
1516
|
+
resourceTypes: ResourceScanType[] | undefined;
|
|
1517
1517
|
clientToken?: string;
|
|
1518
1518
|
}
|
|
1519
1519
|
export interface EnableResponse {
|
|
@@ -1555,7 +1555,7 @@ export interface Filter {
|
|
|
1555
1555
|
ownerId: string | undefined;
|
|
1556
1556
|
name: string | undefined;
|
|
1557
1557
|
criteria: FilterCriteria | undefined;
|
|
1558
|
-
action: FilterAction |
|
|
1558
|
+
action: FilterAction | undefined;
|
|
1559
1559
|
createdAt: Date | undefined;
|
|
1560
1560
|
updatedAt: Date | undefined;
|
|
1561
1561
|
description?: string;
|
|
@@ -1590,7 +1590,7 @@ export type NetworkProtocol =
|
|
|
1590
1590
|
(typeof NetworkProtocol)[keyof typeof NetworkProtocol];
|
|
1591
1591
|
export interface NetworkReachabilityDetails {
|
|
1592
1592
|
openPortRange: PortRange | undefined;
|
|
1593
|
-
protocol: NetworkProtocol |
|
|
1593
|
+
protocol: NetworkProtocol | undefined;
|
|
1594
1594
|
networkPath: NetworkPath | undefined;
|
|
1595
1595
|
}
|
|
1596
1596
|
export declare const PackageManager: {
|
|
@@ -1621,7 +1621,7 @@ export interface VulnerablePackage {
|
|
|
1621
1621
|
epoch?: number;
|
|
1622
1622
|
release?: string;
|
|
1623
1623
|
arch?: string;
|
|
1624
|
-
packageManager?: PackageManager
|
|
1624
|
+
packageManager?: PackageManager;
|
|
1625
1625
|
filePath?: string;
|
|
1626
1626
|
fixedInVersion?: string;
|
|
1627
1627
|
remediation?: string;
|
|
@@ -1659,7 +1659,7 @@ export declare const ResourceType: {
|
|
|
1659
1659
|
};
|
|
1660
1660
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
1661
1661
|
export interface Resource {
|
|
1662
|
-
type: ResourceType |
|
|
1662
|
+
type: ResourceType | undefined;
|
|
1663
1663
|
id: string | undefined;
|
|
1664
1664
|
partition?: string;
|
|
1665
1665
|
region?: string;
|
|
@@ -1690,22 +1690,22 @@ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
|
1690
1690
|
export interface Finding {
|
|
1691
1691
|
findingArn: string | undefined;
|
|
1692
1692
|
awsAccountId: string | undefined;
|
|
1693
|
-
type: FindingType |
|
|
1693
|
+
type: FindingType | undefined;
|
|
1694
1694
|
description: string | undefined;
|
|
1695
1695
|
title?: string;
|
|
1696
1696
|
remediation: Remediation | undefined;
|
|
1697
|
-
severity: Severity |
|
|
1697
|
+
severity: Severity | undefined;
|
|
1698
1698
|
firstObservedAt: Date | undefined;
|
|
1699
1699
|
lastObservedAt: Date | undefined;
|
|
1700
1700
|
updatedAt?: Date;
|
|
1701
|
-
status: FindingStatus |
|
|
1701
|
+
status: FindingStatus | undefined;
|
|
1702
1702
|
resources: Resource[] | undefined;
|
|
1703
1703
|
inspectorScore?: number;
|
|
1704
1704
|
inspectorScoreDetails?: InspectorScoreDetails;
|
|
1705
1705
|
networkReachabilityDetails?: NetworkReachabilityDetails;
|
|
1706
1706
|
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
1707
|
-
fixAvailable?: FixAvailable
|
|
1708
|
-
exploitAvailable?: ExploitAvailable
|
|
1707
|
+
fixAvailable?: FixAvailable;
|
|
1708
|
+
exploitAvailable?: ExploitAvailable;
|
|
1709
1709
|
exploitabilityDetails?: ExploitabilityDetails;
|
|
1710
1710
|
codeVulnerabilityDetails?: CodeVulnerabilityDetails;
|
|
1711
1711
|
epss?: EpssDetails;
|
|
@@ -1722,12 +1722,12 @@ export interface GetEc2DeepInspectionConfigurationRequest {}
|
|
|
1722
1722
|
export interface GetEc2DeepInspectionConfigurationResponse {
|
|
1723
1723
|
packagePaths?: string[];
|
|
1724
1724
|
orgPackagePaths?: string[];
|
|
1725
|
-
status?: Ec2DeepInspectionStatus
|
|
1725
|
+
status?: Ec2DeepInspectionStatus;
|
|
1726
1726
|
errorMessage?: string;
|
|
1727
1727
|
}
|
|
1728
1728
|
export interface GetEncryptionKeyRequest {
|
|
1729
|
-
scanType: ScanType |
|
|
1730
|
-
resourceType: ResourceType |
|
|
1729
|
+
scanType: ScanType | undefined;
|
|
1730
|
+
resourceType: ResourceType | undefined;
|
|
1731
1731
|
}
|
|
1732
1732
|
export interface GetEncryptionKeyResponse {
|
|
1733
1733
|
kmsKeyId: string | undefined;
|
|
@@ -1747,8 +1747,8 @@ export type ReportingErrorCode =
|
|
|
1747
1747
|
(typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
|
|
1748
1748
|
export interface GetFindingsReportStatusResponse {
|
|
1749
1749
|
reportId?: string;
|
|
1750
|
-
status?: ExternalReportStatus
|
|
1751
|
-
errorCode?: ReportingErrorCode
|
|
1750
|
+
status?: ExternalReportStatus;
|
|
1751
|
+
errorCode?: ReportingErrorCode;
|
|
1752
1752
|
errorMessage?: string;
|
|
1753
1753
|
destination?: Destination;
|
|
1754
1754
|
filterCriteria?: FilterCriteria;
|
|
@@ -1758,7 +1758,7 @@ export interface GetMemberRequest {
|
|
|
1758
1758
|
}
|
|
1759
1759
|
export interface Member {
|
|
1760
1760
|
accountId?: string;
|
|
1761
|
-
relationshipStatus?: RelationshipStatus
|
|
1761
|
+
relationshipStatus?: RelationshipStatus;
|
|
1762
1762
|
delegatedAdminAccountId?: string;
|
|
1763
1763
|
updatedAt?: Date;
|
|
1764
1764
|
}
|
|
@@ -1770,9 +1770,9 @@ export interface GetSbomExportRequest {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
export interface GetSbomExportResponse {
|
|
1772
1772
|
reportId?: string;
|
|
1773
|
-
format?: SbomReportFormat
|
|
1774
|
-
status?: ExternalReportStatus
|
|
1775
|
-
errorCode?: ReportingErrorCode
|
|
1773
|
+
format?: SbomReportFormat;
|
|
1774
|
+
status?: ExternalReportStatus;
|
|
1775
|
+
errorCode?: ReportingErrorCode;
|
|
1776
1776
|
errorMessage?: string;
|
|
1777
1777
|
s3Destination?: Destination;
|
|
1778
1778
|
filterCriteria?: ResourceFilterCriteria;
|
|
@@ -1784,7 +1784,7 @@ export declare const Service: {
|
|
|
1784
1784
|
};
|
|
1785
1785
|
export type Service = (typeof Service)[keyof typeof Service];
|
|
1786
1786
|
export interface ListAccountPermissionsRequest {
|
|
1787
|
-
service?: Service
|
|
1787
|
+
service?: Service;
|
|
1788
1788
|
maxResults?: number;
|
|
1789
1789
|
nextToken?: string;
|
|
1790
1790
|
}
|
|
@@ -1796,8 +1796,8 @@ export declare const Operation: {
|
|
|
1796
1796
|
};
|
|
1797
1797
|
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
1798
1798
|
export interface Permission {
|
|
1799
|
-
service: Service |
|
|
1800
|
-
operation: Operation |
|
|
1799
|
+
service: Service | undefined;
|
|
1800
|
+
operation: Operation | undefined;
|
|
1801
1801
|
}
|
|
1802
1802
|
export interface ListAccountPermissionsResponse {
|
|
1803
1803
|
permissions: Permission[] | undefined;
|
|
@@ -1814,7 +1814,7 @@ export interface ListCoverageResponse {
|
|
|
1814
1814
|
}
|
|
1815
1815
|
export interface ListCoverageStatisticsRequest {
|
|
1816
1816
|
filterCriteria?: CoverageFilterCriteria;
|
|
1817
|
-
groupBy?: GroupKey
|
|
1817
|
+
groupBy?: GroupKey;
|
|
1818
1818
|
nextToken?: string;
|
|
1819
1819
|
}
|
|
1820
1820
|
export interface ListCoverageStatisticsResponse {
|
|
@@ -1832,7 +1832,7 @@ export interface ListDelegatedAdminAccountsResponse {
|
|
|
1832
1832
|
}
|
|
1833
1833
|
export interface ListFiltersRequest {
|
|
1834
1834
|
arns?: string[];
|
|
1835
|
-
action?: FilterAction
|
|
1835
|
+
action?: FilterAction;
|
|
1836
1836
|
nextToken?: string;
|
|
1837
1837
|
maxResults?: number;
|
|
1838
1838
|
}
|
|
@@ -1841,14 +1841,14 @@ export interface ListFiltersResponse {
|
|
|
1841
1841
|
nextToken?: string;
|
|
1842
1842
|
}
|
|
1843
1843
|
export interface ListFindingAggregationsRequest {
|
|
1844
|
-
aggregationType: AggregationType |
|
|
1844
|
+
aggregationType: AggregationType | undefined;
|
|
1845
1845
|
nextToken?: string;
|
|
1846
1846
|
maxResults?: number;
|
|
1847
1847
|
accountIds?: StringFilter[];
|
|
1848
1848
|
aggregationRequest?: AggregationRequest;
|
|
1849
1849
|
}
|
|
1850
1850
|
export interface ListFindingAggregationsResponse {
|
|
1851
|
-
aggregationType: AggregationType |
|
|
1851
|
+
aggregationType: AggregationType | undefined;
|
|
1852
1852
|
responses?: AggregationResponse[];
|
|
1853
1853
|
nextToken?: string;
|
|
1854
1854
|
}
|
|
@@ -1873,8 +1873,8 @@ export declare const SortField: {
|
|
|
1873
1873
|
};
|
|
1874
1874
|
export type SortField = (typeof SortField)[keyof typeof SortField];
|
|
1875
1875
|
export interface SortCriteria {
|
|
1876
|
-
field: SortField |
|
|
1877
|
-
sortOrder: SortOrder |
|
|
1876
|
+
field: SortField | undefined;
|
|
1877
|
+
sortOrder: SortOrder | undefined;
|
|
1878
1878
|
}
|
|
1879
1879
|
export interface ListFindingsRequest {
|
|
1880
1880
|
maxResults?: number;
|
|
@@ -1915,10 +1915,10 @@ export declare const UsageType: {
|
|
|
1915
1915
|
};
|
|
1916
1916
|
export type UsageType = (typeof UsageType)[keyof typeof UsageType];
|
|
1917
1917
|
export interface Usage {
|
|
1918
|
-
type?: UsageType
|
|
1918
|
+
type?: UsageType;
|
|
1919
1919
|
total?: number;
|
|
1920
1920
|
estimatedMonthlyCost?: number;
|
|
1921
|
-
currency?: Currency
|
|
1921
|
+
currency?: Currency;
|
|
1922
1922
|
}
|
|
1923
1923
|
export interface UsageTotal {
|
|
1924
1924
|
accountId?: string;
|
|
@@ -1929,8 +1929,8 @@ export interface ListUsageTotalsResponse {
|
|
|
1929
1929
|
totals?: UsageTotal[];
|
|
1930
1930
|
}
|
|
1931
1931
|
export interface ResetEncryptionKeyRequest {
|
|
1932
|
-
scanType: ScanType |
|
|
1933
|
-
resourceType: ResourceType |
|
|
1932
|
+
scanType: ScanType | undefined;
|
|
1933
|
+
resourceType: ResourceType | undefined;
|
|
1934
1934
|
}
|
|
1935
1935
|
export interface ResetEncryptionKeyResponse {}
|
|
1936
1936
|
export interface SearchVulnerabilitiesFilterCriteria {
|
|
@@ -1949,7 +1949,7 @@ export interface Vulnerability {
|
|
|
1949
1949
|
id: string | undefined;
|
|
1950
1950
|
cwes?: string[];
|
|
1951
1951
|
cisaData?: CisaData;
|
|
1952
|
-
source?: VulnerabilitySource
|
|
1952
|
+
source?: VulnerabilitySource;
|
|
1953
1953
|
description?: string;
|
|
1954
1954
|
atigData?: AtigData;
|
|
1955
1955
|
vendorSeverity?: string;
|
|
@@ -1989,17 +1989,17 @@ export interface UpdateEc2DeepInspectionConfigurationRequest {
|
|
|
1989
1989
|
export interface UpdateEc2DeepInspectionConfigurationResponse {
|
|
1990
1990
|
packagePaths?: string[];
|
|
1991
1991
|
orgPackagePaths?: string[];
|
|
1992
|
-
status?: Ec2DeepInspectionStatus
|
|
1992
|
+
status?: Ec2DeepInspectionStatus;
|
|
1993
1993
|
errorMessage?: string;
|
|
1994
1994
|
}
|
|
1995
1995
|
export interface UpdateEncryptionKeyRequest {
|
|
1996
1996
|
kmsKeyId: string | undefined;
|
|
1997
|
-
scanType: ScanType |
|
|
1998
|
-
resourceType: ResourceType |
|
|
1997
|
+
scanType: ScanType | undefined;
|
|
1998
|
+
resourceType: ResourceType | undefined;
|
|
1999
1999
|
}
|
|
2000
2000
|
export interface UpdateEncryptionKeyResponse {}
|
|
2001
2001
|
export interface UpdateFilterRequest {
|
|
2002
|
-
action?: FilterAction
|
|
2002
|
+
action?: FilterAction;
|
|
2003
2003
|
description?: string;
|
|
2004
2004
|
filterCriteria?: FilterCriteria;
|
|
2005
2005
|
name?: string;
|