@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.
Files changed (141) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/index.js +1297 -313
  3. package/dist-es/Inspector2.js +30 -0
  4. package/dist-es/commands/BatchAssociateCodeSecurityScanConfigurationCommand.js +22 -0
  5. package/dist-es/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.js +22 -0
  6. package/dist-es/commands/CreateCodeSecurityIntegrationCommand.js +23 -0
  7. package/dist-es/commands/CreateCodeSecurityScanConfigurationCommand.js +22 -0
  8. package/dist-es/commands/DeleteCodeSecurityIntegrationCommand.js +22 -0
  9. package/dist-es/commands/DeleteCodeSecurityScanConfigurationCommand.js +22 -0
  10. package/dist-es/commands/GetCodeSecurityIntegrationCommand.js +23 -0
  11. package/dist-es/commands/GetCodeSecurityScanCommand.js +22 -0
  12. package/dist-es/commands/GetCodeSecurityScanConfigurationCommand.js +22 -0
  13. package/dist-es/commands/ListCodeSecurityIntegrationsCommand.js +22 -0
  14. package/dist-es/commands/ListCodeSecurityScanConfigurationAssociationsCommand.js +22 -0
  15. package/dist-es/commands/ListCodeSecurityScanConfigurationsCommand.js +22 -0
  16. package/dist-es/commands/StartCodeSecurityScanCommand.js +22 -0
  17. package/dist-es/commands/UpdateCodeSecurityIntegrationCommand.js +23 -0
  18. package/dist-es/commands/UpdateCodeSecurityScanConfigurationCommand.js +22 -0
  19. package/dist-es/commands/index.js +15 -0
  20. package/dist-es/models/models_0.js +153 -120
  21. package/dist-es/models/models_1.js +110 -0
  22. package/dist-es/protocols/Aws_restJson1.js +509 -3
  23. package/dist-types/Inspector2.d.ts +107 -0
  24. package/dist-types/Inspector2Client.d.ts +17 -2
  25. package/dist-types/commands/AssociateMemberCommand.d.ts +6 -1
  26. package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +120 -0
  27. package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +120 -0
  28. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -1
  29. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +4 -1
  30. package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +2 -0
  31. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -0
  32. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +5 -1
  33. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +5 -1
  34. package/dist-types/commands/CancelFindingsReportCommand.d.ts +4 -1
  35. package/dist-types/commands/CancelSbomExportCommand.d.ts +4 -1
  36. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +2 -0
  37. package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +111 -0
  38. package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +116 -0
  39. package/dist-types/commands/CreateFilterCommand.d.ts +6 -1
  40. package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -2
  41. package/dist-types/commands/CreateSbomExportCommand.d.ts +4 -1
  42. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +4 -1
  43. package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +91 -0
  44. package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +91 -0
  45. package/dist-types/commands/DeleteFilterCommand.d.ts +4 -1
  46. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -0
  47. package/dist-types/commands/DisableCommand.d.ts +8 -3
  48. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -2
  49. package/dist-types/commands/DisassociateMemberCommand.d.ts +2 -0
  50. package/dist-types/commands/EnableCommand.d.ts +6 -1
  51. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -2
  52. package/dist-types/commands/GetCisScanReportCommand.d.ts +5 -2
  53. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +3 -1
  54. package/dist-types/commands/GetClustersForImageCommand.d.ts +3 -1
  55. package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +104 -0
  56. package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +107 -0
  57. package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +115 -0
  58. package/dist-types/commands/GetConfigurationCommand.d.ts +3 -2
  59. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +5 -2
  60. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +7 -4
  61. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +5 -2
  62. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +7 -2
  63. package/dist-types/commands/GetMemberCommand.d.ts +5 -2
  64. package/dist-types/commands/GetSbomExportCommand.d.ts +5 -3
  65. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +2 -0
  66. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +2 -0
  67. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +2 -0
  68. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +2 -0
  69. package/dist-types/commands/ListCisScansCommand.d.ts +2 -0
  70. package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +102 -0
  71. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +101 -0
  72. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +113 -0
  73. package/dist-types/commands/ListCoverageCommand.d.ts +37 -0
  74. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +4 -0
  75. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +3 -2
  76. package/dist-types/commands/ListFiltersCommand.d.ts +4 -0
  77. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +16 -0
  78. package/dist-types/commands/ListFindingsCommand.d.ts +7 -0
  79. package/dist-types/commands/ListMembersCommand.d.ts +2 -0
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  81. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -0
  82. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +6 -2
  83. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +2 -0
  84. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +7 -6
  85. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +7 -6
  86. package/dist-types/commands/StartCisSessionCommand.d.ts +7 -6
  87. package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +99 -0
  88. package/dist-types/commands/StopCisSessionCommand.d.ts +7 -6
  89. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  90. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  91. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +4 -1
  92. package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +109 -0
  93. package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +109 -0
  94. package/dist-types/commands/UpdateConfigurationCommand.d.ts +5 -1
  95. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +4 -1
  96. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +6 -2
  97. package/dist-types/commands/UpdateFilterCommand.d.ts +6 -1
  98. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +4 -1
  99. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  100. package/dist-types/commands/index.d.ts +15 -0
  101. package/dist-types/endpoint/EndpointParameters.d.ts +7 -7
  102. package/dist-types/models/models_0.d.ts +2059 -1859
  103. package/dist-types/models/models_1.d.ts +1582 -49
  104. package/dist-types/protocols/Aws_restJson1.d.ts +135 -0
  105. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  106. package/dist-types/runtimeConfig.native.d.ts +2 -2
  107. package/dist-types/ts3.4/Inspector2.d.ts +299 -0
  108. package/dist-types/ts3.4/Inspector2Client.d.ts +90 -0
  109. package/dist-types/ts3.4/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +51 -0
  110. package/dist-types/ts3.4/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +51 -0
  111. package/dist-types/ts3.4/commands/CreateCodeSecurityIntegrationCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/DeleteCodeSecurityIntegrationCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +51 -0
  120. package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +4 -2
  128. package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/StartCodeSecurityScanCommand.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/UpdateCodeSecurityIntegrationCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  135. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +7 -7
  136. package/dist-types/ts3.4/models/models_0.d.ts +420 -328
  137. package/dist-types/ts3.4/models/models_1.d.ts +445 -6
  138. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +180 -0
  139. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
  141. package/package.json +2 -2
@@ -4,13 +4,21 @@ import {
4
4
  AggregationType,
5
5
  AtigData,
6
6
  AutoEnable,
7
+ AwsEc2InstanceDetails,
8
+ AwsEcrContainerImageDetails,
9
+ AwsLambdaFunctionDetails,
7
10
  CisaData,
8
11
  CisCheckAggregation,
9
12
  CisDateFilter,
10
13
  CisNumberFilter,
14
+ CisReportFormat,
15
+ CisReportStatus,
11
16
  CisScan,
12
17
  CisScanConfiguration,
13
18
  CisScanConfigurationsSortBy,
19
+ CisScanResultDetails,
20
+ CisScanResultDetailsFilterCriteria,
21
+ CisScanResultDetailsSortBy,
14
22
  CisScanResultsAggregatedByChecksFilterCriteria,
15
23
  CisScanResultsAggregatedByChecksSortBy,
16
24
  CisScanResultsAggregatedByTargetResourceFilterCriteria,
@@ -21,37 +29,368 @@ import {
21
29
  CisSortOrder,
22
30
  CisStringFilter,
23
31
  CisTargetResourceAggregation,
32
+ ClusterForImageFilterCriteria,
33
+ ClusterInformation,
34
+ CodeRepositoryDetails,
35
+ CodeScanStatus,
36
+ CodeSecurityIntegrationSummary,
37
+ CodeSecurityResource,
38
+ CodeSecurityScanConfiguration,
39
+ CodeSecurityScanConfigurationAssociationSummary,
40
+ CodeSecurityScanConfigurationSummary,
41
+ CodeVulnerabilityDetails,
24
42
  ComputePlatform,
43
+ ConfigurationLevel,
25
44
  Counts,
26
45
  CoverageFilterCriteria,
27
46
  CoveredResource,
28
47
  Currency,
29
48
  Cvss2,
30
49
  Cvss3,
50
+ CvssScore,
51
+ CvssScoreDetails,
52
+ DelegatedAdmin,
31
53
  DelegatedAdminAccount,
32
54
  Destination,
33
55
  Ec2Configuration,
56
+ Ec2ConfigurationState,
34
57
  Ec2DeepInspectionStatus,
35
58
  EcrConfiguration,
59
+ EcrConfigurationState,
36
60
  Epss,
37
61
  ExploitObserved,
38
- ExternalReportStatus,
39
- Filter,
40
62
  FilterAction,
41
63
  FilterCriteria,
42
- Finding,
43
64
  GroupKey,
44
- Member,
45
- ReportingErrorCode,
65
+ IntegrationStatus,
66
+ IntegrationType,
67
+ RelationshipStatus,
46
68
  ResourceFilterCriteria,
47
- ResourceType,
48
69
  SbomReportFormat,
49
70
  ScanType,
50
71
  Schedule,
72
+ ScopeSettings,
51
73
  SortOrder,
52
74
  StringFilter,
53
75
  TagFilter,
54
76
  } from "./models_0";
77
+ export interface EpssDetails {
78
+ score?: number | undefined;
79
+ }
80
+ export interface ExploitabilityDetails {
81
+ lastKnownExploitAt?: Date | undefined;
82
+ }
83
+ export declare const ExploitAvailable: {
84
+ readonly NO: "NO";
85
+ readonly YES: "YES";
86
+ };
87
+ export type ExploitAvailable =
88
+ (typeof ExploitAvailable)[keyof typeof ExploitAvailable];
89
+ export declare const ExternalReportStatus: {
90
+ readonly CANCELLED: "CANCELLED";
91
+ readonly FAILED: "FAILED";
92
+ readonly IN_PROGRESS: "IN_PROGRESS";
93
+ readonly SUCCEEDED: "SUCCEEDED";
94
+ };
95
+ export type ExternalReportStatus =
96
+ (typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
97
+ export interface Filter {
98
+ arn: string | undefined;
99
+ ownerId: string | undefined;
100
+ name: string | undefined;
101
+ criteria: FilterCriteria | undefined;
102
+ action: FilterAction | undefined;
103
+ createdAt: Date | undefined;
104
+ updatedAt: Date | undefined;
105
+ description?: string | undefined;
106
+ reason?: string | undefined;
107
+ tags?: Record<string, string> | undefined;
108
+ }
109
+ export declare const FixAvailable: {
110
+ readonly NO: "NO";
111
+ readonly PARTIAL: "PARTIAL";
112
+ readonly YES: "YES";
113
+ };
114
+ export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
115
+ export interface InspectorScoreDetails {
116
+ adjustedCvss?: CvssScoreDetails | undefined;
117
+ }
118
+ export interface Step {
119
+ componentId: string | undefined;
120
+ componentType: string | undefined;
121
+ componentArn?: string | undefined;
122
+ }
123
+ export interface NetworkPath {
124
+ steps?: Step[] | undefined;
125
+ }
126
+ export interface PortRange {
127
+ begin: number | undefined;
128
+ end: number | undefined;
129
+ }
130
+ export declare const NetworkProtocol: {
131
+ readonly TCP: "TCP";
132
+ readonly UDP: "UDP";
133
+ };
134
+ export type NetworkProtocol =
135
+ (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
136
+ export interface NetworkReachabilityDetails {
137
+ openPortRange: PortRange | undefined;
138
+ protocol: NetworkProtocol | undefined;
139
+ networkPath: NetworkPath | undefined;
140
+ }
141
+ export declare const PackageManager: {
142
+ readonly BUNDLER: "BUNDLER";
143
+ readonly CARGO: "CARGO";
144
+ readonly COMPOSER: "COMPOSER";
145
+ readonly DOTNET_CORE: "DOTNET_CORE";
146
+ readonly GEMSPEC: "GEMSPEC";
147
+ readonly GOBINARY: "GOBINARY";
148
+ readonly GOMOD: "GOMOD";
149
+ readonly JAR: "JAR";
150
+ readonly NODEPKG: "NODEPKG";
151
+ readonly NPM: "NPM";
152
+ readonly NUGET: "NUGET";
153
+ readonly OS: "OS";
154
+ readonly PIP: "PIP";
155
+ readonly PIPENV: "PIPENV";
156
+ readonly POETRY: "POETRY";
157
+ readonly POM: "POM";
158
+ readonly PYTHONPKG: "PYTHONPKG";
159
+ readonly YARN: "YARN";
160
+ };
161
+ export type PackageManager =
162
+ (typeof PackageManager)[keyof typeof PackageManager];
163
+ export interface VulnerablePackage {
164
+ name: string | undefined;
165
+ version: string | undefined;
166
+ sourceLayerHash?: string | undefined;
167
+ epoch?: number | undefined;
168
+ release?: string | undefined;
169
+ arch?: string | undefined;
170
+ packageManager?: PackageManager | undefined;
171
+ filePath?: string | undefined;
172
+ fixedInVersion?: string | undefined;
173
+ remediation?: string | undefined;
174
+ sourceLambdaLayerArn?: string | undefined;
175
+ }
176
+ export interface PackageVulnerabilityDetails {
177
+ vulnerabilityId: string | undefined;
178
+ vulnerablePackages?: VulnerablePackage[] | undefined;
179
+ source: string | undefined;
180
+ cvss?: CvssScore[] | undefined;
181
+ relatedVulnerabilities?: string[] | undefined;
182
+ sourceUrl?: string | undefined;
183
+ vendorSeverity?: string | undefined;
184
+ vendorCreatedAt?: Date | undefined;
185
+ vendorUpdatedAt?: Date | undefined;
186
+ referenceUrls?: string[] | undefined;
187
+ }
188
+ export interface Recommendation {
189
+ text?: string | undefined;
190
+ Url?: string | undefined;
191
+ }
192
+ export interface Remediation {
193
+ recommendation?: Recommendation | undefined;
194
+ }
195
+ export interface ResourceDetails {
196
+ awsEc2Instance?: AwsEc2InstanceDetails | undefined;
197
+ awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
198
+ awsLambdaFunction?: AwsLambdaFunctionDetails | undefined;
199
+ codeRepository?: CodeRepositoryDetails | undefined;
200
+ }
201
+ export declare const ResourceType: {
202
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
203
+ readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
204
+ readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
205
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
206
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
207
+ };
208
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
209
+ export interface Resource {
210
+ type: ResourceType | undefined;
211
+ id: string | undefined;
212
+ partition?: string | undefined;
213
+ region?: string | undefined;
214
+ tags?: Record<string, string> | undefined;
215
+ details?: ResourceDetails | undefined;
216
+ }
217
+ export declare const Severity: {
218
+ readonly CRITICAL: "CRITICAL";
219
+ readonly HIGH: "HIGH";
220
+ readonly INFORMATIONAL: "INFORMATIONAL";
221
+ readonly LOW: "LOW";
222
+ readonly MEDIUM: "MEDIUM";
223
+ readonly UNTRIAGED: "UNTRIAGED";
224
+ };
225
+ export type Severity = (typeof Severity)[keyof typeof Severity];
226
+ export declare const FindingStatus: {
227
+ readonly ACTIVE: "ACTIVE";
228
+ readonly CLOSED: "CLOSED";
229
+ readonly SUPPRESSED: "SUPPRESSED";
230
+ };
231
+ export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
232
+ export declare const FindingType: {
233
+ readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
234
+ readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
235
+ readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
236
+ };
237
+ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
238
+ export interface Finding {
239
+ findingArn: string | undefined;
240
+ awsAccountId: string | undefined;
241
+ type: FindingType | undefined;
242
+ description: string | undefined;
243
+ title?: string | undefined;
244
+ remediation: Remediation | undefined;
245
+ severity: Severity | undefined;
246
+ firstObservedAt: Date | undefined;
247
+ lastObservedAt: Date | undefined;
248
+ updatedAt?: Date | undefined;
249
+ status: FindingStatus | undefined;
250
+ resources: Resource[] | undefined;
251
+ inspectorScore?: number | undefined;
252
+ inspectorScoreDetails?: InspectorScoreDetails | undefined;
253
+ networkReachabilityDetails?: NetworkReachabilityDetails | undefined;
254
+ packageVulnerabilityDetails?: PackageVulnerabilityDetails | undefined;
255
+ fixAvailable?: FixAvailable | undefined;
256
+ exploitAvailable?: ExploitAvailable | undefined;
257
+ exploitabilityDetails?: ExploitabilityDetails | undefined;
258
+ codeVulnerabilityDetails?: CodeVulnerabilityDetails | undefined;
259
+ epss?: EpssDetails | undefined;
260
+ }
261
+ export interface GetCisScanReportRequest {
262
+ scanArn: string | undefined;
263
+ targetAccounts?: string[] | undefined;
264
+ reportFormat?: CisReportFormat | undefined;
265
+ }
266
+ export interface GetCisScanReportResponse {
267
+ url?: string | undefined;
268
+ status?: CisReportStatus | undefined;
269
+ }
270
+ export interface GetCisScanResultDetailsRequest {
271
+ scanArn: string | undefined;
272
+ targetResourceId: string | undefined;
273
+ accountId: string | undefined;
274
+ filterCriteria?: CisScanResultDetailsFilterCriteria | undefined;
275
+ sortBy?: CisScanResultDetailsSortBy | undefined;
276
+ sortOrder?: CisSortOrder | undefined;
277
+ nextToken?: string | undefined;
278
+ maxResults?: number | undefined;
279
+ }
280
+ export interface GetCisScanResultDetailsResponse {
281
+ scanResultDetails?: CisScanResultDetails[] | undefined;
282
+ nextToken?: string | undefined;
283
+ }
284
+ export interface GetClustersForImageRequest {
285
+ filter: ClusterForImageFilterCriteria | undefined;
286
+ maxResults?: number | undefined;
287
+ nextToken?: string | undefined;
288
+ }
289
+ export interface GetClustersForImageResponse {
290
+ cluster: ClusterInformation[] | undefined;
291
+ nextToken?: string | undefined;
292
+ }
293
+ export interface GetCodeSecurityIntegrationRequest {
294
+ integrationArn: string | undefined;
295
+ tags?: Record<string, string> | undefined;
296
+ }
297
+ export interface GetCodeSecurityIntegrationResponse {
298
+ integrationArn: string | undefined;
299
+ name: string | undefined;
300
+ type: IntegrationType | undefined;
301
+ status: IntegrationStatus | undefined;
302
+ statusReason: string | undefined;
303
+ createdOn: Date | undefined;
304
+ lastUpdateOn: Date | undefined;
305
+ tags?: Record<string, string> | undefined;
306
+ authorizationUrl?: string | undefined;
307
+ }
308
+ export interface GetCodeSecurityScanRequest {
309
+ resource: CodeSecurityResource | undefined;
310
+ scanId: string | undefined;
311
+ }
312
+ export interface GetCodeSecurityScanResponse {
313
+ scanId?: string | undefined;
314
+ resource?: CodeSecurityResource | undefined;
315
+ accountId?: string | undefined;
316
+ status?: CodeScanStatus | undefined;
317
+ statusReason?: string | undefined;
318
+ createdAt?: Date | undefined;
319
+ updatedAt?: Date | undefined;
320
+ lastCommitId?: string | undefined;
321
+ }
322
+ export interface GetCodeSecurityScanConfigurationRequest {
323
+ scanConfigurationArn: string | undefined;
324
+ }
325
+ export interface GetCodeSecurityScanConfigurationResponse {
326
+ scanConfigurationArn?: string | undefined;
327
+ name?: string | undefined;
328
+ configuration?: CodeSecurityScanConfiguration | undefined;
329
+ level?: ConfigurationLevel | undefined;
330
+ scopeSettings?: ScopeSettings | undefined;
331
+ createdAt?: Date | undefined;
332
+ lastUpdatedAt?: Date | undefined;
333
+ tags?: Record<string, string> | undefined;
334
+ }
335
+ export interface GetConfigurationRequest {}
336
+ export interface GetConfigurationResponse {
337
+ ecrConfiguration?: EcrConfigurationState | undefined;
338
+ ec2Configuration?: Ec2ConfigurationState | undefined;
339
+ }
340
+ export interface GetDelegatedAdminAccountRequest {}
341
+ export interface GetDelegatedAdminAccountResponse {
342
+ delegatedAdmin?: DelegatedAdmin | undefined;
343
+ }
344
+ export interface GetEc2DeepInspectionConfigurationRequest {}
345
+ export interface GetEc2DeepInspectionConfigurationResponse {
346
+ packagePaths?: string[] | undefined;
347
+ orgPackagePaths?: string[] | undefined;
348
+ status?: Ec2DeepInspectionStatus | undefined;
349
+ errorMessage?: string | undefined;
350
+ }
351
+ export interface GetEncryptionKeyRequest {
352
+ scanType: ScanType | undefined;
353
+ resourceType: ResourceType | undefined;
354
+ }
355
+ export interface GetEncryptionKeyResponse {
356
+ kmsKeyId: string | undefined;
357
+ }
358
+ export interface GetFindingsReportStatusRequest {
359
+ reportId?: string | undefined;
360
+ }
361
+ export declare const ReportingErrorCode: {
362
+ readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
363
+ readonly INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION";
364
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
365
+ readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
366
+ readonly MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY";
367
+ readonly NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND";
368
+ };
369
+ export type ReportingErrorCode =
370
+ (typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
371
+ export interface GetFindingsReportStatusResponse {
372
+ reportId?: string | undefined;
373
+ status?: ExternalReportStatus | undefined;
374
+ errorCode?: ReportingErrorCode | undefined;
375
+ errorMessage?: string | undefined;
376
+ destination?: Destination | undefined;
377
+ filterCriteria?: FilterCriteria | undefined;
378
+ }
379
+ export interface GetMemberRequest {
380
+ accountId: string | undefined;
381
+ }
382
+ export interface Member {
383
+ accountId?: string | undefined;
384
+ relationshipStatus?: RelationshipStatus | undefined;
385
+ delegatedAdminAccountId?: string | undefined;
386
+ updatedAt?: Date | undefined;
387
+ }
388
+ export interface GetMemberResponse {
389
+ member?: Member | undefined;
390
+ }
391
+ export interface GetSbomExportRequest {
392
+ reportId: string | undefined;
393
+ }
55
394
  export interface GetSbomExportResponse {
56
395
  reportId?: string | undefined;
57
396
  format?: SbomReportFormat | undefined;
@@ -167,6 +506,31 @@ export interface ListCisScansResponse {
167
506
  scans?: CisScan[] | undefined;
168
507
  nextToken?: string | undefined;
169
508
  }
509
+ export interface ListCodeSecurityIntegrationsRequest {
510
+ nextToken?: string | undefined;
511
+ maxResults?: number | undefined;
512
+ }
513
+ export interface ListCodeSecurityIntegrationsResponse {
514
+ integrations?: CodeSecurityIntegrationSummary[] | undefined;
515
+ nextToken?: string | undefined;
516
+ }
517
+ export interface ListCodeSecurityScanConfigurationAssociationsRequest {
518
+ scanConfigurationArn: string | undefined;
519
+ nextToken?: string | undefined;
520
+ maxResults?: number | undefined;
521
+ }
522
+ export interface ListCodeSecurityScanConfigurationAssociationsResponse {
523
+ associations?: CodeSecurityScanConfigurationAssociationSummary[] | undefined;
524
+ nextToken?: string | undefined;
525
+ }
526
+ export interface ListCodeSecurityScanConfigurationsRequest {
527
+ nextToken?: string | undefined;
528
+ maxResults?: number | undefined;
529
+ }
530
+ export interface ListCodeSecurityScanConfigurationsResponse {
531
+ configurations?: CodeSecurityScanConfigurationSummary[] | undefined;
532
+ nextToken?: string | undefined;
533
+ }
170
534
  export interface ListCoverageRequest {
171
535
  maxResults?: number | undefined;
172
536
  nextToken?: string | undefined;
@@ -271,6 +635,9 @@ export interface ListUsageTotalsRequest {
271
635
  accountIds?: string[] | undefined;
272
636
  }
273
637
  export declare const UsageType: {
638
+ readonly CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC";
639
+ readonly CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST";
640
+ readonly CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA";
274
641
  readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
275
642
  readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
276
643
  readonly ECR_RESCAN: "ECR_RESCAN";
@@ -351,6 +718,14 @@ export interface StartCisSessionRequest {
351
718
  message: StartCisSessionMessage | undefined;
352
719
  }
353
720
  export interface StartCisSessionResponse {}
721
+ export interface StartCodeSecurityScanRequest {
722
+ clientToken?: string | undefined;
723
+ resource: CodeSecurityResource | undefined;
724
+ }
725
+ export interface StartCodeSecurityScanResponse {
726
+ scanId?: string | undefined;
727
+ status?: CodeScanStatus | undefined;
728
+ }
354
729
  export interface StopCisMessageProgress {
355
730
  totalChecks?: number | undefined;
356
731
  successfulChecks?: number | undefined;
@@ -407,6 +782,55 @@ export interface UpdateCisScanConfigurationRequest {
407
782
  export interface UpdateCisScanConfigurationResponse {
408
783
  scanConfigurationArn: string | undefined;
409
784
  }
785
+ export interface UpdateGitHubIntegrationDetail {
786
+ code: string | undefined;
787
+ installationId: string | undefined;
788
+ }
789
+ export interface UpdateGitLabSelfManagedIntegrationDetail {
790
+ authCode: string | undefined;
791
+ }
792
+ export type UpdateIntegrationDetails =
793
+ | UpdateIntegrationDetails.GithubMember
794
+ | UpdateIntegrationDetails.GitlabSelfManagedMember
795
+ | UpdateIntegrationDetails.$UnknownMember;
796
+ export declare namespace UpdateIntegrationDetails {
797
+ interface GitlabSelfManagedMember {
798
+ gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetail;
799
+ github?: never;
800
+ $unknown?: never;
801
+ }
802
+ interface GithubMember {
803
+ gitlabSelfManaged?: never;
804
+ github: UpdateGitHubIntegrationDetail;
805
+ $unknown?: never;
806
+ }
807
+ interface $UnknownMember {
808
+ gitlabSelfManaged?: never;
809
+ github?: never;
810
+ $unknown: [string, any];
811
+ }
812
+ interface Visitor<T> {
813
+ gitlabSelfManaged: (value: UpdateGitLabSelfManagedIntegrationDetail) => T;
814
+ github: (value: UpdateGitHubIntegrationDetail) => T;
815
+ _: (name: string, value: any) => T;
816
+ }
817
+ const visit: <T>(value: UpdateIntegrationDetails, visitor: Visitor<T>) => T;
818
+ }
819
+ export interface UpdateCodeSecurityIntegrationRequest {
820
+ integrationArn: string | undefined;
821
+ details: UpdateIntegrationDetails | undefined;
822
+ }
823
+ export interface UpdateCodeSecurityIntegrationResponse {
824
+ integrationArn: string | undefined;
825
+ status: IntegrationStatus | undefined;
826
+ }
827
+ export interface UpdateCodeSecurityScanConfigurationRequest {
828
+ scanConfigurationArn: string | undefined;
829
+ configuration: CodeSecurityScanConfiguration | undefined;
830
+ }
831
+ export interface UpdateCodeSecurityScanConfigurationResponse {
832
+ scanConfigurationArn?: string | undefined;
833
+ }
410
834
  export interface UpdateConfigurationRequest {
411
835
  ecrConfiguration?: EcrConfiguration | undefined;
412
836
  ec2Configuration?: Ec2Configuration | undefined;
@@ -449,3 +873,18 @@ export interface UpdateOrgEc2DeepInspectionConfigurationRequest {
449
873
  orgPackagePaths: string[] | undefined;
450
874
  }
451
875
  export interface UpdateOrgEc2DeepInspectionConfigurationResponse {}
876
+ export declare const GetCodeSecurityIntegrationResponseFilterSensitiveLog: (
877
+ obj: GetCodeSecurityIntegrationResponse
878
+ ) => any;
879
+ export declare const UpdateGitHubIntegrationDetailFilterSensitiveLog: (
880
+ obj: UpdateGitHubIntegrationDetail
881
+ ) => any;
882
+ export declare const UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog: (
883
+ obj: UpdateGitLabSelfManagedIntegrationDetail
884
+ ) => any;
885
+ export declare const UpdateIntegrationDetailsFilterSensitiveLog: (
886
+ obj: UpdateIntegrationDetails
887
+ ) => any;
888
+ export declare const UpdateCodeSecurityIntegrationRequestFilterSensitiveLog: (
889
+ obj: UpdateCodeSecurityIntegrationRequest
890
+ ) => any;