@aws-sdk/client-inspector2 3.301.0 → 3.303.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/models/models_0.js +362 -419
- package/dist-es/models/models_0.js +362 -419
- package/dist-types/models/models_0.d.ts +647 -362
- package/dist-types/ts3.4/models/models_0.d.ts +449 -362
- package/package.json +34 -34
|
@@ -7,14 +7,15 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
7
7
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
8
|
);
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
11
|
-
DISABLED
|
|
12
|
-
DISABLING
|
|
13
|
-
ENABLED
|
|
14
|
-
ENABLING
|
|
15
|
-
SUSPENDED
|
|
16
|
-
SUSPENDING
|
|
17
|
-
}
|
|
10
|
+
export declare const Status: {
|
|
11
|
+
readonly DISABLED: "DISABLED";
|
|
12
|
+
readonly DISABLING: "DISABLING";
|
|
13
|
+
readonly ENABLED: "ENABLED";
|
|
14
|
+
readonly ENABLING: "ENABLING";
|
|
15
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
16
|
+
readonly SUSPENDING: "SUSPENDING";
|
|
17
|
+
};
|
|
18
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
18
19
|
export interface ResourceStatus {
|
|
19
20
|
ec2: Status | string | undefined;
|
|
20
21
|
ecr: Status | string | undefined;
|
|
@@ -25,24 +26,30 @@ export interface Account {
|
|
|
25
26
|
status: Status | string | undefined;
|
|
26
27
|
resourceStatus: ResourceStatus | undefined;
|
|
27
28
|
}
|
|
28
|
-
export declare
|
|
29
|
-
NETWORK_REACHABILITY
|
|
30
|
-
PACKAGE_VULNERABILITY
|
|
31
|
-
}
|
|
32
|
-
export
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
29
|
+
export declare const AggregationFindingType: {
|
|
30
|
+
readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
|
|
31
|
+
readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
|
|
32
|
+
};
|
|
33
|
+
export type AggregationFindingType =
|
|
34
|
+
(typeof AggregationFindingType)[keyof typeof AggregationFindingType];
|
|
35
|
+
export declare const AggregationResourceType: {
|
|
36
|
+
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
37
|
+
readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
|
|
38
|
+
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
39
|
+
};
|
|
40
|
+
export type AggregationResourceType =
|
|
41
|
+
(typeof AggregationResourceType)[keyof typeof AggregationResourceType];
|
|
42
|
+
export declare const AccountSortBy: {
|
|
43
|
+
readonly ALL: "ALL";
|
|
44
|
+
readonly CRITICAL: "CRITICAL";
|
|
45
|
+
readonly HIGH: "HIGH";
|
|
46
|
+
};
|
|
47
|
+
export type AccountSortBy = (typeof AccountSortBy)[keyof typeof AccountSortBy];
|
|
48
|
+
export declare const SortOrder: {
|
|
49
|
+
readonly ASC: "ASC";
|
|
50
|
+
readonly DESC: "DESC";
|
|
51
|
+
};
|
|
52
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
46
53
|
export interface AccountAggregation {
|
|
47
54
|
findingType?: AggregationFindingType | string;
|
|
48
55
|
resourceType?: AggregationResourceType | string;
|
|
@@ -59,22 +66,23 @@ export interface AccountAggregationResponse {
|
|
|
59
66
|
accountId?: string;
|
|
60
67
|
severityCounts?: SeverityCounts;
|
|
61
68
|
}
|
|
62
|
-
export declare
|
|
63
|
-
ACCESS_DENIED
|
|
64
|
-
ACCOUNT_IS_ISOLATED
|
|
65
|
-
ALREADY_ENABLED
|
|
66
|
-
DISABLE_IN_PROGRESS
|
|
67
|
-
DISASSOCIATE_ALL_MEMBERS
|
|
68
|
-
ENABLE_IN_PROGRESS
|
|
69
|
-
EVENTBRIDGE_THROTTLED
|
|
70
|
-
EVENTBRIDGE_UNAVAILABLE
|
|
71
|
-
INTERNAL_ERROR
|
|
72
|
-
RESOURCE_NOT_FOUND
|
|
73
|
-
RESOURCE_SCAN_NOT_DISABLED
|
|
74
|
-
SSM_THROTTLED
|
|
75
|
-
SSM_UNAVAILABLE
|
|
76
|
-
SUSPEND_IN_PROGRESS
|
|
77
|
-
}
|
|
69
|
+
export declare const ErrorCode: {
|
|
70
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
71
|
+
readonly ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED";
|
|
72
|
+
readonly ALREADY_ENABLED: "ALREADY_ENABLED";
|
|
73
|
+
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
74
|
+
readonly DISASSOCIATE_ALL_MEMBERS: "DISASSOCIATE_ALL_MEMBERS";
|
|
75
|
+
readonly ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS";
|
|
76
|
+
readonly EVENTBRIDGE_THROTTLED: "EVENTBRIDGE_THROTTLED";
|
|
77
|
+
readonly EVENTBRIDGE_UNAVAILABLE: "EVENTBRIDGE_UNAVAILABLE";
|
|
78
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
79
|
+
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
80
|
+
readonly RESOURCE_SCAN_NOT_DISABLED: "RESOURCE_SCAN_NOT_DISABLED";
|
|
81
|
+
readonly SSM_THROTTLED: "SSM_THROTTLED";
|
|
82
|
+
readonly SSM_UNAVAILABLE: "SSM_UNAVAILABLE";
|
|
83
|
+
readonly SUSPEND_IN_PROGRESS: "SUSPEND_IN_PROGRESS";
|
|
84
|
+
};
|
|
85
|
+
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
78
86
|
export interface State {
|
|
79
87
|
status: Status | string | undefined;
|
|
80
88
|
errorCode: ErrorCode | string | undefined;
|
|
@@ -90,31 +98,36 @@ export interface AccountState {
|
|
|
90
98
|
state: State | undefined;
|
|
91
99
|
resourceState: ResourceState | undefined;
|
|
92
100
|
}
|
|
93
|
-
export declare
|
|
94
|
-
EQUALS
|
|
95
|
-
NOT_EQUALS
|
|
96
|
-
PREFIX
|
|
97
|
-
}
|
|
101
|
+
export declare const StringComparison: {
|
|
102
|
+
readonly EQUALS: "EQUALS";
|
|
103
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
104
|
+
readonly PREFIX: "PREFIX";
|
|
105
|
+
};
|
|
106
|
+
export type StringComparison =
|
|
107
|
+
(typeof StringComparison)[keyof typeof StringComparison];
|
|
98
108
|
export interface StringFilter {
|
|
99
109
|
comparison: StringComparison | string | undefined;
|
|
100
110
|
value: string | undefined;
|
|
101
111
|
}
|
|
102
|
-
export declare
|
|
103
|
-
AFFECTED_INSTANCES
|
|
104
|
-
ALL
|
|
105
|
-
CRITICAL
|
|
106
|
-
HIGH
|
|
107
|
-
}
|
|
112
|
+
export declare const AmiSortBy: {
|
|
113
|
+
readonly AFFECTED_INSTANCES: "AFFECTED_INSTANCES";
|
|
114
|
+
readonly ALL: "ALL";
|
|
115
|
+
readonly CRITICAL: "CRITICAL";
|
|
116
|
+
readonly HIGH: "HIGH";
|
|
117
|
+
};
|
|
118
|
+
export type AmiSortBy = (typeof AmiSortBy)[keyof typeof AmiSortBy];
|
|
108
119
|
export interface AmiAggregation {
|
|
109
120
|
amis?: StringFilter[];
|
|
110
121
|
sortOrder?: SortOrder | string;
|
|
111
122
|
sortBy?: AmiSortBy | string;
|
|
112
123
|
}
|
|
113
|
-
export declare
|
|
114
|
-
ALL
|
|
115
|
-
CRITICAL
|
|
116
|
-
HIGH
|
|
117
|
-
}
|
|
124
|
+
export declare const AwsEcrContainerSortBy: {
|
|
125
|
+
readonly ALL: "ALL";
|
|
126
|
+
readonly CRITICAL: "CRITICAL";
|
|
127
|
+
readonly HIGH: "HIGH";
|
|
128
|
+
};
|
|
129
|
+
export type AwsEcrContainerSortBy =
|
|
130
|
+
(typeof AwsEcrContainerSortBy)[keyof typeof AwsEcrContainerSortBy];
|
|
118
131
|
export interface AwsEcrContainerAggregation {
|
|
119
132
|
resourceIds?: StringFilter[];
|
|
120
133
|
imageShas?: StringFilter[];
|
|
@@ -124,20 +137,23 @@ export interface AwsEcrContainerAggregation {
|
|
|
124
137
|
sortOrder?: SortOrder | string;
|
|
125
138
|
sortBy?: AwsEcrContainerSortBy | string;
|
|
126
139
|
}
|
|
127
|
-
export declare
|
|
128
|
-
EQUALS
|
|
129
|
-
}
|
|
140
|
+
export declare const MapComparison: {
|
|
141
|
+
readonly EQUALS: "EQUALS";
|
|
142
|
+
};
|
|
143
|
+
export type MapComparison = (typeof MapComparison)[keyof typeof MapComparison];
|
|
130
144
|
export interface MapFilter {
|
|
131
145
|
comparison: MapComparison | string | undefined;
|
|
132
146
|
key: string | undefined;
|
|
133
147
|
value?: string;
|
|
134
148
|
}
|
|
135
|
-
export declare
|
|
136
|
-
ALL
|
|
137
|
-
CRITICAL
|
|
138
|
-
HIGH
|
|
139
|
-
NETWORK_FINDINGS
|
|
140
|
-
}
|
|
149
|
+
export declare const Ec2InstanceSortBy: {
|
|
150
|
+
readonly ALL: "ALL";
|
|
151
|
+
readonly CRITICAL: "CRITICAL";
|
|
152
|
+
readonly HIGH: "HIGH";
|
|
153
|
+
readonly NETWORK_FINDINGS: "NETWORK_FINDINGS";
|
|
154
|
+
};
|
|
155
|
+
export type Ec2InstanceSortBy =
|
|
156
|
+
(typeof Ec2InstanceSortBy)[keyof typeof Ec2InstanceSortBy];
|
|
141
157
|
export interface Ec2InstanceAggregation {
|
|
142
158
|
amis?: StringFilter[];
|
|
143
159
|
operatingSystems?: StringFilter[];
|
|
@@ -146,22 +162,26 @@ export interface Ec2InstanceAggregation {
|
|
|
146
162
|
sortOrder?: SortOrder | string;
|
|
147
163
|
sortBy?: Ec2InstanceSortBy | string;
|
|
148
164
|
}
|
|
149
|
-
export declare
|
|
150
|
-
ALL
|
|
151
|
-
CRITICAL
|
|
152
|
-
HIGH
|
|
153
|
-
}
|
|
165
|
+
export declare const FindingTypeSortBy: {
|
|
166
|
+
readonly ALL: "ALL";
|
|
167
|
+
readonly CRITICAL: "CRITICAL";
|
|
168
|
+
readonly HIGH: "HIGH";
|
|
169
|
+
};
|
|
170
|
+
export type FindingTypeSortBy =
|
|
171
|
+
(typeof FindingTypeSortBy)[keyof typeof FindingTypeSortBy];
|
|
154
172
|
export interface FindingTypeAggregation {
|
|
155
173
|
findingType?: AggregationFindingType | string;
|
|
156
174
|
resourceType?: AggregationResourceType | string;
|
|
157
175
|
sortOrder?: SortOrder | string;
|
|
158
176
|
sortBy?: FindingTypeSortBy | string;
|
|
159
177
|
}
|
|
160
|
-
export declare
|
|
161
|
-
ALL
|
|
162
|
-
CRITICAL
|
|
163
|
-
HIGH
|
|
164
|
-
}
|
|
178
|
+
export declare const ImageLayerSortBy: {
|
|
179
|
+
readonly ALL: "ALL";
|
|
180
|
+
readonly CRITICAL: "CRITICAL";
|
|
181
|
+
readonly HIGH: "HIGH";
|
|
182
|
+
};
|
|
183
|
+
export type ImageLayerSortBy =
|
|
184
|
+
(typeof ImageLayerSortBy)[keyof typeof ImageLayerSortBy];
|
|
165
185
|
export interface ImageLayerAggregation {
|
|
166
186
|
repositories?: StringFilter[];
|
|
167
187
|
resourceIds?: StringFilter[];
|
|
@@ -169,11 +189,13 @@ export interface ImageLayerAggregation {
|
|
|
169
189
|
sortOrder?: SortOrder | string;
|
|
170
190
|
sortBy?: ImageLayerSortBy | string;
|
|
171
191
|
}
|
|
172
|
-
export declare
|
|
173
|
-
ALL
|
|
174
|
-
CRITICAL
|
|
175
|
-
HIGH
|
|
176
|
-
}
|
|
192
|
+
export declare const LambdaFunctionSortBy: {
|
|
193
|
+
readonly ALL: "ALL";
|
|
194
|
+
readonly CRITICAL: "CRITICAL";
|
|
195
|
+
readonly HIGH: "HIGH";
|
|
196
|
+
};
|
|
197
|
+
export type LambdaFunctionSortBy =
|
|
198
|
+
(typeof LambdaFunctionSortBy)[keyof typeof LambdaFunctionSortBy];
|
|
177
199
|
export interface LambdaFunctionAggregation {
|
|
178
200
|
resourceIds?: StringFilter[];
|
|
179
201
|
functionNames?: StringFilter[];
|
|
@@ -182,11 +204,13 @@ export interface LambdaFunctionAggregation {
|
|
|
182
204
|
sortOrder?: SortOrder | string;
|
|
183
205
|
sortBy?: LambdaFunctionSortBy | string;
|
|
184
206
|
}
|
|
185
|
-
export declare
|
|
186
|
-
ALL
|
|
187
|
-
CRITICAL
|
|
188
|
-
HIGH
|
|
189
|
-
}
|
|
207
|
+
export declare const LambdaLayerSortBy: {
|
|
208
|
+
readonly ALL: "ALL";
|
|
209
|
+
readonly CRITICAL: "CRITICAL";
|
|
210
|
+
readonly HIGH: "HIGH";
|
|
211
|
+
};
|
|
212
|
+
export type LambdaLayerSortBy =
|
|
213
|
+
(typeof LambdaLayerSortBy)[keyof typeof LambdaLayerSortBy];
|
|
190
214
|
export interface LambdaLayerAggregation {
|
|
191
215
|
functionNames?: StringFilter[];
|
|
192
216
|
resourceIds?: StringFilter[];
|
|
@@ -194,32 +218,36 @@ export interface LambdaLayerAggregation {
|
|
|
194
218
|
sortOrder?: SortOrder | string;
|
|
195
219
|
sortBy?: LambdaLayerSortBy | string;
|
|
196
220
|
}
|
|
197
|
-
export declare
|
|
198
|
-
ALL
|
|
199
|
-
CRITICAL
|
|
200
|
-
HIGH
|
|
201
|
-
}
|
|
221
|
+
export declare const PackageSortBy: {
|
|
222
|
+
readonly ALL: "ALL";
|
|
223
|
+
readonly CRITICAL: "CRITICAL";
|
|
224
|
+
readonly HIGH: "HIGH";
|
|
225
|
+
};
|
|
226
|
+
export type PackageSortBy = (typeof PackageSortBy)[keyof typeof PackageSortBy];
|
|
202
227
|
export interface PackageAggregation {
|
|
203
228
|
packageNames?: StringFilter[];
|
|
204
229
|
sortOrder?: SortOrder | string;
|
|
205
230
|
sortBy?: PackageSortBy | string;
|
|
206
231
|
}
|
|
207
|
-
export declare
|
|
208
|
-
AFFECTED_IMAGES
|
|
209
|
-
ALL
|
|
210
|
-
CRITICAL
|
|
211
|
-
HIGH
|
|
212
|
-
}
|
|
232
|
+
export declare const RepositorySortBy: {
|
|
233
|
+
readonly AFFECTED_IMAGES: "AFFECTED_IMAGES";
|
|
234
|
+
readonly ALL: "ALL";
|
|
235
|
+
readonly CRITICAL: "CRITICAL";
|
|
236
|
+
readonly HIGH: "HIGH";
|
|
237
|
+
};
|
|
238
|
+
export type RepositorySortBy =
|
|
239
|
+
(typeof RepositorySortBy)[keyof typeof RepositorySortBy];
|
|
213
240
|
export interface RepositoryAggregation {
|
|
214
241
|
repositories?: StringFilter[];
|
|
215
242
|
sortOrder?: SortOrder | string;
|
|
216
243
|
sortBy?: RepositorySortBy | string;
|
|
217
244
|
}
|
|
218
|
-
export declare
|
|
219
|
-
ALL
|
|
220
|
-
CRITICAL
|
|
221
|
-
HIGH
|
|
222
|
-
}
|
|
245
|
+
export declare const TitleSortBy: {
|
|
246
|
+
readonly ALL: "ALL";
|
|
247
|
+
readonly CRITICAL: "CRITICAL";
|
|
248
|
+
readonly HIGH: "HIGH";
|
|
249
|
+
};
|
|
250
|
+
export type TitleSortBy = (typeof TitleSortBy)[keyof typeof TitleSortBy];
|
|
223
251
|
export interface TitleAggregation {
|
|
224
252
|
titles?: StringFilter[];
|
|
225
253
|
vulnerabilityIds?: StringFilter[];
|
|
@@ -693,23 +721,26 @@ export declare namespace AggregationResponse {
|
|
|
693
721
|
}
|
|
694
722
|
const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
|
|
695
723
|
}
|
|
696
|
-
export declare
|
|
697
|
-
ACCOUNT
|
|
698
|
-
AMI
|
|
699
|
-
AWS_EC2_INSTANCE
|
|
700
|
-
AWS_ECR_CONTAINER
|
|
701
|
-
AWS_LAMBDA_FUNCTION
|
|
702
|
-
FINDING_TYPE
|
|
703
|
-
IMAGE_LAYER
|
|
704
|
-
LAMBDA_LAYER
|
|
705
|
-
PACKAGE
|
|
706
|
-
REPOSITORY
|
|
707
|
-
TITLE
|
|
708
|
-
}
|
|
709
|
-
export
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
724
|
+
export declare const AggregationType: {
|
|
725
|
+
readonly ACCOUNT: "ACCOUNT";
|
|
726
|
+
readonly AMI: "AMI";
|
|
727
|
+
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
728
|
+
readonly AWS_ECR_CONTAINER: "AWS_ECR_CONTAINER";
|
|
729
|
+
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
730
|
+
readonly FINDING_TYPE: "FINDING_TYPE";
|
|
731
|
+
readonly IMAGE_LAYER: "IMAGE_LAYER";
|
|
732
|
+
readonly LAMBDA_LAYER: "LAMBDA_LAYER";
|
|
733
|
+
readonly PACKAGE: "PACKAGE";
|
|
734
|
+
readonly REPOSITORY: "REPOSITORY";
|
|
735
|
+
readonly TITLE: "TITLE";
|
|
736
|
+
};
|
|
737
|
+
export type AggregationType =
|
|
738
|
+
(typeof AggregationType)[keyof typeof AggregationType];
|
|
739
|
+
export declare const Architecture: {
|
|
740
|
+
readonly ARM64: "ARM64";
|
|
741
|
+
readonly X86_64: "X86_64";
|
|
742
|
+
};
|
|
743
|
+
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
713
744
|
export interface AssociateMemberRequest {
|
|
714
745
|
accountId: string | undefined;
|
|
715
746
|
}
|
|
@@ -740,11 +771,13 @@ export interface ValidationExceptionField {
|
|
|
740
771
|
name: string | undefined;
|
|
741
772
|
message: string | undefined;
|
|
742
773
|
}
|
|
743
|
-
export declare
|
|
744
|
-
CANNOT_PARSE
|
|
745
|
-
FIELD_VALIDATION_FAILED
|
|
746
|
-
OTHER
|
|
747
|
-
}
|
|
774
|
+
export declare const ValidationExceptionReason: {
|
|
775
|
+
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
776
|
+
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
777
|
+
readonly OTHER: "OTHER";
|
|
778
|
+
};
|
|
779
|
+
export type ValidationExceptionReason =
|
|
780
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
748
781
|
export declare class ValidationException extends __BaseException {
|
|
749
782
|
readonly name: "ValidationException";
|
|
750
783
|
readonly $fault: "client";
|
|
@@ -781,25 +814,27 @@ export interface AwsEcrContainerImageDetails {
|
|
|
781
814
|
registry: string | undefined;
|
|
782
815
|
platform?: string;
|
|
783
816
|
}
|
|
784
|
-
export declare
|
|
785
|
-
IMAGE
|
|
786
|
-
ZIP
|
|
787
|
-
}
|
|
788
|
-
export
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
817
|
+
export declare const PackageType: {
|
|
818
|
+
readonly IMAGE: "IMAGE";
|
|
819
|
+
readonly ZIP: "ZIP";
|
|
820
|
+
};
|
|
821
|
+
export type PackageType = (typeof PackageType)[keyof typeof PackageType];
|
|
822
|
+
export declare const Runtime: {
|
|
823
|
+
readonly GO_1_X: "GO_1_X";
|
|
824
|
+
readonly JAVA_11: "JAVA_11";
|
|
825
|
+
readonly JAVA_8: "JAVA_8";
|
|
826
|
+
readonly JAVA_8_AL2: "JAVA_8_AL2";
|
|
827
|
+
readonly NODEJS: "NODEJS";
|
|
828
|
+
readonly NODEJS_12_X: "NODEJS_12_X";
|
|
829
|
+
readonly NODEJS_14_X: "NODEJS_14_X";
|
|
830
|
+
readonly NODEJS_16_X: "NODEJS_16_X";
|
|
831
|
+
readonly NODEJS_18_X: "NODEJS_18_X";
|
|
832
|
+
readonly PYTHON_3_7: "PYTHON_3_7";
|
|
833
|
+
readonly PYTHON_3_8: "PYTHON_3_8";
|
|
834
|
+
readonly PYTHON_3_9: "PYTHON_3_9";
|
|
835
|
+
readonly UNSUPPORTED: "UNSUPPORTED";
|
|
836
|
+
};
|
|
837
|
+
export type Runtime = (typeof Runtime)[keyof typeof Runtime];
|
|
803
838
|
export interface LambdaVpcConfig {
|
|
804
839
|
subnetIds?: string[];
|
|
805
840
|
securityGroupIds?: string[];
|
|
@@ -848,15 +883,18 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
848
883
|
export interface BatchGetFreeTrialInfoRequest {
|
|
849
884
|
accountIds: string[] | undefined;
|
|
850
885
|
}
|
|
851
|
-
export declare
|
|
852
|
-
ACTIVE
|
|
853
|
-
INACTIVE
|
|
854
|
-
}
|
|
855
|
-
export
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
886
|
+
export declare const FreeTrialStatus: {
|
|
887
|
+
readonly ACTIVE: "ACTIVE";
|
|
888
|
+
readonly INACTIVE: "INACTIVE";
|
|
889
|
+
};
|
|
890
|
+
export type FreeTrialStatus =
|
|
891
|
+
(typeof FreeTrialStatus)[keyof typeof FreeTrialStatus];
|
|
892
|
+
export declare const FreeTrialType: {
|
|
893
|
+
readonly EC2: "EC2";
|
|
894
|
+
readonly ECR: "ECR";
|
|
895
|
+
readonly LAMBDA: "LAMBDA";
|
|
896
|
+
};
|
|
897
|
+
export type FreeTrialType = (typeof FreeTrialType)[keyof typeof FreeTrialType];
|
|
860
898
|
export interface FreeTrialInfo {
|
|
861
899
|
type: FreeTrialType | string | undefined;
|
|
862
900
|
start: Date | undefined;
|
|
@@ -867,10 +905,12 @@ export interface FreeTrialAccountInfo {
|
|
|
867
905
|
accountId: string | undefined;
|
|
868
906
|
freeTrialInfo: FreeTrialInfo[] | undefined;
|
|
869
907
|
}
|
|
870
|
-
export declare
|
|
871
|
-
ACCESS_DENIED
|
|
872
|
-
INTERNAL_ERROR
|
|
873
|
-
}
|
|
908
|
+
export declare const FreeTrialInfoErrorCode: {
|
|
909
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
910
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
911
|
+
};
|
|
912
|
+
export type FreeTrialInfoErrorCode =
|
|
913
|
+
(typeof FreeTrialInfoErrorCode)[keyof typeof FreeTrialInfoErrorCode];
|
|
874
914
|
export interface FreeTrialInfoError {
|
|
875
915
|
accountId: string | undefined;
|
|
876
916
|
code: FreeTrialInfoErrorCode | string | undefined;
|
|
@@ -893,28 +933,33 @@ export declare class ConflictException extends __BaseException {
|
|
|
893
933
|
resourceType: string | undefined;
|
|
894
934
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
895
935
|
}
|
|
896
|
-
export declare
|
|
897
|
-
ACCOUNT_ID
|
|
898
|
-
ECR_REPOSITORY_NAME
|
|
899
|
-
RESOURCE_TYPE
|
|
900
|
-
SCAN_STATUS_CODE
|
|
901
|
-
SCAN_STATUS_REASON
|
|
902
|
-
}
|
|
936
|
+
export declare const GroupKey: {
|
|
937
|
+
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
938
|
+
readonly ECR_REPOSITORY_NAME: "ECR_REPOSITORY_NAME";
|
|
939
|
+
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
940
|
+
readonly SCAN_STATUS_CODE: "SCAN_STATUS_CODE";
|
|
941
|
+
readonly SCAN_STATUS_REASON: "SCAN_STATUS_REASON";
|
|
942
|
+
};
|
|
943
|
+
export type GroupKey = (typeof GroupKey)[keyof typeof GroupKey];
|
|
903
944
|
export interface Counts {
|
|
904
945
|
count?: number;
|
|
905
946
|
groupKey?: GroupKey | string;
|
|
906
947
|
}
|
|
907
|
-
export declare
|
|
908
|
-
EQUALS
|
|
909
|
-
NOT_EQUALS
|
|
910
|
-
}
|
|
948
|
+
export declare const CoverageStringComparison: {
|
|
949
|
+
readonly EQUALS: "EQUALS";
|
|
950
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
951
|
+
};
|
|
952
|
+
export type CoverageStringComparison =
|
|
953
|
+
(typeof CoverageStringComparison)[keyof typeof CoverageStringComparison];
|
|
911
954
|
export interface CoverageStringFilter {
|
|
912
955
|
comparison: CoverageStringComparison | string | undefined;
|
|
913
956
|
value: string | undefined;
|
|
914
957
|
}
|
|
915
|
-
export declare
|
|
916
|
-
EQUALS
|
|
917
|
-
}
|
|
958
|
+
export declare const CoverageMapComparison: {
|
|
959
|
+
readonly EQUALS: "EQUALS";
|
|
960
|
+
};
|
|
961
|
+
export type CoverageMapComparison =
|
|
962
|
+
(typeof CoverageMapComparison)[keyof typeof CoverageMapComparison];
|
|
918
963
|
export interface CoverageMapFilter {
|
|
919
964
|
comparison: CoverageMapComparison | string | undefined;
|
|
920
965
|
key: string | undefined;
|
|
@@ -934,17 +979,20 @@ export interface CoverageFilterCriteria {
|
|
|
934
979
|
lambdaFunctionTags?: CoverageMapFilter[];
|
|
935
980
|
lambdaFunctionRuntime?: CoverageStringFilter[];
|
|
936
981
|
}
|
|
937
|
-
export declare
|
|
938
|
-
AWS_EC2_INSTANCE
|
|
939
|
-
AWS_ECR_CONTAINER_IMAGE
|
|
940
|
-
AWS_ECR_REPOSITORY
|
|
941
|
-
AWS_LAMBDA_FUNCTION
|
|
942
|
-
}
|
|
943
|
-
export
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
982
|
+
export declare const CoverageResourceType: {
|
|
983
|
+
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
984
|
+
readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
|
|
985
|
+
readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
|
|
986
|
+
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
987
|
+
};
|
|
988
|
+
export type CoverageResourceType =
|
|
989
|
+
(typeof CoverageResourceType)[keyof typeof CoverageResourceType];
|
|
990
|
+
export declare const Ec2Platform: {
|
|
991
|
+
readonly LINUX: "LINUX";
|
|
992
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
993
|
+
readonly WINDOWS: "WINDOWS";
|
|
994
|
+
};
|
|
995
|
+
export type Ec2Platform = (typeof Ec2Platform)[keyof typeof Ec2Platform];
|
|
948
996
|
export interface Ec2Metadata {
|
|
949
997
|
tags?: Record<string, string>;
|
|
950
998
|
amiId?: string;
|
|
@@ -953,11 +1001,13 @@ export interface Ec2Metadata {
|
|
|
953
1001
|
export interface EcrContainerImageMetadata {
|
|
954
1002
|
tags?: string[];
|
|
955
1003
|
}
|
|
956
|
-
export declare
|
|
957
|
-
CONTINUOUS_SCAN
|
|
958
|
-
MANUAL
|
|
959
|
-
SCAN_ON_PUSH
|
|
960
|
-
}
|
|
1004
|
+
export declare const EcrScanFrequency: {
|
|
1005
|
+
readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
|
|
1006
|
+
readonly MANUAL: "MANUAL";
|
|
1007
|
+
readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
|
|
1008
|
+
};
|
|
1009
|
+
export type EcrScanFrequency =
|
|
1010
|
+
(typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
|
|
961
1011
|
export interface EcrRepositoryMetadata {
|
|
962
1012
|
name?: string;
|
|
963
1013
|
scanFrequency?: EcrScanFrequency | string;
|
|
@@ -974,38 +1024,43 @@ export interface ResourceScanMetadata {
|
|
|
974
1024
|
ec2?: Ec2Metadata;
|
|
975
1025
|
lambdaFunction?: LambdaFunctionMetadata;
|
|
976
1026
|
}
|
|
977
|
-
export declare
|
|
978
|
-
ACCESS_DENIED
|
|
979
|
-
EC2_INSTANCE_STOPPED
|
|
980
|
-
EXCLUDED_BY_TAG
|
|
981
|
-
IMAGE_SIZE_EXCEEDED
|
|
982
|
-
INTERNAL_ERROR
|
|
983
|
-
NO_INVENTORY
|
|
984
|
-
NO_RESOURCES_FOUND
|
|
985
|
-
PENDING_DISABLE
|
|
986
|
-
PENDING_INITIAL_SCAN
|
|
987
|
-
RESOURCE_TERMINATED
|
|
988
|
-
SCAN_ELIGIBILITY_EXPIRED
|
|
989
|
-
SCAN_FREQUENCY_MANUAL
|
|
990
|
-
SCAN_FREQUENCY_SCAN_ON_PUSH
|
|
991
|
-
STALE_INVENTORY
|
|
992
|
-
SUCCESSFUL
|
|
993
|
-
UNMANAGED_EC2_INSTANCE
|
|
994
|
-
UNSUPPORTED_OS
|
|
995
|
-
UNSUPPORTED_RUNTIME
|
|
996
|
-
}
|
|
997
|
-
export
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1027
|
+
export declare const ScanStatusReason: {
|
|
1028
|
+
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
1029
|
+
readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
|
|
1030
|
+
readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
|
|
1031
|
+
readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
|
|
1032
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1033
|
+
readonly NO_INVENTORY: "NO_INVENTORY";
|
|
1034
|
+
readonly NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND";
|
|
1035
|
+
readonly PENDING_DISABLE: "PENDING_DISABLE";
|
|
1036
|
+
readonly PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN";
|
|
1037
|
+
readonly RESOURCE_TERMINATED: "RESOURCE_TERMINATED";
|
|
1038
|
+
readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
|
|
1039
|
+
readonly SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL";
|
|
1040
|
+
readonly SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH";
|
|
1041
|
+
readonly STALE_INVENTORY: "STALE_INVENTORY";
|
|
1042
|
+
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
1043
|
+
readonly UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE";
|
|
1044
|
+
readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
|
|
1045
|
+
readonly UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME";
|
|
1046
|
+
};
|
|
1047
|
+
export type ScanStatusReason =
|
|
1048
|
+
(typeof ScanStatusReason)[keyof typeof ScanStatusReason];
|
|
1049
|
+
export declare const ScanStatusCode: {
|
|
1050
|
+
readonly ACTIVE: "ACTIVE";
|
|
1051
|
+
readonly INACTIVE: "INACTIVE";
|
|
1052
|
+
};
|
|
1053
|
+
export type ScanStatusCode =
|
|
1054
|
+
(typeof ScanStatusCode)[keyof typeof ScanStatusCode];
|
|
1001
1055
|
export interface ScanStatus {
|
|
1002
1056
|
statusCode: ScanStatusCode | string | undefined;
|
|
1003
1057
|
reason: ScanStatusReason | string | undefined;
|
|
1004
1058
|
}
|
|
1005
|
-
export declare
|
|
1006
|
-
NETWORK
|
|
1007
|
-
PACKAGE
|
|
1008
|
-
}
|
|
1059
|
+
export declare const ScanType: {
|
|
1060
|
+
readonly NETWORK: "NETWORK";
|
|
1061
|
+
readonly PACKAGE: "PACKAGE";
|
|
1062
|
+
};
|
|
1063
|
+
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
1009
1064
|
export interface CoveredResource {
|
|
1010
1065
|
resourceType: CoverageResourceType | string | undefined;
|
|
1011
1066
|
resourceId: string | undefined;
|
|
@@ -1014,10 +1069,11 @@ export interface CoveredResource {
|
|
|
1014
1069
|
scanStatus?: ScanStatus;
|
|
1015
1070
|
resourceMetadata?: ResourceScanMetadata;
|
|
1016
1071
|
}
|
|
1017
|
-
export declare
|
|
1018
|
-
NONE
|
|
1019
|
-
SUPPRESS
|
|
1020
|
-
}
|
|
1072
|
+
export declare const FilterAction: {
|
|
1073
|
+
readonly NONE: "NONE";
|
|
1074
|
+
readonly SUPPRESS: "SUPPRESS";
|
|
1075
|
+
};
|
|
1076
|
+
export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
|
|
1021
1077
|
export interface DateFilter {
|
|
1022
1078
|
startInclusive?: Date;
|
|
1023
1079
|
endInclusive?: Date;
|
|
@@ -1098,10 +1154,11 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
1098
1154
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
1099
1155
|
);
|
|
1100
1156
|
}
|
|
1101
|
-
export declare
|
|
1102
|
-
CSV
|
|
1103
|
-
JSON
|
|
1104
|
-
}
|
|
1157
|
+
export declare const ReportFormat: {
|
|
1158
|
+
readonly CSV: "CSV";
|
|
1159
|
+
readonly JSON: "JSON";
|
|
1160
|
+
};
|
|
1161
|
+
export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
|
|
1105
1162
|
export interface Destination {
|
|
1106
1163
|
bucketName: string | undefined;
|
|
1107
1164
|
keyPrefix?: string;
|
|
@@ -1115,9 +1172,10 @@ export interface CreateFindingsReportRequest {
|
|
|
1115
1172
|
export interface CreateFindingsReportResponse {
|
|
1116
1173
|
reportId?: string;
|
|
1117
1174
|
}
|
|
1118
|
-
export declare
|
|
1119
|
-
USD
|
|
1120
|
-
}
|
|
1175
|
+
export declare const Currency: {
|
|
1176
|
+
readonly USD: "USD";
|
|
1177
|
+
};
|
|
1178
|
+
export type Currency = (typeof Currency)[keyof typeof Currency];
|
|
1121
1179
|
export interface CvssScore {
|
|
1122
1180
|
baseScore: number | undefined;
|
|
1123
1181
|
scoringVector: string | undefined;
|
|
@@ -1136,28 +1194,32 @@ export interface CvssScoreDetails {
|
|
|
1136
1194
|
scoringVector: string | undefined;
|
|
1137
1195
|
adjustments?: CvssScoreAdjustment[];
|
|
1138
1196
|
}
|
|
1139
|
-
export declare
|
|
1140
|
-
ACCOUNT_SUSPENDED
|
|
1141
|
-
CANNOT_CREATE_DETECTOR_IN_ORG_MASTER
|
|
1142
|
-
CREATED
|
|
1143
|
-
DELETED
|
|
1144
|
-
DISABLED
|
|
1145
|
-
EMAIL_VERIFICATION_FAILED
|
|
1146
|
-
EMAIL_VERIFICATION_IN_PROGRESS
|
|
1147
|
-
ENABLED
|
|
1148
|
-
INVITED
|
|
1149
|
-
REGION_DISABLED
|
|
1150
|
-
REMOVED
|
|
1151
|
-
RESIGNED
|
|
1152
|
-
}
|
|
1197
|
+
export declare const RelationshipStatus: {
|
|
1198
|
+
readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
|
|
1199
|
+
readonly CANNOT_CREATE_DETECTOR_IN_ORG_MASTER: "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER";
|
|
1200
|
+
readonly CREATED: "CREATED";
|
|
1201
|
+
readonly DELETED: "DELETED";
|
|
1202
|
+
readonly DISABLED: "DISABLED";
|
|
1203
|
+
readonly EMAIL_VERIFICATION_FAILED: "EMAIL_VERIFICATION_FAILED";
|
|
1204
|
+
readonly EMAIL_VERIFICATION_IN_PROGRESS: "EMAIL_VERIFICATION_IN_PROGRESS";
|
|
1205
|
+
readonly ENABLED: "ENABLED";
|
|
1206
|
+
readonly INVITED: "INVITED";
|
|
1207
|
+
readonly REGION_DISABLED: "REGION_DISABLED";
|
|
1208
|
+
readonly REMOVED: "REMOVED";
|
|
1209
|
+
readonly RESIGNED: "RESIGNED";
|
|
1210
|
+
};
|
|
1211
|
+
export type RelationshipStatus =
|
|
1212
|
+
(typeof RelationshipStatus)[keyof typeof RelationshipStatus];
|
|
1153
1213
|
export interface DelegatedAdmin {
|
|
1154
1214
|
accountId?: string;
|
|
1155
1215
|
relationshipStatus?: RelationshipStatus | string;
|
|
1156
1216
|
}
|
|
1157
|
-
export declare
|
|
1158
|
-
DISABLE_IN_PROGRESS
|
|
1159
|
-
ENABLED
|
|
1160
|
-
}
|
|
1217
|
+
export declare const DelegatedAdminStatus: {
|
|
1218
|
+
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
1219
|
+
readonly ENABLED: "ENABLED";
|
|
1220
|
+
};
|
|
1221
|
+
export type DelegatedAdminStatus =
|
|
1222
|
+
(typeof DelegatedAdminStatus)[keyof typeof DelegatedAdminStatus];
|
|
1161
1223
|
export interface DelegatedAdminAccount {
|
|
1162
1224
|
accountId?: string;
|
|
1163
1225
|
status?: DelegatedAdminStatus | string;
|
|
@@ -1173,11 +1235,13 @@ export interface DescribeOrganizationConfigurationResponse {
|
|
|
1173
1235
|
autoEnable?: AutoEnable;
|
|
1174
1236
|
maxAccountLimitReached?: boolean;
|
|
1175
1237
|
}
|
|
1176
|
-
export declare
|
|
1177
|
-
EC2
|
|
1178
|
-
ECR
|
|
1179
|
-
LAMBDA
|
|
1180
|
-
}
|
|
1238
|
+
export declare const ResourceScanType: {
|
|
1239
|
+
readonly EC2: "EC2";
|
|
1240
|
+
readonly ECR: "ECR";
|
|
1241
|
+
readonly LAMBDA: "LAMBDA";
|
|
1242
|
+
};
|
|
1243
|
+
export type ResourceScanType =
|
|
1244
|
+
(typeof ResourceScanType)[keyof typeof ResourceScanType];
|
|
1181
1245
|
export interface DisableRequest {
|
|
1182
1246
|
accountIds?: string[];
|
|
1183
1247
|
resourceTypes?: (ResourceScanType | string)[];
|
|
@@ -1198,19 +1262,23 @@ export interface DisassociateMemberRequest {
|
|
|
1198
1262
|
export interface DisassociateMemberResponse {
|
|
1199
1263
|
accountId: string | undefined;
|
|
1200
1264
|
}
|
|
1201
|
-
export declare
|
|
1202
|
-
DAYS_180
|
|
1203
|
-
DAYS_30
|
|
1204
|
-
LIFETIME
|
|
1205
|
-
}
|
|
1265
|
+
export declare const EcrRescanDuration: {
|
|
1266
|
+
readonly DAYS_180: "DAYS_180";
|
|
1267
|
+
readonly DAYS_30: "DAYS_30";
|
|
1268
|
+
readonly LIFETIME: "LIFETIME";
|
|
1269
|
+
};
|
|
1270
|
+
export type EcrRescanDuration =
|
|
1271
|
+
(typeof EcrRescanDuration)[keyof typeof EcrRescanDuration];
|
|
1206
1272
|
export interface EcrConfiguration {
|
|
1207
1273
|
rescanDuration: EcrRescanDuration | string | undefined;
|
|
1208
1274
|
}
|
|
1209
|
-
export declare
|
|
1210
|
-
FAILED
|
|
1211
|
-
PENDING
|
|
1212
|
-
SUCCESS
|
|
1213
|
-
}
|
|
1275
|
+
export declare const EcrRescanDurationStatus: {
|
|
1276
|
+
readonly FAILED: "FAILED";
|
|
1277
|
+
readonly PENDING: "PENDING";
|
|
1278
|
+
readonly SUCCESS: "SUCCESS";
|
|
1279
|
+
};
|
|
1280
|
+
export type EcrRescanDurationStatus =
|
|
1281
|
+
(typeof EcrRescanDurationStatus)[keyof typeof EcrRescanDurationStatus];
|
|
1214
1282
|
export interface EcrRescanDurationState {
|
|
1215
1283
|
rescanDuration?: EcrRescanDuration | string;
|
|
1216
1284
|
status?: EcrRescanDurationStatus | string;
|
|
@@ -1238,16 +1306,20 @@ export interface EnableDelegatedAdminAccountResponse {
|
|
|
1238
1306
|
export interface ExploitabilityDetails {
|
|
1239
1307
|
lastKnownExploitAt?: Date;
|
|
1240
1308
|
}
|
|
1241
|
-
export declare
|
|
1242
|
-
NO
|
|
1243
|
-
YES
|
|
1244
|
-
}
|
|
1245
|
-
export
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1309
|
+
export declare const ExploitAvailable: {
|
|
1310
|
+
readonly NO: "NO";
|
|
1311
|
+
readonly YES: "YES";
|
|
1312
|
+
};
|
|
1313
|
+
export type ExploitAvailable =
|
|
1314
|
+
(typeof ExploitAvailable)[keyof typeof ExploitAvailable];
|
|
1315
|
+
export declare const ExternalReportStatus: {
|
|
1316
|
+
readonly CANCELLED: "CANCELLED";
|
|
1317
|
+
readonly FAILED: "FAILED";
|
|
1318
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1319
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
1320
|
+
};
|
|
1321
|
+
export type ExternalReportStatus =
|
|
1322
|
+
(typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
|
|
1251
1323
|
export interface Filter {
|
|
1252
1324
|
arn: string | undefined;
|
|
1253
1325
|
ownerId: string | undefined;
|
|
@@ -1260,11 +1332,12 @@ export interface Filter {
|
|
|
1260
1332
|
reason?: string;
|
|
1261
1333
|
tags?: Record<string, string>;
|
|
1262
1334
|
}
|
|
1263
|
-
export declare
|
|
1264
|
-
NO
|
|
1265
|
-
PARTIAL
|
|
1266
|
-
YES
|
|
1267
|
-
}
|
|
1335
|
+
export declare const FixAvailable: {
|
|
1336
|
+
readonly NO: "NO";
|
|
1337
|
+
readonly PARTIAL: "PARTIAL";
|
|
1338
|
+
readonly YES: "YES";
|
|
1339
|
+
};
|
|
1340
|
+
export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
|
|
1268
1341
|
export interface InspectorScoreDetails {
|
|
1269
1342
|
adjustedCvss?: CvssScoreDetails;
|
|
1270
1343
|
}
|
|
@@ -1279,33 +1352,37 @@ export interface PortRange {
|
|
|
1279
1352
|
begin: number | undefined;
|
|
1280
1353
|
end: number | undefined;
|
|
1281
1354
|
}
|
|
1282
|
-
export declare
|
|
1283
|
-
TCP
|
|
1284
|
-
UDP
|
|
1285
|
-
}
|
|
1355
|
+
export declare const NetworkProtocol: {
|
|
1356
|
+
readonly TCP: "TCP";
|
|
1357
|
+
readonly UDP: "UDP";
|
|
1358
|
+
};
|
|
1359
|
+
export type NetworkProtocol =
|
|
1360
|
+
(typeof NetworkProtocol)[keyof typeof NetworkProtocol];
|
|
1286
1361
|
export interface NetworkReachabilityDetails {
|
|
1287
1362
|
openPortRange: PortRange | undefined;
|
|
1288
1363
|
protocol: NetworkProtocol | string | undefined;
|
|
1289
1364
|
networkPath: NetworkPath | undefined;
|
|
1290
1365
|
}
|
|
1291
|
-
export declare
|
|
1292
|
-
BUNDLER
|
|
1293
|
-
CARGO
|
|
1294
|
-
COMPOSER
|
|
1295
|
-
GOBINARY
|
|
1296
|
-
GOMOD
|
|
1297
|
-
JAR
|
|
1298
|
-
NODEPKG
|
|
1299
|
-
NPM
|
|
1300
|
-
NUGET
|
|
1301
|
-
OS
|
|
1302
|
-
PIP
|
|
1303
|
-
PIPENV
|
|
1304
|
-
POETRY
|
|
1305
|
-
POM
|
|
1306
|
-
PYTHONPKG
|
|
1307
|
-
YARN
|
|
1308
|
-
}
|
|
1366
|
+
export declare const PackageManager: {
|
|
1367
|
+
readonly BUNDLER: "BUNDLER";
|
|
1368
|
+
readonly CARGO: "CARGO";
|
|
1369
|
+
readonly COMPOSER: "COMPOSER";
|
|
1370
|
+
readonly GOBINARY: "GOBINARY";
|
|
1371
|
+
readonly GOMOD: "GOMOD";
|
|
1372
|
+
readonly JAR: "JAR";
|
|
1373
|
+
readonly NODEPKG: "NODEPKG";
|
|
1374
|
+
readonly NPM: "NPM";
|
|
1375
|
+
readonly NUGET: "NUGET";
|
|
1376
|
+
readonly OS: "OS";
|
|
1377
|
+
readonly PIP: "PIP";
|
|
1378
|
+
readonly PIPENV: "PIPENV";
|
|
1379
|
+
readonly POETRY: "POETRY";
|
|
1380
|
+
readonly POM: "POM";
|
|
1381
|
+
readonly PYTHONPKG: "PYTHONPKG";
|
|
1382
|
+
readonly YARN: "YARN";
|
|
1383
|
+
};
|
|
1384
|
+
export type PackageManager =
|
|
1385
|
+
(typeof PackageManager)[keyof typeof PackageManager];
|
|
1309
1386
|
export interface VulnerablePackage {
|
|
1310
1387
|
name: string | undefined;
|
|
1311
1388
|
version: string | undefined;
|
|
@@ -1343,12 +1420,13 @@ export interface ResourceDetails {
|
|
|
1343
1420
|
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
1344
1421
|
awsLambdaFunction?: AwsLambdaFunctionDetails;
|
|
1345
1422
|
}
|
|
1346
|
-
export declare
|
|
1347
|
-
AWS_EC2_INSTANCE
|
|
1348
|
-
AWS_ECR_CONTAINER_IMAGE
|
|
1349
|
-
AWS_ECR_REPOSITORY
|
|
1350
|
-
AWS_LAMBDA_FUNCTION
|
|
1351
|
-
}
|
|
1423
|
+
export declare const ResourceType: {
|
|
1424
|
+
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
1425
|
+
readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
|
|
1426
|
+
readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
|
|
1427
|
+
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
1428
|
+
};
|
|
1429
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
1352
1430
|
export interface Resource {
|
|
1353
1431
|
type: ResourceType | string | undefined;
|
|
1354
1432
|
id: string | undefined;
|
|
@@ -1357,23 +1435,26 @@ export interface Resource {
|
|
|
1357
1435
|
tags?: Record<string, string>;
|
|
1358
1436
|
details?: ResourceDetails;
|
|
1359
1437
|
}
|
|
1360
|
-
export declare
|
|
1361
|
-
CRITICAL
|
|
1362
|
-
HIGH
|
|
1363
|
-
INFORMATIONAL
|
|
1364
|
-
LOW
|
|
1365
|
-
MEDIUM
|
|
1366
|
-
UNTRIAGED
|
|
1367
|
-
}
|
|
1368
|
-
export
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1438
|
+
export declare const Severity: {
|
|
1439
|
+
readonly CRITICAL: "CRITICAL";
|
|
1440
|
+
readonly HIGH: "HIGH";
|
|
1441
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
1442
|
+
readonly LOW: "LOW";
|
|
1443
|
+
readonly MEDIUM: "MEDIUM";
|
|
1444
|
+
readonly UNTRIAGED: "UNTRIAGED";
|
|
1445
|
+
};
|
|
1446
|
+
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
1447
|
+
export declare const FindingStatus: {
|
|
1448
|
+
readonly ACTIVE: "ACTIVE";
|
|
1449
|
+
readonly CLOSED: "CLOSED";
|
|
1450
|
+
readonly SUPPRESSED: "SUPPRESSED";
|
|
1451
|
+
};
|
|
1452
|
+
export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
|
|
1453
|
+
export declare const FindingType: {
|
|
1454
|
+
readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
|
|
1455
|
+
readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
|
|
1456
|
+
};
|
|
1457
|
+
export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
1377
1458
|
export interface Finding {
|
|
1378
1459
|
findingArn: string | undefined;
|
|
1379
1460
|
awsAccountId: string | undefined;
|
|
@@ -1406,14 +1487,16 @@ export interface GetDelegatedAdminAccountResponse {
|
|
|
1406
1487
|
export interface GetFindingsReportStatusRequest {
|
|
1407
1488
|
reportId?: string;
|
|
1408
1489
|
}
|
|
1409
|
-
export declare
|
|
1410
|
-
BUCKET_NOT_FOUND
|
|
1411
|
-
INCOMPATIBLE_BUCKET_REGION
|
|
1412
|
-
INTERNAL_ERROR
|
|
1413
|
-
INVALID_PERMISSIONS
|
|
1414
|
-
MALFORMED_KMS_KEY
|
|
1415
|
-
NO_FINDINGS_FOUND
|
|
1416
|
-
}
|
|
1490
|
+
export declare const ReportingErrorCode: {
|
|
1491
|
+
readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
|
|
1492
|
+
readonly INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION";
|
|
1493
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1494
|
+
readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
|
|
1495
|
+
readonly MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY";
|
|
1496
|
+
readonly NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND";
|
|
1497
|
+
};
|
|
1498
|
+
export type ReportingErrorCode =
|
|
1499
|
+
(typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
|
|
1417
1500
|
export interface GetFindingsReportStatusResponse {
|
|
1418
1501
|
reportId?: string;
|
|
1419
1502
|
status?: ExternalReportStatus | string;
|
|
@@ -1434,22 +1517,24 @@ export interface Member {
|
|
|
1434
1517
|
export interface GetMemberResponse {
|
|
1435
1518
|
member?: Member;
|
|
1436
1519
|
}
|
|
1437
|
-
export declare
|
|
1438
|
-
EC2
|
|
1439
|
-
ECR
|
|
1440
|
-
LAMBDA
|
|
1441
|
-
}
|
|
1520
|
+
export declare const Service: {
|
|
1521
|
+
readonly EC2: "EC2";
|
|
1522
|
+
readonly ECR: "ECR";
|
|
1523
|
+
readonly LAMBDA: "LAMBDA";
|
|
1524
|
+
};
|
|
1525
|
+
export type Service = (typeof Service)[keyof typeof Service];
|
|
1442
1526
|
export interface ListAccountPermissionsRequest {
|
|
1443
1527
|
service?: Service | string;
|
|
1444
1528
|
maxResults?: number;
|
|
1445
1529
|
nextToken?: string;
|
|
1446
1530
|
}
|
|
1447
|
-
export declare
|
|
1448
|
-
DISABLE_REPOSITORY
|
|
1449
|
-
DISABLE_SCANNING
|
|
1450
|
-
ENABLE_REPOSITORY
|
|
1451
|
-
ENABLE_SCANNING
|
|
1452
|
-
}
|
|
1531
|
+
export declare const Operation: {
|
|
1532
|
+
readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
|
|
1533
|
+
readonly DISABLE_SCANNING: "DISABLE_SCANNING";
|
|
1534
|
+
readonly ENABLE_REPOSITORY: "ENABLE_REPOSITORY";
|
|
1535
|
+
readonly ENABLE_SCANNING: "ENABLE_SCANNING";
|
|
1536
|
+
};
|
|
1537
|
+
export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
1453
1538
|
export interface Permission {
|
|
1454
1539
|
service: Service | string | undefined;
|
|
1455
1540
|
operation: Operation | string | undefined;
|
|
@@ -1507,24 +1592,25 @@ export interface ListFindingAggregationsResponse {
|
|
|
1507
1592
|
responses?: AggregationResponse[];
|
|
1508
1593
|
nextToken?: string;
|
|
1509
1594
|
}
|
|
1510
|
-
export declare
|
|
1511
|
-
AWS_ACCOUNT_ID
|
|
1512
|
-
COMPONENT_TYPE
|
|
1513
|
-
ECR_IMAGE_PUSHED_AT
|
|
1514
|
-
ECR_IMAGE_REGISTRY
|
|
1515
|
-
ECR_IMAGE_REPOSITORY_NAME
|
|
1516
|
-
FINDING_STATUS
|
|
1517
|
-
FINDING_TYPE
|
|
1518
|
-
FIRST_OBSERVED_AT
|
|
1519
|
-
INSPECTOR_SCORE
|
|
1520
|
-
LAST_OBSERVED_AT
|
|
1521
|
-
NETWORK_PROTOCOL
|
|
1522
|
-
RESOURCE_TYPE
|
|
1523
|
-
SEVERITY
|
|
1524
|
-
VENDOR_SEVERITY
|
|
1525
|
-
VULNERABILITY_ID
|
|
1526
|
-
VULNERABILITY_SOURCE
|
|
1527
|
-
}
|
|
1595
|
+
export declare const SortField: {
|
|
1596
|
+
readonly AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID";
|
|
1597
|
+
readonly COMPONENT_TYPE: "COMPONENT_TYPE";
|
|
1598
|
+
readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
|
|
1599
|
+
readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
|
|
1600
|
+
readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
|
|
1601
|
+
readonly FINDING_STATUS: "FINDING_STATUS";
|
|
1602
|
+
readonly FINDING_TYPE: "FINDING_TYPE";
|
|
1603
|
+
readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
|
|
1604
|
+
readonly INSPECTOR_SCORE: "INSPECTOR_SCORE";
|
|
1605
|
+
readonly LAST_OBSERVED_AT: "LAST_OBSERVED_AT";
|
|
1606
|
+
readonly NETWORK_PROTOCOL: "NETWORK_PROTOCOL";
|
|
1607
|
+
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
1608
|
+
readonly SEVERITY: "SEVERITY";
|
|
1609
|
+
readonly VENDOR_SEVERITY: "VENDOR_SEVERITY";
|
|
1610
|
+
readonly VULNERABILITY_ID: "VULNERABILITY_ID";
|
|
1611
|
+
readonly VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE";
|
|
1612
|
+
};
|
|
1613
|
+
export type SortField = (typeof SortField)[keyof typeof SortField];
|
|
1528
1614
|
export interface SortCriteria {
|
|
1529
1615
|
field: SortField | string | undefined;
|
|
1530
1616
|
sortOrder: SortOrder | string | undefined;
|
|
@@ -1559,12 +1645,13 @@ export interface ListUsageTotalsRequest {
|
|
|
1559
1645
|
nextToken?: string;
|
|
1560
1646
|
accountIds?: string[];
|
|
1561
1647
|
}
|
|
1562
|
-
export declare
|
|
1563
|
-
EC2_INSTANCE_HOURS
|
|
1564
|
-
ECR_INITIAL_SCAN
|
|
1565
|
-
ECR_RESCAN
|
|
1566
|
-
LAMBDA_FUNCTION_HOURS
|
|
1567
|
-
}
|
|
1648
|
+
export declare const UsageType: {
|
|
1649
|
+
readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
|
|
1650
|
+
readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
|
|
1651
|
+
readonly ECR_RESCAN: "ECR_RESCAN";
|
|
1652
|
+
readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
|
|
1653
|
+
};
|
|
1654
|
+
export type UsageType = (typeof UsageType)[keyof typeof UsageType];
|
|
1568
1655
|
export interface Usage {
|
|
1569
1656
|
type?: UsageType | string;
|
|
1570
1657
|
total?: number;
|