@aws-sdk/client-inspector2 3.427.0 → 3.429.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/Inspector2.d.ts +1 -1
- package/dist-types/Inspector2Client.d.ts +1 -1
- package/dist-types/commands/CreateFilterCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +183 -157
- package/dist-types/ts3.4/models/models_0.d.ts +109 -108
- package/package.json +31 -31
|
@@ -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
|
}
|
|
@@ -1147,6 +1147,7 @@ export type CoverageResourceType =
|
|
|
1147
1147
|
(typeof CoverageResourceType)[keyof typeof CoverageResourceType];
|
|
1148
1148
|
export declare const Ec2Platform: {
|
|
1149
1149
|
readonly LINUX: "LINUX";
|
|
1150
|
+
readonly MACOS: "MACOS";
|
|
1150
1151
|
readonly UNKNOWN: "UNKNOWN";
|
|
1151
1152
|
readonly WINDOWS: "WINDOWS";
|
|
1152
1153
|
};
|
|
@@ -1154,7 +1155,7 @@ export type Ec2Platform = (typeof Ec2Platform)[keyof typeof Ec2Platform];
|
|
|
1154
1155
|
export interface Ec2Metadata {
|
|
1155
1156
|
tags?: Record<string, string>;
|
|
1156
1157
|
amiId?: string;
|
|
1157
|
-
platform?: Ec2Platform
|
|
1158
|
+
platform?: Ec2Platform;
|
|
1158
1159
|
}
|
|
1159
1160
|
export interface EcrContainerImageMetadata {
|
|
1160
1161
|
tags?: string[];
|
|
@@ -1168,13 +1169,13 @@ export type EcrScanFrequency =
|
|
|
1168
1169
|
(typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
|
|
1169
1170
|
export interface EcrRepositoryMetadata {
|
|
1170
1171
|
name?: string;
|
|
1171
|
-
scanFrequency?: EcrScanFrequency
|
|
1172
|
+
scanFrequency?: EcrScanFrequency;
|
|
1172
1173
|
}
|
|
1173
1174
|
export interface LambdaFunctionMetadata {
|
|
1174
1175
|
functionTags?: Record<string, string>;
|
|
1175
1176
|
layers?: string[];
|
|
1176
1177
|
functionName?: string;
|
|
1177
|
-
runtime?: Runtime
|
|
1178
|
+
runtime?: Runtime;
|
|
1178
1179
|
}
|
|
1179
1180
|
export interface ResourceScanMetadata {
|
|
1180
1181
|
ecrRepository?: EcrRepositoryMetadata;
|
|
@@ -1217,8 +1218,8 @@ export declare const ScanStatusCode: {
|
|
|
1217
1218
|
export type ScanStatusCode =
|
|
1218
1219
|
(typeof ScanStatusCode)[keyof typeof ScanStatusCode];
|
|
1219
1220
|
export interface ScanStatus {
|
|
1220
|
-
statusCode: ScanStatusCode |
|
|
1221
|
-
reason: ScanStatusReason |
|
|
1221
|
+
statusCode: ScanStatusCode | undefined;
|
|
1222
|
+
reason: ScanStatusReason | undefined;
|
|
1222
1223
|
}
|
|
1223
1224
|
export declare const ScanType: {
|
|
1224
1225
|
readonly CODE: "CODE";
|
|
@@ -1227,10 +1228,10 @@ export declare const ScanType: {
|
|
|
1227
1228
|
};
|
|
1228
1229
|
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
1229
1230
|
export interface CoveredResource {
|
|
1230
|
-
resourceType: CoverageResourceType |
|
|
1231
|
+
resourceType: CoverageResourceType | undefined;
|
|
1231
1232
|
resourceId: string | undefined;
|
|
1232
1233
|
accountId: string | undefined;
|
|
1233
|
-
scanType: ScanType |
|
|
1234
|
+
scanType: ScanType | undefined;
|
|
1234
1235
|
scanStatus?: ScanStatus;
|
|
1235
1236
|
resourceMetadata?: ResourceScanMetadata;
|
|
1236
1237
|
lastScannedAt?: Date;
|
|
@@ -1306,7 +1307,7 @@ export interface FilterCriteria {
|
|
|
1306
1307
|
epssScore?: NumberFilter[];
|
|
1307
1308
|
}
|
|
1308
1309
|
export interface CreateFilterRequest {
|
|
1309
|
-
action: FilterAction |
|
|
1310
|
+
action: FilterAction | undefined;
|
|
1310
1311
|
description?: string;
|
|
1311
1312
|
filterCriteria: FilterCriteria | undefined;
|
|
1312
1313
|
name: string | undefined;
|
|
@@ -1336,7 +1337,7 @@ export interface Destination {
|
|
|
1336
1337
|
}
|
|
1337
1338
|
export interface CreateFindingsReportRequest {
|
|
1338
1339
|
filterCriteria?: FilterCriteria;
|
|
1339
|
-
reportFormat: ReportFormat |
|
|
1340
|
+
reportFormat: ReportFormat | undefined;
|
|
1340
1341
|
s3Destination: Destination | undefined;
|
|
1341
1342
|
}
|
|
1342
1343
|
export interface CreateFindingsReportResponse {
|
|
@@ -1355,7 +1356,7 @@ export declare const ResourceStringComparison: {
|
|
|
1355
1356
|
export type ResourceStringComparison =
|
|
1356
1357
|
(typeof ResourceStringComparison)[keyof typeof ResourceStringComparison];
|
|
1357
1358
|
export interface ResourceStringFilter {
|
|
1358
|
-
comparison: ResourceStringComparison |
|
|
1359
|
+
comparison: ResourceStringComparison | undefined;
|
|
1359
1360
|
value: string | undefined;
|
|
1360
1361
|
}
|
|
1361
1362
|
export declare const ResourceMapComparison: {
|
|
@@ -1364,7 +1365,7 @@ export declare const ResourceMapComparison: {
|
|
|
1364
1365
|
export type ResourceMapComparison =
|
|
1365
1366
|
(typeof ResourceMapComparison)[keyof typeof ResourceMapComparison];
|
|
1366
1367
|
export interface ResourceMapFilter {
|
|
1367
|
-
comparison: ResourceMapComparison |
|
|
1368
|
+
comparison: ResourceMapComparison | undefined;
|
|
1368
1369
|
key: string | undefined;
|
|
1369
1370
|
value?: string;
|
|
1370
1371
|
}
|
|
@@ -1380,7 +1381,7 @@ export interface ResourceFilterCriteria {
|
|
|
1380
1381
|
}
|
|
1381
1382
|
export interface CreateSbomExportRequest {
|
|
1382
1383
|
resourceFilterCriteria?: ResourceFilterCriteria;
|
|
1383
|
-
reportFormat: SbomReportFormat |
|
|
1384
|
+
reportFormat: SbomReportFormat | undefined;
|
|
1384
1385
|
s3Destination: Destination | undefined;
|
|
1385
1386
|
}
|
|
1386
1387
|
export interface CreateSbomExportResponse {
|
|
@@ -1434,7 +1435,7 @@ export type RelationshipStatus =
|
|
|
1434
1435
|
(typeof RelationshipStatus)[keyof typeof RelationshipStatus];
|
|
1435
1436
|
export interface DelegatedAdmin {
|
|
1436
1437
|
accountId?: string;
|
|
1437
|
-
relationshipStatus?: RelationshipStatus
|
|
1438
|
+
relationshipStatus?: RelationshipStatus;
|
|
1438
1439
|
}
|
|
1439
1440
|
export declare const DelegatedAdminStatus: {
|
|
1440
1441
|
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
@@ -1444,7 +1445,7 @@ export type DelegatedAdminStatus =
|
|
|
1444
1445
|
(typeof DelegatedAdminStatus)[keyof typeof DelegatedAdminStatus];
|
|
1445
1446
|
export interface DelegatedAdminAccount {
|
|
1446
1447
|
accountId?: string;
|
|
1447
|
-
status?: DelegatedAdminStatus
|
|
1448
|
+
status?: DelegatedAdminStatus;
|
|
1448
1449
|
}
|
|
1449
1450
|
export interface DeleteFilterRequest {
|
|
1450
1451
|
arn: string | undefined;
|
|
@@ -1467,7 +1468,7 @@ export type ResourceScanType =
|
|
|
1467
1468
|
(typeof ResourceScanType)[keyof typeof ResourceScanType];
|
|
1468
1469
|
export interface DisableRequest {
|
|
1469
1470
|
accountIds?: string[];
|
|
1470
|
-
resourceTypes?:
|
|
1471
|
+
resourceTypes?: ResourceScanType[];
|
|
1471
1472
|
}
|
|
1472
1473
|
export interface DisableResponse {
|
|
1473
1474
|
accounts: Account[] | undefined;
|
|
@@ -1493,7 +1494,7 @@ export declare const EcrRescanDuration: {
|
|
|
1493
1494
|
export type EcrRescanDuration =
|
|
1494
1495
|
(typeof EcrRescanDuration)[keyof typeof EcrRescanDuration];
|
|
1495
1496
|
export interface EcrConfiguration {
|
|
1496
|
-
rescanDuration: EcrRescanDuration |
|
|
1497
|
+
rescanDuration: EcrRescanDuration | undefined;
|
|
1497
1498
|
}
|
|
1498
1499
|
export declare const EcrRescanDurationStatus: {
|
|
1499
1500
|
readonly FAILED: "FAILED";
|
|
@@ -1503,8 +1504,8 @@ export declare const EcrRescanDurationStatus: {
|
|
|
1503
1504
|
export type EcrRescanDurationStatus =
|
|
1504
1505
|
(typeof EcrRescanDurationStatus)[keyof typeof EcrRescanDurationStatus];
|
|
1505
1506
|
export interface EcrRescanDurationState {
|
|
1506
|
-
rescanDuration?: EcrRescanDuration
|
|
1507
|
-
status?: EcrRescanDurationStatus
|
|
1507
|
+
rescanDuration?: EcrRescanDuration;
|
|
1508
|
+
status?: EcrRescanDurationStatus;
|
|
1508
1509
|
updatedAt?: Date;
|
|
1509
1510
|
}
|
|
1510
1511
|
export interface EcrConfigurationState {
|
|
@@ -1512,7 +1513,7 @@ export interface EcrConfigurationState {
|
|
|
1512
1513
|
}
|
|
1513
1514
|
export interface EnableRequest {
|
|
1514
1515
|
accountIds?: string[];
|
|
1515
|
-
resourceTypes:
|
|
1516
|
+
resourceTypes: ResourceScanType[] | undefined;
|
|
1516
1517
|
clientToken?: string;
|
|
1517
1518
|
}
|
|
1518
1519
|
export interface EnableResponse {
|
|
@@ -1554,7 +1555,7 @@ export interface Filter {
|
|
|
1554
1555
|
ownerId: string | undefined;
|
|
1555
1556
|
name: string | undefined;
|
|
1556
1557
|
criteria: FilterCriteria | undefined;
|
|
1557
|
-
action: FilterAction |
|
|
1558
|
+
action: FilterAction | undefined;
|
|
1558
1559
|
createdAt: Date | undefined;
|
|
1559
1560
|
updatedAt: Date | undefined;
|
|
1560
1561
|
description?: string;
|
|
@@ -1589,7 +1590,7 @@ export type NetworkProtocol =
|
|
|
1589
1590
|
(typeof NetworkProtocol)[keyof typeof NetworkProtocol];
|
|
1590
1591
|
export interface NetworkReachabilityDetails {
|
|
1591
1592
|
openPortRange: PortRange | undefined;
|
|
1592
|
-
protocol: NetworkProtocol |
|
|
1593
|
+
protocol: NetworkProtocol | undefined;
|
|
1593
1594
|
networkPath: NetworkPath | undefined;
|
|
1594
1595
|
}
|
|
1595
1596
|
export declare const PackageManager: {
|
|
@@ -1620,7 +1621,7 @@ export interface VulnerablePackage {
|
|
|
1620
1621
|
epoch?: number;
|
|
1621
1622
|
release?: string;
|
|
1622
1623
|
arch?: string;
|
|
1623
|
-
packageManager?: PackageManager
|
|
1624
|
+
packageManager?: PackageManager;
|
|
1624
1625
|
filePath?: string;
|
|
1625
1626
|
fixedInVersion?: string;
|
|
1626
1627
|
remediation?: string;
|
|
@@ -1658,7 +1659,7 @@ export declare const ResourceType: {
|
|
|
1658
1659
|
};
|
|
1659
1660
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
1660
1661
|
export interface Resource {
|
|
1661
|
-
type: ResourceType |
|
|
1662
|
+
type: ResourceType | undefined;
|
|
1662
1663
|
id: string | undefined;
|
|
1663
1664
|
partition?: string;
|
|
1664
1665
|
region?: string;
|
|
@@ -1689,22 +1690,22 @@ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
|
1689
1690
|
export interface Finding {
|
|
1690
1691
|
findingArn: string | undefined;
|
|
1691
1692
|
awsAccountId: string | undefined;
|
|
1692
|
-
type: FindingType |
|
|
1693
|
+
type: FindingType | undefined;
|
|
1693
1694
|
description: string | undefined;
|
|
1694
1695
|
title?: string;
|
|
1695
1696
|
remediation: Remediation | undefined;
|
|
1696
|
-
severity: Severity |
|
|
1697
|
+
severity: Severity | undefined;
|
|
1697
1698
|
firstObservedAt: Date | undefined;
|
|
1698
1699
|
lastObservedAt: Date | undefined;
|
|
1699
1700
|
updatedAt?: Date;
|
|
1700
|
-
status: FindingStatus |
|
|
1701
|
+
status: FindingStatus | undefined;
|
|
1701
1702
|
resources: Resource[] | undefined;
|
|
1702
1703
|
inspectorScore?: number;
|
|
1703
1704
|
inspectorScoreDetails?: InspectorScoreDetails;
|
|
1704
1705
|
networkReachabilityDetails?: NetworkReachabilityDetails;
|
|
1705
1706
|
packageVulnerabilityDetails?: PackageVulnerabilityDetails;
|
|
1706
|
-
fixAvailable?: FixAvailable
|
|
1707
|
-
exploitAvailable?: ExploitAvailable
|
|
1707
|
+
fixAvailable?: FixAvailable;
|
|
1708
|
+
exploitAvailable?: ExploitAvailable;
|
|
1708
1709
|
exploitabilityDetails?: ExploitabilityDetails;
|
|
1709
1710
|
codeVulnerabilityDetails?: CodeVulnerabilityDetails;
|
|
1710
1711
|
epss?: EpssDetails;
|
|
@@ -1721,12 +1722,12 @@ export interface GetEc2DeepInspectionConfigurationRequest {}
|
|
|
1721
1722
|
export interface GetEc2DeepInspectionConfigurationResponse {
|
|
1722
1723
|
packagePaths?: string[];
|
|
1723
1724
|
orgPackagePaths?: string[];
|
|
1724
|
-
status?: Ec2DeepInspectionStatus
|
|
1725
|
+
status?: Ec2DeepInspectionStatus;
|
|
1725
1726
|
errorMessage?: string;
|
|
1726
1727
|
}
|
|
1727
1728
|
export interface GetEncryptionKeyRequest {
|
|
1728
|
-
scanType: ScanType |
|
|
1729
|
-
resourceType: ResourceType |
|
|
1729
|
+
scanType: ScanType | undefined;
|
|
1730
|
+
resourceType: ResourceType | undefined;
|
|
1730
1731
|
}
|
|
1731
1732
|
export interface GetEncryptionKeyResponse {
|
|
1732
1733
|
kmsKeyId: string | undefined;
|
|
@@ -1746,8 +1747,8 @@ export type ReportingErrorCode =
|
|
|
1746
1747
|
(typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
|
|
1747
1748
|
export interface GetFindingsReportStatusResponse {
|
|
1748
1749
|
reportId?: string;
|
|
1749
|
-
status?: ExternalReportStatus
|
|
1750
|
-
errorCode?: ReportingErrorCode
|
|
1750
|
+
status?: ExternalReportStatus;
|
|
1751
|
+
errorCode?: ReportingErrorCode;
|
|
1751
1752
|
errorMessage?: string;
|
|
1752
1753
|
destination?: Destination;
|
|
1753
1754
|
filterCriteria?: FilterCriteria;
|
|
@@ -1757,7 +1758,7 @@ export interface GetMemberRequest {
|
|
|
1757
1758
|
}
|
|
1758
1759
|
export interface Member {
|
|
1759
1760
|
accountId?: string;
|
|
1760
|
-
relationshipStatus?: RelationshipStatus
|
|
1761
|
+
relationshipStatus?: RelationshipStatus;
|
|
1761
1762
|
delegatedAdminAccountId?: string;
|
|
1762
1763
|
updatedAt?: Date;
|
|
1763
1764
|
}
|
|
@@ -1769,9 +1770,9 @@ export interface GetSbomExportRequest {
|
|
|
1769
1770
|
}
|
|
1770
1771
|
export interface GetSbomExportResponse {
|
|
1771
1772
|
reportId?: string;
|
|
1772
|
-
format?: SbomReportFormat
|
|
1773
|
-
status?: ExternalReportStatus
|
|
1774
|
-
errorCode?: ReportingErrorCode
|
|
1773
|
+
format?: SbomReportFormat;
|
|
1774
|
+
status?: ExternalReportStatus;
|
|
1775
|
+
errorCode?: ReportingErrorCode;
|
|
1775
1776
|
errorMessage?: string;
|
|
1776
1777
|
s3Destination?: Destination;
|
|
1777
1778
|
filterCriteria?: ResourceFilterCriteria;
|
|
@@ -1783,7 +1784,7 @@ export declare const Service: {
|
|
|
1783
1784
|
};
|
|
1784
1785
|
export type Service = (typeof Service)[keyof typeof Service];
|
|
1785
1786
|
export interface ListAccountPermissionsRequest {
|
|
1786
|
-
service?: Service
|
|
1787
|
+
service?: Service;
|
|
1787
1788
|
maxResults?: number;
|
|
1788
1789
|
nextToken?: string;
|
|
1789
1790
|
}
|
|
@@ -1795,8 +1796,8 @@ export declare const Operation: {
|
|
|
1795
1796
|
};
|
|
1796
1797
|
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
1797
1798
|
export interface Permission {
|
|
1798
|
-
service: Service |
|
|
1799
|
-
operation: Operation |
|
|
1799
|
+
service: Service | undefined;
|
|
1800
|
+
operation: Operation | undefined;
|
|
1800
1801
|
}
|
|
1801
1802
|
export interface ListAccountPermissionsResponse {
|
|
1802
1803
|
permissions: Permission[] | undefined;
|
|
@@ -1813,7 +1814,7 @@ export interface ListCoverageResponse {
|
|
|
1813
1814
|
}
|
|
1814
1815
|
export interface ListCoverageStatisticsRequest {
|
|
1815
1816
|
filterCriteria?: CoverageFilterCriteria;
|
|
1816
|
-
groupBy?: GroupKey
|
|
1817
|
+
groupBy?: GroupKey;
|
|
1817
1818
|
nextToken?: string;
|
|
1818
1819
|
}
|
|
1819
1820
|
export interface ListCoverageStatisticsResponse {
|
|
@@ -1831,7 +1832,7 @@ export interface ListDelegatedAdminAccountsResponse {
|
|
|
1831
1832
|
}
|
|
1832
1833
|
export interface ListFiltersRequest {
|
|
1833
1834
|
arns?: string[];
|
|
1834
|
-
action?: FilterAction
|
|
1835
|
+
action?: FilterAction;
|
|
1835
1836
|
nextToken?: string;
|
|
1836
1837
|
maxResults?: number;
|
|
1837
1838
|
}
|
|
@@ -1840,14 +1841,14 @@ export interface ListFiltersResponse {
|
|
|
1840
1841
|
nextToken?: string;
|
|
1841
1842
|
}
|
|
1842
1843
|
export interface ListFindingAggregationsRequest {
|
|
1843
|
-
aggregationType: AggregationType |
|
|
1844
|
+
aggregationType: AggregationType | undefined;
|
|
1844
1845
|
nextToken?: string;
|
|
1845
1846
|
maxResults?: number;
|
|
1846
1847
|
accountIds?: StringFilter[];
|
|
1847
1848
|
aggregationRequest?: AggregationRequest;
|
|
1848
1849
|
}
|
|
1849
1850
|
export interface ListFindingAggregationsResponse {
|
|
1850
|
-
aggregationType: AggregationType |
|
|
1851
|
+
aggregationType: AggregationType | undefined;
|
|
1851
1852
|
responses?: AggregationResponse[];
|
|
1852
1853
|
nextToken?: string;
|
|
1853
1854
|
}
|
|
@@ -1872,8 +1873,8 @@ export declare const SortField: {
|
|
|
1872
1873
|
};
|
|
1873
1874
|
export type SortField = (typeof SortField)[keyof typeof SortField];
|
|
1874
1875
|
export interface SortCriteria {
|
|
1875
|
-
field: SortField |
|
|
1876
|
-
sortOrder: SortOrder |
|
|
1876
|
+
field: SortField | undefined;
|
|
1877
|
+
sortOrder: SortOrder | undefined;
|
|
1877
1878
|
}
|
|
1878
1879
|
export interface ListFindingsRequest {
|
|
1879
1880
|
maxResults?: number;
|
|
@@ -1914,10 +1915,10 @@ export declare const UsageType: {
|
|
|
1914
1915
|
};
|
|
1915
1916
|
export type UsageType = (typeof UsageType)[keyof typeof UsageType];
|
|
1916
1917
|
export interface Usage {
|
|
1917
|
-
type?: UsageType
|
|
1918
|
+
type?: UsageType;
|
|
1918
1919
|
total?: number;
|
|
1919
1920
|
estimatedMonthlyCost?: number;
|
|
1920
|
-
currency?: Currency
|
|
1921
|
+
currency?: Currency;
|
|
1921
1922
|
}
|
|
1922
1923
|
export interface UsageTotal {
|
|
1923
1924
|
accountId?: string;
|
|
@@ -1928,8 +1929,8 @@ export interface ListUsageTotalsResponse {
|
|
|
1928
1929
|
totals?: UsageTotal[];
|
|
1929
1930
|
}
|
|
1930
1931
|
export interface ResetEncryptionKeyRequest {
|
|
1931
|
-
scanType: ScanType |
|
|
1932
|
-
resourceType: ResourceType |
|
|
1932
|
+
scanType: ScanType | undefined;
|
|
1933
|
+
resourceType: ResourceType | undefined;
|
|
1933
1934
|
}
|
|
1934
1935
|
export interface ResetEncryptionKeyResponse {}
|
|
1935
1936
|
export interface SearchVulnerabilitiesFilterCriteria {
|
|
@@ -1948,7 +1949,7 @@ export interface Vulnerability {
|
|
|
1948
1949
|
id: string | undefined;
|
|
1949
1950
|
cwes?: string[];
|
|
1950
1951
|
cisaData?: CisaData;
|
|
1951
|
-
source?: VulnerabilitySource
|
|
1952
|
+
source?: VulnerabilitySource;
|
|
1952
1953
|
description?: string;
|
|
1953
1954
|
atigData?: AtigData;
|
|
1954
1955
|
vendorSeverity?: string;
|
|
@@ -1988,17 +1989,17 @@ export interface UpdateEc2DeepInspectionConfigurationRequest {
|
|
|
1988
1989
|
export interface UpdateEc2DeepInspectionConfigurationResponse {
|
|
1989
1990
|
packagePaths?: string[];
|
|
1990
1991
|
orgPackagePaths?: string[];
|
|
1991
|
-
status?: Ec2DeepInspectionStatus
|
|
1992
|
+
status?: Ec2DeepInspectionStatus;
|
|
1992
1993
|
errorMessage?: string;
|
|
1993
1994
|
}
|
|
1994
1995
|
export interface UpdateEncryptionKeyRequest {
|
|
1995
1996
|
kmsKeyId: string | undefined;
|
|
1996
|
-
scanType: ScanType |
|
|
1997
|
-
resourceType: ResourceType |
|
|
1997
|
+
scanType: ScanType | undefined;
|
|
1998
|
+
resourceType: ResourceType | undefined;
|
|
1998
1999
|
}
|
|
1999
2000
|
export interface UpdateEncryptionKeyResponse {}
|
|
2000
2001
|
export interface UpdateFilterRequest {
|
|
2001
|
-
action?: FilterAction
|
|
2002
|
+
action?: FilterAction;
|
|
2002
2003
|
description?: string;
|
|
2003
2004
|
filterCriteria?: FilterCriteria;
|
|
2004
2005
|
name?: string;
|