@aws-sdk/client-inspector2 3.828.0 → 3.831.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +120 -0
- package/dist-cjs/index.js +1297 -313
- package/dist-es/Inspector2.js +30 -0
- package/dist-es/commands/BatchAssociateCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/CreateCodeSecurityIntegrationCommand.js +23 -0
- package/dist-es/commands/CreateCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/DeleteCodeSecurityIntegrationCommand.js +22 -0
- package/dist-es/commands/DeleteCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/GetCodeSecurityIntegrationCommand.js +23 -0
- package/dist-es/commands/GetCodeSecurityScanCommand.js +22 -0
- package/dist-es/commands/GetCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/ListCodeSecurityIntegrationsCommand.js +22 -0
- package/dist-es/commands/ListCodeSecurityScanConfigurationAssociationsCommand.js +22 -0
- package/dist-es/commands/ListCodeSecurityScanConfigurationsCommand.js +22 -0
- package/dist-es/commands/StartCodeSecurityScanCommand.js +22 -0
- package/dist-es/commands/UpdateCodeSecurityIntegrationCommand.js +23 -0
- package/dist-es/commands/UpdateCodeSecurityScanConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +15 -0
- package/dist-es/models/models_0.js +153 -120
- package/dist-es/models/models_1.js +110 -0
- package/dist-es/protocols/Aws_restJson1.js +509 -3
- package/dist-types/Inspector2.d.ts +107 -0
- package/dist-types/Inspector2Client.d.ts +17 -2
- package/dist-types/commands/AssociateMemberCommand.d.ts +6 -1
- package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +120 -0
- package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +120 -0
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -1
- package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +4 -1
- package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +2 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -0
- package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +5 -1
- package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +5 -1
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +4 -1
- package/dist-types/commands/CancelSbomExportCommand.d.ts +4 -1
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +111 -0
- package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +116 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +6 -1
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -2
- package/dist-types/commands/CreateSbomExportCommand.d.ts +4 -1
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +91 -0
- package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +91 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +4 -1
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DisableCommand.d.ts +8 -3
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -2
- package/dist-types/commands/DisassociateMemberCommand.d.ts +2 -0
- package/dist-types/commands/EnableCommand.d.ts +6 -1
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -2
- package/dist-types/commands/GetCisScanReportCommand.d.ts +5 -2
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +3 -1
- package/dist-types/commands/GetClustersForImageCommand.d.ts +3 -1
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +104 -0
- package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +107 -0
- package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +115 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +3 -2
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +5 -2
- package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/GetEncryptionKeyCommand.d.ts +5 -2
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +7 -2
- package/dist-types/commands/GetMemberCommand.d.ts +5 -2
- package/dist-types/commands/GetSbomExportCommand.d.ts +5 -3
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +2 -0
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +2 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListCisScansCommand.d.ts +2 -0
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +102 -0
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +101 -0
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +113 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +37 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +4 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +3 -2
- package/dist-types/commands/ListFiltersCommand.d.ts +4 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +16 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +7 -0
- package/dist-types/commands/ListMembersCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -0
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +6 -2
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +2 -0
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +7 -6
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +7 -6
- package/dist-types/commands/StartCisSessionCommand.d.ts +7 -6
- package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +99 -0
- package/dist-types/commands/StopCisSessionCommand.d.ts +7 -6
- package/dist-types/commands/TagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +109 -0
- package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +109 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +5 -1
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +6 -2
- package/dist-types/commands/UpdateFilterCommand.d.ts +6 -1
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/models/models_0.d.ts +2059 -1859
- package/dist-types/models/models_1.d.ts +1582 -49
- package/dist-types/protocols/Aws_restJson1.d.ts +135 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/Inspector2.d.ts +299 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +90 -0
- package/dist-types/ts3.4/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCodeSecurityIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCodeSecurityIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
- 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 +4 -2
- package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartCodeSecurityScanCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCodeSecurityIntegrationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
- package/dist-types/ts3.4/models/models_0.d.ts +420 -328
- package/dist-types/ts3.4/models/models_1.d.ts +445 -6
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +180 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +2 -2
|
@@ -1,4 +1,1167 @@
|
|
|
1
|
-
import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisScan, CisScanConfiguration, CisScanConfigurationsSortBy, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanResultsAggregatedByTargetResourceSortBy, CisScanStatusFilter, CisSecurityLevel, CisSessionMessage, CisSortOrder, CisStringFilter, CisTargetResourceAggregation, ComputePlatform, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, DelegatedAdminAccount, Destination, Ec2Configuration, Ec2DeepInspectionStatus, EcrConfiguration, Epss, ExploitObserved,
|
|
1
|
+
import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, AwsEc2InstanceDetails, AwsEcrContainerImageDetails, AwsLambdaFunctionDetails, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisReportFormat, CisReportStatus, CisScan, CisScanConfiguration, CisScanConfigurationsSortBy, CisScanResultDetails, CisScanResultDetailsFilterCriteria, CisScanResultDetailsSortBy, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanResultsAggregatedByTargetResourceSortBy, CisScanStatusFilter, CisSecurityLevel, CisSessionMessage, CisSortOrder, CisStringFilter, CisTargetResourceAggregation, ClusterForImageFilterCriteria, ClusterInformation, CodeRepositoryDetails, CodeScanStatus, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, CodeVulnerabilityDetails, ComputePlatform, ConfigurationLevel, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, CvssScore, CvssScoreDetails, DelegatedAdmin, DelegatedAdminAccount, Destination, Ec2Configuration, Ec2ConfigurationState, Ec2DeepInspectionStatus, EcrConfiguration, EcrConfigurationState, Epss, ExploitObserved, FilterAction, FilterCriteria, GroupKey, IntegrationStatus, IntegrationType, RelationshipStatus, ResourceFilterCriteria, SbomReportFormat, ScanType, Schedule, ScopeSettings, SortOrder, StringFilter, TagFilter } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <p>Details about the Exploit Prediction Scoring System (EPSS) score for a finding.</p>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface EpssDetails {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The EPSS score.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
score?: number | undefined;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* <p>The details of an exploit available for a finding discovered in your environment.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface ExploitabilityDetails {
|
|
18
|
+
/**
|
|
19
|
+
* <p>The date and time of the last exploit associated with a finding discovered in your
|
|
20
|
+
* environment.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
lastKnownExploitAt?: Date | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const ExploitAvailable: {
|
|
30
|
+
readonly NO: "NO";
|
|
31
|
+
readonly YES: "YES";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type ExploitAvailable = (typeof ExploitAvailable)[keyof typeof ExploitAvailable];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const ExternalReportStatus: {
|
|
42
|
+
readonly CANCELLED: "CANCELLED";
|
|
43
|
+
readonly FAILED: "FAILED";
|
|
44
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
45
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export type ExternalReportStatus = (typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
|
|
51
|
+
/**
|
|
52
|
+
* <p>Details about a filter.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
export interface Filter {
|
|
56
|
+
/**
|
|
57
|
+
* <p>The Amazon Resource Number (ARN) associated with this filter.</p>
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
arn: string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The Amazon Web Services account ID of the account that created the filter.</p>
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
ownerId: string | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* <p>The name of the filter.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
name: string | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>Details on the filter criteria associated with this filter.</p>
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
criteria: FilterCriteria | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* <p>The action that is to be applied to the findings that match the filter.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
action: FilterAction | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>The date and time this filter was created at.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
createdAt: Date | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The date and time the filter was last updated at.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
updatedAt: Date | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>A description of the filter.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
description?: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The reason for the filter.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
reason?: string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>The tags attached to the filter.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
tags?: Record<string, string> | undefined;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* @enum
|
|
110
|
+
*/
|
|
111
|
+
export declare const FixAvailable: {
|
|
112
|
+
readonly NO: "NO";
|
|
113
|
+
readonly PARTIAL: "PARTIAL";
|
|
114
|
+
readonly YES: "YES";
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
|
|
120
|
+
/**
|
|
121
|
+
* <p>Information about the Amazon Inspector score given to a finding.</p>
|
|
122
|
+
* @public
|
|
123
|
+
*/
|
|
124
|
+
export interface InspectorScoreDetails {
|
|
125
|
+
/**
|
|
126
|
+
* <p>An object that contains details about the CVSS score given to a finding.</p>
|
|
127
|
+
* @public
|
|
128
|
+
*/
|
|
129
|
+
adjustedCvss?: CvssScoreDetails | undefined;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* <p>Details about the step associated with a finding.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export interface Step {
|
|
136
|
+
/**
|
|
137
|
+
* <p>The component ID.</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
componentId: string | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* <p>The component type.</p>
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
componentType: string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* <p>The component ARN. The ARN can be null and is not displayed in the Amazon Web Services
|
|
148
|
+
* console.</p>
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
componentArn?: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* <p>Information on the network path associated with a finding.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export interface NetworkPath {
|
|
158
|
+
/**
|
|
159
|
+
* <p>The details on the steps in the network path.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
steps?: Step[] | undefined;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* <p>Details about the port range associated with a finding.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export interface PortRange {
|
|
169
|
+
/**
|
|
170
|
+
* <p>The beginning port in a port range.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
begin: number | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* <p>The ending port in a port range.</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
end: number | undefined;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* @enum
|
|
183
|
+
*/
|
|
184
|
+
export declare const NetworkProtocol: {
|
|
185
|
+
readonly TCP: "TCP";
|
|
186
|
+
readonly UDP: "UDP";
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* @public
|
|
190
|
+
*/
|
|
191
|
+
export type NetworkProtocol = (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
|
|
192
|
+
/**
|
|
193
|
+
* <p>Contains the details of a network reachability finding.</p>
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
export interface NetworkReachabilityDetails {
|
|
197
|
+
/**
|
|
198
|
+
* <p>An object that contains details about the open port range associated with a
|
|
199
|
+
* finding.</p>
|
|
200
|
+
* @public
|
|
201
|
+
*/
|
|
202
|
+
openPortRange: PortRange | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>The protocol associated with a finding.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
protocol: NetworkProtocol | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* <p>An object that contains details about a network path associated with a finding.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
networkPath: NetworkPath | undefined;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* @enum
|
|
217
|
+
*/
|
|
218
|
+
export declare const PackageManager: {
|
|
219
|
+
readonly BUNDLER: "BUNDLER";
|
|
220
|
+
readonly CARGO: "CARGO";
|
|
221
|
+
readonly COMPOSER: "COMPOSER";
|
|
222
|
+
readonly DOTNET_CORE: "DOTNET_CORE";
|
|
223
|
+
readonly GEMSPEC: "GEMSPEC";
|
|
224
|
+
readonly GOBINARY: "GOBINARY";
|
|
225
|
+
readonly GOMOD: "GOMOD";
|
|
226
|
+
readonly JAR: "JAR";
|
|
227
|
+
readonly NODEPKG: "NODEPKG";
|
|
228
|
+
readonly NPM: "NPM";
|
|
229
|
+
readonly NUGET: "NUGET";
|
|
230
|
+
readonly OS: "OS";
|
|
231
|
+
readonly PIP: "PIP";
|
|
232
|
+
readonly PIPENV: "PIPENV";
|
|
233
|
+
readonly POETRY: "POETRY";
|
|
234
|
+
readonly POM: "POM";
|
|
235
|
+
readonly PYTHONPKG: "PYTHONPKG";
|
|
236
|
+
readonly YARN: "YARN";
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
export type PackageManager = (typeof PackageManager)[keyof typeof PackageManager];
|
|
242
|
+
/**
|
|
243
|
+
* <p>Information on the vulnerable package identified by a finding.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export interface VulnerablePackage {
|
|
247
|
+
/**
|
|
248
|
+
* <p>The name of the vulnerable package.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
name: string | undefined;
|
|
252
|
+
/**
|
|
253
|
+
* <p>The version of the vulnerable package.</p>
|
|
254
|
+
* @public
|
|
255
|
+
*/
|
|
256
|
+
version: string | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* <p>The source layer hash of the vulnerable package.</p>
|
|
259
|
+
* @public
|
|
260
|
+
*/
|
|
261
|
+
sourceLayerHash?: string | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* <p>The epoch of the vulnerable package.</p>
|
|
264
|
+
* @public
|
|
265
|
+
*/
|
|
266
|
+
epoch?: number | undefined;
|
|
267
|
+
/**
|
|
268
|
+
* <p>The release of the vulnerable package.</p>
|
|
269
|
+
* @public
|
|
270
|
+
*/
|
|
271
|
+
release?: string | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* <p>The architecture of the vulnerable package.</p>
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
arch?: string | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* <p>The package manager of the vulnerable package.</p>
|
|
279
|
+
* @public
|
|
280
|
+
*/
|
|
281
|
+
packageManager?: PackageManager | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* <p>The file path of the vulnerable package.</p>
|
|
284
|
+
* @public
|
|
285
|
+
*/
|
|
286
|
+
filePath?: string | undefined;
|
|
287
|
+
/**
|
|
288
|
+
* <p>The version of the package that contains the vulnerability fix.</p>
|
|
289
|
+
* @public
|
|
290
|
+
*/
|
|
291
|
+
fixedInVersion?: string | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* <p>The code to run in your environment to update packages with a fix available.</p>
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
remediation?: string | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* <p>The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a
|
|
299
|
+
* finding.</p>
|
|
300
|
+
* @public
|
|
301
|
+
*/
|
|
302
|
+
sourceLambdaLayerArn?: string | undefined;
|
|
303
|
+
}
|
|
304
|
+
/**
|
|
305
|
+
* <p>Information about a package vulnerability finding.</p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
export interface PackageVulnerabilityDetails {
|
|
309
|
+
/**
|
|
310
|
+
* <p>The ID given to this vulnerability.</p>
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
vulnerabilityId: string | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* <p>The packages impacted by this vulnerability.</p>
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
318
|
+
vulnerablePackages?: VulnerablePackage[] | undefined;
|
|
319
|
+
/**
|
|
320
|
+
* <p>The source of the vulnerability information.</p>
|
|
321
|
+
* @public
|
|
322
|
+
*/
|
|
323
|
+
source: string | undefined;
|
|
324
|
+
/**
|
|
325
|
+
* <p>An object that contains details about the CVSS score of a finding.</p>
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
cvss?: CvssScore[] | undefined;
|
|
329
|
+
/**
|
|
330
|
+
* <p>One or more vulnerabilities related to the one identified in this finding.</p>
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
relatedVulnerabilities?: string[] | undefined;
|
|
334
|
+
/**
|
|
335
|
+
* <p>A URL to the source of the vulnerability information.</p>
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
sourceUrl?: string | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* <p>The severity the vendor has given to this vulnerability type.</p>
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
vendorSeverity?: string | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* <p>The date and time that this vulnerability was first added to the vendor's
|
|
346
|
+
* database.</p>
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
vendorCreatedAt?: Date | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* <p>The date and time the vendor last updated this vulnerability in their database.</p>
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
vendorUpdatedAt?: Date | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* <p>One or more URLs that contain details about this vulnerability type.</p>
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
referenceUrls?: string[] | undefined;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* <p>Details about the recommended course of action to remediate the finding.</p>
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
export interface Recommendation {
|
|
366
|
+
/**
|
|
367
|
+
* <p>The recommended course of action to remediate the finding.</p>
|
|
368
|
+
* @public
|
|
369
|
+
*/
|
|
370
|
+
text?: string | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* <p>The URL address to the CVE remediation recommendations.</p>
|
|
373
|
+
* @public
|
|
374
|
+
*/
|
|
375
|
+
Url?: string | undefined;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* <p>Information on how to remediate a finding.</p>
|
|
379
|
+
* @public
|
|
380
|
+
*/
|
|
381
|
+
export interface Remediation {
|
|
382
|
+
/**
|
|
383
|
+
* <p>An object that contains information about the recommended course of action to remediate
|
|
384
|
+
* the finding.</p>
|
|
385
|
+
* @public
|
|
386
|
+
*/
|
|
387
|
+
recommendation?: Recommendation | undefined;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* <p>Contains details about the resource involved in the finding.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
export interface ResourceDetails {
|
|
394
|
+
/**
|
|
395
|
+
* <p>An object that contains details about the Amazon EC2 instance involved in the finding.</p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
awsEc2Instance?: AwsEc2InstanceDetails | undefined;
|
|
399
|
+
/**
|
|
400
|
+
* <p>An object that contains details about the Amazon ECR container image involved in the
|
|
401
|
+
* finding.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
|
|
405
|
+
/**
|
|
406
|
+
* <p>A summary of the information about an Amazon Web Services Lambda function affected by a
|
|
407
|
+
* finding.</p>
|
|
408
|
+
* @public
|
|
409
|
+
*/
|
|
410
|
+
awsLambdaFunction?: AwsLambdaFunctionDetails | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* <p>Contains details about a code repository resource associated with a finding.</p>
|
|
413
|
+
* @public
|
|
414
|
+
*/
|
|
415
|
+
codeRepository?: CodeRepositoryDetails | undefined;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* @public
|
|
419
|
+
* @enum
|
|
420
|
+
*/
|
|
421
|
+
export declare const ResourceType: {
|
|
422
|
+
readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
|
|
423
|
+
readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
|
|
424
|
+
readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
|
|
425
|
+
readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
|
|
426
|
+
readonly CODE_REPOSITORY: "CODE_REPOSITORY";
|
|
427
|
+
};
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
431
|
+
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
432
|
+
/**
|
|
433
|
+
* <p>Details about the resource involved in a finding.</p>
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
export interface Resource {
|
|
437
|
+
/**
|
|
438
|
+
* <p>The type of resource.</p>
|
|
439
|
+
* @public
|
|
440
|
+
*/
|
|
441
|
+
type: ResourceType | undefined;
|
|
442
|
+
/**
|
|
443
|
+
* <p>The ID of the resource.</p>
|
|
444
|
+
* @public
|
|
445
|
+
*/
|
|
446
|
+
id: string | undefined;
|
|
447
|
+
/**
|
|
448
|
+
* <p>The partition of the resource.</p>
|
|
449
|
+
* @public
|
|
450
|
+
*/
|
|
451
|
+
partition?: string | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* <p>The Amazon Web Services Region the impacted resource is located in.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
region?: string | undefined;
|
|
457
|
+
/**
|
|
458
|
+
* <p>The tags attached to the resource.</p>
|
|
459
|
+
* @public
|
|
460
|
+
*/
|
|
461
|
+
tags?: Record<string, string> | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* <p>An object that contains details about the resource involved in a finding.</p>
|
|
464
|
+
* @public
|
|
465
|
+
*/
|
|
466
|
+
details?: ResourceDetails | undefined;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
* @enum
|
|
471
|
+
*/
|
|
472
|
+
export declare const Severity: {
|
|
473
|
+
readonly CRITICAL: "CRITICAL";
|
|
474
|
+
readonly HIGH: "HIGH";
|
|
475
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
476
|
+
readonly LOW: "LOW";
|
|
477
|
+
readonly MEDIUM: "MEDIUM";
|
|
478
|
+
readonly UNTRIAGED: "UNTRIAGED";
|
|
479
|
+
};
|
|
480
|
+
/**
|
|
481
|
+
* @public
|
|
482
|
+
*/
|
|
483
|
+
export type Severity = (typeof Severity)[keyof typeof Severity];
|
|
484
|
+
/**
|
|
485
|
+
* @public
|
|
486
|
+
* @enum
|
|
487
|
+
*/
|
|
488
|
+
export declare const FindingStatus: {
|
|
489
|
+
readonly ACTIVE: "ACTIVE";
|
|
490
|
+
readonly CLOSED: "CLOSED";
|
|
491
|
+
readonly SUPPRESSED: "SUPPRESSED";
|
|
492
|
+
};
|
|
493
|
+
/**
|
|
494
|
+
* @public
|
|
495
|
+
*/
|
|
496
|
+
export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
|
|
497
|
+
/**
|
|
498
|
+
* @public
|
|
499
|
+
* @enum
|
|
500
|
+
*/
|
|
501
|
+
export declare const FindingType: {
|
|
502
|
+
readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
|
|
503
|
+
readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
|
|
504
|
+
readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
|
|
505
|
+
};
|
|
506
|
+
/**
|
|
507
|
+
* @public
|
|
508
|
+
*/
|
|
509
|
+
export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
510
|
+
/**
|
|
511
|
+
* <p>Details about an Amazon Inspector finding.</p>
|
|
512
|
+
* @public
|
|
513
|
+
*/
|
|
514
|
+
export interface Finding {
|
|
515
|
+
/**
|
|
516
|
+
* <p>The Amazon Resource Number (ARN) of the finding.</p>
|
|
517
|
+
* @public
|
|
518
|
+
*/
|
|
519
|
+
findingArn: string | undefined;
|
|
520
|
+
/**
|
|
521
|
+
* <p>The Amazon Web Services account ID associated with the finding.</p>
|
|
522
|
+
* @public
|
|
523
|
+
*/
|
|
524
|
+
awsAccountId: string | undefined;
|
|
525
|
+
/**
|
|
526
|
+
* <p>The type of the finding. The <code>type</code> value determines the valid values for
|
|
527
|
+
* <code>resource</code> in your request. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding
|
|
528
|
+
* types</a> in the Amazon Inspector user guide.</p>
|
|
529
|
+
* @public
|
|
530
|
+
*/
|
|
531
|
+
type: FindingType | undefined;
|
|
532
|
+
/**
|
|
533
|
+
* <p>The description of the finding.</p>
|
|
534
|
+
* @public
|
|
535
|
+
*/
|
|
536
|
+
description: string | undefined;
|
|
537
|
+
/**
|
|
538
|
+
* <p>The title of the finding.</p>
|
|
539
|
+
* @public
|
|
540
|
+
*/
|
|
541
|
+
title?: string | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* <p>An object that contains the details about how to remediate a finding.</p>
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
546
|
+
remediation: Remediation | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* <p>The severity of the finding. <code>UNTRIAGED</code> applies to
|
|
549
|
+
* <code>PACKAGE_VULNERABILITY</code> type findings that the vendor has not assigned a
|
|
550
|
+
* severity yet. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html">Severity levels for findings</a> in the Amazon Inspector user guide.</p>
|
|
551
|
+
* @public
|
|
552
|
+
*/
|
|
553
|
+
severity: Severity | undefined;
|
|
554
|
+
/**
|
|
555
|
+
* <p>The date and time that the finding was first observed.</p>
|
|
556
|
+
* @public
|
|
557
|
+
*/
|
|
558
|
+
firstObservedAt: Date | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* <p> The date and time the finding was last observed. This timestamp for this field remains
|
|
561
|
+
* unchanged until a finding is updated. </p>
|
|
562
|
+
* @public
|
|
563
|
+
*/
|
|
564
|
+
lastObservedAt: Date | undefined;
|
|
565
|
+
/**
|
|
566
|
+
* <p>The date and time the finding was last updated at.</p>
|
|
567
|
+
* @public
|
|
568
|
+
*/
|
|
569
|
+
updatedAt?: Date | undefined;
|
|
570
|
+
/**
|
|
571
|
+
* <p>The status of the finding.</p>
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
status: FindingStatus | undefined;
|
|
575
|
+
/**
|
|
576
|
+
* <p>Contains information on the resources involved in a finding. The <code>resource</code>
|
|
577
|
+
* value determines the valid values for <code>type</code> in your request. For more
|
|
578
|
+
* information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding
|
|
579
|
+
* types</a> in the Amazon Inspector user guide.</p>
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
resources: Resource[] | undefined;
|
|
583
|
+
/**
|
|
584
|
+
* <p>The Amazon Inspector score given to the finding.</p>
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
inspectorScore?: number | undefined;
|
|
588
|
+
/**
|
|
589
|
+
* <p>An object that contains details of the Amazon Inspector score.</p>
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
inspectorScoreDetails?: InspectorScoreDetails | undefined;
|
|
593
|
+
/**
|
|
594
|
+
* <p>An object that contains the details of a network reachability finding.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
networkReachabilityDetails?: NetworkReachabilityDetails | undefined;
|
|
598
|
+
/**
|
|
599
|
+
* <p>An object that contains the details of a package vulnerability finding.</p>
|
|
600
|
+
* @public
|
|
601
|
+
*/
|
|
602
|
+
packageVulnerabilityDetails?: PackageVulnerabilityDetails | undefined;
|
|
603
|
+
/**
|
|
604
|
+
* <p>Details on whether a fix is available through a version update. This value can be
|
|
605
|
+
* <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A <code>PARTIAL</code> fix
|
|
606
|
+
* means that some, but not all, of the packages identified in the finding have fixes
|
|
607
|
+
* available through updated versions.</p>
|
|
608
|
+
* @public
|
|
609
|
+
*/
|
|
610
|
+
fixAvailable?: FixAvailable | undefined;
|
|
611
|
+
/**
|
|
612
|
+
* <p>If a finding discovered in your environment has an exploit available.</p>
|
|
613
|
+
* @public
|
|
614
|
+
*/
|
|
615
|
+
exploitAvailable?: ExploitAvailable | undefined;
|
|
616
|
+
/**
|
|
617
|
+
* <p>The details of an exploit available for a finding discovered in your environment.</p>
|
|
618
|
+
* @public
|
|
619
|
+
*/
|
|
620
|
+
exploitabilityDetails?: ExploitabilityDetails | undefined;
|
|
621
|
+
/**
|
|
622
|
+
* <p>Details about the code vulnerability identified in a Lambda function used to filter
|
|
623
|
+
* findings.</p>
|
|
624
|
+
* @public
|
|
625
|
+
*/
|
|
626
|
+
codeVulnerabilityDetails?: CodeVulnerabilityDetails | undefined;
|
|
627
|
+
/**
|
|
628
|
+
* <p>The finding's EPSS score.</p>
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
epss?: EpssDetails | undefined;
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* @public
|
|
635
|
+
*/
|
|
636
|
+
export interface GetCisScanReportRequest {
|
|
637
|
+
/**
|
|
638
|
+
* <p>The scan ARN.</p>
|
|
639
|
+
* @public
|
|
640
|
+
*/
|
|
641
|
+
scanArn: string | undefined;
|
|
642
|
+
/**
|
|
643
|
+
* <p>The target accounts.</p>
|
|
644
|
+
* @public
|
|
645
|
+
*/
|
|
646
|
+
targetAccounts?: string[] | undefined;
|
|
647
|
+
/**
|
|
648
|
+
* <p> The format of the report. Valid values are <code>PDF</code> and <code>CSV</code>. If no
|
|
649
|
+
* value is specified, the report format defaults to <code>PDF</code>. </p>
|
|
650
|
+
* @public
|
|
651
|
+
*/
|
|
652
|
+
reportFormat?: CisReportFormat | undefined;
|
|
653
|
+
}
|
|
654
|
+
/**
|
|
655
|
+
* @public
|
|
656
|
+
*/
|
|
657
|
+
export interface GetCisScanReportResponse {
|
|
658
|
+
/**
|
|
659
|
+
* <p> The URL where a PDF or CSV of the CIS scan report can be downloaded. </p>
|
|
660
|
+
* @public
|
|
661
|
+
*/
|
|
662
|
+
url?: string | undefined;
|
|
663
|
+
/**
|
|
664
|
+
* <p>The status.</p>
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
status?: CisReportStatus | undefined;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* @public
|
|
671
|
+
*/
|
|
672
|
+
export interface GetCisScanResultDetailsRequest {
|
|
673
|
+
/**
|
|
674
|
+
* <p>The scan ARN.</p>
|
|
675
|
+
* @public
|
|
676
|
+
*/
|
|
677
|
+
scanArn: string | undefined;
|
|
678
|
+
/**
|
|
679
|
+
* <p>The target resource ID.</p>
|
|
680
|
+
* @public
|
|
681
|
+
*/
|
|
682
|
+
targetResourceId: string | undefined;
|
|
683
|
+
/**
|
|
684
|
+
* <p>The account ID.</p>
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
accountId: string | undefined;
|
|
688
|
+
/**
|
|
689
|
+
* <p>The filter criteria.</p>
|
|
690
|
+
* @public
|
|
691
|
+
*/
|
|
692
|
+
filterCriteria?: CisScanResultDetailsFilterCriteria | undefined;
|
|
693
|
+
/**
|
|
694
|
+
* <p>The sort by order.</p>
|
|
695
|
+
* @public
|
|
696
|
+
*/
|
|
697
|
+
sortBy?: CisScanResultDetailsSortBy | undefined;
|
|
698
|
+
/**
|
|
699
|
+
* <p>The sort order.</p>
|
|
700
|
+
* @public
|
|
701
|
+
*/
|
|
702
|
+
sortOrder?: CisSortOrder | undefined;
|
|
703
|
+
/**
|
|
704
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
705
|
+
* results.</p>
|
|
706
|
+
* @public
|
|
707
|
+
*/
|
|
708
|
+
nextToken?: string | undefined;
|
|
709
|
+
/**
|
|
710
|
+
* <p>The maximum number of CIS scan result details to be returned in a single page of
|
|
711
|
+
* results.</p>
|
|
712
|
+
* @public
|
|
713
|
+
*/
|
|
714
|
+
maxResults?: number | undefined;
|
|
715
|
+
}
|
|
716
|
+
/**
|
|
717
|
+
* @public
|
|
718
|
+
*/
|
|
719
|
+
export interface GetCisScanResultDetailsResponse {
|
|
720
|
+
/**
|
|
721
|
+
* <p>The scan result details.</p>
|
|
722
|
+
* @public
|
|
723
|
+
*/
|
|
724
|
+
scanResultDetails?: CisScanResultDetails[] | undefined;
|
|
725
|
+
/**
|
|
726
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
727
|
+
* results.</p>
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
nextToken?: string | undefined;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
*/
|
|
735
|
+
export interface GetClustersForImageRequest {
|
|
736
|
+
/**
|
|
737
|
+
* <p>The resource Id for the Amazon ECR image.</p>
|
|
738
|
+
* @public
|
|
739
|
+
*/
|
|
740
|
+
filter: ClusterForImageFilterCriteria | undefined;
|
|
741
|
+
/**
|
|
742
|
+
* <p>The maximum number of results to be returned in a single page of results.</p>
|
|
743
|
+
* @public
|
|
744
|
+
*/
|
|
745
|
+
maxResults?: number | undefined;
|
|
746
|
+
/**
|
|
747
|
+
* <p>The pagination token from a previous request used to retrieve the next page of
|
|
748
|
+
* results.</p>
|
|
749
|
+
* @public
|
|
750
|
+
*/
|
|
751
|
+
nextToken?: string | undefined;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
export interface GetClustersForImageResponse {
|
|
757
|
+
/**
|
|
758
|
+
* <p>A unit of work inside of a cluster, which can include metadata about the cluster.</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
cluster: ClusterInformation[] | undefined;
|
|
762
|
+
/**
|
|
763
|
+
* <p>The pagination token from a previous request used to retrieve the next page of
|
|
764
|
+
* results.</p>
|
|
765
|
+
* @public
|
|
766
|
+
*/
|
|
767
|
+
nextToken?: string | undefined;
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
export interface GetCodeSecurityIntegrationRequest {
|
|
773
|
+
/**
|
|
774
|
+
* <p>The Amazon Resource Name (ARN) of the code security integration to retrieve.</p>
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
integrationArn: string | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* <p>The tags associated with the code security integration.</p>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
tags?: Record<string, string> | undefined;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* @public
|
|
786
|
+
*/
|
|
787
|
+
export interface GetCodeSecurityIntegrationResponse {
|
|
788
|
+
/**
|
|
789
|
+
* <p>The Amazon Resource Name (ARN) of the code security integration.</p>
|
|
790
|
+
* @public
|
|
791
|
+
*/
|
|
792
|
+
integrationArn: string | undefined;
|
|
793
|
+
/**
|
|
794
|
+
* <p>The name of the code security integration.</p>
|
|
795
|
+
* @public
|
|
796
|
+
*/
|
|
797
|
+
name: string | undefined;
|
|
798
|
+
/**
|
|
799
|
+
* <p>The type of repository provider for the integration.</p>
|
|
800
|
+
* @public
|
|
801
|
+
*/
|
|
802
|
+
type: IntegrationType | undefined;
|
|
803
|
+
/**
|
|
804
|
+
* <p>The current status of the code security integration.</p>
|
|
805
|
+
* @public
|
|
806
|
+
*/
|
|
807
|
+
status: IntegrationStatus | undefined;
|
|
808
|
+
/**
|
|
809
|
+
* <p>The reason for the current status of the code security integration.</p>
|
|
810
|
+
* @public
|
|
811
|
+
*/
|
|
812
|
+
statusReason: string | undefined;
|
|
813
|
+
/**
|
|
814
|
+
* <p>The timestamp when the code security integration was created.</p>
|
|
815
|
+
* @public
|
|
816
|
+
*/
|
|
817
|
+
createdOn: Date | undefined;
|
|
818
|
+
/**
|
|
819
|
+
* <p>The timestamp when the code security integration was last updated.</p>
|
|
820
|
+
* @public
|
|
821
|
+
*/
|
|
822
|
+
lastUpdateOn: Date | undefined;
|
|
823
|
+
/**
|
|
824
|
+
* <p>The tags associated with the code security integration.</p>
|
|
825
|
+
* @public
|
|
826
|
+
*/
|
|
827
|
+
tags?: Record<string, string> | undefined;
|
|
828
|
+
/**
|
|
829
|
+
* <p>The URL used to authorize the integration with the repository provider. This is only
|
|
830
|
+
* returned if reauthorization is required to fix a connection issue. Otherwise, it is
|
|
831
|
+
* null.</p>
|
|
832
|
+
* @public
|
|
833
|
+
*/
|
|
834
|
+
authorizationUrl?: string | undefined;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* @public
|
|
838
|
+
*/
|
|
839
|
+
export interface GetCodeSecurityScanRequest {
|
|
840
|
+
/**
|
|
841
|
+
* <p>The resource identifier for the code repository that was scanned.</p>
|
|
842
|
+
* @public
|
|
843
|
+
*/
|
|
844
|
+
resource: CodeSecurityResource | undefined;
|
|
845
|
+
/**
|
|
846
|
+
* <p>The unique identifier of the scan to retrieve.</p>
|
|
847
|
+
* @public
|
|
848
|
+
*/
|
|
849
|
+
scanId: string | undefined;
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* @public
|
|
853
|
+
*/
|
|
854
|
+
export interface GetCodeSecurityScanResponse {
|
|
855
|
+
/**
|
|
856
|
+
* <p>The unique identifier of the scan.</p>
|
|
857
|
+
* @public
|
|
858
|
+
*/
|
|
859
|
+
scanId?: string | undefined;
|
|
860
|
+
/**
|
|
861
|
+
* <p>The resource identifier for the code repository that was scanned.</p>
|
|
862
|
+
* @public
|
|
863
|
+
*/
|
|
864
|
+
resource?: CodeSecurityResource | undefined;
|
|
865
|
+
/**
|
|
866
|
+
* <p>The Amazon Web Services account ID associated with the scan.</p>
|
|
867
|
+
* @public
|
|
868
|
+
*/
|
|
869
|
+
accountId?: string | undefined;
|
|
870
|
+
/**
|
|
871
|
+
* <p>The current status of the scan.</p>
|
|
872
|
+
* @public
|
|
873
|
+
*/
|
|
874
|
+
status?: CodeScanStatus | undefined;
|
|
875
|
+
/**
|
|
876
|
+
* <p>The reason for the current status of the scan.</p>
|
|
877
|
+
* @public
|
|
878
|
+
*/
|
|
879
|
+
statusReason?: string | undefined;
|
|
880
|
+
/**
|
|
881
|
+
* <p>The timestamp when the scan was created.</p>
|
|
882
|
+
* @public
|
|
883
|
+
*/
|
|
884
|
+
createdAt?: Date | undefined;
|
|
885
|
+
/**
|
|
886
|
+
* <p>The timestamp when the scan was last updated.</p>
|
|
887
|
+
* @public
|
|
888
|
+
*/
|
|
889
|
+
updatedAt?: Date | undefined;
|
|
890
|
+
/**
|
|
891
|
+
* <p>The identifier of the last commit that was scanned. This is only returned if the scan
|
|
892
|
+
* was successful or skipped.</p>
|
|
893
|
+
* @public
|
|
894
|
+
*/
|
|
895
|
+
lastCommitId?: string | undefined;
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
* @public
|
|
899
|
+
*/
|
|
900
|
+
export interface GetCodeSecurityScanConfigurationRequest {
|
|
901
|
+
/**
|
|
902
|
+
* <p>The Amazon Resource Name (ARN) of the scan configuration to retrieve.</p>
|
|
903
|
+
* @public
|
|
904
|
+
*/
|
|
905
|
+
scanConfigurationArn: string | undefined;
|
|
906
|
+
}
|
|
907
|
+
/**
|
|
908
|
+
* @public
|
|
909
|
+
*/
|
|
910
|
+
export interface GetCodeSecurityScanConfigurationResponse {
|
|
911
|
+
/**
|
|
912
|
+
* <p>The Amazon Resource Name (ARN) of the scan configuration.</p>
|
|
913
|
+
* @public
|
|
914
|
+
*/
|
|
915
|
+
scanConfigurationArn?: string | undefined;
|
|
916
|
+
/**
|
|
917
|
+
* <p>The name of the scan configuration.</p>
|
|
918
|
+
* @public
|
|
919
|
+
*/
|
|
920
|
+
name?: string | undefined;
|
|
921
|
+
/**
|
|
922
|
+
* <p>The configuration settings for the code security scan.</p>
|
|
923
|
+
* @public
|
|
924
|
+
*/
|
|
925
|
+
configuration?: CodeSecurityScanConfiguration | undefined;
|
|
926
|
+
/**
|
|
927
|
+
* <p>The security level for the scan configuration.</p>
|
|
928
|
+
* @public
|
|
929
|
+
*/
|
|
930
|
+
level?: ConfigurationLevel | undefined;
|
|
931
|
+
/**
|
|
932
|
+
* <p>The scope settings that define which repositories will be scanned. If the
|
|
933
|
+
* <code>ScopeSetting</code> parameter is <code>ALL</code> the scan configuration applies
|
|
934
|
+
* to all existing and future projects imported into Amazon Inspector.</p>
|
|
935
|
+
* @public
|
|
936
|
+
*/
|
|
937
|
+
scopeSettings?: ScopeSettings | undefined;
|
|
938
|
+
/**
|
|
939
|
+
* <p>The timestamp when the scan configuration was created.</p>
|
|
940
|
+
* @public
|
|
941
|
+
*/
|
|
942
|
+
createdAt?: Date | undefined;
|
|
943
|
+
/**
|
|
944
|
+
* <p>The timestamp when the scan configuration was last updated.</p>
|
|
945
|
+
* @public
|
|
946
|
+
*/
|
|
947
|
+
lastUpdatedAt?: Date | undefined;
|
|
948
|
+
/**
|
|
949
|
+
* <p>The tags associated with the scan configuration.</p>
|
|
950
|
+
* @public
|
|
951
|
+
*/
|
|
952
|
+
tags?: Record<string, string> | undefined;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
* @public
|
|
956
|
+
*/
|
|
957
|
+
export interface GetConfigurationRequest {
|
|
958
|
+
}
|
|
959
|
+
/**
|
|
960
|
+
* @public
|
|
961
|
+
*/
|
|
962
|
+
export interface GetConfigurationResponse {
|
|
963
|
+
/**
|
|
964
|
+
* <p>Specifies how the ECR automated re-scan duration is currently configured for your
|
|
965
|
+
* environment.</p>
|
|
966
|
+
* @public
|
|
967
|
+
*/
|
|
968
|
+
ecrConfiguration?: EcrConfigurationState | undefined;
|
|
969
|
+
/**
|
|
970
|
+
* <p>Specifies how the Amazon EC2 automated scan mode is currently configured for your
|
|
971
|
+
* environment.</p>
|
|
972
|
+
* @public
|
|
973
|
+
*/
|
|
974
|
+
ec2Configuration?: Ec2ConfigurationState | undefined;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* @public
|
|
978
|
+
*/
|
|
979
|
+
export interface GetDelegatedAdminAccountRequest {
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* @public
|
|
983
|
+
*/
|
|
984
|
+
export interface GetDelegatedAdminAccountResponse {
|
|
985
|
+
/**
|
|
986
|
+
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator.</p>
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
989
|
+
delegatedAdmin?: DelegatedAdmin | undefined;
|
|
990
|
+
}
|
|
991
|
+
/**
|
|
992
|
+
* @public
|
|
993
|
+
*/
|
|
994
|
+
export interface GetEc2DeepInspectionConfigurationRequest {
|
|
995
|
+
}
|
|
996
|
+
/**
|
|
997
|
+
* @public
|
|
998
|
+
*/
|
|
999
|
+
export interface GetEc2DeepInspectionConfigurationResponse {
|
|
1000
|
+
/**
|
|
1001
|
+
* <p>The Amazon Inspector deep inspection custom paths for your account.</p>
|
|
1002
|
+
* @public
|
|
1003
|
+
*/
|
|
1004
|
+
packagePaths?: string[] | undefined;
|
|
1005
|
+
/**
|
|
1006
|
+
* <p>The Amazon Inspector deep inspection custom paths for your organization.</p>
|
|
1007
|
+
* @public
|
|
1008
|
+
*/
|
|
1009
|
+
orgPackagePaths?: string[] | undefined;
|
|
1010
|
+
/**
|
|
1011
|
+
* <p>The activation status of Amazon Inspector deep inspection in your account.</p>
|
|
1012
|
+
* @public
|
|
1013
|
+
*/
|
|
1014
|
+
status?: Ec2DeepInspectionStatus | undefined;
|
|
1015
|
+
/**
|
|
1016
|
+
* <p>An error message explaining why Amazon Inspector deep inspection configurations could not be
|
|
1017
|
+
* retrieved for your account.</p>
|
|
1018
|
+
* @public
|
|
1019
|
+
*/
|
|
1020
|
+
errorMessage?: string | undefined;
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
* @public
|
|
1024
|
+
*/
|
|
1025
|
+
export interface GetEncryptionKeyRequest {
|
|
1026
|
+
/**
|
|
1027
|
+
* <p>The scan type the key encrypts.</p>
|
|
1028
|
+
* @public
|
|
1029
|
+
*/
|
|
1030
|
+
scanType: ScanType | undefined;
|
|
1031
|
+
/**
|
|
1032
|
+
* <p>The resource type the key encrypts.</p>
|
|
1033
|
+
* @public
|
|
1034
|
+
*/
|
|
1035
|
+
resourceType: ResourceType | undefined;
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* @public
|
|
1039
|
+
*/
|
|
1040
|
+
export interface GetEncryptionKeyResponse {
|
|
1041
|
+
/**
|
|
1042
|
+
* <p>A kms key ID.</p>
|
|
1043
|
+
* @public
|
|
1044
|
+
*/
|
|
1045
|
+
kmsKeyId: string | undefined;
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* @public
|
|
1049
|
+
*/
|
|
1050
|
+
export interface GetFindingsReportStatusRequest {
|
|
1051
|
+
/**
|
|
1052
|
+
* <p>The ID of the report to retrieve the status of.</p>
|
|
1053
|
+
* @public
|
|
1054
|
+
*/
|
|
1055
|
+
reportId?: string | undefined;
|
|
1056
|
+
}
|
|
1057
|
+
/**
|
|
1058
|
+
* @public
|
|
1059
|
+
* @enum
|
|
1060
|
+
*/
|
|
1061
|
+
export declare const ReportingErrorCode: {
|
|
1062
|
+
readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
|
|
1063
|
+
readonly INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION";
|
|
1064
|
+
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
1065
|
+
readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
|
|
1066
|
+
readonly MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY";
|
|
1067
|
+
readonly NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND";
|
|
1068
|
+
};
|
|
1069
|
+
/**
|
|
1070
|
+
* @public
|
|
1071
|
+
*/
|
|
1072
|
+
export type ReportingErrorCode = (typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
|
|
1073
|
+
/**
|
|
1074
|
+
* @public
|
|
1075
|
+
*/
|
|
1076
|
+
export interface GetFindingsReportStatusResponse {
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>The ID of the report.</p>
|
|
1079
|
+
* @public
|
|
1080
|
+
*/
|
|
1081
|
+
reportId?: string | undefined;
|
|
1082
|
+
/**
|
|
1083
|
+
* <p>The status of the report.</p>
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
status?: ExternalReportStatus | undefined;
|
|
1087
|
+
/**
|
|
1088
|
+
* <p>The error code of the report.</p>
|
|
1089
|
+
* @public
|
|
1090
|
+
*/
|
|
1091
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
1092
|
+
/**
|
|
1093
|
+
* <p>The error message of the report.</p>
|
|
1094
|
+
* @public
|
|
1095
|
+
*/
|
|
1096
|
+
errorMessage?: string | undefined;
|
|
1097
|
+
/**
|
|
1098
|
+
* <p>The destination of the report.</p>
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
destination?: Destination | undefined;
|
|
1102
|
+
/**
|
|
1103
|
+
* <p>The filter criteria associated with the report.</p>
|
|
1104
|
+
* @public
|
|
1105
|
+
*/
|
|
1106
|
+
filterCriteria?: FilterCriteria | undefined;
|
|
1107
|
+
}
|
|
1108
|
+
/**
|
|
1109
|
+
* @public
|
|
1110
|
+
*/
|
|
1111
|
+
export interface GetMemberRequest {
|
|
1112
|
+
/**
|
|
1113
|
+
* <p>The Amazon Web Services account ID of the member account to retrieve information on.</p>
|
|
1114
|
+
* @public
|
|
1115
|
+
*/
|
|
1116
|
+
accountId: string | undefined;
|
|
1117
|
+
}
|
|
1118
|
+
/**
|
|
1119
|
+
* <p>Details on a member account in your organization.</p>
|
|
1120
|
+
* @public
|
|
1121
|
+
*/
|
|
1122
|
+
export interface Member {
|
|
1123
|
+
/**
|
|
1124
|
+
* <p>The Amazon Web Services account ID of the member account.</p>
|
|
1125
|
+
* @public
|
|
1126
|
+
*/
|
|
1127
|
+
accountId?: string | undefined;
|
|
1128
|
+
/**
|
|
1129
|
+
* <p>The status of the member account.</p>
|
|
1130
|
+
* @public
|
|
1131
|
+
*/
|
|
1132
|
+
relationshipStatus?: RelationshipStatus | undefined;
|
|
1133
|
+
/**
|
|
1134
|
+
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member
|
|
1135
|
+
* account.</p>
|
|
1136
|
+
* @public
|
|
1137
|
+
*/
|
|
1138
|
+
delegatedAdminAccountId?: string | undefined;
|
|
1139
|
+
/**
|
|
1140
|
+
* <p>A timestamp showing when the status of this member was last updated.</p>
|
|
1141
|
+
* @public
|
|
1142
|
+
*/
|
|
1143
|
+
updatedAt?: Date | undefined;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* @public
|
|
1147
|
+
*/
|
|
1148
|
+
export interface GetMemberResponse {
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>Details of the retrieved member account.</p>
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
member?: Member | undefined;
|
|
1154
|
+
}
|
|
1155
|
+
/**
|
|
1156
|
+
* @public
|
|
1157
|
+
*/
|
|
1158
|
+
export interface GetSbomExportRequest {
|
|
1159
|
+
/**
|
|
1160
|
+
* <p>The report ID of the SBOM export to get details for.</p>
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
reportId: string | undefined;
|
|
1164
|
+
}
|
|
2
1165
|
/**
|
|
3
1166
|
* @public
|
|
4
1167
|
*/
|
|
@@ -34,7 +1197,8 @@ export interface GetSbomExportResponse {
|
|
|
34
1197
|
*/
|
|
35
1198
|
s3Destination?: Destination | undefined;
|
|
36
1199
|
/**
|
|
37
|
-
* <p>Contains details about the resource filter criteria used for the software bill of
|
|
1200
|
+
* <p>Contains details about the resource filter criteria used for the software bill of
|
|
1201
|
+
* materials (SBOM) report.</p>
|
|
38
1202
|
* @public
|
|
39
1203
|
*/
|
|
40
1204
|
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
@@ -62,12 +1226,18 @@ export interface ListAccountPermissionsRequest {
|
|
|
62
1226
|
*/
|
|
63
1227
|
service?: Service | undefined;
|
|
64
1228
|
/**
|
|
65
|
-
* <p>The maximum number of results the response can return. If your request would return more
|
|
1229
|
+
* <p>The maximum number of results the response can return. If your request would return more
|
|
1230
|
+
* than the maximum the response will return a <code>nextToken</code> value, use this value
|
|
1231
|
+
* when you call the action again to get the remaining results.</p>
|
|
66
1232
|
* @public
|
|
67
1233
|
*/
|
|
68
1234
|
maxResults?: number | undefined;
|
|
69
1235
|
/**
|
|
70
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1236
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1237
|
+
* of this parameter to null for the first request to a list action. If your response returns
|
|
1238
|
+
* more than the <code>maxResults</code> maximum value it will also return a
|
|
1239
|
+
* <code>nextToken</code> value. For subsequent calls, use the NextToken value returned
|
|
1240
|
+
* from the previous request to continue listing results after the first page.</p>
|
|
71
1241
|
* @public
|
|
72
1242
|
*/
|
|
73
1243
|
nextToken?: string | undefined;
|
|
@@ -92,7 +1262,8 @@ export type Operation = (typeof Operation)[keyof typeof Operation];
|
|
|
92
1262
|
*/
|
|
93
1263
|
export interface Permission {
|
|
94
1264
|
/**
|
|
95
|
-
* <p>The services that the permissions allow an account to perform the given operations
|
|
1265
|
+
* <p>The services that the permissions allow an account to perform the given operations
|
|
1266
|
+
* for.</p>
|
|
96
1267
|
* @public
|
|
97
1268
|
*/
|
|
98
1269
|
service: Service | undefined;
|
|
@@ -161,12 +1332,14 @@ export interface ListCisScanConfigurationsRequest {
|
|
|
161
1332
|
*/
|
|
162
1333
|
sortOrder?: CisSortOrder | undefined;
|
|
163
1334
|
/**
|
|
164
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1335
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1336
|
+
* results.</p>
|
|
165
1337
|
* @public
|
|
166
1338
|
*/
|
|
167
1339
|
nextToken?: string | undefined;
|
|
168
1340
|
/**
|
|
169
|
-
* <p>The maximum number of CIS scan configurations to be returned in a single page of
|
|
1341
|
+
* <p>The maximum number of CIS scan configurations to be returned in a single page of
|
|
1342
|
+
* results.</p>
|
|
170
1343
|
* @public
|
|
171
1344
|
*/
|
|
172
1345
|
maxResults?: number | undefined;
|
|
@@ -181,7 +1354,8 @@ export interface ListCisScanConfigurationsResponse {
|
|
|
181
1354
|
*/
|
|
182
1355
|
scanConfigurations?: CisScanConfiguration[] | undefined;
|
|
183
1356
|
/**
|
|
184
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1357
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1358
|
+
* results.</p>
|
|
185
1359
|
* @public
|
|
186
1360
|
*/
|
|
187
1361
|
nextToken?: string | undefined;
|
|
@@ -211,12 +1385,14 @@ export interface ListCisScanResultsAggregatedByChecksRequest {
|
|
|
211
1385
|
*/
|
|
212
1386
|
sortOrder?: CisSortOrder | undefined;
|
|
213
1387
|
/**
|
|
214
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1388
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1389
|
+
* results.</p>
|
|
215
1390
|
* @public
|
|
216
1391
|
*/
|
|
217
1392
|
nextToken?: string | undefined;
|
|
218
1393
|
/**
|
|
219
|
-
* <p>The maximum number of scan results aggregated by checks to be returned in a single page
|
|
1394
|
+
* <p>The maximum number of scan results aggregated by checks to be returned in a single page
|
|
1395
|
+
* of results.</p>
|
|
220
1396
|
* @public
|
|
221
1397
|
*/
|
|
222
1398
|
maxResults?: number | undefined;
|
|
@@ -231,7 +1407,8 @@ export interface ListCisScanResultsAggregatedByChecksResponse {
|
|
|
231
1407
|
*/
|
|
232
1408
|
checkAggregations?: CisCheckAggregation[] | undefined;
|
|
233
1409
|
/**
|
|
234
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1410
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1411
|
+
* results.</p>
|
|
235
1412
|
* @public
|
|
236
1413
|
*/
|
|
237
1414
|
nextToken?: string | undefined;
|
|
@@ -261,12 +1438,14 @@ export interface ListCisScanResultsAggregatedByTargetResourceRequest {
|
|
|
261
1438
|
*/
|
|
262
1439
|
sortOrder?: CisSortOrder | undefined;
|
|
263
1440
|
/**
|
|
264
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1441
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1442
|
+
* results.</p>
|
|
265
1443
|
* @public
|
|
266
1444
|
*/
|
|
267
1445
|
nextToken?: string | undefined;
|
|
268
1446
|
/**
|
|
269
|
-
* <p>The maximum number of scan results aggregated by a target resource to be returned in a
|
|
1447
|
+
* <p>The maximum number of scan results aggregated by a target resource to be returned in a
|
|
1448
|
+
* single page of results.</p>
|
|
270
1449
|
* @public
|
|
271
1450
|
*/
|
|
272
1451
|
maxResults?: number | undefined;
|
|
@@ -281,7 +1460,8 @@ export interface ListCisScanResultsAggregatedByTargetResourceResponse {
|
|
|
281
1460
|
*/
|
|
282
1461
|
targetResourceAggregations?: CisTargetResourceAggregation[] | undefined;
|
|
283
1462
|
/**
|
|
284
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1463
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1464
|
+
* results.</p>
|
|
285
1465
|
* @public
|
|
286
1466
|
*/
|
|
287
1467
|
nextToken?: string | undefined;
|
|
@@ -393,7 +1573,8 @@ export interface ListCisScansRequest {
|
|
|
393
1573
|
*/
|
|
394
1574
|
sortOrder?: CisSortOrder | undefined;
|
|
395
1575
|
/**
|
|
396
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1576
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1577
|
+
* results.</p>
|
|
397
1578
|
* @public
|
|
398
1579
|
*/
|
|
399
1580
|
nextToken?: string | undefined;
|
|
@@ -413,7 +1594,124 @@ export interface ListCisScansResponse {
|
|
|
413
1594
|
*/
|
|
414
1595
|
scans?: CisScan[] | undefined;
|
|
415
1596
|
/**
|
|
416
|
-
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1597
|
+
* <p>The pagination token from a previous request that's used to retrieve the next page of
|
|
1598
|
+
* results.</p>
|
|
1599
|
+
* @public
|
|
1600
|
+
*/
|
|
1601
|
+
nextToken?: string | undefined;
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* @public
|
|
1605
|
+
*/
|
|
1606
|
+
export interface ListCodeSecurityIntegrationsRequest {
|
|
1607
|
+
/**
|
|
1608
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1609
|
+
* of this parameter to null for the first request. For subsequent calls, use the NextToken
|
|
1610
|
+
* value returned from the previous request to continue listing results after the first
|
|
1611
|
+
* page.</p>
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1614
|
+
nextToken?: string | undefined;
|
|
1615
|
+
/**
|
|
1616
|
+
* <p>The maximum number of results to return in a single call.</p>
|
|
1617
|
+
* @public
|
|
1618
|
+
*/
|
|
1619
|
+
maxResults?: number | undefined;
|
|
1620
|
+
}
|
|
1621
|
+
/**
|
|
1622
|
+
* @public
|
|
1623
|
+
*/
|
|
1624
|
+
export interface ListCodeSecurityIntegrationsResponse {
|
|
1625
|
+
/**
|
|
1626
|
+
* <p>A list of code security integration summaries.</p>
|
|
1627
|
+
* @public
|
|
1628
|
+
*/
|
|
1629
|
+
integrations?: CodeSecurityIntegrationSummary[] | undefined;
|
|
1630
|
+
/**
|
|
1631
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1632
|
+
* of this parameter to null for the first request. For subsequent calls, use the NextToken
|
|
1633
|
+
* value returned from the previous request to continue listing results after the first
|
|
1634
|
+
* page.</p>
|
|
1635
|
+
* @public
|
|
1636
|
+
*/
|
|
1637
|
+
nextToken?: string | undefined;
|
|
1638
|
+
}
|
|
1639
|
+
/**
|
|
1640
|
+
* @public
|
|
1641
|
+
*/
|
|
1642
|
+
export interface ListCodeSecurityScanConfigurationAssociationsRequest {
|
|
1643
|
+
/**
|
|
1644
|
+
* <p>The Amazon Resource Name (ARN) of the scan configuration to list associations
|
|
1645
|
+
* for.</p>
|
|
1646
|
+
* @public
|
|
1647
|
+
*/
|
|
1648
|
+
scanConfigurationArn: string | undefined;
|
|
1649
|
+
/**
|
|
1650
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1651
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
1652
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
1653
|
+
* results after the first page.</p>
|
|
1654
|
+
* @public
|
|
1655
|
+
*/
|
|
1656
|
+
nextToken?: string | undefined;
|
|
1657
|
+
/**
|
|
1658
|
+
* <p>The maximum number of results to return in the response. If your request would return
|
|
1659
|
+
* more than the maximum the response will return a <code>nextToken</code> value, use this
|
|
1660
|
+
* value when you call the action again to get the remaining results.</p>
|
|
1661
|
+
* @public
|
|
1662
|
+
*/
|
|
1663
|
+
maxResults?: number | undefined;
|
|
1664
|
+
}
|
|
1665
|
+
/**
|
|
1666
|
+
* @public
|
|
1667
|
+
*/
|
|
1668
|
+
export interface ListCodeSecurityScanConfigurationAssociationsResponse {
|
|
1669
|
+
/**
|
|
1670
|
+
* <p>A list of associations between code repositories and scan configurations.</p>
|
|
1671
|
+
* @public
|
|
1672
|
+
*/
|
|
1673
|
+
associations?: CodeSecurityScanConfigurationAssociationSummary[] | undefined;
|
|
1674
|
+
/**
|
|
1675
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1676
|
+
* of this parameter to null for the first request to a list action. For subsequent calls, use
|
|
1677
|
+
* the <code>NextToken</code> value returned from the previous request to continue listing
|
|
1678
|
+
* results after the first page.</p>
|
|
1679
|
+
* @public
|
|
1680
|
+
*/
|
|
1681
|
+
nextToken?: string | undefined;
|
|
1682
|
+
}
|
|
1683
|
+
/**
|
|
1684
|
+
* @public
|
|
1685
|
+
*/
|
|
1686
|
+
export interface ListCodeSecurityScanConfigurationsRequest {
|
|
1687
|
+
/**
|
|
1688
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1689
|
+
* of this parameter to null for the first request. For subsequent calls, use the NextToken
|
|
1690
|
+
* value returned from the previous request to continue listing results after the first
|
|
1691
|
+
* page.</p>
|
|
1692
|
+
* @public
|
|
1693
|
+
*/
|
|
1694
|
+
nextToken?: string | undefined;
|
|
1695
|
+
/**
|
|
1696
|
+
* <p>The maximum number of results to return in a single call.</p>
|
|
1697
|
+
* @public
|
|
1698
|
+
*/
|
|
1699
|
+
maxResults?: number | undefined;
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
* @public
|
|
1703
|
+
*/
|
|
1704
|
+
export interface ListCodeSecurityScanConfigurationsResponse {
|
|
1705
|
+
/**
|
|
1706
|
+
* <p>A list of code security scan configuration summaries.</p>
|
|
1707
|
+
* @public
|
|
1708
|
+
*/
|
|
1709
|
+
configurations?: CodeSecurityScanConfigurationSummary[] | undefined;
|
|
1710
|
+
/**
|
|
1711
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1712
|
+
* of this parameter to null for the first request. For subsequent calls, use the NextToken
|
|
1713
|
+
* value returned from the previous request to continue listing results after the first
|
|
1714
|
+
* page.</p>
|
|
417
1715
|
* @public
|
|
418
1716
|
*/
|
|
419
1717
|
nextToken?: string | undefined;
|
|
@@ -423,12 +1721,18 @@ export interface ListCisScansResponse {
|
|
|
423
1721
|
*/
|
|
424
1722
|
export interface ListCoverageRequest {
|
|
425
1723
|
/**
|
|
426
|
-
* <p>The maximum number of results the response can return. If your request would return more
|
|
1724
|
+
* <p>The maximum number of results the response can return. If your request would return more
|
|
1725
|
+
* than the maximum the response will return a <code>nextToken</code> value, use this value
|
|
1726
|
+
* when you call the action again to get the remaining results.</p>
|
|
427
1727
|
* @public
|
|
428
1728
|
*/
|
|
429
1729
|
maxResults?: number | undefined;
|
|
430
1730
|
/**
|
|
431
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1731
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1732
|
+
* of this parameter to null for the first request to a list action. If your response returns
|
|
1733
|
+
* more than the <code>maxResults</code> maximum value it will also return a
|
|
1734
|
+
* <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
|
|
1735
|
+
* returned from the previous request to continue listing results after the first page.</p>
|
|
432
1736
|
* @public
|
|
433
1737
|
*/
|
|
434
1738
|
nextToken?: string | undefined;
|
|
@@ -509,12 +1813,18 @@ export interface ListCoverageStatisticsResponse {
|
|
|
509
1813
|
*/
|
|
510
1814
|
export interface ListDelegatedAdminAccountsRequest {
|
|
511
1815
|
/**
|
|
512
|
-
* <p>The maximum number of results the response can return. If your request would return more
|
|
1816
|
+
* <p>The maximum number of results the response can return. If your request would return more
|
|
1817
|
+
* than the maximum the response will return a <code>nextToken</code> value, use this value
|
|
1818
|
+
* when you call the action again to get the remaining results.</p>
|
|
513
1819
|
* @public
|
|
514
1820
|
*/
|
|
515
1821
|
maxResults?: number | undefined;
|
|
516
1822
|
/**
|
|
517
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1823
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1824
|
+
* of this parameter to null for the first request to a list action. If your response returns
|
|
1825
|
+
* more than the <code>maxResults</code> maximum value it will also return a
|
|
1826
|
+
* <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
|
|
1827
|
+
* returned from the previous request to continue listing results after the first page.</p>
|
|
518
1828
|
* @public
|
|
519
1829
|
*/
|
|
520
1830
|
nextToken?: string | undefined;
|
|
@@ -552,12 +1862,18 @@ export interface ListFiltersRequest {
|
|
|
552
1862
|
*/
|
|
553
1863
|
action?: FilterAction | undefined;
|
|
554
1864
|
/**
|
|
555
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1865
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1866
|
+
* of this parameter to null for the first request to a list action. If your response returns
|
|
1867
|
+
* more than the <code>maxResults</code> maximum value it will also return a
|
|
1868
|
+
* <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
|
|
1869
|
+
* returned from the previous request to continue listing results after the first page.</p>
|
|
556
1870
|
* @public
|
|
557
1871
|
*/
|
|
558
1872
|
nextToken?: string | undefined;
|
|
559
1873
|
/**
|
|
560
|
-
* <p>The maximum number of results the response can return. If your request would return more
|
|
1874
|
+
* <p>The maximum number of results the response can return. If your request would return more
|
|
1875
|
+
* than the maximum the response will return a <code>nextToken</code> value, use this value
|
|
1876
|
+
* when you call the action again to get the remaining results.</p>
|
|
561
1877
|
* @public
|
|
562
1878
|
*/
|
|
563
1879
|
maxResults?: number | undefined;
|
|
@@ -590,12 +1906,18 @@ export interface ListFindingAggregationsRequest {
|
|
|
590
1906
|
*/
|
|
591
1907
|
aggregationType: AggregationType | undefined;
|
|
592
1908
|
/**
|
|
593
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1909
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
1910
|
+
* of this parameter to null for the first request to a list action. If your response returns
|
|
1911
|
+
* more than the <code>maxResults</code> maximum value it will also return a
|
|
1912
|
+
* <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
|
|
1913
|
+
* returned from the previous request to continue listing results after the first page.</p>
|
|
594
1914
|
* @public
|
|
595
1915
|
*/
|
|
596
1916
|
nextToken?: string | undefined;
|
|
597
1917
|
/**
|
|
598
|
-
* <p>The maximum number of results the response can return. If your request would return more
|
|
1918
|
+
* <p>The maximum number of results the response can return. If your request would return more
|
|
1919
|
+
* than the maximum the response will return a <code>nextToken</code> value, use this value
|
|
1920
|
+
* when you call the action again to get the remaining results.</p>
|
|
599
1921
|
* @public
|
|
600
1922
|
*/
|
|
601
1923
|
maxResults?: number | undefined;
|
|
@@ -605,7 +1927,8 @@ export interface ListFindingAggregationsRequest {
|
|
|
605
1927
|
*/
|
|
606
1928
|
accountIds?: StringFilter[] | undefined;
|
|
607
1929
|
/**
|
|
608
|
-
* <p>Details of the aggregation request that is used to filter your aggregation
|
|
1930
|
+
* <p>Details of the aggregation request that is used to filter your aggregation
|
|
1931
|
+
* results.</p>
|
|
609
1932
|
* @public
|
|
610
1933
|
*/
|
|
611
1934
|
aggregationRequest?: AggregationRequest | undefined;
|
|
@@ -681,12 +2004,18 @@ export interface SortCriteria {
|
|
|
681
2004
|
*/
|
|
682
2005
|
export interface ListFindingsRequest {
|
|
683
2006
|
/**
|
|
684
|
-
* <p>The maximum number of results the response can return. If your request would return more
|
|
2007
|
+
* <p>The maximum number of results the response can return. If your request would return more
|
|
2008
|
+
* than the maximum the response will return a <code>nextToken</code> value, use this value
|
|
2009
|
+
* when you call the action again to get the remaining results.</p>
|
|
685
2010
|
* @public
|
|
686
2011
|
*/
|
|
687
2012
|
maxResults?: number | undefined;
|
|
688
2013
|
/**
|
|
689
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
2014
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
2015
|
+
* of this parameter to null for the first request to a list action. If your response returns
|
|
2016
|
+
* more than the <code>maxResults</code> maximum value it will also return a
|
|
2017
|
+
* <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
|
|
2018
|
+
* returned from the previous request to continue listing results after the first page.</p>
|
|
690
2019
|
* @public
|
|
691
2020
|
*/
|
|
692
2021
|
nextToken?: string | undefined;
|
|
@@ -730,12 +2059,18 @@ export interface ListMembersRequest {
|
|
|
730
2059
|
*/
|
|
731
2060
|
onlyAssociated?: boolean | undefined;
|
|
732
2061
|
/**
|
|
733
|
-
* <p>The maximum number of results the response can return. If your request would return more
|
|
2062
|
+
* <p>The maximum number of results the response can return. If your request would return more
|
|
2063
|
+
* than the maximum the response will return a <code>nextToken</code> value, use this value
|
|
2064
|
+
* when you call the action again to get the remaining results.</p>
|
|
734
2065
|
* @public
|
|
735
2066
|
*/
|
|
736
2067
|
maxResults?: number | undefined;
|
|
737
2068
|
/**
|
|
738
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
2069
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
2070
|
+
* of this parameter to null for the first request to a list action. If your response returns
|
|
2071
|
+
* more than the <code>maxResults</code> maximum value it will also return a
|
|
2072
|
+
* <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
|
|
2073
|
+
* returned from the previous request to continue listing results after the first page.</p>
|
|
739
2074
|
* @public
|
|
740
2075
|
*/
|
|
741
2076
|
nextToken?: string | undefined;
|
|
@@ -781,12 +2116,18 @@ export interface ListTagsForResourceResponse {
|
|
|
781
2116
|
*/
|
|
782
2117
|
export interface ListUsageTotalsRequest {
|
|
783
2118
|
/**
|
|
784
|
-
* <p>The maximum number of results the response can return. If your request would return more
|
|
2119
|
+
* <p>The maximum number of results the response can return. If your request would return more
|
|
2120
|
+
* than the maximum the response will return a <code>nextToken</code> value, use this value
|
|
2121
|
+
* when you call the action again to get the remaining results.</p>
|
|
785
2122
|
* @public
|
|
786
2123
|
*/
|
|
787
2124
|
maxResults?: number | undefined;
|
|
788
2125
|
/**
|
|
789
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
2126
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
2127
|
+
* of this parameter to null for the first request to a list action. If your response returns
|
|
2128
|
+
* more than the <code>maxResults</code> maximum value it will also return a
|
|
2129
|
+
* <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
|
|
2130
|
+
* returned from the previous request to continue listing results after the first page.</p>
|
|
790
2131
|
* @public
|
|
791
2132
|
*/
|
|
792
2133
|
nextToken?: string | undefined;
|
|
@@ -801,6 +2142,9 @@ export interface ListUsageTotalsRequest {
|
|
|
801
2142
|
* @enum
|
|
802
2143
|
*/
|
|
803
2144
|
export declare const UsageType: {
|
|
2145
|
+
readonly CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC";
|
|
2146
|
+
readonly CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST";
|
|
2147
|
+
readonly CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA";
|
|
804
2148
|
readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
|
|
805
2149
|
readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
|
|
806
2150
|
readonly ECR_RESCAN: "ECR_RESCAN";
|
|
@@ -858,7 +2202,8 @@ export interface UsageTotal {
|
|
|
858
2202
|
*/
|
|
859
2203
|
export interface ListUsageTotalsResponse {
|
|
860
2204
|
/**
|
|
861
|
-
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
2205
|
+
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
2206
|
+
* items.</p>
|
|
862
2207
|
* @public
|
|
863
2208
|
*/
|
|
864
2209
|
nextToken?: string | undefined;
|
|
@@ -889,8 +2234,7 @@ export interface ResetEncryptionKeyRequest {
|
|
|
889
2234
|
export interface ResetEncryptionKeyResponse {
|
|
890
2235
|
}
|
|
891
2236
|
/**
|
|
892
|
-
* <p>Details on the criteria used to define the filter for a vulnerability search.
|
|
893
|
-
* </p>
|
|
2237
|
+
* <p>Details on the criteria used to define the filter for a vulnerability search. </p>
|
|
894
2238
|
* @public
|
|
895
2239
|
*/
|
|
896
2240
|
export interface SearchVulnerabilitiesFilterCriteria {
|
|
@@ -945,12 +2289,14 @@ export interface Vulnerability {
|
|
|
945
2289
|
*/
|
|
946
2290
|
cwes?: string[] | undefined;
|
|
947
2291
|
/**
|
|
948
|
-
* <p>An object that contains the Cybersecurity and Infrastructure Security Agency (CISA)
|
|
2292
|
+
* <p>An object that contains the Cybersecurity and Infrastructure Security Agency (CISA)
|
|
2293
|
+
* details for the vulnerability.</p>
|
|
949
2294
|
* @public
|
|
950
2295
|
*/
|
|
951
2296
|
cisaData?: CisaData | undefined;
|
|
952
2297
|
/**
|
|
953
|
-
* <p>The source of the vulnerability information.
|
|
2298
|
+
* <p>The source of the vulnerability information. Possible results are <code>RHEL</code>,
|
|
2299
|
+
* <code>AMAZON_CVE</code>, <code>DEBIAN</code> or <code>NVD</code>.</p>
|
|
954
2300
|
* @public
|
|
955
2301
|
*/
|
|
956
2302
|
source?: VulnerabilitySource | undefined;
|
|
@@ -960,7 +2306,8 @@ export interface Vulnerability {
|
|
|
960
2306
|
*/
|
|
961
2307
|
description?: string | undefined;
|
|
962
2308
|
/**
|
|
963
|
-
* <p>An object that contains information about the Amazon Web Services Threat Intel Group
|
|
2309
|
+
* <p>An object that contains information about the Amazon Web Services Threat Intel Group
|
|
2310
|
+
* (ATIG) details for the vulnerability.</p>
|
|
964
2311
|
* @public
|
|
965
2312
|
*/
|
|
966
2313
|
atigData?: AtigData | undefined;
|
|
@@ -970,7 +2317,8 @@ export interface Vulnerability {
|
|
|
970
2317
|
*/
|
|
971
2318
|
vendorSeverity?: string | undefined;
|
|
972
2319
|
/**
|
|
973
|
-
* <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details
|
|
2320
|
+
* <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details
|
|
2321
|
+
* for the vulnerability.</p>
|
|
974
2322
|
* @public
|
|
975
2323
|
*/
|
|
976
2324
|
cvss3?: Cvss3 | undefined;
|
|
@@ -980,7 +2328,8 @@ export interface Vulnerability {
|
|
|
980
2328
|
*/
|
|
981
2329
|
relatedVulnerabilities?: string[] | undefined;
|
|
982
2330
|
/**
|
|
983
|
-
* <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details
|
|
2331
|
+
* <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details
|
|
2332
|
+
* for the vulnerability.</p>
|
|
984
2333
|
* @public
|
|
985
2334
|
*/
|
|
986
2335
|
cvss2?: Cvss2 | undefined;
|
|
@@ -1015,7 +2364,8 @@ export interface Vulnerability {
|
|
|
1015
2364
|
*/
|
|
1016
2365
|
detectionPlatforms?: string[] | undefined;
|
|
1017
2366
|
/**
|
|
1018
|
-
* <p>An object that contains the Exploit Prediction Scoring System (EPSS) score for a
|
|
2367
|
+
* <p>An object that contains the Exploit Prediction Scoring System (EPSS) score for a
|
|
2368
|
+
* vulnerability.</p>
|
|
1019
2369
|
* @public
|
|
1020
2370
|
*/
|
|
1021
2371
|
epss?: Epss | undefined;
|
|
@@ -1030,7 +2380,8 @@ export interface SearchVulnerabilitiesResponse {
|
|
|
1030
2380
|
*/
|
|
1031
2381
|
vulnerabilities: Vulnerability[] | undefined;
|
|
1032
2382
|
/**
|
|
1033
|
-
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
2383
|
+
* <p>The pagination parameter to be used on the next list operation to retrieve more
|
|
2384
|
+
* items.</p>
|
|
1034
2385
|
* @public
|
|
1035
2386
|
*/
|
|
1036
2387
|
nextToken?: string | undefined;
|
|
@@ -1111,6 +2462,37 @@ export interface StartCisSessionRequest {
|
|
|
1111
2462
|
*/
|
|
1112
2463
|
export interface StartCisSessionResponse {
|
|
1113
2464
|
}
|
|
2465
|
+
/**
|
|
2466
|
+
* @public
|
|
2467
|
+
*/
|
|
2468
|
+
export interface StartCodeSecurityScanRequest {
|
|
2469
|
+
/**
|
|
2470
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
2471
|
+
* request.</p>
|
|
2472
|
+
* @public
|
|
2473
|
+
*/
|
|
2474
|
+
clientToken?: string | undefined;
|
|
2475
|
+
/**
|
|
2476
|
+
* <p>The resource identifier for the code repository to scan.</p>
|
|
2477
|
+
* @public
|
|
2478
|
+
*/
|
|
2479
|
+
resource: CodeSecurityResource | undefined;
|
|
2480
|
+
}
|
|
2481
|
+
/**
|
|
2482
|
+
* @public
|
|
2483
|
+
*/
|
|
2484
|
+
export interface StartCodeSecurityScanResponse {
|
|
2485
|
+
/**
|
|
2486
|
+
* <p>The unique identifier of the initiated scan.</p>
|
|
2487
|
+
* @public
|
|
2488
|
+
*/
|
|
2489
|
+
scanId?: string | undefined;
|
|
2490
|
+
/**
|
|
2491
|
+
* <p>The current status of the initiated scan.</p>
|
|
2492
|
+
* @public
|
|
2493
|
+
*/
|
|
2494
|
+
status?: CodeScanStatus | undefined;
|
|
2495
|
+
}
|
|
1114
2496
|
/**
|
|
1115
2497
|
* <p>The stop CIS message progress.</p>
|
|
1116
2498
|
* @public
|
|
@@ -1303,10 +2685,8 @@ export interface UpdateCisScanConfigurationRequest {
|
|
|
1303
2685
|
*/
|
|
1304
2686
|
scanName?: string | undefined;
|
|
1305
2687
|
/**
|
|
1306
|
-
* <p>
|
|
1307
|
-
*
|
|
1308
|
-
* Security level refers to the Benchmark levels that CIS assigns to a profile.
|
|
1309
|
-
* </p>
|
|
2688
|
+
* <p> The security level for the CIS scan configuration. Security level refers to the
|
|
2689
|
+
* Benchmark levels that CIS assigns to a profile. </p>
|
|
1310
2690
|
* @public
|
|
1311
2691
|
*/
|
|
1312
2692
|
securityLevel?: CisSecurityLevel | undefined;
|
|
@@ -1331,6 +2711,133 @@ export interface UpdateCisScanConfigurationResponse {
|
|
|
1331
2711
|
*/
|
|
1332
2712
|
scanConfigurationArn: string | undefined;
|
|
1333
2713
|
}
|
|
2714
|
+
/**
|
|
2715
|
+
* <p>Contains details required to update an integration with GitHub.</p>
|
|
2716
|
+
* @public
|
|
2717
|
+
*/
|
|
2718
|
+
export interface UpdateGitHubIntegrationDetail {
|
|
2719
|
+
/**
|
|
2720
|
+
* <p>The authorization code received from GitHub to update the integration.</p>
|
|
2721
|
+
* @public
|
|
2722
|
+
*/
|
|
2723
|
+
code: string | undefined;
|
|
2724
|
+
/**
|
|
2725
|
+
* <p>The installation ID of the GitHub App associated with the integration.</p>
|
|
2726
|
+
* @public
|
|
2727
|
+
*/
|
|
2728
|
+
installationId: string | undefined;
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* <p>Contains details required to update an integration with a self-managed GitLab
|
|
2732
|
+
* instance.</p>
|
|
2733
|
+
* @public
|
|
2734
|
+
*/
|
|
2735
|
+
export interface UpdateGitLabSelfManagedIntegrationDetail {
|
|
2736
|
+
/**
|
|
2737
|
+
* <p>The authorization code received from the self-managed GitLab instance to update the
|
|
2738
|
+
* integration.</p>
|
|
2739
|
+
* @public
|
|
2740
|
+
*/
|
|
2741
|
+
authCode: string | undefined;
|
|
2742
|
+
}
|
|
2743
|
+
/**
|
|
2744
|
+
* <p>Contains details required to update a code security integration with a specific
|
|
2745
|
+
* repository provider.</p>
|
|
2746
|
+
* @public
|
|
2747
|
+
*/
|
|
2748
|
+
export type UpdateIntegrationDetails = UpdateIntegrationDetails.GithubMember | UpdateIntegrationDetails.GitlabSelfManagedMember | UpdateIntegrationDetails.$UnknownMember;
|
|
2749
|
+
/**
|
|
2750
|
+
* @public
|
|
2751
|
+
*/
|
|
2752
|
+
export declare namespace UpdateIntegrationDetails {
|
|
2753
|
+
/**
|
|
2754
|
+
* <p>Details specific to updating an integration with a self-managed GitLab instance.</p>
|
|
2755
|
+
* @public
|
|
2756
|
+
*/
|
|
2757
|
+
interface GitlabSelfManagedMember {
|
|
2758
|
+
gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetail;
|
|
2759
|
+
github?: never;
|
|
2760
|
+
$unknown?: never;
|
|
2761
|
+
}
|
|
2762
|
+
/**
|
|
2763
|
+
* <p>Details specific to updating an integration with GitHub.</p>
|
|
2764
|
+
* @public
|
|
2765
|
+
*/
|
|
2766
|
+
interface GithubMember {
|
|
2767
|
+
gitlabSelfManaged?: never;
|
|
2768
|
+
github: UpdateGitHubIntegrationDetail;
|
|
2769
|
+
$unknown?: never;
|
|
2770
|
+
}
|
|
2771
|
+
/**
|
|
2772
|
+
* @public
|
|
2773
|
+
*/
|
|
2774
|
+
interface $UnknownMember {
|
|
2775
|
+
gitlabSelfManaged?: never;
|
|
2776
|
+
github?: never;
|
|
2777
|
+
$unknown: [string, any];
|
|
2778
|
+
}
|
|
2779
|
+
interface Visitor<T> {
|
|
2780
|
+
gitlabSelfManaged: (value: UpdateGitLabSelfManagedIntegrationDetail) => T;
|
|
2781
|
+
github: (value: UpdateGitHubIntegrationDetail) => T;
|
|
2782
|
+
_: (name: string, value: any) => T;
|
|
2783
|
+
}
|
|
2784
|
+
const visit: <T>(value: UpdateIntegrationDetails, visitor: Visitor<T>) => T;
|
|
2785
|
+
}
|
|
2786
|
+
/**
|
|
2787
|
+
* @public
|
|
2788
|
+
*/
|
|
2789
|
+
export interface UpdateCodeSecurityIntegrationRequest {
|
|
2790
|
+
/**
|
|
2791
|
+
* <p>The Amazon Resource Name (ARN) of the code security integration to update.</p>
|
|
2792
|
+
* @public
|
|
2793
|
+
*/
|
|
2794
|
+
integrationArn: string | undefined;
|
|
2795
|
+
/**
|
|
2796
|
+
* <p>The updated integration details specific to the repository provider type.</p>
|
|
2797
|
+
* @public
|
|
2798
|
+
*/
|
|
2799
|
+
details: UpdateIntegrationDetails | undefined;
|
|
2800
|
+
}
|
|
2801
|
+
/**
|
|
2802
|
+
* @public
|
|
2803
|
+
*/
|
|
2804
|
+
export interface UpdateCodeSecurityIntegrationResponse {
|
|
2805
|
+
/**
|
|
2806
|
+
* <p>The Amazon Resource Name (ARN) of the updated code security integration.</p>
|
|
2807
|
+
* @public
|
|
2808
|
+
*/
|
|
2809
|
+
integrationArn: string | undefined;
|
|
2810
|
+
/**
|
|
2811
|
+
* <p>The current status of the updated code security integration.</p>
|
|
2812
|
+
* @public
|
|
2813
|
+
*/
|
|
2814
|
+
status: IntegrationStatus | undefined;
|
|
2815
|
+
}
|
|
2816
|
+
/**
|
|
2817
|
+
* @public
|
|
2818
|
+
*/
|
|
2819
|
+
export interface UpdateCodeSecurityScanConfigurationRequest {
|
|
2820
|
+
/**
|
|
2821
|
+
* <p>The Amazon Resource Name (ARN) of the scan configuration to update.</p>
|
|
2822
|
+
* @public
|
|
2823
|
+
*/
|
|
2824
|
+
scanConfigurationArn: string | undefined;
|
|
2825
|
+
/**
|
|
2826
|
+
* <p>The updated configuration settings for the code security scan.</p>
|
|
2827
|
+
* @public
|
|
2828
|
+
*/
|
|
2829
|
+
configuration: CodeSecurityScanConfiguration | undefined;
|
|
2830
|
+
}
|
|
2831
|
+
/**
|
|
2832
|
+
* @public
|
|
2833
|
+
*/
|
|
2834
|
+
export interface UpdateCodeSecurityScanConfigurationResponse {
|
|
2835
|
+
/**
|
|
2836
|
+
* <p>The Amazon Resource Name (ARN) of the updated scan configuration.</p>
|
|
2837
|
+
* @public
|
|
2838
|
+
*/
|
|
2839
|
+
scanConfigurationArn?: string | undefined;
|
|
2840
|
+
}
|
|
1334
2841
|
/**
|
|
1335
2842
|
* @public
|
|
1336
2843
|
*/
|
|
@@ -1356,7 +2863,10 @@ export interface UpdateConfigurationResponse {
|
|
|
1356
2863
|
*/
|
|
1357
2864
|
export interface UpdateEc2DeepInspectionConfigurationRequest {
|
|
1358
2865
|
/**
|
|
1359
|
-
* <p>Specify <code>TRUE</code> to activate Amazon Inspector deep inspection in your account, or
|
|
2866
|
+
* <p>Specify <code>TRUE</code> to activate Amazon Inspector deep inspection in your account, or
|
|
2867
|
+
* <code>FALSE</code> to deactivate. Member accounts in an organization cannot deactivate
|
|
2868
|
+
* deep inspection, instead the delegated administrator for the organization can deactivate a
|
|
2869
|
+
* member account using <a href="https://docs.aws.amazon.com/inspector/v2/APIReference/API_BatchUpdateMemberEc2DeepInspectionStatus.html">BatchUpdateMemberEc2DeepInspectionStatus</a>.</p>
|
|
1360
2870
|
* @public
|
|
1361
2871
|
*/
|
|
1362
2872
|
activateDeepInspection?: boolean | undefined;
|
|
@@ -1386,7 +2896,8 @@ export interface UpdateEc2DeepInspectionConfigurationResponse {
|
|
|
1386
2896
|
*/
|
|
1387
2897
|
status?: Ec2DeepInspectionStatus | undefined;
|
|
1388
2898
|
/**
|
|
1389
|
-
* <p>An error message explaining why new Amazon Inspector deep inspection custom paths could not be
|
|
2899
|
+
* <p>An error message explaining why new Amazon Inspector deep inspection custom paths could not be
|
|
2900
|
+
* added.</p>
|
|
1390
2901
|
* @public
|
|
1391
2902
|
*/
|
|
1392
2903
|
errorMessage?: string | undefined;
|
|
@@ -1466,7 +2977,8 @@ export interface UpdateFilterResponse {
|
|
|
1466
2977
|
*/
|
|
1467
2978
|
export interface UpdateOrganizationConfigurationRequest {
|
|
1468
2979
|
/**
|
|
1469
|
-
* <p>Defines which scan types are enabled automatically for new members of your Amazon Inspector
|
|
2980
|
+
* <p>Defines which scan types are enabled automatically for new members of your Amazon Inspector
|
|
2981
|
+
* organization.</p>
|
|
1470
2982
|
* @public
|
|
1471
2983
|
*/
|
|
1472
2984
|
autoEnable: AutoEnable | undefined;
|
|
@@ -1476,7 +2988,8 @@ export interface UpdateOrganizationConfigurationRequest {
|
|
|
1476
2988
|
*/
|
|
1477
2989
|
export interface UpdateOrganizationConfigurationResponse {
|
|
1478
2990
|
/**
|
|
1479
|
-
* <p>The updated status of scan types automatically enabled for new members of your Amazon Inspector
|
|
2991
|
+
* <p>The updated status of scan types automatically enabled for new members of your Amazon Inspector
|
|
2992
|
+
* organization.</p>
|
|
1480
2993
|
* @public
|
|
1481
2994
|
*/
|
|
1482
2995
|
autoEnable: AutoEnable | undefined;
|
|
@@ -1496,3 +3009,23 @@ export interface UpdateOrgEc2DeepInspectionConfigurationRequest {
|
|
|
1496
3009
|
*/
|
|
1497
3010
|
export interface UpdateOrgEc2DeepInspectionConfigurationResponse {
|
|
1498
3011
|
}
|
|
3012
|
+
/**
|
|
3013
|
+
* @internal
|
|
3014
|
+
*/
|
|
3015
|
+
export declare const GetCodeSecurityIntegrationResponseFilterSensitiveLog: (obj: GetCodeSecurityIntegrationResponse) => any;
|
|
3016
|
+
/**
|
|
3017
|
+
* @internal
|
|
3018
|
+
*/
|
|
3019
|
+
export declare const UpdateGitHubIntegrationDetailFilterSensitiveLog: (obj: UpdateGitHubIntegrationDetail) => any;
|
|
3020
|
+
/**
|
|
3021
|
+
* @internal
|
|
3022
|
+
*/
|
|
3023
|
+
export declare const UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog: (obj: UpdateGitLabSelfManagedIntegrationDetail) => any;
|
|
3024
|
+
/**
|
|
3025
|
+
* @internal
|
|
3026
|
+
*/
|
|
3027
|
+
export declare const UpdateIntegrationDetailsFilterSensitiveLog: (obj: UpdateIntegrationDetails) => any;
|
|
3028
|
+
/**
|
|
3029
|
+
* @internal
|
|
3030
|
+
*/
|
|
3031
|
+
export declare const UpdateCodeSecurityIntegrationRequestFilterSensitiveLog: (obj: UpdateCodeSecurityIntegrationRequest) => any;
|