@aws-sdk/client-inspector2 3.936.0 → 3.940.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +546 -0
- package/dist-es/models/enums.js +475 -0
- package/dist-es/models/models_0.js +1 -423
- package/dist-es/models/models_1.js +1 -52
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetMemberCommand.d.ts +1 -1
- package/dist-types/commands/GetSbomExportCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListCisScansCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListCoverageCommand.d.ts +1 -1
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +1 -1
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
- package/dist-types/commands/StartCisSessionCommand.d.ts +2 -1
- package/dist-types/models/enums.d.ts +1187 -144
- package/dist-types/models/errors.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1366 -945
- package/dist-types/models/models_1.d.ts +2 -1466
- package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/enums.d.ts +588 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +383 -528
- package/dist-types/ts3.4/models/models_1.d.ts +4 -419
- package/package.json +5 -5
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AccountSortBy,
|
|
3
|
+
AggregationFindingType,
|
|
4
|
+
AggregationResourceType,
|
|
5
|
+
AggregationType,
|
|
6
|
+
AmiSortBy,
|
|
7
|
+
Architecture,
|
|
2
8
|
AssociationResultStatusCode,
|
|
9
|
+
AwsEcrContainerSortBy,
|
|
3
10
|
CisFindingStatus,
|
|
4
11
|
CisFindingStatusComparison,
|
|
5
12
|
CisReportFormat,
|
|
@@ -7,7 +14,10 @@ import {
|
|
|
7
14
|
CisResultStatus,
|
|
8
15
|
CisResultStatusComparison,
|
|
9
16
|
CisRuleStatus,
|
|
17
|
+
CisScanConfigurationsSortBy,
|
|
10
18
|
CisScanResultDetailsSortBy,
|
|
19
|
+
CisScanResultsAggregatedByChecksSortBy,
|
|
20
|
+
CisScanResultsAggregatedByTargetResourceSortBy,
|
|
11
21
|
CisScanStatus,
|
|
12
22
|
CisScanStatusComparison,
|
|
13
23
|
CisSecurityLevel,
|
|
@@ -17,26 +27,82 @@ import {
|
|
|
17
27
|
CisTargetStatus,
|
|
18
28
|
CisTargetStatusComparison,
|
|
19
29
|
CisTargetStatusReason,
|
|
30
|
+
CodeRepositoryProviderType,
|
|
31
|
+
CodeRepositorySortBy,
|
|
20
32
|
CodeScanStatus,
|
|
33
|
+
CodeSnippetErrorCode,
|
|
21
34
|
ConfigurationLevel,
|
|
22
35
|
ContinuousIntegrationScanEvent,
|
|
36
|
+
CoverageMapComparison,
|
|
37
|
+
CoverageResourceType,
|
|
38
|
+
CoverageStringComparison,
|
|
39
|
+
Currency,
|
|
23
40
|
Day,
|
|
41
|
+
DelegatedAdminStatus,
|
|
42
|
+
Ec2DeepInspectionStatus,
|
|
43
|
+
Ec2InstanceSortBy,
|
|
44
|
+
Ec2Platform,
|
|
45
|
+
Ec2ScanMode,
|
|
46
|
+
Ec2ScanModeStatus,
|
|
47
|
+
EcrPullDateRescanDuration,
|
|
48
|
+
EcrPullDateRescanMode,
|
|
49
|
+
EcrRescanDuration,
|
|
50
|
+
EcrRescanDurationStatus,
|
|
51
|
+
EcrScanFrequency,
|
|
52
|
+
ErrorCode,
|
|
53
|
+
ExploitAvailable,
|
|
54
|
+
ExternalReportStatus,
|
|
55
|
+
FilterAction,
|
|
56
|
+
FindingDetailsErrorCode,
|
|
57
|
+
FindingStatus,
|
|
58
|
+
FindingType,
|
|
59
|
+
FindingTypeSortBy,
|
|
60
|
+
FixAvailable,
|
|
61
|
+
FreeTrialInfoErrorCode,
|
|
62
|
+
FreeTrialStatus,
|
|
63
|
+
FreeTrialType,
|
|
64
|
+
GroupKey,
|
|
65
|
+
ImageLayerSortBy,
|
|
24
66
|
IntegrationStatus,
|
|
25
67
|
IntegrationType,
|
|
68
|
+
LambdaFunctionSortBy,
|
|
69
|
+
LambdaLayerSortBy,
|
|
70
|
+
ListCisScansDetailLevel,
|
|
71
|
+
ListCisScansSortBy,
|
|
72
|
+
MapComparison,
|
|
73
|
+
NetworkProtocol,
|
|
74
|
+
Operation,
|
|
75
|
+
PackageManager,
|
|
76
|
+
PackageSortBy,
|
|
77
|
+
PackageType,
|
|
26
78
|
PeriodicScanFrequency,
|
|
27
79
|
ProjectSelectionScope,
|
|
80
|
+
RelationshipStatus,
|
|
81
|
+
ReportFormat,
|
|
82
|
+
ReportingErrorCode,
|
|
83
|
+
RepositorySortBy,
|
|
84
|
+
ResourceMapComparison,
|
|
85
|
+
ResourceScanType,
|
|
86
|
+
ResourceStringComparison,
|
|
87
|
+
ResourceType,
|
|
28
88
|
RuleSetCategory,
|
|
89
|
+
Runtime,
|
|
90
|
+
SbomReportFormat,
|
|
91
|
+
ScanMode,
|
|
92
|
+
ScanStatusCode,
|
|
93
|
+
ScanStatusReason,
|
|
94
|
+
ScanType,
|
|
95
|
+
Service,
|
|
96
|
+
Severity,
|
|
97
|
+
SortField,
|
|
98
|
+
SortOrder,
|
|
99
|
+
Status,
|
|
100
|
+
StringComparison,
|
|
29
101
|
TagComparison,
|
|
102
|
+
TitleSortBy,
|
|
103
|
+
UsageType,
|
|
104
|
+
VulnerabilitySource,
|
|
30
105
|
} from "./enums";
|
|
31
|
-
export declare const Status: {
|
|
32
|
-
readonly DISABLED: "DISABLED";
|
|
33
|
-
readonly DISABLING: "DISABLING";
|
|
34
|
-
readonly ENABLED: "ENABLED";
|
|
35
|
-
readonly ENABLING: "ENABLING";
|
|
36
|
-
readonly SUSPENDED: "SUSPENDED";
|
|
37
|
-
readonly SUSPENDING: "SUSPENDING";
|
|
38
|
-
};
|
|
39
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
40
106
|
export interface ResourceStatus {
|
|
41
107
|
ec2: Status | undefined;
|
|
42
108
|
ecr: Status | undefined;
|
|
@@ -49,32 +115,6 @@ export interface Account {
|
|
|
49
115
|
status: Status | undefined;
|
|
50
116
|
resourceStatus: ResourceStatus | undefined;
|
|
51
117
|
}
|
|
52
|
-
export declare const AggregationFindingType: {
|
|
53
|
-
readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
|
|
54
|
-
readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
|
|
55
|
-
readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
|
|
56
|
-
};
|
|
57
|
-
export type AggregationFindingType =
|
|
58
|
-
(typeof AggregationFindingType)[keyof typeof AggregationFindingType];
|
|
59
|
-
export declare const AggregationResourceType: {
|
|
60
|
-
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
61
|
-
readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
|
|
62
|
-
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
63
|
-
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
64
|
-
};
|
|
65
|
-
export type AggregationResourceType =
|
|
66
|
-
(typeof AggregationResourceType)[keyof typeof AggregationResourceType];
|
|
67
|
-
export declare const AccountSortBy: {
|
|
68
|
-
readonly ALL: "ALL";
|
|
69
|
-
readonly CRITICAL: "CRITICAL";
|
|
70
|
-
readonly HIGH: "HIGH";
|
|
71
|
-
};
|
|
72
|
-
export type AccountSortBy = (typeof AccountSortBy)[keyof typeof AccountSortBy];
|
|
73
|
-
export declare const SortOrder: {
|
|
74
|
-
readonly ASC: "ASC";
|
|
75
|
-
readonly DESC: "DESC";
|
|
76
|
-
};
|
|
77
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
78
118
|
export interface AccountAggregation {
|
|
79
119
|
findingType?: AggregationFindingType | undefined;
|
|
80
120
|
resourceType?: AggregationResourceType | undefined;
|
|
@@ -97,26 +137,6 @@ export interface CisStringFilter {
|
|
|
97
137
|
comparison: CisStringComparison | undefined;
|
|
98
138
|
value: string | undefined;
|
|
99
139
|
}
|
|
100
|
-
export declare const ErrorCode: {
|
|
101
|
-
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
102
|
-
readonly ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED";
|
|
103
|
-
readonly ALREADY_ENABLED: "ALREADY_ENABLED";
|
|
104
|
-
readonly BLOCKED_BY_ORGANIZATION_POLICY: "BLOCKED_BY_ORGANIZATION_POLICY";
|
|
105
|
-
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
106
|
-
readonly DISASSOCIATE_ALL_MEMBERS: "DISASSOCIATE_ALL_MEMBERS";
|
|
107
|
-
readonly EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED: "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED";
|
|
108
|
-
readonly EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED: "EC2_SSM_RESOURCE_DATA_SYNC_LIMIT_EXCEEDED";
|
|
109
|
-
readonly ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS";
|
|
110
|
-
readonly EVENTBRIDGE_THROTTLED: "EVENTBRIDGE_THROTTLED";
|
|
111
|
-
readonly EVENTBRIDGE_UNAVAILABLE: "EVENTBRIDGE_UNAVAILABLE";
|
|
112
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
113
|
-
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
114
|
-
readonly RESOURCE_SCAN_NOT_DISABLED: "RESOURCE_SCAN_NOT_DISABLED";
|
|
115
|
-
readonly SSM_THROTTLED: "SSM_THROTTLED";
|
|
116
|
-
readonly SSM_UNAVAILABLE: "SSM_UNAVAILABLE";
|
|
117
|
-
readonly SUSPEND_IN_PROGRESS: "SUSPEND_IN_PROGRESS";
|
|
118
|
-
};
|
|
119
|
-
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
120
140
|
export interface State {
|
|
121
141
|
status: Status | undefined;
|
|
122
142
|
errorCode: ErrorCode | undefined;
|
|
@@ -134,24 +154,10 @@ export interface AccountState {
|
|
|
134
154
|
state: State | undefined;
|
|
135
155
|
resourceState: ResourceState | undefined;
|
|
136
156
|
}
|
|
137
|
-
export declare const StringComparison: {
|
|
138
|
-
readonly EQUALS: "EQUALS";
|
|
139
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
140
|
-
readonly PREFIX: "PREFIX";
|
|
141
|
-
};
|
|
142
|
-
export type StringComparison =
|
|
143
|
-
(typeof StringComparison)[keyof typeof StringComparison];
|
|
144
157
|
export interface StringFilter {
|
|
145
158
|
comparison: StringComparison | undefined;
|
|
146
159
|
value: string | undefined;
|
|
147
160
|
}
|
|
148
|
-
export declare const AmiSortBy: {
|
|
149
|
-
readonly AFFECTED_INSTANCES: "AFFECTED_INSTANCES";
|
|
150
|
-
readonly ALL: "ALL";
|
|
151
|
-
readonly CRITICAL: "CRITICAL";
|
|
152
|
-
readonly HIGH: "HIGH";
|
|
153
|
-
};
|
|
154
|
-
export type AmiSortBy = (typeof AmiSortBy)[keyof typeof AmiSortBy];
|
|
155
161
|
export interface AmiAggregation {
|
|
156
162
|
amis?: StringFilter[] | undefined;
|
|
157
163
|
sortOrder?: SortOrder | undefined;
|
|
@@ -165,13 +171,6 @@ export interface DateFilter {
|
|
|
165
171
|
startInclusive?: Date | undefined;
|
|
166
172
|
endInclusive?: Date | undefined;
|
|
167
173
|
}
|
|
168
|
-
export declare const AwsEcrContainerSortBy: {
|
|
169
|
-
readonly ALL: "ALL";
|
|
170
|
-
readonly CRITICAL: "CRITICAL";
|
|
171
|
-
readonly HIGH: "HIGH";
|
|
172
|
-
};
|
|
173
|
-
export type AwsEcrContainerSortBy =
|
|
174
|
-
(typeof AwsEcrContainerSortBy)[keyof typeof AwsEcrContainerSortBy];
|
|
175
174
|
export interface AwsEcrContainerAggregation {
|
|
176
175
|
resourceIds?: StringFilter[] | undefined;
|
|
177
176
|
imageShas?: StringFilter[] | undefined;
|
|
@@ -183,13 +182,6 @@ export interface AwsEcrContainerAggregation {
|
|
|
183
182
|
lastInUseAt?: DateFilter[] | undefined;
|
|
184
183
|
inUseCount?: NumberFilter[] | undefined;
|
|
185
184
|
}
|
|
186
|
-
export declare const CodeRepositorySortBy: {
|
|
187
|
-
readonly ALL: "ALL";
|
|
188
|
-
readonly CRITICAL: "CRITICAL";
|
|
189
|
-
readonly HIGH: "HIGH";
|
|
190
|
-
};
|
|
191
|
-
export type CodeRepositorySortBy =
|
|
192
|
-
(typeof CodeRepositorySortBy)[keyof typeof CodeRepositorySortBy];
|
|
193
185
|
export interface CodeRepositoryAggregation {
|
|
194
186
|
projectNames?: StringFilter[] | undefined;
|
|
195
187
|
providerTypes?: StringFilter[] | undefined;
|
|
@@ -197,23 +189,11 @@ export interface CodeRepositoryAggregation {
|
|
|
197
189
|
sortBy?: CodeRepositorySortBy | undefined;
|
|
198
190
|
resourceIds?: StringFilter[] | undefined;
|
|
199
191
|
}
|
|
200
|
-
export declare const MapComparison: {
|
|
201
|
-
readonly EQUALS: "EQUALS";
|
|
202
|
-
};
|
|
203
|
-
export type MapComparison = (typeof MapComparison)[keyof typeof MapComparison];
|
|
204
192
|
export interface MapFilter {
|
|
205
193
|
comparison: MapComparison | undefined;
|
|
206
194
|
key: string | undefined;
|
|
207
195
|
value?: string | undefined;
|
|
208
196
|
}
|
|
209
|
-
export declare const Ec2InstanceSortBy: {
|
|
210
|
-
readonly ALL: "ALL";
|
|
211
|
-
readonly CRITICAL: "CRITICAL";
|
|
212
|
-
readonly HIGH: "HIGH";
|
|
213
|
-
readonly NETWORK_FINDINGS: "NETWORK_FINDINGS";
|
|
214
|
-
};
|
|
215
|
-
export type Ec2InstanceSortBy =
|
|
216
|
-
(typeof Ec2InstanceSortBy)[keyof typeof Ec2InstanceSortBy];
|
|
217
197
|
export interface Ec2InstanceAggregation {
|
|
218
198
|
amis?: StringFilter[] | undefined;
|
|
219
199
|
operatingSystems?: StringFilter[] | undefined;
|
|
@@ -222,26 +202,12 @@ export interface Ec2InstanceAggregation {
|
|
|
222
202
|
sortOrder?: SortOrder | undefined;
|
|
223
203
|
sortBy?: Ec2InstanceSortBy | undefined;
|
|
224
204
|
}
|
|
225
|
-
export declare const FindingTypeSortBy: {
|
|
226
|
-
readonly ALL: "ALL";
|
|
227
|
-
readonly CRITICAL: "CRITICAL";
|
|
228
|
-
readonly HIGH: "HIGH";
|
|
229
|
-
};
|
|
230
|
-
export type FindingTypeSortBy =
|
|
231
|
-
(typeof FindingTypeSortBy)[keyof typeof FindingTypeSortBy];
|
|
232
205
|
export interface FindingTypeAggregation {
|
|
233
206
|
findingType?: AggregationFindingType | undefined;
|
|
234
207
|
resourceType?: AggregationResourceType | undefined;
|
|
235
208
|
sortOrder?: SortOrder | undefined;
|
|
236
209
|
sortBy?: FindingTypeSortBy | undefined;
|
|
237
210
|
}
|
|
238
|
-
export declare const ImageLayerSortBy: {
|
|
239
|
-
readonly ALL: "ALL";
|
|
240
|
-
readonly CRITICAL: "CRITICAL";
|
|
241
|
-
readonly HIGH: "HIGH";
|
|
242
|
-
};
|
|
243
|
-
export type ImageLayerSortBy =
|
|
244
|
-
(typeof ImageLayerSortBy)[keyof typeof ImageLayerSortBy];
|
|
245
211
|
export interface ImageLayerAggregation {
|
|
246
212
|
repositories?: StringFilter[] | undefined;
|
|
247
213
|
resourceIds?: StringFilter[] | undefined;
|
|
@@ -249,13 +215,6 @@ export interface ImageLayerAggregation {
|
|
|
249
215
|
sortOrder?: SortOrder | undefined;
|
|
250
216
|
sortBy?: ImageLayerSortBy | undefined;
|
|
251
217
|
}
|
|
252
|
-
export declare const LambdaFunctionSortBy: {
|
|
253
|
-
readonly ALL: "ALL";
|
|
254
|
-
readonly CRITICAL: "CRITICAL";
|
|
255
|
-
readonly HIGH: "HIGH";
|
|
256
|
-
};
|
|
257
|
-
export type LambdaFunctionSortBy =
|
|
258
|
-
(typeof LambdaFunctionSortBy)[keyof typeof LambdaFunctionSortBy];
|
|
259
218
|
export interface LambdaFunctionAggregation {
|
|
260
219
|
resourceIds?: StringFilter[] | undefined;
|
|
261
220
|
functionNames?: StringFilter[] | undefined;
|
|
@@ -264,13 +223,6 @@ export interface LambdaFunctionAggregation {
|
|
|
264
223
|
sortOrder?: SortOrder | undefined;
|
|
265
224
|
sortBy?: LambdaFunctionSortBy | undefined;
|
|
266
225
|
}
|
|
267
|
-
export declare const LambdaLayerSortBy: {
|
|
268
|
-
readonly ALL: "ALL";
|
|
269
|
-
readonly CRITICAL: "CRITICAL";
|
|
270
|
-
readonly HIGH: "HIGH";
|
|
271
|
-
};
|
|
272
|
-
export type LambdaLayerSortBy =
|
|
273
|
-
(typeof LambdaLayerSortBy)[keyof typeof LambdaLayerSortBy];
|
|
274
226
|
export interface LambdaLayerAggregation {
|
|
275
227
|
functionNames?: StringFilter[] | undefined;
|
|
276
228
|
resourceIds?: StringFilter[] | undefined;
|
|
@@ -278,36 +230,16 @@ export interface LambdaLayerAggregation {
|
|
|
278
230
|
sortOrder?: SortOrder | undefined;
|
|
279
231
|
sortBy?: LambdaLayerSortBy | undefined;
|
|
280
232
|
}
|
|
281
|
-
export declare const PackageSortBy: {
|
|
282
|
-
readonly ALL: "ALL";
|
|
283
|
-
readonly CRITICAL: "CRITICAL";
|
|
284
|
-
readonly HIGH: "HIGH";
|
|
285
|
-
};
|
|
286
|
-
export type PackageSortBy = (typeof PackageSortBy)[keyof typeof PackageSortBy];
|
|
287
233
|
export interface PackageAggregation {
|
|
288
234
|
packageNames?: StringFilter[] | undefined;
|
|
289
235
|
sortOrder?: SortOrder | undefined;
|
|
290
236
|
sortBy?: PackageSortBy | undefined;
|
|
291
237
|
}
|
|
292
|
-
export declare const RepositorySortBy: {
|
|
293
|
-
readonly AFFECTED_IMAGES: "AFFECTED_IMAGES";
|
|
294
|
-
readonly ALL: "ALL";
|
|
295
|
-
readonly CRITICAL: "CRITICAL";
|
|
296
|
-
readonly HIGH: "HIGH";
|
|
297
|
-
};
|
|
298
|
-
export type RepositorySortBy =
|
|
299
|
-
(typeof RepositorySortBy)[keyof typeof RepositorySortBy];
|
|
300
238
|
export interface RepositoryAggregation {
|
|
301
239
|
repositories?: StringFilter[] | undefined;
|
|
302
240
|
sortOrder?: SortOrder | undefined;
|
|
303
241
|
sortBy?: RepositorySortBy | undefined;
|
|
304
242
|
}
|
|
305
|
-
export declare const TitleSortBy: {
|
|
306
|
-
readonly ALL: "ALL";
|
|
307
|
-
readonly CRITICAL: "CRITICAL";
|
|
308
|
-
readonly HIGH: "HIGH";
|
|
309
|
-
};
|
|
310
|
-
export type TitleSortBy = (typeof TitleSortBy)[keyof typeof TitleSortBy];
|
|
311
243
|
export interface TitleAggregation {
|
|
312
244
|
titles?: StringFilter[] | undefined;
|
|
313
245
|
vulnerabilityIds?: StringFilter[] | undefined;
|
|
@@ -851,27 +783,6 @@ export declare namespace AggregationResponse {
|
|
|
851
783
|
_: (name: string, value: any) => T;
|
|
852
784
|
}
|
|
853
785
|
}
|
|
854
|
-
export declare const AggregationType: {
|
|
855
|
-
readonly ACCOUNT: "ACCOUNT";
|
|
856
|
-
readonly AMI: "AMI";
|
|
857
|
-
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
858
|
-
readonly AWS_ECR_CONTAINER: "AWS_ECR_CONTAINER";
|
|
859
|
-
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
860
|
-
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
861
|
-
readonly FINDING_TYPE: "FINDING_TYPE";
|
|
862
|
-
readonly IMAGE_LAYER: "IMAGE_LAYER";
|
|
863
|
-
readonly LAMBDA_LAYER: "LAMBDA_LAYER";
|
|
864
|
-
readonly PACKAGE: "PACKAGE";
|
|
865
|
-
readonly REPOSITORY: "REPOSITORY";
|
|
866
|
-
readonly TITLE: "TITLE";
|
|
867
|
-
};
|
|
868
|
-
export type AggregationType =
|
|
869
|
-
(typeof AggregationType)[keyof typeof AggregationType];
|
|
870
|
-
export declare const Architecture: {
|
|
871
|
-
readonly ARM64: "ARM64";
|
|
872
|
-
readonly X86_64: "X86_64";
|
|
873
|
-
};
|
|
874
|
-
export type Architecture = (typeof Architecture)[keyof typeof Architecture];
|
|
875
786
|
export type CodeSecurityResource =
|
|
876
787
|
| CodeSecurityResource.ProjectIdMember
|
|
877
788
|
| CodeSecurityResource.$UnknownMember;
|
|
@@ -903,13 +814,6 @@ export interface ValidationExceptionField {
|
|
|
903
814
|
name: string | undefined;
|
|
904
815
|
message: string | undefined;
|
|
905
816
|
}
|
|
906
|
-
export declare const ValidationExceptionReason: {
|
|
907
|
-
readonly CANNOT_PARSE: "CANNOT_PARSE";
|
|
908
|
-
readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
|
|
909
|
-
readonly OTHER: "OTHER";
|
|
910
|
-
};
|
|
911
|
-
export type ValidationExceptionReason =
|
|
912
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
913
817
|
export interface AtigData {
|
|
914
818
|
firstSeen?: Date | undefined;
|
|
915
819
|
lastSeen?: Date | undefined;
|
|
@@ -959,35 +863,6 @@ export interface AwsEksMetadataDetails {
|
|
|
959
863
|
namespace?: string | undefined;
|
|
960
864
|
workloadInfoList?: AwsEksWorkloadInfo[] | undefined;
|
|
961
865
|
}
|
|
962
|
-
export declare const PackageType: {
|
|
963
|
-
readonly IMAGE: "IMAGE";
|
|
964
|
-
readonly ZIP: "ZIP";
|
|
965
|
-
};
|
|
966
|
-
export type PackageType = (typeof PackageType)[keyof typeof PackageType];
|
|
967
|
-
export declare const Runtime: {
|
|
968
|
-
readonly DOTNETCORE_3_1: "DOTNETCORE_3_1";
|
|
969
|
-
readonly DOTNET_6: "DOTNET_6";
|
|
970
|
-
readonly DOTNET_7: "DOTNET_7";
|
|
971
|
-
readonly GO_1_X: "GO_1_X";
|
|
972
|
-
readonly JAVA_11: "JAVA_11";
|
|
973
|
-
readonly JAVA_17: "JAVA_17";
|
|
974
|
-
readonly JAVA_8: "JAVA_8";
|
|
975
|
-
readonly JAVA_8_AL2: "JAVA_8_AL2";
|
|
976
|
-
readonly NODEJS: "NODEJS";
|
|
977
|
-
readonly NODEJS_12_X: "NODEJS_12_X";
|
|
978
|
-
readonly NODEJS_14_X: "NODEJS_14_X";
|
|
979
|
-
readonly NODEJS_16_X: "NODEJS_16_X";
|
|
980
|
-
readonly NODEJS_18_X: "NODEJS_18_X";
|
|
981
|
-
readonly PYTHON_3_10: "PYTHON_3_10";
|
|
982
|
-
readonly PYTHON_3_11: "PYTHON_3_11";
|
|
983
|
-
readonly PYTHON_3_7: "PYTHON_3_7";
|
|
984
|
-
readonly PYTHON_3_8: "PYTHON_3_8";
|
|
985
|
-
readonly PYTHON_3_9: "PYTHON_3_9";
|
|
986
|
-
readonly RUBY_2_7: "RUBY_2_7";
|
|
987
|
-
readonly RUBY_3_2: "RUBY_3_2";
|
|
988
|
-
readonly UNSUPPORTED: "UNSUPPORTED";
|
|
989
|
-
};
|
|
990
|
-
export type Runtime = (typeof Runtime)[keyof typeof Runtime];
|
|
991
866
|
export interface LambdaVpcConfig {
|
|
992
867
|
subnetIds?: string[] | undefined;
|
|
993
868
|
securityGroupIds?: string[] | undefined;
|
|
@@ -1067,14 +942,6 @@ export interface CodeSnippetResult {
|
|
|
1067
942
|
codeSnippet?: CodeLine[] | undefined;
|
|
1068
943
|
suggestedFixes?: SuggestedFix[] | undefined;
|
|
1069
944
|
}
|
|
1070
|
-
export declare const CodeSnippetErrorCode: {
|
|
1071
|
-
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
1072
|
-
readonly CODE_SNIPPET_NOT_FOUND: "CODE_SNIPPET_NOT_FOUND";
|
|
1073
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1074
|
-
readonly INVALID_INPUT: "INVALID_INPUT";
|
|
1075
|
-
};
|
|
1076
|
-
export type CodeSnippetErrorCode =
|
|
1077
|
-
(typeof CodeSnippetErrorCode)[keyof typeof CodeSnippetErrorCode];
|
|
1078
945
|
export interface CodeSnippetError {
|
|
1079
946
|
findingArn: string | undefined;
|
|
1080
947
|
errorCode: CodeSnippetErrorCode | undefined;
|
|
@@ -1087,14 +954,6 @@ export interface BatchGetCodeSnippetResponse {
|
|
|
1087
954
|
export interface BatchGetFindingDetailsRequest {
|
|
1088
955
|
findingArns: string[] | undefined;
|
|
1089
956
|
}
|
|
1090
|
-
export declare const FindingDetailsErrorCode: {
|
|
1091
|
-
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
1092
|
-
readonly FINDING_DETAILS_NOT_FOUND: "FINDING_DETAILS_NOT_FOUND";
|
|
1093
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1094
|
-
readonly INVALID_INPUT: "INVALID_INPUT";
|
|
1095
|
-
};
|
|
1096
|
-
export type FindingDetailsErrorCode =
|
|
1097
|
-
(typeof FindingDetailsErrorCode)[keyof typeof FindingDetailsErrorCode];
|
|
1098
957
|
export interface FindingDetailsError {
|
|
1099
958
|
findingArn: string | undefined;
|
|
1100
959
|
errorCode: FindingDetailsErrorCode | undefined;
|
|
@@ -1133,20 +992,6 @@ export interface BatchGetFindingDetailsResponse {
|
|
|
1133
992
|
export interface BatchGetFreeTrialInfoRequest {
|
|
1134
993
|
accountIds: string[] | undefined;
|
|
1135
994
|
}
|
|
1136
|
-
export declare const FreeTrialStatus: {
|
|
1137
|
-
readonly ACTIVE: "ACTIVE";
|
|
1138
|
-
readonly INACTIVE: "INACTIVE";
|
|
1139
|
-
};
|
|
1140
|
-
export type FreeTrialStatus =
|
|
1141
|
-
(typeof FreeTrialStatus)[keyof typeof FreeTrialStatus];
|
|
1142
|
-
export declare const FreeTrialType: {
|
|
1143
|
-
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
1144
|
-
readonly EC2: "EC2";
|
|
1145
|
-
readonly ECR: "ECR";
|
|
1146
|
-
readonly LAMBDA: "LAMBDA";
|
|
1147
|
-
readonly LAMBDA_CODE: "LAMBDA_CODE";
|
|
1148
|
-
};
|
|
1149
|
-
export type FreeTrialType = (typeof FreeTrialType)[keyof typeof FreeTrialType];
|
|
1150
995
|
export interface FreeTrialInfo {
|
|
1151
996
|
type: FreeTrialType | undefined;
|
|
1152
997
|
start: Date | undefined;
|
|
@@ -1157,12 +1002,6 @@ export interface FreeTrialAccountInfo {
|
|
|
1157
1002
|
accountId: string | undefined;
|
|
1158
1003
|
freeTrialInfo: FreeTrialInfo[] | undefined;
|
|
1159
1004
|
}
|
|
1160
|
-
export declare const FreeTrialInfoErrorCode: {
|
|
1161
|
-
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
1162
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1163
|
-
};
|
|
1164
|
-
export type FreeTrialInfoErrorCode =
|
|
1165
|
-
(typeof FreeTrialInfoErrorCode)[keyof typeof FreeTrialInfoErrorCode];
|
|
1166
1005
|
export interface FreeTrialInfoError {
|
|
1167
1006
|
accountId: string | undefined;
|
|
1168
1007
|
code: FreeTrialInfoErrorCode | undefined;
|
|
@@ -1175,14 +1014,6 @@ export interface BatchGetFreeTrialInfoResponse {
|
|
|
1175
1014
|
export interface BatchGetMemberEc2DeepInspectionStatusRequest {
|
|
1176
1015
|
accountIds?: string[] | undefined;
|
|
1177
1016
|
}
|
|
1178
|
-
export declare const Ec2DeepInspectionStatus: {
|
|
1179
|
-
readonly ACTIVATED: "ACTIVATED";
|
|
1180
|
-
readonly DEACTIVATED: "DEACTIVATED";
|
|
1181
|
-
readonly FAILED: "FAILED";
|
|
1182
|
-
readonly PENDING: "PENDING";
|
|
1183
|
-
};
|
|
1184
|
-
export type Ec2DeepInspectionStatus =
|
|
1185
|
-
(typeof Ec2DeepInspectionStatus)[keyof typeof Ec2DeepInspectionStatus];
|
|
1186
1017
|
export interface MemberAccountEc2DeepInspectionStatusState {
|
|
1187
1018
|
accountId: string | undefined;
|
|
1188
1019
|
status?: Ec2DeepInspectionStatus | undefined;
|
|
@@ -1467,60 +1298,11 @@ export interface CodeFilePath {
|
|
|
1467
1298
|
startLine: number | undefined;
|
|
1468
1299
|
endLine: number | undefined;
|
|
1469
1300
|
}
|
|
1470
|
-
export declare const CodeRepositoryProviderType: {
|
|
1471
|
-
readonly GITHUB: "GITHUB";
|
|
1472
|
-
readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
|
|
1473
|
-
};
|
|
1474
|
-
export type CodeRepositoryProviderType =
|
|
1475
|
-
(typeof CodeRepositoryProviderType)[keyof typeof CodeRepositoryProviderType];
|
|
1476
1301
|
export interface CodeRepositoryDetails {
|
|
1477
1302
|
projectName?: string | undefined;
|
|
1478
1303
|
integrationArn?: string | undefined;
|
|
1479
1304
|
providerType?: CodeRepositoryProviderType | undefined;
|
|
1480
1305
|
}
|
|
1481
|
-
export declare const ScanStatusReason: {
|
|
1482
|
-
readonly ACCESS_DENIED: "ACCESS_DENIED";
|
|
1483
|
-
readonly ACCESS_DENIED_TO_ENCRYPTION_KEY: "ACCESS_DENIED_TO_ENCRYPTION_KEY";
|
|
1484
|
-
readonly AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED";
|
|
1485
|
-
readonly AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED";
|
|
1486
|
-
readonly DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED: "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED";
|
|
1487
|
-
readonly DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED: "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED";
|
|
1488
|
-
readonly DEEP_INSPECTION_NO_INVENTORY: "DEEP_INSPECTION_NO_INVENTORY";
|
|
1489
|
-
readonly DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED";
|
|
1490
|
-
readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
|
|
1491
|
-
readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
|
|
1492
|
-
readonly IMAGE_ARCHIVED: "IMAGE_ARCHIVED";
|
|
1493
|
-
readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
|
|
1494
|
-
readonly INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST";
|
|
1495
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1496
|
-
readonly NO_INVENTORY: "NO_INVENTORY";
|
|
1497
|
-
readonly NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND";
|
|
1498
|
-
readonly NO_SCAN_CONFIGURATION_ASSOCIATED: "NO_SCAN_CONFIGURATION_ASSOCIATED";
|
|
1499
|
-
readonly PENDING_DISABLE: "PENDING_DISABLE";
|
|
1500
|
-
readonly PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN";
|
|
1501
|
-
readonly PENDING_REVIVAL_SCAN: "PENDING_REVIVAL_SCAN";
|
|
1502
|
-
readonly RESOURCE_TERMINATED: "RESOURCE_TERMINATED";
|
|
1503
|
-
readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
|
|
1504
|
-
readonly SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL";
|
|
1505
|
-
readonly SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH";
|
|
1506
|
-
readonly SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS";
|
|
1507
|
-
readonly STALE_INVENTORY: "STALE_INVENTORY";
|
|
1508
|
-
readonly SUCCESSFUL: "SUCCESSFUL";
|
|
1509
|
-
readonly UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE";
|
|
1510
|
-
readonly UNSUPPORTED_CONFIG_FILE: "UNSUPPORTED_CONFIG_FILE";
|
|
1511
|
-
readonly UNSUPPORTED_LANGUAGE: "UNSUPPORTED_LANGUAGE";
|
|
1512
|
-
readonly UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE";
|
|
1513
|
-
readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
|
|
1514
|
-
readonly UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME";
|
|
1515
|
-
};
|
|
1516
|
-
export type ScanStatusReason =
|
|
1517
|
-
(typeof ScanStatusReason)[keyof typeof ScanStatusReason];
|
|
1518
|
-
export declare const ScanStatusCode: {
|
|
1519
|
-
readonly ACTIVE: "ACTIVE";
|
|
1520
|
-
readonly INACTIVE: "INACTIVE";
|
|
1521
|
-
};
|
|
1522
|
-
export type ScanStatusCode =
|
|
1523
|
-
(typeof ScanStatusCode)[keyof typeof ScanStatusCode];
|
|
1524
1306
|
export interface ScanStatus {
|
|
1525
1307
|
statusCode: ScanStatusCode | undefined;
|
|
1526
1308
|
reason: ScanStatusReason | undefined;
|
|
@@ -1611,14 +1393,6 @@ export interface ComputePlatform {
|
|
|
1611
1393
|
product?: string | undefined;
|
|
1612
1394
|
version?: string | undefined;
|
|
1613
1395
|
}
|
|
1614
|
-
export declare const GroupKey: {
|
|
1615
|
-
readonly ACCOUNT_ID: "ACCOUNT_ID";
|
|
1616
|
-
readonly ECR_REPOSITORY_NAME: "ECR_REPOSITORY_NAME";
|
|
1617
|
-
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
1618
|
-
readonly SCAN_STATUS_CODE: "SCAN_STATUS_CODE";
|
|
1619
|
-
readonly SCAN_STATUS_REASON: "SCAN_STATUS_REASON";
|
|
1620
|
-
};
|
|
1621
|
-
export type GroupKey = (typeof GroupKey)[keyof typeof GroupKey];
|
|
1622
1396
|
export interface Counts {
|
|
1623
1397
|
count?: number | undefined;
|
|
1624
1398
|
groupKey?: GroupKey | undefined;
|
|
@@ -1627,21 +1401,10 @@ export interface CoverageDateFilter {
|
|
|
1627
1401
|
startInclusive?: Date | undefined;
|
|
1628
1402
|
endInclusive?: Date | undefined;
|
|
1629
1403
|
}
|
|
1630
|
-
export declare const CoverageStringComparison: {
|
|
1631
|
-
readonly EQUALS: "EQUALS";
|
|
1632
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
1633
|
-
};
|
|
1634
|
-
export type CoverageStringComparison =
|
|
1635
|
-
(typeof CoverageStringComparison)[keyof typeof CoverageStringComparison];
|
|
1636
1404
|
export interface CoverageStringFilter {
|
|
1637
1405
|
comparison: CoverageStringComparison | undefined;
|
|
1638
1406
|
value: string | undefined;
|
|
1639
1407
|
}
|
|
1640
|
-
export declare const CoverageMapComparison: {
|
|
1641
|
-
readonly EQUALS: "EQUALS";
|
|
1642
|
-
};
|
|
1643
|
-
export type CoverageMapComparison =
|
|
1644
|
-
(typeof CoverageMapComparison)[keyof typeof CoverageMapComparison];
|
|
1645
1408
|
export interface CoverageMapFilter {
|
|
1646
1409
|
comparison: CoverageMapComparison | undefined;
|
|
1647
1410
|
key: string | undefined;
|
|
@@ -1674,22 +1437,6 @@ export interface CoverageFilterCriteria {
|
|
|
1674
1437
|
codeRepositoryProviderTypeVisibility?: CoverageStringFilter[] | undefined;
|
|
1675
1438
|
lastScannedCommitId?: CoverageStringFilter[] | undefined;
|
|
1676
1439
|
}
|
|
1677
|
-
export declare const CoverageResourceType: {
|
|
1678
|
-
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
1679
|
-
readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
|
|
1680
|
-
readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
|
|
1681
|
-
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
1682
|
-
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
1683
|
-
};
|
|
1684
|
-
export type CoverageResourceType =
|
|
1685
|
-
(typeof CoverageResourceType)[keyof typeof CoverageResourceType];
|
|
1686
|
-
export declare const Ec2Platform: {
|
|
1687
|
-
readonly LINUX: "LINUX";
|
|
1688
|
-
readonly MACOS: "MACOS";
|
|
1689
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
1690
|
-
readonly WINDOWS: "WINDOWS";
|
|
1691
|
-
};
|
|
1692
|
-
export type Ec2Platform = (typeof Ec2Platform)[keyof typeof Ec2Platform];
|
|
1693
1440
|
export interface Ec2Metadata {
|
|
1694
1441
|
tags?: Record<string, string> | undefined;
|
|
1695
1442
|
amiId?: string | undefined;
|
|
@@ -1701,13 +1448,6 @@ export interface EcrContainerImageMetadata {
|
|
|
1701
1448
|
lastInUseAt?: Date | undefined;
|
|
1702
1449
|
inUseCount?: number | undefined;
|
|
1703
1450
|
}
|
|
1704
|
-
export declare const EcrScanFrequency: {
|
|
1705
|
-
readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
|
|
1706
|
-
readonly MANUAL: "MANUAL";
|
|
1707
|
-
readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
|
|
1708
|
-
};
|
|
1709
|
-
export type EcrScanFrequency =
|
|
1710
|
-
(typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
|
|
1711
1451
|
export interface EcrRepositoryMetadata {
|
|
1712
1452
|
name?: string | undefined;
|
|
1713
1453
|
scanFrequency?: EcrScanFrequency | undefined;
|
|
@@ -1725,17 +1465,6 @@ export interface ResourceScanMetadata {
|
|
|
1725
1465
|
lambdaFunction?: LambdaFunctionMetadata | undefined;
|
|
1726
1466
|
codeRepository?: CodeRepositoryMetadata | undefined;
|
|
1727
1467
|
}
|
|
1728
|
-
export declare const ScanMode: {
|
|
1729
|
-
readonly EC2_AGENTLESS: "EC2_AGENTLESS";
|
|
1730
|
-
readonly EC2_SSM_AGENT_BASED: "EC2_SSM_AGENT_BASED";
|
|
1731
|
-
};
|
|
1732
|
-
export type ScanMode = (typeof ScanMode)[keyof typeof ScanMode];
|
|
1733
|
-
export declare const ScanType: {
|
|
1734
|
-
readonly CODE: "CODE";
|
|
1735
|
-
readonly NETWORK: "NETWORK";
|
|
1736
|
-
readonly PACKAGE: "PACKAGE";
|
|
1737
|
-
};
|
|
1738
|
-
export type ScanType = (typeof ScanType)[keyof typeof ScanType];
|
|
1739
1468
|
export interface CoveredResource {
|
|
1740
1469
|
resourceType: CoverageResourceType | undefined;
|
|
1741
1470
|
resourceId: string | undefined;
|
|
@@ -1802,11 +1531,6 @@ export interface CreateCodeSecurityScanConfigurationRequest {
|
|
|
1802
1531
|
export interface CreateCodeSecurityScanConfigurationResponse {
|
|
1803
1532
|
scanConfigurationArn: string | undefined;
|
|
1804
1533
|
}
|
|
1805
|
-
export declare const FilterAction: {
|
|
1806
|
-
readonly NONE: "NONE";
|
|
1807
|
-
readonly SUPPRESS: "SUPPRESS";
|
|
1808
|
-
};
|
|
1809
|
-
export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
|
|
1810
1534
|
export interface PortRangeFilter {
|
|
1811
1535
|
beginInclusive?: number | undefined;
|
|
1812
1536
|
endInclusive?: number | undefined;
|
|
@@ -1880,11 +1604,6 @@ export interface CreateFilterRequest {
|
|
|
1880
1604
|
export interface CreateFilterResponse {
|
|
1881
1605
|
arn: string | undefined;
|
|
1882
1606
|
}
|
|
1883
|
-
export declare const ReportFormat: {
|
|
1884
|
-
readonly CSV: "CSV";
|
|
1885
|
-
readonly JSON: "JSON";
|
|
1886
|
-
};
|
|
1887
|
-
export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
|
|
1888
1607
|
export interface Destination {
|
|
1889
1608
|
bucketName: string | undefined;
|
|
1890
1609
|
keyPrefix?: string | undefined;
|
|
@@ -1898,27 +1617,10 @@ export interface CreateFindingsReportRequest {
|
|
|
1898
1617
|
export interface CreateFindingsReportResponse {
|
|
1899
1618
|
reportId?: string | undefined;
|
|
1900
1619
|
}
|
|
1901
|
-
export declare const SbomReportFormat: {
|
|
1902
|
-
readonly CYCLONEDX_1_4: "CYCLONEDX_1_4";
|
|
1903
|
-
readonly SPDX_2_3: "SPDX_2_3";
|
|
1904
|
-
};
|
|
1905
|
-
export type SbomReportFormat =
|
|
1906
|
-
(typeof SbomReportFormat)[keyof typeof SbomReportFormat];
|
|
1907
|
-
export declare const ResourceStringComparison: {
|
|
1908
|
-
readonly EQUALS: "EQUALS";
|
|
1909
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
1910
|
-
};
|
|
1911
|
-
export type ResourceStringComparison =
|
|
1912
|
-
(typeof ResourceStringComparison)[keyof typeof ResourceStringComparison];
|
|
1913
1620
|
export interface ResourceStringFilter {
|
|
1914
1621
|
comparison: ResourceStringComparison | undefined;
|
|
1915
1622
|
value: string | undefined;
|
|
1916
1623
|
}
|
|
1917
|
-
export declare const ResourceMapComparison: {
|
|
1918
|
-
readonly EQUALS: "EQUALS";
|
|
1919
|
-
};
|
|
1920
|
-
export type ResourceMapComparison =
|
|
1921
|
-
(typeof ResourceMapComparison)[keyof typeof ResourceMapComparison];
|
|
1922
1624
|
export interface ResourceMapFilter {
|
|
1923
1625
|
comparison: ResourceMapComparison | undefined;
|
|
1924
1626
|
key: string | undefined;
|
|
@@ -1942,10 +1644,6 @@ export interface CreateSbomExportRequest {
|
|
|
1942
1644
|
export interface CreateSbomExportResponse {
|
|
1943
1645
|
reportId?: string | undefined;
|
|
1944
1646
|
}
|
|
1945
|
-
export declare const Currency: {
|
|
1946
|
-
readonly USD: "USD";
|
|
1947
|
-
};
|
|
1948
|
-
export type Currency = (typeof Currency)[keyof typeof Currency];
|
|
1949
1647
|
export interface Cvss2 {
|
|
1950
1648
|
baseScore?: number | undefined;
|
|
1951
1649
|
scoringVector?: string | undefined;
|
|
@@ -1976,32 +1674,10 @@ export interface CvssScoreDetails {
|
|
|
1976
1674
|
scoringVector: string | undefined;
|
|
1977
1675
|
adjustments?: CvssScoreAdjustment[] | undefined;
|
|
1978
1676
|
}
|
|
1979
|
-
export declare const RelationshipStatus: {
|
|
1980
|
-
readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
|
|
1981
|
-
readonly CANNOT_CREATE_DETECTOR_IN_ORG_MASTER: "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER";
|
|
1982
|
-
readonly CREATED: "CREATED";
|
|
1983
|
-
readonly DELETED: "DELETED";
|
|
1984
|
-
readonly DISABLED: "DISABLED";
|
|
1985
|
-
readonly EMAIL_VERIFICATION_FAILED: "EMAIL_VERIFICATION_FAILED";
|
|
1986
|
-
readonly EMAIL_VERIFICATION_IN_PROGRESS: "EMAIL_VERIFICATION_IN_PROGRESS";
|
|
1987
|
-
readonly ENABLED: "ENABLED";
|
|
1988
|
-
readonly INVITED: "INVITED";
|
|
1989
|
-
readonly REGION_DISABLED: "REGION_DISABLED";
|
|
1990
|
-
readonly REMOVED: "REMOVED";
|
|
1991
|
-
readonly RESIGNED: "RESIGNED";
|
|
1992
|
-
};
|
|
1993
|
-
export type RelationshipStatus =
|
|
1994
|
-
(typeof RelationshipStatus)[keyof typeof RelationshipStatus];
|
|
1995
1677
|
export interface DelegatedAdmin {
|
|
1996
1678
|
accountId?: string | undefined;
|
|
1997
1679
|
relationshipStatus?: RelationshipStatus | undefined;
|
|
1998
1680
|
}
|
|
1999
|
-
export declare const DelegatedAdminStatus: {
|
|
2000
|
-
readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
|
|
2001
|
-
readonly ENABLED: "ENABLED";
|
|
2002
|
-
};
|
|
2003
|
-
export type DelegatedAdminStatus =
|
|
2004
|
-
(typeof DelegatedAdminStatus)[keyof typeof DelegatedAdminStatus];
|
|
2005
1681
|
export interface DelegatedAdminAccount {
|
|
2006
1682
|
accountId?: string | undefined;
|
|
2007
1683
|
status?: DelegatedAdminStatus | undefined;
|
|
@@ -2035,15 +1711,6 @@ export interface DescribeOrganizationConfigurationResponse {
|
|
|
2035
1711
|
autoEnable?: AutoEnable | undefined;
|
|
2036
1712
|
maxAccountLimitReached?: boolean | undefined;
|
|
2037
1713
|
}
|
|
2038
|
-
export declare const ResourceScanType: {
|
|
2039
|
-
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
2040
|
-
readonly EC2: "EC2";
|
|
2041
|
-
readonly ECR: "ECR";
|
|
2042
|
-
readonly LAMBDA: "LAMBDA";
|
|
2043
|
-
readonly LAMBDA_CODE: "LAMBDA_CODE";
|
|
2044
|
-
};
|
|
2045
|
-
export type ResourceScanType =
|
|
2046
|
-
(typeof ResourceScanType)[keyof typeof ResourceScanType];
|
|
2047
1714
|
export interface DisableRequest {
|
|
2048
1715
|
accountIds?: string[] | undefined;
|
|
2049
1716
|
resourceTypes?: ResourceScanType[] | undefined;
|
|
@@ -2064,20 +1731,9 @@ export interface DisassociateMemberRequest {
|
|
|
2064
1731
|
export interface DisassociateMemberResponse {
|
|
2065
1732
|
accountId: string | undefined;
|
|
2066
1733
|
}
|
|
2067
|
-
export declare const Ec2ScanMode: {
|
|
2068
|
-
readonly EC2_HYBRID: "EC2_HYBRID";
|
|
2069
|
-
readonly EC2_SSM_AGENT_BASED: "EC2_SSM_AGENT_BASED";
|
|
2070
|
-
};
|
|
2071
|
-
export type Ec2ScanMode = (typeof Ec2ScanMode)[keyof typeof Ec2ScanMode];
|
|
2072
1734
|
export interface Ec2Configuration {
|
|
2073
1735
|
scanMode: Ec2ScanMode | undefined;
|
|
2074
1736
|
}
|
|
2075
|
-
export declare const Ec2ScanModeStatus: {
|
|
2076
|
-
readonly PENDING: "PENDING";
|
|
2077
|
-
readonly SUCCESS: "SUCCESS";
|
|
2078
|
-
};
|
|
2079
|
-
export type Ec2ScanModeStatus =
|
|
2080
|
-
(typeof Ec2ScanModeStatus)[keyof typeof Ec2ScanModeStatus];
|
|
2081
1737
|
export interface Ec2ScanModeState {
|
|
2082
1738
|
scanMode?: Ec2ScanMode | undefined;
|
|
2083
1739
|
scanModeStatus?: Ec2ScanModeStatus | undefined;
|
|
@@ -2085,43 +1741,11 @@ export interface Ec2ScanModeState {
|
|
|
2085
1741
|
export interface Ec2ConfigurationState {
|
|
2086
1742
|
scanModeState?: Ec2ScanModeState | undefined;
|
|
2087
1743
|
}
|
|
2088
|
-
export declare const EcrPullDateRescanDuration: {
|
|
2089
|
-
readonly DAYS_14: "DAYS_14";
|
|
2090
|
-
readonly DAYS_180: "DAYS_180";
|
|
2091
|
-
readonly DAYS_30: "DAYS_30";
|
|
2092
|
-
readonly DAYS_60: "DAYS_60";
|
|
2093
|
-
readonly DAYS_90: "DAYS_90";
|
|
2094
|
-
};
|
|
2095
|
-
export type EcrPullDateRescanDuration =
|
|
2096
|
-
(typeof EcrPullDateRescanDuration)[keyof typeof EcrPullDateRescanDuration];
|
|
2097
|
-
export declare const EcrPullDateRescanMode: {
|
|
2098
|
-
readonly LAST_IN_USE_AT: "LAST_IN_USE_AT";
|
|
2099
|
-
readonly LAST_PULL_DATE: "LAST_PULL_DATE";
|
|
2100
|
-
};
|
|
2101
|
-
export type EcrPullDateRescanMode =
|
|
2102
|
-
(typeof EcrPullDateRescanMode)[keyof typeof EcrPullDateRescanMode];
|
|
2103
|
-
export declare const EcrRescanDuration: {
|
|
2104
|
-
readonly DAYS_14: "DAYS_14";
|
|
2105
|
-
readonly DAYS_180: "DAYS_180";
|
|
2106
|
-
readonly DAYS_30: "DAYS_30";
|
|
2107
|
-
readonly DAYS_60: "DAYS_60";
|
|
2108
|
-
readonly DAYS_90: "DAYS_90";
|
|
2109
|
-
readonly LIFETIME: "LIFETIME";
|
|
2110
|
-
};
|
|
2111
|
-
export type EcrRescanDuration =
|
|
2112
|
-
(typeof EcrRescanDuration)[keyof typeof EcrRescanDuration];
|
|
2113
1744
|
export interface EcrConfiguration {
|
|
2114
1745
|
rescanDuration: EcrRescanDuration | undefined;
|
|
2115
1746
|
pullDateRescanDuration?: EcrPullDateRescanDuration | undefined;
|
|
2116
1747
|
pullDateRescanMode?: EcrPullDateRescanMode | undefined;
|
|
2117
1748
|
}
|
|
2118
|
-
export declare const EcrRescanDurationStatus: {
|
|
2119
|
-
readonly FAILED: "FAILED";
|
|
2120
|
-
readonly PENDING: "PENDING";
|
|
2121
|
-
readonly SUCCESS: "SUCCESS";
|
|
2122
|
-
};
|
|
2123
|
-
export type EcrRescanDurationStatus =
|
|
2124
|
-
(typeof EcrRescanDurationStatus)[keyof typeof EcrRescanDurationStatus];
|
|
2125
1749
|
export interface EcrRescanDurationState {
|
|
2126
1750
|
rescanDuration?: EcrRescanDuration | undefined;
|
|
2127
1751
|
status?: EcrRescanDurationStatus | undefined;
|
|
@@ -2157,20 +1781,6 @@ export interface EpssDetails {
|
|
|
2157
1781
|
export interface ExploitabilityDetails {
|
|
2158
1782
|
lastKnownExploitAt?: Date | undefined;
|
|
2159
1783
|
}
|
|
2160
|
-
export declare const ExploitAvailable: {
|
|
2161
|
-
readonly NO: "NO";
|
|
2162
|
-
readonly YES: "YES";
|
|
2163
|
-
};
|
|
2164
|
-
export type ExploitAvailable =
|
|
2165
|
-
(typeof ExploitAvailable)[keyof typeof ExploitAvailable];
|
|
2166
|
-
export declare const ExternalReportStatus: {
|
|
2167
|
-
readonly CANCELLED: "CANCELLED";
|
|
2168
|
-
readonly FAILED: "FAILED";
|
|
2169
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
2170
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
2171
|
-
};
|
|
2172
|
-
export type ExternalReportStatus =
|
|
2173
|
-
(typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
|
|
2174
1784
|
export interface Filter {
|
|
2175
1785
|
arn: string | undefined;
|
|
2176
1786
|
ownerId: string | undefined;
|
|
@@ -2183,12 +1793,6 @@ export interface Filter {
|
|
|
2183
1793
|
reason?: string | undefined;
|
|
2184
1794
|
tags?: Record<string, string> | undefined;
|
|
2185
1795
|
}
|
|
2186
|
-
export declare const FixAvailable: {
|
|
2187
|
-
readonly NO: "NO";
|
|
2188
|
-
readonly PARTIAL: "PARTIAL";
|
|
2189
|
-
readonly YES: "YES";
|
|
2190
|
-
};
|
|
2191
|
-
export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
|
|
2192
1796
|
export interface InspectorScoreDetails {
|
|
2193
1797
|
adjustedCvss?: CvssScoreDetails | undefined;
|
|
2194
1798
|
}
|
|
@@ -2204,39 +1808,11 @@ export interface PortRange {
|
|
|
2204
1808
|
begin: number | undefined;
|
|
2205
1809
|
end: number | undefined;
|
|
2206
1810
|
}
|
|
2207
|
-
export declare const NetworkProtocol: {
|
|
2208
|
-
readonly TCP: "TCP";
|
|
2209
|
-
readonly UDP: "UDP";
|
|
2210
|
-
};
|
|
2211
|
-
export type NetworkProtocol =
|
|
2212
|
-
(typeof NetworkProtocol)[keyof typeof NetworkProtocol];
|
|
2213
1811
|
export interface NetworkReachabilityDetails {
|
|
2214
1812
|
openPortRange: PortRange | undefined;
|
|
2215
1813
|
protocol: NetworkProtocol | undefined;
|
|
2216
1814
|
networkPath: NetworkPath | undefined;
|
|
2217
1815
|
}
|
|
2218
|
-
export declare const PackageManager: {
|
|
2219
|
-
readonly BUNDLER: "BUNDLER";
|
|
2220
|
-
readonly CARGO: "CARGO";
|
|
2221
|
-
readonly COMPOSER: "COMPOSER";
|
|
2222
|
-
readonly DOTNET_CORE: "DOTNET_CORE";
|
|
2223
|
-
readonly GEMSPEC: "GEMSPEC";
|
|
2224
|
-
readonly GOBINARY: "GOBINARY";
|
|
2225
|
-
readonly GOMOD: "GOMOD";
|
|
2226
|
-
readonly JAR: "JAR";
|
|
2227
|
-
readonly NODEPKG: "NODEPKG";
|
|
2228
|
-
readonly NPM: "NPM";
|
|
2229
|
-
readonly NUGET: "NUGET";
|
|
2230
|
-
readonly OS: "OS";
|
|
2231
|
-
readonly PIP: "PIP";
|
|
2232
|
-
readonly PIPENV: "PIPENV";
|
|
2233
|
-
readonly POETRY: "POETRY";
|
|
2234
|
-
readonly POM: "POM";
|
|
2235
|
-
readonly PYTHONPKG: "PYTHONPKG";
|
|
2236
|
-
readonly YARN: "YARN";
|
|
2237
|
-
};
|
|
2238
|
-
export type PackageManager =
|
|
2239
|
-
(typeof PackageManager)[keyof typeof PackageManager];
|
|
2240
1816
|
export interface VulnerablePackage {
|
|
2241
1817
|
name: string | undefined;
|
|
2242
1818
|
version: string | undefined;
|
|
@@ -2275,14 +1851,6 @@ export interface ResourceDetails {
|
|
|
2275
1851
|
awsLambdaFunction?: AwsLambdaFunctionDetails | undefined;
|
|
2276
1852
|
codeRepository?: CodeRepositoryDetails | undefined;
|
|
2277
1853
|
}
|
|
2278
|
-
export declare const ResourceType: {
|
|
2279
|
-
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
2280
|
-
readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
|
|
2281
|
-
readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
|
|
2282
|
-
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
2283
|
-
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
2284
|
-
};
|
|
2285
|
-
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
2286
1854
|
export interface Resource {
|
|
2287
1855
|
type: ResourceType | undefined;
|
|
2288
1856
|
id: string | undefined;
|
|
@@ -2291,27 +1859,6 @@ export interface Resource {
|
|
|
2291
1859
|
tags?: Record<string, string> | undefined;
|
|
2292
1860
|
details?: ResourceDetails | undefined;
|
|
2293
1861
|
}
|
|
2294
|
-
export declare const Severity: {
|
|
2295
|
-
readonly CRITICAL: "CRITICAL";
|
|
2296
|
-
readonly HIGH: "HIGH";
|
|
2297
|
-
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
2298
|
-
readonly LOW: "LOW";
|
|
2299
|
-
readonly MEDIUM: "MEDIUM";
|
|
2300
|
-
readonly UNTRIAGED: "UNTRIAGED";
|
|
2301
|
-
};
|
|
2302
|
-
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
2303
|
-
export declare const FindingStatus: {
|
|
2304
|
-
readonly ACTIVE: "ACTIVE";
|
|
2305
|
-
readonly CLOSED: "CLOSED";
|
|
2306
|
-
readonly SUPPRESSED: "SUPPRESSED";
|
|
2307
|
-
};
|
|
2308
|
-
export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
|
|
2309
|
-
export declare const FindingType: {
|
|
2310
|
-
readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
|
|
2311
|
-
readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
|
|
2312
|
-
readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
|
|
2313
|
-
};
|
|
2314
|
-
export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
2315
1862
|
export interface Finding {
|
|
2316
1863
|
findingArn: string | undefined;
|
|
2317
1864
|
awsAccountId: string | undefined;
|
|
@@ -2414,3 +1961,311 @@ export interface GetConfigurationResponse {
|
|
|
2414
1961
|
ecrConfiguration?: EcrConfigurationState | undefined;
|
|
2415
1962
|
ec2Configuration?: Ec2ConfigurationState | undefined;
|
|
2416
1963
|
}
|
|
1964
|
+
export interface GetDelegatedAdminAccountRequest {}
|
|
1965
|
+
export interface GetDelegatedAdminAccountResponse {
|
|
1966
|
+
delegatedAdmin?: DelegatedAdmin | undefined;
|
|
1967
|
+
}
|
|
1968
|
+
export interface GetEc2DeepInspectionConfigurationRequest {}
|
|
1969
|
+
export interface GetEc2DeepInspectionConfigurationResponse {
|
|
1970
|
+
packagePaths?: string[] | undefined;
|
|
1971
|
+
orgPackagePaths?: string[] | undefined;
|
|
1972
|
+
status?: Ec2DeepInspectionStatus | undefined;
|
|
1973
|
+
errorMessage?: string | undefined;
|
|
1974
|
+
}
|
|
1975
|
+
export interface GetEncryptionKeyRequest {
|
|
1976
|
+
scanType: ScanType | undefined;
|
|
1977
|
+
resourceType: ResourceType | undefined;
|
|
1978
|
+
}
|
|
1979
|
+
export interface GetEncryptionKeyResponse {
|
|
1980
|
+
kmsKeyId: string | undefined;
|
|
1981
|
+
}
|
|
1982
|
+
export interface GetFindingsReportStatusRequest {
|
|
1983
|
+
reportId?: string | undefined;
|
|
1984
|
+
}
|
|
1985
|
+
export interface GetFindingsReportStatusResponse {
|
|
1986
|
+
reportId?: string | undefined;
|
|
1987
|
+
status?: ExternalReportStatus | undefined;
|
|
1988
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
1989
|
+
errorMessage?: string | undefined;
|
|
1990
|
+
destination?: Destination | undefined;
|
|
1991
|
+
filterCriteria?: FilterCriteria | undefined;
|
|
1992
|
+
}
|
|
1993
|
+
export interface GetMemberRequest {
|
|
1994
|
+
accountId: string | undefined;
|
|
1995
|
+
}
|
|
1996
|
+
export interface Member {
|
|
1997
|
+
accountId?: string | undefined;
|
|
1998
|
+
relationshipStatus?: RelationshipStatus | undefined;
|
|
1999
|
+
delegatedAdminAccountId?: string | undefined;
|
|
2000
|
+
updatedAt?: Date | undefined;
|
|
2001
|
+
}
|
|
2002
|
+
export interface GetMemberResponse {
|
|
2003
|
+
member?: Member | undefined;
|
|
2004
|
+
}
|
|
2005
|
+
export interface GetSbomExportRequest {
|
|
2006
|
+
reportId: string | undefined;
|
|
2007
|
+
}
|
|
2008
|
+
export interface GetSbomExportResponse {
|
|
2009
|
+
reportId?: string | undefined;
|
|
2010
|
+
format?: SbomReportFormat | undefined;
|
|
2011
|
+
status?: ExternalReportStatus | undefined;
|
|
2012
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
2013
|
+
errorMessage?: string | undefined;
|
|
2014
|
+
s3Destination?: Destination | undefined;
|
|
2015
|
+
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
2016
|
+
}
|
|
2017
|
+
export interface ListAccountPermissionsRequest {
|
|
2018
|
+
service?: Service | undefined;
|
|
2019
|
+
maxResults?: number | undefined;
|
|
2020
|
+
nextToken?: string | undefined;
|
|
2021
|
+
}
|
|
2022
|
+
export interface Permission {
|
|
2023
|
+
service: Service | undefined;
|
|
2024
|
+
operation: Operation | undefined;
|
|
2025
|
+
}
|
|
2026
|
+
export interface ListAccountPermissionsResponse {
|
|
2027
|
+
permissions: Permission[] | undefined;
|
|
2028
|
+
nextToken?: string | undefined;
|
|
2029
|
+
}
|
|
2030
|
+
export interface ListCisScanConfigurationsFilterCriteria {
|
|
2031
|
+
scanNameFilters?: CisStringFilter[] | undefined;
|
|
2032
|
+
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
2033
|
+
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
2034
|
+
}
|
|
2035
|
+
export interface ListCisScanConfigurationsRequest {
|
|
2036
|
+
filterCriteria?: ListCisScanConfigurationsFilterCriteria | undefined;
|
|
2037
|
+
sortBy?: CisScanConfigurationsSortBy | undefined;
|
|
2038
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2039
|
+
nextToken?: string | undefined;
|
|
2040
|
+
maxResults?: number | undefined;
|
|
2041
|
+
}
|
|
2042
|
+
export interface ListCisScanConfigurationsResponse {
|
|
2043
|
+
scanConfigurations?: CisScanConfiguration[] | undefined;
|
|
2044
|
+
nextToken?: string | undefined;
|
|
2045
|
+
}
|
|
2046
|
+
export interface ListCisScanResultsAggregatedByChecksRequest {
|
|
2047
|
+
scanArn: string | undefined;
|
|
2048
|
+
filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria | undefined;
|
|
2049
|
+
sortBy?: CisScanResultsAggregatedByChecksSortBy | undefined;
|
|
2050
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2051
|
+
nextToken?: string | undefined;
|
|
2052
|
+
maxResults?: number | undefined;
|
|
2053
|
+
}
|
|
2054
|
+
export interface ListCisScanResultsAggregatedByChecksResponse {
|
|
2055
|
+
checkAggregations?: CisCheckAggregation[] | undefined;
|
|
2056
|
+
nextToken?: string | undefined;
|
|
2057
|
+
}
|
|
2058
|
+
export interface ListCisScanResultsAggregatedByTargetResourceRequest {
|
|
2059
|
+
scanArn: string | undefined;
|
|
2060
|
+
filterCriteria?:
|
|
2061
|
+
| CisScanResultsAggregatedByTargetResourceFilterCriteria
|
|
2062
|
+
| undefined;
|
|
2063
|
+
sortBy?: CisScanResultsAggregatedByTargetResourceSortBy | undefined;
|
|
2064
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2065
|
+
nextToken?: string | undefined;
|
|
2066
|
+
maxResults?: number | undefined;
|
|
2067
|
+
}
|
|
2068
|
+
export interface ListCisScanResultsAggregatedByTargetResourceResponse {
|
|
2069
|
+
targetResourceAggregations?: CisTargetResourceAggregation[] | undefined;
|
|
2070
|
+
nextToken?: string | undefined;
|
|
2071
|
+
}
|
|
2072
|
+
export interface ListCisScansFilterCriteria {
|
|
2073
|
+
scanNameFilters?: CisStringFilter[] | undefined;
|
|
2074
|
+
targetResourceTagFilters?: TagFilter[] | undefined;
|
|
2075
|
+
targetResourceIdFilters?: CisStringFilter[] | undefined;
|
|
2076
|
+
scanStatusFilters?: CisScanStatusFilter[] | undefined;
|
|
2077
|
+
scanAtFilters?: CisDateFilter[] | undefined;
|
|
2078
|
+
scanConfigurationArnFilters?: CisStringFilter[] | undefined;
|
|
2079
|
+
scanArnFilters?: CisStringFilter[] | undefined;
|
|
2080
|
+
scheduledByFilters?: CisStringFilter[] | undefined;
|
|
2081
|
+
failedChecksFilters?: CisNumberFilter[] | undefined;
|
|
2082
|
+
targetAccountIdFilters?: CisStringFilter[] | undefined;
|
|
2083
|
+
}
|
|
2084
|
+
export interface ListCisScansRequest {
|
|
2085
|
+
filterCriteria?: ListCisScansFilterCriteria | undefined;
|
|
2086
|
+
detailLevel?: ListCisScansDetailLevel | undefined;
|
|
2087
|
+
sortBy?: ListCisScansSortBy | undefined;
|
|
2088
|
+
sortOrder?: CisSortOrder | undefined;
|
|
2089
|
+
nextToken?: string | undefined;
|
|
2090
|
+
maxResults?: number | undefined;
|
|
2091
|
+
}
|
|
2092
|
+
export interface ListCisScansResponse {
|
|
2093
|
+
scans?: CisScan[] | undefined;
|
|
2094
|
+
nextToken?: string | undefined;
|
|
2095
|
+
}
|
|
2096
|
+
export interface ListCodeSecurityIntegrationsRequest {
|
|
2097
|
+
nextToken?: string | undefined;
|
|
2098
|
+
maxResults?: number | undefined;
|
|
2099
|
+
}
|
|
2100
|
+
export interface ListCodeSecurityIntegrationsResponse {
|
|
2101
|
+
integrations?: CodeSecurityIntegrationSummary[] | undefined;
|
|
2102
|
+
nextToken?: string | undefined;
|
|
2103
|
+
}
|
|
2104
|
+
export interface ListCodeSecurityScanConfigurationAssociationsRequest {
|
|
2105
|
+
scanConfigurationArn: string | undefined;
|
|
2106
|
+
nextToken?: string | undefined;
|
|
2107
|
+
maxResults?: number | undefined;
|
|
2108
|
+
}
|
|
2109
|
+
export interface ListCodeSecurityScanConfigurationAssociationsResponse {
|
|
2110
|
+
associations?: CodeSecurityScanConfigurationAssociationSummary[] | undefined;
|
|
2111
|
+
nextToken?: string | undefined;
|
|
2112
|
+
}
|
|
2113
|
+
export interface ListCodeSecurityScanConfigurationsRequest {
|
|
2114
|
+
nextToken?: string | undefined;
|
|
2115
|
+
maxResults?: number | undefined;
|
|
2116
|
+
}
|
|
2117
|
+
export interface ListCodeSecurityScanConfigurationsResponse {
|
|
2118
|
+
configurations?: CodeSecurityScanConfigurationSummary[] | undefined;
|
|
2119
|
+
nextToken?: string | undefined;
|
|
2120
|
+
}
|
|
2121
|
+
export interface ListCoverageRequest {
|
|
2122
|
+
maxResults?: number | undefined;
|
|
2123
|
+
nextToken?: string | undefined;
|
|
2124
|
+
filterCriteria?: CoverageFilterCriteria | undefined;
|
|
2125
|
+
}
|
|
2126
|
+
export interface ListCoverageResponse {
|
|
2127
|
+
nextToken?: string | undefined;
|
|
2128
|
+
coveredResources?: CoveredResource[] | undefined;
|
|
2129
|
+
}
|
|
2130
|
+
export interface ListCoverageStatisticsRequest {
|
|
2131
|
+
filterCriteria?: CoverageFilterCriteria | undefined;
|
|
2132
|
+
groupBy?: GroupKey | undefined;
|
|
2133
|
+
nextToken?: string | undefined;
|
|
2134
|
+
}
|
|
2135
|
+
export interface ListCoverageStatisticsResponse {
|
|
2136
|
+
countsByGroup?: Counts[] | undefined;
|
|
2137
|
+
totalCounts: number | undefined;
|
|
2138
|
+
nextToken?: string | undefined;
|
|
2139
|
+
}
|
|
2140
|
+
export interface ListDelegatedAdminAccountsRequest {
|
|
2141
|
+
maxResults?: number | undefined;
|
|
2142
|
+
nextToken?: string | undefined;
|
|
2143
|
+
}
|
|
2144
|
+
export interface ListDelegatedAdminAccountsResponse {
|
|
2145
|
+
delegatedAdminAccounts?: DelegatedAdminAccount[] | undefined;
|
|
2146
|
+
nextToken?: string | undefined;
|
|
2147
|
+
}
|
|
2148
|
+
export interface ListFiltersRequest {
|
|
2149
|
+
arns?: string[] | undefined;
|
|
2150
|
+
action?: FilterAction | undefined;
|
|
2151
|
+
nextToken?: string | undefined;
|
|
2152
|
+
maxResults?: number | undefined;
|
|
2153
|
+
}
|
|
2154
|
+
export interface ListFiltersResponse {
|
|
2155
|
+
filters: Filter[] | undefined;
|
|
2156
|
+
nextToken?: string | undefined;
|
|
2157
|
+
}
|
|
2158
|
+
export interface ListFindingAggregationsRequest {
|
|
2159
|
+
aggregationType: AggregationType | undefined;
|
|
2160
|
+
nextToken?: string | undefined;
|
|
2161
|
+
maxResults?: number | undefined;
|
|
2162
|
+
accountIds?: StringFilter[] | undefined;
|
|
2163
|
+
aggregationRequest?: AggregationRequest | undefined;
|
|
2164
|
+
}
|
|
2165
|
+
export interface ListFindingAggregationsResponse {
|
|
2166
|
+
aggregationType: AggregationType | undefined;
|
|
2167
|
+
responses?: AggregationResponse[] | undefined;
|
|
2168
|
+
nextToken?: string | undefined;
|
|
2169
|
+
}
|
|
2170
|
+
export interface SortCriteria {
|
|
2171
|
+
field: SortField | undefined;
|
|
2172
|
+
sortOrder: SortOrder | undefined;
|
|
2173
|
+
}
|
|
2174
|
+
export interface ListFindingsRequest {
|
|
2175
|
+
maxResults?: number | undefined;
|
|
2176
|
+
nextToken?: string | undefined;
|
|
2177
|
+
filterCriteria?: FilterCriteria | undefined;
|
|
2178
|
+
sortCriteria?: SortCriteria | undefined;
|
|
2179
|
+
}
|
|
2180
|
+
export interface ListFindingsResponse {
|
|
2181
|
+
nextToken?: string | undefined;
|
|
2182
|
+
findings?: Finding[] | undefined;
|
|
2183
|
+
}
|
|
2184
|
+
export interface ListMembersRequest {
|
|
2185
|
+
onlyAssociated?: boolean | undefined;
|
|
2186
|
+
maxResults?: number | undefined;
|
|
2187
|
+
nextToken?: string | undefined;
|
|
2188
|
+
}
|
|
2189
|
+
export interface ListMembersResponse {
|
|
2190
|
+
members?: Member[] | undefined;
|
|
2191
|
+
nextToken?: string | undefined;
|
|
2192
|
+
}
|
|
2193
|
+
export interface ListTagsForResourceRequest {
|
|
2194
|
+
resourceArn: string | undefined;
|
|
2195
|
+
}
|
|
2196
|
+
export interface ListTagsForResourceResponse {
|
|
2197
|
+
tags?: Record<string, string> | undefined;
|
|
2198
|
+
}
|
|
2199
|
+
export interface ListUsageTotalsRequest {
|
|
2200
|
+
maxResults?: number | undefined;
|
|
2201
|
+
nextToken?: string | undefined;
|
|
2202
|
+
accountIds?: string[] | undefined;
|
|
2203
|
+
}
|
|
2204
|
+
export interface Usage {
|
|
2205
|
+
type?: UsageType | undefined;
|
|
2206
|
+
total?: number | undefined;
|
|
2207
|
+
estimatedMonthlyCost?: number | undefined;
|
|
2208
|
+
currency?: Currency | undefined;
|
|
2209
|
+
}
|
|
2210
|
+
export interface UsageTotal {
|
|
2211
|
+
accountId?: string | undefined;
|
|
2212
|
+
usage?: Usage[] | undefined;
|
|
2213
|
+
}
|
|
2214
|
+
export interface ListUsageTotalsResponse {
|
|
2215
|
+
nextToken?: string | undefined;
|
|
2216
|
+
totals?: UsageTotal[] | undefined;
|
|
2217
|
+
}
|
|
2218
|
+
export interface ResetEncryptionKeyRequest {
|
|
2219
|
+
scanType: ScanType | undefined;
|
|
2220
|
+
resourceType: ResourceType | undefined;
|
|
2221
|
+
}
|
|
2222
|
+
export interface ResetEncryptionKeyResponse {}
|
|
2223
|
+
export interface SearchVulnerabilitiesFilterCriteria {
|
|
2224
|
+
vulnerabilityIds: string[] | undefined;
|
|
2225
|
+
}
|
|
2226
|
+
export interface SearchVulnerabilitiesRequest {
|
|
2227
|
+
filterCriteria: SearchVulnerabilitiesFilterCriteria | undefined;
|
|
2228
|
+
nextToken?: string | undefined;
|
|
2229
|
+
}
|
|
2230
|
+
export interface Vulnerability {
|
|
2231
|
+
id: string | undefined;
|
|
2232
|
+
cwes?: string[] | undefined;
|
|
2233
|
+
cisaData?: CisaData | undefined;
|
|
2234
|
+
source?: VulnerabilitySource | undefined;
|
|
2235
|
+
description?: string | undefined;
|
|
2236
|
+
atigData?: AtigData | undefined;
|
|
2237
|
+
vendorSeverity?: string | undefined;
|
|
2238
|
+
cvss4?: Cvss4 | undefined;
|
|
2239
|
+
cvss3?: Cvss3 | undefined;
|
|
2240
|
+
relatedVulnerabilities?: string[] | undefined;
|
|
2241
|
+
cvss2?: Cvss2 | undefined;
|
|
2242
|
+
vendorCreatedAt?: Date | undefined;
|
|
2243
|
+
vendorUpdatedAt?: Date | undefined;
|
|
2244
|
+
sourceUrl?: string | undefined;
|
|
2245
|
+
referenceUrls?: string[] | undefined;
|
|
2246
|
+
exploitObserved?: ExploitObserved | undefined;
|
|
2247
|
+
detectionPlatforms?: string[] | undefined;
|
|
2248
|
+
epss?: Epss | undefined;
|
|
2249
|
+
}
|
|
2250
|
+
export interface SearchVulnerabilitiesResponse {
|
|
2251
|
+
vulnerabilities: Vulnerability[] | undefined;
|
|
2252
|
+
nextToken?: string | undefined;
|
|
2253
|
+
}
|
|
2254
|
+
export interface SendCisSessionHealthRequest {
|
|
2255
|
+
scanJobId: string | undefined;
|
|
2256
|
+
sessionToken: string | undefined;
|
|
2257
|
+
}
|
|
2258
|
+
export interface SendCisSessionHealthResponse {}
|
|
2259
|
+
export interface SendCisSessionTelemetryRequest {
|
|
2260
|
+
scanJobId: string | undefined;
|
|
2261
|
+
sessionToken: string | undefined;
|
|
2262
|
+
messages: CisSessionMessage[] | undefined;
|
|
2263
|
+
}
|
|
2264
|
+
export interface SendCisSessionTelemetryResponse {}
|
|
2265
|
+
export interface StartCisSessionMessage {
|
|
2266
|
+
sessionToken: string | undefined;
|
|
2267
|
+
}
|
|
2268
|
+
export interface StartCisSessionRequest {
|
|
2269
|
+
scanJobId: string | undefined;
|
|
2270
|
+
message: StartCisSessionMessage | undefined;
|
|
2271
|
+
}
|