@aws-sdk/client-inspector2 3.830.0 → 3.835.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 +1 -1
- 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/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 +4 -1
- 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/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -31,8 +31,11 @@ __export(index_exports, {
|
|
|
31
31
|
AmiSortBy: () => AmiSortBy,
|
|
32
32
|
Architecture: () => Architecture,
|
|
33
33
|
AssociateMemberCommand: () => AssociateMemberCommand,
|
|
34
|
+
AssociationResultStatusCode: () => AssociationResultStatusCode,
|
|
34
35
|
AwsEcrContainerSortBy: () => AwsEcrContainerSortBy,
|
|
35
36
|
BadRequestException: () => BadRequestException,
|
|
37
|
+
BatchAssociateCodeSecurityScanConfigurationCommand: () => BatchAssociateCodeSecurityScanConfigurationCommand,
|
|
38
|
+
BatchDisassociateCodeSecurityScanConfigurationCommand: () => BatchDisassociateCodeSecurityScanConfigurationCommand,
|
|
36
39
|
BatchGetAccountStatusCommand: () => BatchGetAccountStatusCommand,
|
|
37
40
|
BatchGetCodeSnippetCommand: () => BatchGetCodeSnippetCommand,
|
|
38
41
|
BatchGetFindingDetailsCommand: () => BatchGetFindingDetailsCommand,
|
|
@@ -62,19 +65,34 @@ __export(index_exports, {
|
|
|
62
65
|
CisTargetStatusComparison: () => CisTargetStatusComparison,
|
|
63
66
|
CisTargetStatusReason: () => CisTargetStatusReason,
|
|
64
67
|
ClusterMetadata: () => ClusterMetadata,
|
|
68
|
+
CodeRepositoryProviderType: () => CodeRepositoryProviderType,
|
|
69
|
+
CodeRepositorySortBy: () => CodeRepositorySortBy,
|
|
70
|
+
CodeScanStatus: () => CodeScanStatus,
|
|
71
|
+
CodeSecurityResource: () => CodeSecurityResource,
|
|
65
72
|
CodeSnippetErrorCode: () => CodeSnippetErrorCode,
|
|
73
|
+
ConfigurationLevel: () => ConfigurationLevel,
|
|
66
74
|
ConflictException: () => ConflictException,
|
|
75
|
+
ContinuousIntegrationScanEvent: () => ContinuousIntegrationScanEvent,
|
|
67
76
|
CoverageMapComparison: () => CoverageMapComparison,
|
|
68
77
|
CoverageResourceType: () => CoverageResourceType,
|
|
69
78
|
CoverageStringComparison: () => CoverageStringComparison,
|
|
70
79
|
CreateCisScanConfigurationCommand: () => CreateCisScanConfigurationCommand,
|
|
80
|
+
CreateCodeSecurityIntegrationCommand: () => CreateCodeSecurityIntegrationCommand,
|
|
81
|
+
CreateCodeSecurityIntegrationRequestFilterSensitiveLog: () => CreateCodeSecurityIntegrationRequestFilterSensitiveLog,
|
|
82
|
+
CreateCodeSecurityIntegrationResponseFilterSensitiveLog: () => CreateCodeSecurityIntegrationResponseFilterSensitiveLog,
|
|
83
|
+
CreateCodeSecurityScanConfigurationCommand: () => CreateCodeSecurityScanConfigurationCommand,
|
|
71
84
|
CreateFilterCommand: () => CreateFilterCommand,
|
|
72
85
|
CreateFindingsReportCommand: () => CreateFindingsReportCommand,
|
|
86
|
+
CreateGitLabSelfManagedIntegrationDetailFilterSensitiveLog: () => CreateGitLabSelfManagedIntegrationDetailFilterSensitiveLog,
|
|
87
|
+
CreateIntegrationDetail: () => CreateIntegrationDetail,
|
|
88
|
+
CreateIntegrationDetailFilterSensitiveLog: () => CreateIntegrationDetailFilterSensitiveLog,
|
|
73
89
|
CreateSbomExportCommand: () => CreateSbomExportCommand,
|
|
74
90
|
Currency: () => Currency,
|
|
75
91
|
Day: () => Day,
|
|
76
92
|
DelegatedAdminStatus: () => DelegatedAdminStatus,
|
|
77
93
|
DeleteCisScanConfigurationCommand: () => DeleteCisScanConfigurationCommand,
|
|
94
|
+
DeleteCodeSecurityIntegrationCommand: () => DeleteCodeSecurityIntegrationCommand,
|
|
95
|
+
DeleteCodeSecurityScanConfigurationCommand: () => DeleteCodeSecurityScanConfigurationCommand,
|
|
78
96
|
DeleteFilterCommand: () => DeleteFilterCommand,
|
|
79
97
|
DescribeOrganizationConfigurationCommand: () => DescribeOrganizationConfigurationCommand,
|
|
80
98
|
DisableCommand: () => DisableCommand,
|
|
@@ -107,6 +125,10 @@ __export(index_exports, {
|
|
|
107
125
|
GetCisScanReportCommand: () => GetCisScanReportCommand,
|
|
108
126
|
GetCisScanResultDetailsCommand: () => GetCisScanResultDetailsCommand,
|
|
109
127
|
GetClustersForImageCommand: () => GetClustersForImageCommand,
|
|
128
|
+
GetCodeSecurityIntegrationCommand: () => GetCodeSecurityIntegrationCommand,
|
|
129
|
+
GetCodeSecurityIntegrationResponseFilterSensitiveLog: () => GetCodeSecurityIntegrationResponseFilterSensitiveLog,
|
|
130
|
+
GetCodeSecurityScanCommand: () => GetCodeSecurityScanCommand,
|
|
131
|
+
GetCodeSecurityScanConfigurationCommand: () => GetCodeSecurityScanConfigurationCommand,
|
|
110
132
|
GetConfigurationCommand: () => GetConfigurationCommand,
|
|
111
133
|
GetDelegatedAdminAccountCommand: () => GetDelegatedAdminAccountCommand,
|
|
112
134
|
GetEc2DeepInspectionConfigurationCommand: () => GetEc2DeepInspectionConfigurationCommand,
|
|
@@ -119,6 +141,8 @@ __export(index_exports, {
|
|
|
119
141
|
Inspector2: () => Inspector2,
|
|
120
142
|
Inspector2Client: () => Inspector2Client,
|
|
121
143
|
Inspector2ServiceException: () => Inspector2ServiceException,
|
|
144
|
+
IntegrationStatus: () => IntegrationStatus,
|
|
145
|
+
IntegrationType: () => IntegrationType,
|
|
122
146
|
InternalServerException: () => InternalServerException,
|
|
123
147
|
LambdaFunctionSortBy: () => LambdaFunctionSortBy,
|
|
124
148
|
LambdaLayerSortBy: () => LambdaLayerSortBy,
|
|
@@ -129,6 +153,9 @@ __export(index_exports, {
|
|
|
129
153
|
ListCisScansCommand: () => ListCisScansCommand,
|
|
130
154
|
ListCisScansDetailLevel: () => ListCisScansDetailLevel,
|
|
131
155
|
ListCisScansSortBy: () => ListCisScansSortBy,
|
|
156
|
+
ListCodeSecurityIntegrationsCommand: () => ListCodeSecurityIntegrationsCommand,
|
|
157
|
+
ListCodeSecurityScanConfigurationAssociationsCommand: () => ListCodeSecurityScanConfigurationAssociationsCommand,
|
|
158
|
+
ListCodeSecurityScanConfigurationsCommand: () => ListCodeSecurityScanConfigurationsCommand,
|
|
132
159
|
ListCoverageCommand: () => ListCoverageCommand,
|
|
133
160
|
ListCoverageStatisticsCommand: () => ListCoverageStatisticsCommand,
|
|
134
161
|
ListDelegatedAdminAccountsCommand: () => ListDelegatedAdminAccountsCommand,
|
|
@@ -144,6 +171,8 @@ __export(index_exports, {
|
|
|
144
171
|
PackageManager: () => PackageManager,
|
|
145
172
|
PackageSortBy: () => PackageSortBy,
|
|
146
173
|
PackageType: () => PackageType,
|
|
174
|
+
PeriodicScanFrequency: () => PeriodicScanFrequency,
|
|
175
|
+
ProjectSelectionScope: () => ProjectSelectionScope,
|
|
147
176
|
RelationshipStatus: () => RelationshipStatus,
|
|
148
177
|
ReportFormat: () => ReportFormat,
|
|
149
178
|
ReportingErrorCode: () => ReportingErrorCode,
|
|
@@ -154,6 +183,7 @@ __export(index_exports, {
|
|
|
154
183
|
ResourceScanType: () => ResourceScanType,
|
|
155
184
|
ResourceStringComparison: () => ResourceStringComparison,
|
|
156
185
|
ResourceType: () => ResourceType,
|
|
186
|
+
RuleSetCategory: () => RuleSetCategory,
|
|
157
187
|
Runtime: () => Runtime,
|
|
158
188
|
SbomReportFormat: () => SbomReportFormat,
|
|
159
189
|
ScanMode: () => ScanMode,
|
|
@@ -170,6 +200,7 @@ __export(index_exports, {
|
|
|
170
200
|
SortField: () => SortField,
|
|
171
201
|
SortOrder: () => SortOrder,
|
|
172
202
|
StartCisSessionCommand: () => StartCisSessionCommand,
|
|
203
|
+
StartCodeSecurityScanCommand: () => StartCodeSecurityScanCommand,
|
|
173
204
|
Status: () => Status,
|
|
174
205
|
StopCisSessionCommand: () => StopCisSessionCommand,
|
|
175
206
|
StopCisSessionStatus: () => StopCisSessionStatus,
|
|
@@ -180,10 +211,17 @@ __export(index_exports, {
|
|
|
180
211
|
TitleSortBy: () => TitleSortBy,
|
|
181
212
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
182
213
|
UpdateCisScanConfigurationCommand: () => UpdateCisScanConfigurationCommand,
|
|
214
|
+
UpdateCodeSecurityIntegrationCommand: () => UpdateCodeSecurityIntegrationCommand,
|
|
215
|
+
UpdateCodeSecurityIntegrationRequestFilterSensitiveLog: () => UpdateCodeSecurityIntegrationRequestFilterSensitiveLog,
|
|
216
|
+
UpdateCodeSecurityScanConfigurationCommand: () => UpdateCodeSecurityScanConfigurationCommand,
|
|
183
217
|
UpdateConfigurationCommand: () => UpdateConfigurationCommand,
|
|
184
218
|
UpdateEc2DeepInspectionConfigurationCommand: () => UpdateEc2DeepInspectionConfigurationCommand,
|
|
185
219
|
UpdateEncryptionKeyCommand: () => UpdateEncryptionKeyCommand,
|
|
186
220
|
UpdateFilterCommand: () => UpdateFilterCommand,
|
|
221
|
+
UpdateGitHubIntegrationDetailFilterSensitiveLog: () => UpdateGitHubIntegrationDetailFilterSensitiveLog,
|
|
222
|
+
UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog: () => UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog,
|
|
223
|
+
UpdateIntegrationDetails: () => UpdateIntegrationDetails,
|
|
224
|
+
UpdateIntegrationDetailsFilterSensitiveLog: () => UpdateIntegrationDetailsFilterSensitiveLog,
|
|
187
225
|
UpdateOrgEc2DeepInspectionConfigurationCommand: () => UpdateOrgEc2DeepInspectionConfigurationCommand,
|
|
188
226
|
UpdateOrganizationConfigurationCommand: () => UpdateOrganizationConfigurationCommand,
|
|
189
227
|
UsageType: () => UsageType,
|
|
@@ -381,6 +419,7 @@ var Inspector2ServiceException = class _Inspector2ServiceException extends impor
|
|
|
381
419
|
};
|
|
382
420
|
|
|
383
421
|
// src/models/models_0.ts
|
|
422
|
+
|
|
384
423
|
var AccessDeniedException = class _AccessDeniedException extends Inspector2ServiceException {
|
|
385
424
|
static {
|
|
386
425
|
__name(this, "AccessDeniedException");
|
|
@@ -465,6 +504,11 @@ var AwsEcrContainerSortBy = {
|
|
|
465
504
|
CRITICAL: "CRITICAL",
|
|
466
505
|
HIGH: "HIGH"
|
|
467
506
|
};
|
|
507
|
+
var CodeRepositorySortBy = {
|
|
508
|
+
ALL: "ALL",
|
|
509
|
+
CRITICAL: "CRITICAL",
|
|
510
|
+
HIGH: "HIGH"
|
|
511
|
+
};
|
|
468
512
|
var MapComparison = {
|
|
469
513
|
EQUALS: "EQUALS"
|
|
470
514
|
};
|
|
@@ -526,6 +570,8 @@ var AggregationRequest;
|
|
|
526
570
|
if (value.lambdaLayerAggregation !== void 0) return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
|
|
527
571
|
if (value.lambdaFunctionAggregation !== void 0)
|
|
528
572
|
return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
|
|
573
|
+
if (value.codeRepositoryAggregation !== void 0)
|
|
574
|
+
return visitor.codeRepositoryAggregation(value.codeRepositoryAggregation);
|
|
529
575
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
530
576
|
}, "visit");
|
|
531
577
|
})(AggregationRequest || (AggregationRequest = {}));
|
|
@@ -545,6 +591,8 @@ var AggregationResponse;
|
|
|
545
591
|
if (value.lambdaLayerAggregation !== void 0) return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
|
|
546
592
|
if (value.lambdaFunctionAggregation !== void 0)
|
|
547
593
|
return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
|
|
594
|
+
if (value.codeRepositoryAggregation !== void 0)
|
|
595
|
+
return visitor.codeRepositoryAggregation(value.codeRepositoryAggregation);
|
|
548
596
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
549
597
|
}, "visit");
|
|
550
598
|
})(AggregationResponse || (AggregationResponse = {}));
|
|
@@ -554,6 +602,7 @@ var AggregationType = {
|
|
|
554
602
|
AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
|
|
555
603
|
AWS_ECR_CONTAINER: "AWS_ECR_CONTAINER",
|
|
556
604
|
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
|
|
605
|
+
CODE_REPOSITORY: "CODE_REPOSITORY",
|
|
557
606
|
FINDING_TYPE: "FINDING_TYPE",
|
|
558
607
|
IMAGE_LAYER: "IMAGE_LAYER",
|
|
559
608
|
LAMBDA_LAYER: "LAMBDA_LAYER",
|
|
@@ -565,6 +614,13 @@ var Architecture = {
|
|
|
565
614
|
ARM64: "ARM64",
|
|
566
615
|
X86_64: "X86_64"
|
|
567
616
|
};
|
|
617
|
+
var CodeSecurityResource;
|
|
618
|
+
((CodeSecurityResource3) => {
|
|
619
|
+
CodeSecurityResource3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
620
|
+
if (value.projectId !== void 0) return visitor.projectId(value.projectId);
|
|
621
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
622
|
+
}, "visit");
|
|
623
|
+
})(CodeSecurityResource || (CodeSecurityResource = {}));
|
|
568
624
|
var InternalServerException = class _InternalServerException extends Inspector2ServiceException {
|
|
569
625
|
static {
|
|
570
626
|
__name(this, "InternalServerException");
|
|
@@ -676,6 +732,14 @@ var ValidationException = class _ValidationException extends Inspector2ServiceEx
|
|
|
676
732
|
this.fields = opts.fields;
|
|
677
733
|
}
|
|
678
734
|
};
|
|
735
|
+
var AssociationResultStatusCode = {
|
|
736
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
737
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
738
|
+
INVALID_INPUT: "INVALID_INPUT",
|
|
739
|
+
QUOTA_EXCEEDED: "QUOTA_EXCEEDED",
|
|
740
|
+
RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
|
|
741
|
+
SCAN_CONFIGURATION_NOT_FOUND: "SCAN_CONFIGURATION_NOT_FOUND"
|
|
742
|
+
};
|
|
679
743
|
var PackageType = {
|
|
680
744
|
IMAGE: "IMAGE",
|
|
681
745
|
ZIP: "ZIP"
|
|
@@ -721,6 +785,36 @@ var BadRequestException = class _BadRequestException extends Inspector2ServiceEx
|
|
|
721
785
|
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
722
786
|
}
|
|
723
787
|
};
|
|
788
|
+
var ConflictException = class _ConflictException extends Inspector2ServiceException {
|
|
789
|
+
static {
|
|
790
|
+
__name(this, "ConflictException");
|
|
791
|
+
}
|
|
792
|
+
name = "ConflictException";
|
|
793
|
+
$fault = "client";
|
|
794
|
+
/**
|
|
795
|
+
* The ID of the conflicting resource.
|
|
796
|
+
* @public
|
|
797
|
+
*/
|
|
798
|
+
resourceId;
|
|
799
|
+
/**
|
|
800
|
+
* The type of the conflicting resource.
|
|
801
|
+
* @public
|
|
802
|
+
*/
|
|
803
|
+
resourceType;
|
|
804
|
+
/**
|
|
805
|
+
* @internal
|
|
806
|
+
*/
|
|
807
|
+
constructor(opts) {
|
|
808
|
+
super({
|
|
809
|
+
name: "ConflictException",
|
|
810
|
+
$fault: "client",
|
|
811
|
+
...opts
|
|
812
|
+
});
|
|
813
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
814
|
+
this.resourceId = opts.resourceId;
|
|
815
|
+
this.resourceType = opts.resourceType;
|
|
816
|
+
}
|
|
817
|
+
};
|
|
724
818
|
var ResourceNotFoundException = class _ResourceNotFoundException extends Inspector2ServiceException {
|
|
725
819
|
static {
|
|
726
820
|
__name(this, "ResourceNotFoundException");
|
|
@@ -756,6 +850,7 @@ var FreeTrialStatus = {
|
|
|
756
850
|
INACTIVE: "INACTIVE"
|
|
757
851
|
};
|
|
758
852
|
var FreeTrialType = {
|
|
853
|
+
CODE_REPOSITORY: "CODE_REPOSITORY",
|
|
759
854
|
EC2: "EC2",
|
|
760
855
|
ECR: "ECR",
|
|
761
856
|
LAMBDA: "LAMBDA",
|
|
@@ -891,35 +986,85 @@ var ClusterMetadata;
|
|
|
891
986
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
892
987
|
}, "visit");
|
|
893
988
|
})(ClusterMetadata || (ClusterMetadata = {}));
|
|
894
|
-
var
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
989
|
+
var CodeRepositoryProviderType = {
|
|
990
|
+
GITHUB: "GITHUB",
|
|
991
|
+
GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED"
|
|
992
|
+
};
|
|
993
|
+
var ScanStatusReason = {
|
|
994
|
+
ACCESS_DENIED: "ACCESS_DENIED",
|
|
995
|
+
ACCESS_DENIED_TO_ENCRYPTION_KEY: "ACCESS_DENIED_TO_ENCRYPTION_KEY",
|
|
996
|
+
AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED",
|
|
997
|
+
AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED",
|
|
998
|
+
DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED: "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED",
|
|
999
|
+
DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED: "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED",
|
|
1000
|
+
DEEP_INSPECTION_NO_INVENTORY: "DEEP_INSPECTION_NO_INVENTORY",
|
|
1001
|
+
DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED",
|
|
1002
|
+
EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED",
|
|
1003
|
+
EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG",
|
|
1004
|
+
IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED",
|
|
1005
|
+
INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST",
|
|
1006
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
1007
|
+
NO_INVENTORY: "NO_INVENTORY",
|
|
1008
|
+
NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND",
|
|
1009
|
+
NO_SCAN_CONFIGURATION_ASSOCIATED: "NO_SCAN_CONFIGURATION_ASSOCIATED",
|
|
1010
|
+
PENDING_DISABLE: "PENDING_DISABLE",
|
|
1011
|
+
PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN",
|
|
1012
|
+
PENDING_REVIVAL_SCAN: "PENDING_REVIVAL_SCAN",
|
|
1013
|
+
RESOURCE_TERMINATED: "RESOURCE_TERMINATED",
|
|
1014
|
+
SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
|
|
1015
|
+
SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL",
|
|
1016
|
+
SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH",
|
|
1017
|
+
SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS",
|
|
1018
|
+
STALE_INVENTORY: "STALE_INVENTORY",
|
|
1019
|
+
SUCCESSFUL: "SUCCESSFUL",
|
|
1020
|
+
UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE",
|
|
1021
|
+
UNSUPPORTED_CONFIG_FILE: "UNSUPPORTED_CONFIG_FILE",
|
|
1022
|
+
UNSUPPORTED_LANGUAGE: "UNSUPPORTED_LANGUAGE",
|
|
1023
|
+
UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE",
|
|
1024
|
+
UNSUPPORTED_OS: "UNSUPPORTED_OS",
|
|
1025
|
+
UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME"
|
|
1026
|
+
};
|
|
1027
|
+
var ScanStatusCode = {
|
|
1028
|
+
ACTIVE: "ACTIVE",
|
|
1029
|
+
INACTIVE: "INACTIVE"
|
|
1030
|
+
};
|
|
1031
|
+
var RuleSetCategory = {
|
|
1032
|
+
IAC: "IAC",
|
|
1033
|
+
SAST: "SAST",
|
|
1034
|
+
SCA: "SCA"
|
|
1035
|
+
};
|
|
1036
|
+
var ContinuousIntegrationScanEvent = {
|
|
1037
|
+
PULL_REQUEST: "PULL_REQUEST",
|
|
1038
|
+
PUSH: "PUSH"
|
|
1039
|
+
};
|
|
1040
|
+
var CodeScanStatus = {
|
|
1041
|
+
FAILED: "FAILED",
|
|
1042
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1043
|
+
SKIPPED: "SKIPPED",
|
|
1044
|
+
SUCCESSFUL: "SUCCESSFUL"
|
|
1045
|
+
};
|
|
1046
|
+
var IntegrationStatus = {
|
|
1047
|
+
ACTIVE: "ACTIVE",
|
|
1048
|
+
DISABLING: "DISABLING",
|
|
1049
|
+
INACTIVE: "INACTIVE",
|
|
1050
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
1051
|
+
PENDING: "PENDING"
|
|
1052
|
+
};
|
|
1053
|
+
var IntegrationType = {
|
|
1054
|
+
GITHUB: "GITHUB",
|
|
1055
|
+
GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED"
|
|
1056
|
+
};
|
|
1057
|
+
var PeriodicScanFrequency = {
|
|
1058
|
+
MONTHLY: "MONTHLY",
|
|
1059
|
+
NEVER: "NEVER",
|
|
1060
|
+
WEEKLY: "WEEKLY"
|
|
1061
|
+
};
|
|
1062
|
+
var ProjectSelectionScope = {
|
|
1063
|
+
ALL: "ALL"
|
|
1064
|
+
};
|
|
1065
|
+
var ConfigurationLevel = {
|
|
1066
|
+
ACCOUNT: "ACCOUNT",
|
|
1067
|
+
ORGANIZATION: "ORGANIZATION"
|
|
923
1068
|
};
|
|
924
1069
|
var GroupKey = {
|
|
925
1070
|
ACCOUNT_ID: "ACCOUNT_ID",
|
|
@@ -939,7 +1084,8 @@ var CoverageResourceType = {
|
|
|
939
1084
|
AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
|
|
940
1085
|
AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
|
|
941
1086
|
AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
|
|
942
|
-
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION"
|
|
1087
|
+
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
|
|
1088
|
+
CODE_REPOSITORY: "CODE_REPOSITORY"
|
|
943
1089
|
};
|
|
944
1090
|
var Ec2Platform = {
|
|
945
1091
|
LINUX: "LINUX",
|
|
@@ -956,44 +1102,18 @@ var ScanMode = {
|
|
|
956
1102
|
EC2_AGENTLESS: "EC2_AGENTLESS",
|
|
957
1103
|
EC2_SSM_AGENT_BASED: "EC2_SSM_AGENT_BASED"
|
|
958
1104
|
};
|
|
959
|
-
var ScanStatusReason = {
|
|
960
|
-
ACCESS_DENIED: "ACCESS_DENIED",
|
|
961
|
-
AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED",
|
|
962
|
-
AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED: "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED",
|
|
963
|
-
DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED: "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED",
|
|
964
|
-
DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED: "DEEP_INSPECTION_DAILY_SSM_INVENTORY_LIMIT_EXCEEDED",
|
|
965
|
-
DEEP_INSPECTION_NO_INVENTORY: "DEEP_INSPECTION_NO_INVENTORY",
|
|
966
|
-
DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED",
|
|
967
|
-
EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED",
|
|
968
|
-
EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG",
|
|
969
|
-
IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED",
|
|
970
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
971
|
-
NO_INVENTORY: "NO_INVENTORY",
|
|
972
|
-
NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND",
|
|
973
|
-
PENDING_DISABLE: "PENDING_DISABLE",
|
|
974
|
-
PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN",
|
|
975
|
-
PENDING_REVIVAL_SCAN: "PENDING_REVIVAL_SCAN",
|
|
976
|
-
RESOURCE_TERMINATED: "RESOURCE_TERMINATED",
|
|
977
|
-
SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
|
|
978
|
-
SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL",
|
|
979
|
-
SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH",
|
|
980
|
-
STALE_INVENTORY: "STALE_INVENTORY",
|
|
981
|
-
SUCCESSFUL: "SUCCESSFUL",
|
|
982
|
-
UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE",
|
|
983
|
-
UNSUPPORTED_CONFIG_FILE: "UNSUPPORTED_CONFIG_FILE",
|
|
984
|
-
UNSUPPORTED_MEDIA_TYPE: "UNSUPPORTED_MEDIA_TYPE",
|
|
985
|
-
UNSUPPORTED_OS: "UNSUPPORTED_OS",
|
|
986
|
-
UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME"
|
|
987
|
-
};
|
|
988
|
-
var ScanStatusCode = {
|
|
989
|
-
ACTIVE: "ACTIVE",
|
|
990
|
-
INACTIVE: "INACTIVE"
|
|
991
|
-
};
|
|
992
1105
|
var ScanType = {
|
|
993
1106
|
CODE: "CODE",
|
|
994
1107
|
NETWORK: "NETWORK",
|
|
995
1108
|
PACKAGE: "PACKAGE"
|
|
996
1109
|
};
|
|
1110
|
+
var CreateIntegrationDetail;
|
|
1111
|
+
((CreateIntegrationDetail3) => {
|
|
1112
|
+
CreateIntegrationDetail3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
1113
|
+
if (value.gitlabSelfManaged !== void 0) return visitor.gitlabSelfManaged(value.gitlabSelfManaged);
|
|
1114
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1115
|
+
}, "visit");
|
|
1116
|
+
})(CreateIntegrationDetail || (CreateIntegrationDetail = {}));
|
|
997
1117
|
var FilterAction = {
|
|
998
1118
|
NONE: "NONE",
|
|
999
1119
|
SUPPRESS: "SUPPRESS"
|
|
@@ -1035,6 +1155,7 @@ var DelegatedAdminStatus = {
|
|
|
1035
1155
|
ENABLED: "ENABLED"
|
|
1036
1156
|
};
|
|
1037
1157
|
var ResourceScanType = {
|
|
1158
|
+
CODE_REPOSITORY: "CODE_REPOSITORY",
|
|
1038
1159
|
EC2: "EC2",
|
|
1039
1160
|
ECR: "ECR",
|
|
1040
1161
|
LAMBDA: "LAMBDA",
|
|
@@ -1072,77 +1193,24 @@ var EcrRescanDurationStatus = {
|
|
|
1072
1193
|
PENDING: "PENDING",
|
|
1073
1194
|
SUCCESS: "SUCCESS"
|
|
1074
1195
|
};
|
|
1075
|
-
var
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
};
|
|
1085
|
-
var
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
};
|
|
1094
|
-
var PackageManager = {
|
|
1095
|
-
BUNDLER: "BUNDLER",
|
|
1096
|
-
CARGO: "CARGO",
|
|
1097
|
-
COMPOSER: "COMPOSER",
|
|
1098
|
-
DOTNET_CORE: "DOTNET_CORE",
|
|
1099
|
-
GEMSPEC: "GEMSPEC",
|
|
1100
|
-
GOBINARY: "GOBINARY",
|
|
1101
|
-
GOMOD: "GOMOD",
|
|
1102
|
-
JAR: "JAR",
|
|
1103
|
-
NODEPKG: "NODEPKG",
|
|
1104
|
-
NPM: "NPM",
|
|
1105
|
-
NUGET: "NUGET",
|
|
1106
|
-
OS: "OS",
|
|
1107
|
-
PIP: "PIP",
|
|
1108
|
-
PIPENV: "PIPENV",
|
|
1109
|
-
POETRY: "POETRY",
|
|
1110
|
-
POM: "POM",
|
|
1111
|
-
PYTHONPKG: "PYTHONPKG",
|
|
1112
|
-
YARN: "YARN"
|
|
1113
|
-
};
|
|
1114
|
-
var ResourceType = {
|
|
1115
|
-
AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
|
|
1116
|
-
AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
|
|
1117
|
-
AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
|
|
1118
|
-
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION"
|
|
1119
|
-
};
|
|
1120
|
-
var Severity = {
|
|
1121
|
-
CRITICAL: "CRITICAL",
|
|
1122
|
-
HIGH: "HIGH",
|
|
1123
|
-
INFORMATIONAL: "INFORMATIONAL",
|
|
1124
|
-
LOW: "LOW",
|
|
1125
|
-
MEDIUM: "MEDIUM",
|
|
1126
|
-
UNTRIAGED: "UNTRIAGED"
|
|
1127
|
-
};
|
|
1128
|
-
var FindingStatus = {
|
|
1129
|
-
ACTIVE: "ACTIVE",
|
|
1130
|
-
CLOSED: "CLOSED",
|
|
1131
|
-
SUPPRESSED: "SUPPRESSED"
|
|
1132
|
-
};
|
|
1133
|
-
var FindingType = {
|
|
1134
|
-
CODE_VULNERABILITY: "CODE_VULNERABILITY",
|
|
1135
|
-
NETWORK_REACHABILITY: "NETWORK_REACHABILITY",
|
|
1136
|
-
PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY"
|
|
1137
|
-
};
|
|
1138
|
-
var ReportingErrorCode = {
|
|
1139
|
-
BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND",
|
|
1140
|
-
INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION",
|
|
1141
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
1142
|
-
INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
|
|
1143
|
-
MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY",
|
|
1144
|
-
NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND"
|
|
1145
|
-
};
|
|
1196
|
+
var CreateGitLabSelfManagedIntegrationDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1197
|
+
...obj,
|
|
1198
|
+
...obj.instanceUrl && { instanceUrl: import_smithy_client.SENSITIVE_STRING },
|
|
1199
|
+
...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }
|
|
1200
|
+
}), "CreateGitLabSelfManagedIntegrationDetailFilterSensitiveLog");
|
|
1201
|
+
var CreateIntegrationDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1202
|
+
if (obj.gitlabSelfManaged !== void 0)
|
|
1203
|
+
return { gitlabSelfManaged: CreateGitLabSelfManagedIntegrationDetailFilterSensitiveLog(obj.gitlabSelfManaged) };
|
|
1204
|
+
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1205
|
+
}, "CreateIntegrationDetailFilterSensitiveLog");
|
|
1206
|
+
var CreateCodeSecurityIntegrationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1207
|
+
...obj,
|
|
1208
|
+
...obj.details && { details: CreateIntegrationDetailFilterSensitiveLog(obj.details) }
|
|
1209
|
+
}), "CreateCodeSecurityIntegrationRequestFilterSensitiveLog");
|
|
1210
|
+
var CreateCodeSecurityIntegrationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1211
|
+
...obj,
|
|
1212
|
+
...obj.authorizationUrl && { authorizationUrl: import_smithy_client.SENSITIVE_STRING }
|
|
1213
|
+
}), "CreateCodeSecurityIntegrationResponseFilterSensitiveLog");
|
|
1146
1214
|
|
|
1147
1215
|
// src/protocols/Aws_restJson1.ts
|
|
1148
1216
|
var se_AssociateMemberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1160,6 +1228,36 @@ var se_AssociateMemberCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1160
1228
|
b.m("POST").h(headers).b(body);
|
|
1161
1229
|
return b.build();
|
|
1162
1230
|
}, "se_AssociateMemberCommand");
|
|
1231
|
+
var se_BatchAssociateCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1232
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1233
|
+
const headers = {
|
|
1234
|
+
"content-type": "application/json"
|
|
1235
|
+
};
|
|
1236
|
+
b.bp("/codesecurity/scan-configuration/batch/associate");
|
|
1237
|
+
let body;
|
|
1238
|
+
body = JSON.stringify(
|
|
1239
|
+
(0, import_smithy_client.take)(input, {
|
|
1240
|
+
associateConfigurationRequests: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "associateConfigurationRequests")
|
|
1241
|
+
})
|
|
1242
|
+
);
|
|
1243
|
+
b.m("POST").h(headers).b(body);
|
|
1244
|
+
return b.build();
|
|
1245
|
+
}, "se_BatchAssociateCodeSecurityScanConfigurationCommand");
|
|
1246
|
+
var se_BatchDisassociateCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1247
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1248
|
+
const headers = {
|
|
1249
|
+
"content-type": "application/json"
|
|
1250
|
+
};
|
|
1251
|
+
b.bp("/codesecurity/scan-configuration/batch/disassociate");
|
|
1252
|
+
let body;
|
|
1253
|
+
body = JSON.stringify(
|
|
1254
|
+
(0, import_smithy_client.take)(input, {
|
|
1255
|
+
disassociateConfigurationRequests: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "disassociateConfigurationRequests")
|
|
1256
|
+
})
|
|
1257
|
+
);
|
|
1258
|
+
b.m("POST").h(headers).b(body);
|
|
1259
|
+
return b.build();
|
|
1260
|
+
}, "se_BatchDisassociateCodeSecurityScanConfigurationCommand");
|
|
1163
1261
|
var se_BatchGetAccountStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1164
1262
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1165
1263
|
const headers = {
|
|
@@ -1299,27 +1397,64 @@ var se_CreateCisScanConfigurationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1299
1397
|
b.m("POST").h(headers).b(body);
|
|
1300
1398
|
return b.build();
|
|
1301
1399
|
}, "se_CreateCisScanConfigurationCommand");
|
|
1302
|
-
var
|
|
1400
|
+
var se_CreateCodeSecurityIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1303
1401
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1304
1402
|
const headers = {
|
|
1305
1403
|
"content-type": "application/json"
|
|
1306
1404
|
};
|
|
1307
|
-
b.bp("/
|
|
1405
|
+
b.bp("/codesecurity/integration/create");
|
|
1308
1406
|
let body;
|
|
1309
1407
|
body = JSON.stringify(
|
|
1310
1408
|
(0, import_smithy_client.take)(input, {
|
|
1311
|
-
|
|
1312
|
-
description: [],
|
|
1313
|
-
filterCriteria: /* @__PURE__ */ __name((_) => se_FilterCriteria(_, context), "filterCriteria"),
|
|
1409
|
+
details: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "details"),
|
|
1314
1410
|
name: [],
|
|
1315
|
-
|
|
1316
|
-
|
|
1411
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
1412
|
+
type: []
|
|
1317
1413
|
})
|
|
1318
1414
|
);
|
|
1319
1415
|
b.m("POST").h(headers).b(body);
|
|
1320
1416
|
return b.build();
|
|
1321
|
-
}, "
|
|
1322
|
-
var
|
|
1417
|
+
}, "se_CreateCodeSecurityIntegrationCommand");
|
|
1418
|
+
var se_CreateCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1419
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1420
|
+
const headers = {
|
|
1421
|
+
"content-type": "application/json"
|
|
1422
|
+
};
|
|
1423
|
+
b.bp("/codesecurity/scan-configuration/create");
|
|
1424
|
+
let body;
|
|
1425
|
+
body = JSON.stringify(
|
|
1426
|
+
(0, import_smithy_client.take)(input, {
|
|
1427
|
+
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration"),
|
|
1428
|
+
level: [],
|
|
1429
|
+
name: [],
|
|
1430
|
+
scopeSettings: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "scopeSettings"),
|
|
1431
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1432
|
+
})
|
|
1433
|
+
);
|
|
1434
|
+
b.m("POST").h(headers).b(body);
|
|
1435
|
+
return b.build();
|
|
1436
|
+
}, "se_CreateCodeSecurityScanConfigurationCommand");
|
|
1437
|
+
var se_CreateFilterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1438
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1439
|
+
const headers = {
|
|
1440
|
+
"content-type": "application/json"
|
|
1441
|
+
};
|
|
1442
|
+
b.bp("/filters/create");
|
|
1443
|
+
let body;
|
|
1444
|
+
body = JSON.stringify(
|
|
1445
|
+
(0, import_smithy_client.take)(input, {
|
|
1446
|
+
action: [],
|
|
1447
|
+
description: [],
|
|
1448
|
+
filterCriteria: /* @__PURE__ */ __name((_) => se_FilterCriteria(_, context), "filterCriteria"),
|
|
1449
|
+
name: [],
|
|
1450
|
+
reason: [],
|
|
1451
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1452
|
+
})
|
|
1453
|
+
);
|
|
1454
|
+
b.m("POST").h(headers).b(body);
|
|
1455
|
+
return b.build();
|
|
1456
|
+
}, "se_CreateFilterCommand");
|
|
1457
|
+
var se_CreateFindingsReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1323
1458
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1324
1459
|
const headers = {
|
|
1325
1460
|
"content-type": "application/json"
|
|
@@ -1368,6 +1503,36 @@ var se_DeleteCisScanConfigurationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1368
1503
|
b.m("POST").h(headers).b(body);
|
|
1369
1504
|
return b.build();
|
|
1370
1505
|
}, "se_DeleteCisScanConfigurationCommand");
|
|
1506
|
+
var se_DeleteCodeSecurityIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1507
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1508
|
+
const headers = {
|
|
1509
|
+
"content-type": "application/json"
|
|
1510
|
+
};
|
|
1511
|
+
b.bp("/codesecurity/integration/delete");
|
|
1512
|
+
let body;
|
|
1513
|
+
body = JSON.stringify(
|
|
1514
|
+
(0, import_smithy_client.take)(input, {
|
|
1515
|
+
integrationArn: []
|
|
1516
|
+
})
|
|
1517
|
+
);
|
|
1518
|
+
b.m("POST").h(headers).b(body);
|
|
1519
|
+
return b.build();
|
|
1520
|
+
}, "se_DeleteCodeSecurityIntegrationCommand");
|
|
1521
|
+
var se_DeleteCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1522
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1523
|
+
const headers = {
|
|
1524
|
+
"content-type": "application/json"
|
|
1525
|
+
};
|
|
1526
|
+
b.bp("/codesecurity/scan-configuration/delete");
|
|
1527
|
+
let body;
|
|
1528
|
+
body = JSON.stringify(
|
|
1529
|
+
(0, import_smithy_client.take)(input, {
|
|
1530
|
+
scanConfigurationArn: []
|
|
1531
|
+
})
|
|
1532
|
+
);
|
|
1533
|
+
b.m("POST").h(headers).b(body);
|
|
1534
|
+
return b.build();
|
|
1535
|
+
}, "se_DeleteCodeSecurityScanConfigurationCommand");
|
|
1371
1536
|
var se_DeleteFilterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1372
1537
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1373
1538
|
const headers = {
|
|
@@ -1526,6 +1691,53 @@ var se_GetClustersForImageCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1526
1691
|
b.m("POST").h(headers).b(body);
|
|
1527
1692
|
return b.build();
|
|
1528
1693
|
}, "se_GetClustersForImageCommand");
|
|
1694
|
+
var se_GetCodeSecurityIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1695
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1696
|
+
const headers = {
|
|
1697
|
+
"content-type": "application/json"
|
|
1698
|
+
};
|
|
1699
|
+
b.bp("/codesecurity/integration/get");
|
|
1700
|
+
let body;
|
|
1701
|
+
body = JSON.stringify(
|
|
1702
|
+
(0, import_smithy_client.take)(input, {
|
|
1703
|
+
integrationArn: [],
|
|
1704
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1705
|
+
})
|
|
1706
|
+
);
|
|
1707
|
+
b.m("POST").h(headers).b(body);
|
|
1708
|
+
return b.build();
|
|
1709
|
+
}, "se_GetCodeSecurityIntegrationCommand");
|
|
1710
|
+
var se_GetCodeSecurityScanCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1711
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1712
|
+
const headers = {
|
|
1713
|
+
"content-type": "application/json"
|
|
1714
|
+
};
|
|
1715
|
+
b.bp("/codesecurity/scan/get");
|
|
1716
|
+
let body;
|
|
1717
|
+
body = JSON.stringify(
|
|
1718
|
+
(0, import_smithy_client.take)(input, {
|
|
1719
|
+
resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resource"),
|
|
1720
|
+
scanId: []
|
|
1721
|
+
})
|
|
1722
|
+
);
|
|
1723
|
+
b.m("POST").h(headers).b(body);
|
|
1724
|
+
return b.build();
|
|
1725
|
+
}, "se_GetCodeSecurityScanCommand");
|
|
1726
|
+
var se_GetCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1727
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1728
|
+
const headers = {
|
|
1729
|
+
"content-type": "application/json"
|
|
1730
|
+
};
|
|
1731
|
+
b.bp("/codesecurity/scan-configuration/get");
|
|
1732
|
+
let body;
|
|
1733
|
+
body = JSON.stringify(
|
|
1734
|
+
(0, import_smithy_client.take)(input, {
|
|
1735
|
+
scanConfigurationArn: []
|
|
1736
|
+
})
|
|
1737
|
+
);
|
|
1738
|
+
b.m("POST").h(headers).b(body);
|
|
1739
|
+
return b.build();
|
|
1740
|
+
}, "se_GetCodeSecurityScanConfigurationCommand");
|
|
1529
1741
|
var se_GetConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1530
1742
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1531
1743
|
const headers = {};
|
|
@@ -1703,6 +1915,49 @@ var se_ListCisScansCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1703
1915
|
b.m("POST").h(headers).b(body);
|
|
1704
1916
|
return b.build();
|
|
1705
1917
|
}, "se_ListCisScansCommand");
|
|
1918
|
+
var se_ListCodeSecurityIntegrationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1919
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1920
|
+
const headers = {};
|
|
1921
|
+
b.bp("/codesecurity/integration/list");
|
|
1922
|
+
const query = (0, import_smithy_client.map)({
|
|
1923
|
+
[_nT]: [, input[_nT]],
|
|
1924
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
1925
|
+
});
|
|
1926
|
+
let body;
|
|
1927
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
1928
|
+
return b.build();
|
|
1929
|
+
}, "se_ListCodeSecurityIntegrationsCommand");
|
|
1930
|
+
var se_ListCodeSecurityScanConfigurationAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1931
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1932
|
+
const headers = {
|
|
1933
|
+
"content-type": "application/json"
|
|
1934
|
+
};
|
|
1935
|
+
b.bp("/codesecurity/scan-configuration/associations/list");
|
|
1936
|
+
const query = (0, import_smithy_client.map)({
|
|
1937
|
+
[_nT]: [, input[_nT]],
|
|
1938
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
1939
|
+
});
|
|
1940
|
+
let body;
|
|
1941
|
+
body = JSON.stringify(
|
|
1942
|
+
(0, import_smithy_client.take)(input, {
|
|
1943
|
+
scanConfigurationArn: []
|
|
1944
|
+
})
|
|
1945
|
+
);
|
|
1946
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
1947
|
+
return b.build();
|
|
1948
|
+
}, "se_ListCodeSecurityScanConfigurationAssociationsCommand");
|
|
1949
|
+
var se_ListCodeSecurityScanConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1950
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1951
|
+
const headers = {};
|
|
1952
|
+
b.bp("/codesecurity/scan-configuration/list");
|
|
1953
|
+
const query = (0, import_smithy_client.map)({
|
|
1954
|
+
[_nT]: [, input[_nT]],
|
|
1955
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
1956
|
+
});
|
|
1957
|
+
let body;
|
|
1958
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
1959
|
+
return b.build();
|
|
1960
|
+
}, "se_ListCodeSecurityScanConfigurationsCommand");
|
|
1706
1961
|
var se_ListCoverageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1707
1962
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1708
1963
|
const headers = {
|
|
@@ -1932,6 +2187,22 @@ var se_StartCisSessionCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1932
2187
|
b.m("PUT").h(headers).b(body);
|
|
1933
2188
|
return b.build();
|
|
1934
2189
|
}, "se_StartCisSessionCommand");
|
|
2190
|
+
var se_StartCodeSecurityScanCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2191
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2192
|
+
const headers = {
|
|
2193
|
+
"content-type": "application/json"
|
|
2194
|
+
};
|
|
2195
|
+
b.bp("/codesecurity/scan/start");
|
|
2196
|
+
let body;
|
|
2197
|
+
body = JSON.stringify(
|
|
2198
|
+
(0, import_smithy_client.take)(input, {
|
|
2199
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2200
|
+
resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "resource")
|
|
2201
|
+
})
|
|
2202
|
+
);
|
|
2203
|
+
b.m("POST").h(headers).b(body);
|
|
2204
|
+
return b.build();
|
|
2205
|
+
}, "se_StartCodeSecurityScanCommand");
|
|
1935
2206
|
var se_StopCisSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1936
2207
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1937
2208
|
const headers = {
|
|
@@ -1996,6 +2267,38 @@ var se_UpdateCisScanConfigurationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1996
2267
|
b.m("POST").h(headers).b(body);
|
|
1997
2268
|
return b.build();
|
|
1998
2269
|
}, "se_UpdateCisScanConfigurationCommand");
|
|
2270
|
+
var se_UpdateCodeSecurityIntegrationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2271
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2272
|
+
const headers = {
|
|
2273
|
+
"content-type": "application/json"
|
|
2274
|
+
};
|
|
2275
|
+
b.bp("/codesecurity/integration/update");
|
|
2276
|
+
let body;
|
|
2277
|
+
body = JSON.stringify(
|
|
2278
|
+
(0, import_smithy_client.take)(input, {
|
|
2279
|
+
details: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "details"),
|
|
2280
|
+
integrationArn: []
|
|
2281
|
+
})
|
|
2282
|
+
);
|
|
2283
|
+
b.m("POST").h(headers).b(body);
|
|
2284
|
+
return b.build();
|
|
2285
|
+
}, "se_UpdateCodeSecurityIntegrationCommand");
|
|
2286
|
+
var se_UpdateCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2287
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2288
|
+
const headers = {
|
|
2289
|
+
"content-type": "application/json"
|
|
2290
|
+
};
|
|
2291
|
+
b.bp("/codesecurity/scan-configuration/update");
|
|
2292
|
+
let body;
|
|
2293
|
+
body = JSON.stringify(
|
|
2294
|
+
(0, import_smithy_client.take)(input, {
|
|
2295
|
+
configuration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "configuration"),
|
|
2296
|
+
scanConfigurationArn: []
|
|
2297
|
+
})
|
|
2298
|
+
);
|
|
2299
|
+
b.m("POST").h(headers).b(body);
|
|
2300
|
+
return b.build();
|
|
2301
|
+
}, "se_UpdateCodeSecurityScanConfigurationCommand");
|
|
1999
2302
|
var se_UpdateConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2000
2303
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2001
2304
|
const headers = {
|
|
@@ -2109,6 +2412,36 @@ var de_AssociateMemberCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2109
2412
|
Object.assign(contents, doc);
|
|
2110
2413
|
return contents;
|
|
2111
2414
|
}, "de_AssociateMemberCommand");
|
|
2415
|
+
var de_BatchAssociateCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2416
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2417
|
+
return de_CommandError(output, context);
|
|
2418
|
+
}
|
|
2419
|
+
const contents = (0, import_smithy_client.map)({
|
|
2420
|
+
$metadata: deserializeMetadata(output)
|
|
2421
|
+
});
|
|
2422
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2423
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2424
|
+
failedAssociations: import_smithy_client._json,
|
|
2425
|
+
successfulAssociations: import_smithy_client._json
|
|
2426
|
+
});
|
|
2427
|
+
Object.assign(contents, doc);
|
|
2428
|
+
return contents;
|
|
2429
|
+
}, "de_BatchAssociateCodeSecurityScanConfigurationCommand");
|
|
2430
|
+
var de_BatchDisassociateCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2431
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2432
|
+
return de_CommandError(output, context);
|
|
2433
|
+
}
|
|
2434
|
+
const contents = (0, import_smithy_client.map)({
|
|
2435
|
+
$metadata: deserializeMetadata(output)
|
|
2436
|
+
});
|
|
2437
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2438
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2439
|
+
failedAssociations: import_smithy_client._json,
|
|
2440
|
+
successfulAssociations: import_smithy_client._json
|
|
2441
|
+
});
|
|
2442
|
+
Object.assign(contents, doc);
|
|
2443
|
+
return contents;
|
|
2444
|
+
}, "de_BatchDisassociateCodeSecurityScanConfigurationCommand");
|
|
2112
2445
|
var de_BatchGetAccountStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2113
2446
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2114
2447
|
return de_CommandError(output, context);
|
|
@@ -2241,6 +2574,36 @@ var de_CreateCisScanConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2241
2574
|
Object.assign(contents, doc);
|
|
2242
2575
|
return contents;
|
|
2243
2576
|
}, "de_CreateCisScanConfigurationCommand");
|
|
2577
|
+
var de_CreateCodeSecurityIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2578
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2579
|
+
return de_CommandError(output, context);
|
|
2580
|
+
}
|
|
2581
|
+
const contents = (0, import_smithy_client.map)({
|
|
2582
|
+
$metadata: deserializeMetadata(output)
|
|
2583
|
+
});
|
|
2584
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2585
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2586
|
+
authorizationUrl: import_smithy_client.expectString,
|
|
2587
|
+
integrationArn: import_smithy_client.expectString,
|
|
2588
|
+
status: import_smithy_client.expectString
|
|
2589
|
+
});
|
|
2590
|
+
Object.assign(contents, doc);
|
|
2591
|
+
return contents;
|
|
2592
|
+
}, "de_CreateCodeSecurityIntegrationCommand");
|
|
2593
|
+
var de_CreateCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2594
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2595
|
+
return de_CommandError(output, context);
|
|
2596
|
+
}
|
|
2597
|
+
const contents = (0, import_smithy_client.map)({
|
|
2598
|
+
$metadata: deserializeMetadata(output)
|
|
2599
|
+
});
|
|
2600
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2601
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2602
|
+
scanConfigurationArn: import_smithy_client.expectString
|
|
2603
|
+
});
|
|
2604
|
+
Object.assign(contents, doc);
|
|
2605
|
+
return contents;
|
|
2606
|
+
}, "de_CreateCodeSecurityScanConfigurationCommand");
|
|
2244
2607
|
var de_CreateFilterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2245
2608
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2246
2609
|
return de_CommandError(output, context);
|
|
@@ -2297,6 +2660,34 @@ var de_DeleteCisScanConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2297
2660
|
Object.assign(contents, doc);
|
|
2298
2661
|
return contents;
|
|
2299
2662
|
}, "de_DeleteCisScanConfigurationCommand");
|
|
2663
|
+
var de_DeleteCodeSecurityIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2664
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2665
|
+
return de_CommandError(output, context);
|
|
2666
|
+
}
|
|
2667
|
+
const contents = (0, import_smithy_client.map)({
|
|
2668
|
+
$metadata: deserializeMetadata(output)
|
|
2669
|
+
});
|
|
2670
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2671
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2672
|
+
integrationArn: import_smithy_client.expectString
|
|
2673
|
+
});
|
|
2674
|
+
Object.assign(contents, doc);
|
|
2675
|
+
return contents;
|
|
2676
|
+
}, "de_DeleteCodeSecurityIntegrationCommand");
|
|
2677
|
+
var de_DeleteCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2678
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2679
|
+
return de_CommandError(output, context);
|
|
2680
|
+
}
|
|
2681
|
+
const contents = (0, import_smithy_client.map)({
|
|
2682
|
+
$metadata: deserializeMetadata(output)
|
|
2683
|
+
});
|
|
2684
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2685
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2686
|
+
scanConfigurationArn: import_smithy_client.expectString
|
|
2687
|
+
});
|
|
2688
|
+
Object.assign(contents, doc);
|
|
2689
|
+
return contents;
|
|
2690
|
+
}, "de_DeleteCodeSecurityScanConfigurationCommand");
|
|
2300
2691
|
var de_DeleteFilterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2301
2692
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2302
2693
|
return de_CommandError(output, context);
|
|
@@ -2443,7 +2834,7 @@ var de_GetClustersForImageCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2443
2834
|
Object.assign(contents, doc);
|
|
2444
2835
|
return contents;
|
|
2445
2836
|
}, "de_GetClustersForImageCommand");
|
|
2446
|
-
var
|
|
2837
|
+
var de_GetCodeSecurityIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2447
2838
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2448
2839
|
return de_CommandError(output, context);
|
|
2449
2840
|
}
|
|
@@ -2452,13 +2843,20 @@ var de_GetConfigurationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2452
2843
|
});
|
|
2453
2844
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2454
2845
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2455
|
-
|
|
2456
|
-
|
|
2846
|
+
authorizationUrl: import_smithy_client.expectString,
|
|
2847
|
+
createdOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdOn"),
|
|
2848
|
+
integrationArn: import_smithy_client.expectString,
|
|
2849
|
+
lastUpdateOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdateOn"),
|
|
2850
|
+
name: import_smithy_client.expectString,
|
|
2851
|
+
status: import_smithy_client.expectString,
|
|
2852
|
+
statusReason: import_smithy_client.expectString,
|
|
2853
|
+
tags: import_smithy_client._json,
|
|
2854
|
+
type: import_smithy_client.expectString
|
|
2457
2855
|
});
|
|
2458
2856
|
Object.assign(contents, doc);
|
|
2459
2857
|
return contents;
|
|
2460
|
-
}, "
|
|
2461
|
-
var
|
|
2858
|
+
}, "de_GetCodeSecurityIntegrationCommand");
|
|
2859
|
+
var de_GetCodeSecurityScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2462
2860
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2463
2861
|
return de_CommandError(output, context);
|
|
2464
2862
|
}
|
|
@@ -2467,12 +2865,19 @@ var de_GetDelegatedAdminAccountCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
2467
2865
|
});
|
|
2468
2866
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2469
2867
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2470
|
-
|
|
2868
|
+
accountId: import_smithy_client.expectString,
|
|
2869
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
2870
|
+
lastCommitId: import_smithy_client.expectString,
|
|
2871
|
+
resource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "resource"),
|
|
2872
|
+
scanId: import_smithy_client.expectString,
|
|
2873
|
+
status: import_smithy_client.expectString,
|
|
2874
|
+
statusReason: import_smithy_client.expectString,
|
|
2875
|
+
updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "updatedAt")
|
|
2471
2876
|
});
|
|
2472
2877
|
Object.assign(contents, doc);
|
|
2473
2878
|
return contents;
|
|
2474
|
-
}, "
|
|
2475
|
-
var
|
|
2879
|
+
}, "de_GetCodeSecurityScanCommand");
|
|
2880
|
+
var de_GetCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2476
2881
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2477
2882
|
return de_CommandError(output, context);
|
|
2478
2883
|
}
|
|
@@ -2481,15 +2886,19 @@ var de_GetEc2DeepInspectionConfigurationCommand = /* @__PURE__ */ __name(async (
|
|
|
2481
2886
|
});
|
|
2482
2887
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2483
2888
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2889
|
+
configuration: import_smithy_client._json,
|
|
2890
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
2891
|
+
lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedAt"),
|
|
2892
|
+
level: import_smithy_client.expectString,
|
|
2893
|
+
name: import_smithy_client.expectString,
|
|
2894
|
+
scanConfigurationArn: import_smithy_client.expectString,
|
|
2895
|
+
scopeSettings: import_smithy_client._json,
|
|
2896
|
+
tags: import_smithy_client._json
|
|
2488
2897
|
});
|
|
2489
2898
|
Object.assign(contents, doc);
|
|
2490
2899
|
return contents;
|
|
2491
|
-
}, "
|
|
2492
|
-
var
|
|
2900
|
+
}, "de_GetCodeSecurityScanConfigurationCommand");
|
|
2901
|
+
var de_GetConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2493
2902
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2494
2903
|
return de_CommandError(output, context);
|
|
2495
2904
|
}
|
|
@@ -2498,12 +2907,13 @@ var de_GetEncryptionKeyCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2498
2907
|
});
|
|
2499
2908
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2500
2909
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2501
|
-
|
|
2910
|
+
ec2Configuration: import_smithy_client._json,
|
|
2911
|
+
ecrConfiguration: /* @__PURE__ */ __name((_) => de_EcrConfigurationState(_, context), "ecrConfiguration")
|
|
2502
2912
|
});
|
|
2503
2913
|
Object.assign(contents, doc);
|
|
2504
2914
|
return contents;
|
|
2505
|
-
}, "
|
|
2506
|
-
var
|
|
2915
|
+
}, "de_GetConfigurationCommand");
|
|
2916
|
+
var de_GetDelegatedAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2507
2917
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2508
2918
|
return de_CommandError(output, context);
|
|
2509
2919
|
}
|
|
@@ -2512,7 +2922,52 @@ var de_GetFindingsReportStatusCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2512
2922
|
});
|
|
2513
2923
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2514
2924
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2515
|
-
|
|
2925
|
+
delegatedAdmin: import_smithy_client._json
|
|
2926
|
+
});
|
|
2927
|
+
Object.assign(contents, doc);
|
|
2928
|
+
return contents;
|
|
2929
|
+
}, "de_GetDelegatedAdminAccountCommand");
|
|
2930
|
+
var de_GetEc2DeepInspectionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2931
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2932
|
+
return de_CommandError(output, context);
|
|
2933
|
+
}
|
|
2934
|
+
const contents = (0, import_smithy_client.map)({
|
|
2935
|
+
$metadata: deserializeMetadata(output)
|
|
2936
|
+
});
|
|
2937
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2938
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2939
|
+
errorMessage: import_smithy_client.expectString,
|
|
2940
|
+
orgPackagePaths: import_smithy_client._json,
|
|
2941
|
+
packagePaths: import_smithy_client._json,
|
|
2942
|
+
status: import_smithy_client.expectString
|
|
2943
|
+
});
|
|
2944
|
+
Object.assign(contents, doc);
|
|
2945
|
+
return contents;
|
|
2946
|
+
}, "de_GetEc2DeepInspectionConfigurationCommand");
|
|
2947
|
+
var de_GetEncryptionKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2948
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2949
|
+
return de_CommandError(output, context);
|
|
2950
|
+
}
|
|
2951
|
+
const contents = (0, import_smithy_client.map)({
|
|
2952
|
+
$metadata: deserializeMetadata(output)
|
|
2953
|
+
});
|
|
2954
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2955
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2956
|
+
kmsKeyId: import_smithy_client.expectString
|
|
2957
|
+
});
|
|
2958
|
+
Object.assign(contents, doc);
|
|
2959
|
+
return contents;
|
|
2960
|
+
}, "de_GetEncryptionKeyCommand");
|
|
2961
|
+
var de_GetFindingsReportStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2962
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2963
|
+
return de_CommandError(output, context);
|
|
2964
|
+
}
|
|
2965
|
+
const contents = (0, import_smithy_client.map)({
|
|
2966
|
+
$metadata: deserializeMetadata(output)
|
|
2967
|
+
});
|
|
2968
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2969
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2970
|
+
destination: import_smithy_client._json,
|
|
2516
2971
|
errorCode: import_smithy_client.expectString,
|
|
2517
2972
|
errorMessage: import_smithy_client.expectString,
|
|
2518
2973
|
filterCriteria: /* @__PURE__ */ __name((_) => de_FilterCriteria(_, context), "filterCriteria"),
|
|
@@ -2631,6 +3086,51 @@ var de_ListCisScansCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2631
3086
|
Object.assign(contents, doc);
|
|
2632
3087
|
return contents;
|
|
2633
3088
|
}, "de_ListCisScansCommand");
|
|
3089
|
+
var de_ListCodeSecurityIntegrationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3090
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3091
|
+
return de_CommandError(output, context);
|
|
3092
|
+
}
|
|
3093
|
+
const contents = (0, import_smithy_client.map)({
|
|
3094
|
+
$metadata: deserializeMetadata(output)
|
|
3095
|
+
});
|
|
3096
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3097
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3098
|
+
integrations: /* @__PURE__ */ __name((_) => de_IntegrationSummaries(_, context), "integrations"),
|
|
3099
|
+
nextToken: import_smithy_client.expectString
|
|
3100
|
+
});
|
|
3101
|
+
Object.assign(contents, doc);
|
|
3102
|
+
return contents;
|
|
3103
|
+
}, "de_ListCodeSecurityIntegrationsCommand");
|
|
3104
|
+
var de_ListCodeSecurityScanConfigurationAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3105
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3106
|
+
return de_CommandError(output, context);
|
|
3107
|
+
}
|
|
3108
|
+
const contents = (0, import_smithy_client.map)({
|
|
3109
|
+
$metadata: deserializeMetadata(output)
|
|
3110
|
+
});
|
|
3111
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3112
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3113
|
+
associations: import_smithy_client._json,
|
|
3114
|
+
nextToken: import_smithy_client.expectString
|
|
3115
|
+
});
|
|
3116
|
+
Object.assign(contents, doc);
|
|
3117
|
+
return contents;
|
|
3118
|
+
}, "de_ListCodeSecurityScanConfigurationAssociationsCommand");
|
|
3119
|
+
var de_ListCodeSecurityScanConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3120
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3121
|
+
return de_CommandError(output, context);
|
|
3122
|
+
}
|
|
3123
|
+
const contents = (0, import_smithy_client.map)({
|
|
3124
|
+
$metadata: deserializeMetadata(output)
|
|
3125
|
+
});
|
|
3126
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3127
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3128
|
+
configurations: import_smithy_client._json,
|
|
3129
|
+
nextToken: import_smithy_client.expectString
|
|
3130
|
+
});
|
|
3131
|
+
Object.assign(contents, doc);
|
|
3132
|
+
return contents;
|
|
3133
|
+
}, "de_ListCodeSecurityScanConfigurationsCommand");
|
|
2634
3134
|
var de_ListCoverageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2635
3135
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2636
3136
|
return de_CommandError(output, context);
|
|
@@ -2822,6 +3322,21 @@ var de_StartCisSessionCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2822
3322
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2823
3323
|
return contents;
|
|
2824
3324
|
}, "de_StartCisSessionCommand");
|
|
3325
|
+
var de_StartCodeSecurityScanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3326
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3327
|
+
return de_CommandError(output, context);
|
|
3328
|
+
}
|
|
3329
|
+
const contents = (0, import_smithy_client.map)({
|
|
3330
|
+
$metadata: deserializeMetadata(output)
|
|
3331
|
+
});
|
|
3332
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3333
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3334
|
+
scanId: import_smithy_client.expectString,
|
|
3335
|
+
status: import_smithy_client.expectString
|
|
3336
|
+
});
|
|
3337
|
+
Object.assign(contents, doc);
|
|
3338
|
+
return contents;
|
|
3339
|
+
}, "de_StartCodeSecurityScanCommand");
|
|
2825
3340
|
var de_StopCisSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2826
3341
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2827
3342
|
return de_CommandError(output, context);
|
|
@@ -2866,6 +3381,35 @@ var de_UpdateCisScanConfigurationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2866
3381
|
Object.assign(contents, doc);
|
|
2867
3382
|
return contents;
|
|
2868
3383
|
}, "de_UpdateCisScanConfigurationCommand");
|
|
3384
|
+
var de_UpdateCodeSecurityIntegrationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3385
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3386
|
+
return de_CommandError(output, context);
|
|
3387
|
+
}
|
|
3388
|
+
const contents = (0, import_smithy_client.map)({
|
|
3389
|
+
$metadata: deserializeMetadata(output)
|
|
3390
|
+
});
|
|
3391
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3392
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3393
|
+
integrationArn: import_smithy_client.expectString,
|
|
3394
|
+
status: import_smithy_client.expectString
|
|
3395
|
+
});
|
|
3396
|
+
Object.assign(contents, doc);
|
|
3397
|
+
return contents;
|
|
3398
|
+
}, "de_UpdateCodeSecurityIntegrationCommand");
|
|
3399
|
+
var de_UpdateCodeSecurityScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3400
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3401
|
+
return de_CommandError(output, context);
|
|
3402
|
+
}
|
|
3403
|
+
const contents = (0, import_smithy_client.map)({
|
|
3404
|
+
$metadata: deserializeMetadata(output)
|
|
3405
|
+
});
|
|
3406
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3407
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3408
|
+
scanConfigurationArn: import_smithy_client.expectString
|
|
3409
|
+
});
|
|
3410
|
+
Object.assign(contents, doc);
|
|
3411
|
+
return contents;
|
|
3412
|
+
}, "de_UpdateCodeSecurityScanConfigurationCommand");
|
|
2869
3413
|
var de_UpdateConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2870
3414
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2871
3415
|
return de_CommandError(output, context);
|
|
@@ -2963,15 +3507,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2963
3507
|
case "ValidationException":
|
|
2964
3508
|
case "com.amazonaws.inspector2#ValidationException":
|
|
2965
3509
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3510
|
+
case "ConflictException":
|
|
3511
|
+
case "com.amazonaws.inspector2#ConflictException":
|
|
3512
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2966
3513
|
case "ResourceNotFoundException":
|
|
2967
3514
|
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
2968
3515
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2969
3516
|
case "BadRequestException":
|
|
2970
3517
|
case "com.amazonaws.inspector2#BadRequestException":
|
|
2971
3518
|
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2972
|
-
case "ConflictException":
|
|
2973
|
-
case "com.amazonaws.inspector2#ConflictException":
|
|
2974
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2975
3519
|
default:
|
|
2976
3520
|
const parsedBody = parsedOutput.body;
|
|
2977
3521
|
return throwDefaultError({
|
|
@@ -3102,6 +3646,7 @@ var se_AggregationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
|
3102
3646
|
awsEcrContainerAggregation: /* @__PURE__ */ __name((value) => ({
|
|
3103
3647
|
awsEcrContainerAggregation: se_AwsEcrContainerAggregation(value, context)
|
|
3104
3648
|
}), "awsEcrContainerAggregation"),
|
|
3649
|
+
codeRepositoryAggregation: /* @__PURE__ */ __name((value) => ({ codeRepositoryAggregation: (0, import_smithy_client._json)(value) }), "codeRepositoryAggregation"),
|
|
3105
3650
|
ec2InstanceAggregation: /* @__PURE__ */ __name((value) => ({ ec2InstanceAggregation: (0, import_smithy_client._json)(value) }), "ec2InstanceAggregation"),
|
|
3106
3651
|
findingTypeAggregation: /* @__PURE__ */ __name((value) => ({ findingTypeAggregation: (0, import_smithy_client._json)(value) }), "findingTypeAggregation"),
|
|
3107
3652
|
imageLayerAggregation: /* @__PURE__ */ __name((value) => ({ imageLayerAggregation: (0, import_smithy_client._json)(value) }), "imageLayerAggregation"),
|
|
@@ -3163,6 +3708,9 @@ var se_CoverageDateFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
|
3163
3708
|
var se_CoverageFilterCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
3164
3709
|
return (0, import_smithy_client.take)(input, {
|
|
3165
3710
|
accountId: import_smithy_client._json,
|
|
3711
|
+
codeRepositoryProjectName: import_smithy_client._json,
|
|
3712
|
+
codeRepositoryProviderType: import_smithy_client._json,
|
|
3713
|
+
codeRepositoryProviderTypeVisibility: import_smithy_client._json,
|
|
3166
3714
|
ec2InstanceTags: import_smithy_client._json,
|
|
3167
3715
|
ecrImageInUseCount: import_smithy_client._json,
|
|
3168
3716
|
ecrImageLastInUseAt: /* @__PURE__ */ __name((_) => se_CoverageDateFilterList(_, context), "ecrImageLastInUseAt"),
|
|
@@ -3173,6 +3721,7 @@ var se_CoverageFilterCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
|
3173
3721
|
lambdaFunctionRuntime: import_smithy_client._json,
|
|
3174
3722
|
lambdaFunctionTags: import_smithy_client._json,
|
|
3175
3723
|
lastScannedAt: /* @__PURE__ */ __name((_) => se_CoverageDateFilterList(_, context), "lastScannedAt"),
|
|
3724
|
+
lastScannedCommitId: import_smithy_client._json,
|
|
3176
3725
|
resourceId: import_smithy_client._json,
|
|
3177
3726
|
resourceType: import_smithy_client._json,
|
|
3178
3727
|
scanMode: import_smithy_client._json,
|
|
@@ -3195,6 +3744,8 @@ var se_DateFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
|
3195
3744
|
var se_FilterCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
3196
3745
|
return (0, import_smithy_client.take)(input, {
|
|
3197
3746
|
awsAccountId: import_smithy_client._json,
|
|
3747
|
+
codeRepositoryProjectName: import_smithy_client._json,
|
|
3748
|
+
codeRepositoryProviderType: import_smithy_client._json,
|
|
3198
3749
|
codeVulnerabilityDetectorName: import_smithy_client._json,
|
|
3199
3750
|
codeVulnerabilityDetectorTags: import_smithy_client._json,
|
|
3200
3751
|
codeVulnerabilityFilePath: import_smithy_client._json,
|
|
@@ -3298,6 +3849,11 @@ var de_AggregationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
3298
3849
|
awsEcrContainerAggregation: de_AwsEcrContainerAggregationResponse(output.awsEcrContainerAggregation, context)
|
|
3299
3850
|
};
|
|
3300
3851
|
}
|
|
3852
|
+
if (output.codeRepositoryAggregation != null) {
|
|
3853
|
+
return {
|
|
3854
|
+
codeRepositoryAggregation: (0, import_smithy_client._json)(output.codeRepositoryAggregation)
|
|
3855
|
+
};
|
|
3856
|
+
}
|
|
3301
3857
|
if (output.ec2InstanceAggregation != null) {
|
|
3302
3858
|
return {
|
|
3303
3859
|
ec2InstanceAggregation: (0, import_smithy_client._json)(output.ec2InstanceAggregation)
|
|
@@ -3462,6 +4018,36 @@ var de_ClusterInformationList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3462
4018
|
});
|
|
3463
4019
|
return retVal;
|
|
3464
4020
|
}, "de_ClusterInformationList");
|
|
4021
|
+
var de_CodeRepositoryMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
4022
|
+
return (0, import_smithy_client.take)(output, {
|
|
4023
|
+
integrationArn: import_smithy_client.expectString,
|
|
4024
|
+
lastScannedCommitId: import_smithy_client.expectString,
|
|
4025
|
+
onDemandScan: /* @__PURE__ */ __name((_) => de_CodeRepositoryOnDemandScan(_, context), "onDemandScan"),
|
|
4026
|
+
projectName: import_smithy_client.expectString,
|
|
4027
|
+
providerType: import_smithy_client.expectString,
|
|
4028
|
+
providerTypeVisibility: import_smithy_client.expectString,
|
|
4029
|
+
scanConfiguration: import_smithy_client._json
|
|
4030
|
+
});
|
|
4031
|
+
}, "de_CodeRepositoryMetadata");
|
|
4032
|
+
var de_CodeRepositoryOnDemandScan = /* @__PURE__ */ __name((output, context) => {
|
|
4033
|
+
return (0, import_smithy_client.take)(output, {
|
|
4034
|
+
lastScanAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastScanAt"),
|
|
4035
|
+
lastScannedCommitId: import_smithy_client.expectString,
|
|
4036
|
+
scanStatus: import_smithy_client._json
|
|
4037
|
+
});
|
|
4038
|
+
}, "de_CodeRepositoryOnDemandScan");
|
|
4039
|
+
var de_CodeSecurityIntegrationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
4040
|
+
return (0, import_smithy_client.take)(output, {
|
|
4041
|
+
createdOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdOn"),
|
|
4042
|
+
integrationArn: import_smithy_client.expectString,
|
|
4043
|
+
lastUpdateOn: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdateOn"),
|
|
4044
|
+
name: import_smithy_client.expectString,
|
|
4045
|
+
status: import_smithy_client.expectString,
|
|
4046
|
+
statusReason: import_smithy_client.expectString,
|
|
4047
|
+
tags: import_smithy_client._json,
|
|
4048
|
+
type: import_smithy_client.expectString
|
|
4049
|
+
});
|
|
4050
|
+
}, "de_CodeSecurityIntegrationSummary");
|
|
3465
4051
|
var de_CoveredResource = /* @__PURE__ */ __name((output, context) => {
|
|
3466
4052
|
return (0, import_smithy_client.take)(output, {
|
|
3467
4053
|
accountId: import_smithy_client.expectString,
|
|
@@ -3588,6 +4174,8 @@ var de_Filter = /* @__PURE__ */ __name((output, context) => {
|
|
|
3588
4174
|
var de_FilterCriteria = /* @__PURE__ */ __name((output, context) => {
|
|
3589
4175
|
return (0, import_smithy_client.take)(output, {
|
|
3590
4176
|
awsAccountId: import_smithy_client._json,
|
|
4177
|
+
codeRepositoryProjectName: import_smithy_client._json,
|
|
4178
|
+
codeRepositoryProviderType: import_smithy_client._json,
|
|
3591
4179
|
codeVulnerabilityDetectorName: import_smithy_client._json,
|
|
3592
4180
|
codeVulnerabilityDetectorTags: import_smithy_client._json,
|
|
3593
4181
|
codeVulnerabilityFilePath: import_smithy_client._json,
|
|
@@ -3721,6 +4309,12 @@ var de_InspectorScoreDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
3721
4309
|
adjustedCvss: /* @__PURE__ */ __name((_) => de_CvssScoreDetails(_, context), "adjustedCvss")
|
|
3722
4310
|
});
|
|
3723
4311
|
}, "de_InspectorScoreDetails");
|
|
4312
|
+
var de_IntegrationSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
4313
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4314
|
+
return de_CodeSecurityIntegrationSummary(entry, context);
|
|
4315
|
+
});
|
|
4316
|
+
return retVal;
|
|
4317
|
+
}, "de_IntegrationSummaries");
|
|
3724
4318
|
var de_LambdaFunctionAggregationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
3725
4319
|
return (0, import_smithy_client.take)(output, {
|
|
3726
4320
|
accountId: import_smithy_client.expectString,
|
|
@@ -3804,7 +4398,8 @@ var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
|
3804
4398
|
return (0, import_smithy_client.take)(output, {
|
|
3805
4399
|
awsEc2Instance: /* @__PURE__ */ __name((_) => de_AwsEc2InstanceDetails(_, context), "awsEc2Instance"),
|
|
3806
4400
|
awsEcrContainerImage: /* @__PURE__ */ __name((_) => de_AwsEcrContainerImageDetails(_, context), "awsEcrContainerImage"),
|
|
3807
|
-
awsLambdaFunction: /* @__PURE__ */ __name((_) => de_AwsLambdaFunctionDetails(_, context), "awsLambdaFunction")
|
|
4401
|
+
awsLambdaFunction: /* @__PURE__ */ __name((_) => de_AwsLambdaFunctionDetails(_, context), "awsLambdaFunction"),
|
|
4402
|
+
codeRepository: import_smithy_client._json
|
|
3808
4403
|
});
|
|
3809
4404
|
}, "de_ResourceDetails");
|
|
3810
4405
|
var de_ResourceList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -3815,6 +4410,7 @@ var de_ResourceList = /* @__PURE__ */ __name((output, context) => {
|
|
|
3815
4410
|
}, "de_ResourceList");
|
|
3816
4411
|
var de_ResourceScanMetadata = /* @__PURE__ */ __name((output, context) => {
|
|
3817
4412
|
return (0, import_smithy_client.take)(output, {
|
|
4413
|
+
codeRepository: /* @__PURE__ */ __name((_) => de_CodeRepositoryMetadata(_, context), "codeRepository"),
|
|
3818
4414
|
ec2: import_smithy_client._json,
|
|
3819
4415
|
ecrImage: /* @__PURE__ */ __name((_) => de_EcrContainerImageMetadata(_, context), "ecrImage"),
|
|
3820
4416
|
ecrRepository: import_smithy_client._json,
|
|
@@ -3880,6 +4476,8 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
3880
4476
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3881
4477
|
cfId: output.headers["x-amz-cf-id"]
|
|
3882
4478
|
}), "deserializeMetadata");
|
|
4479
|
+
var _mR = "maxResults";
|
|
4480
|
+
var _nT = "nextToken";
|
|
3883
4481
|
var _rAS = "retryAfterSeconds";
|
|
3884
4482
|
var _rT = "resourceType";
|
|
3885
4483
|
var _ra = "retry-after";
|
|
@@ -3898,6 +4496,36 @@ var AssociateMemberCommand = class extends import_smithy_client.Command.classBui
|
|
|
3898
4496
|
}
|
|
3899
4497
|
};
|
|
3900
4498
|
|
|
4499
|
+
// src/commands/BatchAssociateCodeSecurityScanConfigurationCommand.ts
|
|
4500
|
+
|
|
4501
|
+
|
|
4502
|
+
|
|
4503
|
+
var BatchAssociateCodeSecurityScanConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4504
|
+
return [
|
|
4505
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4506
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4507
|
+
];
|
|
4508
|
+
}).s("Inspector2", "BatchAssociateCodeSecurityScanConfiguration", {}).n("Inspector2Client", "BatchAssociateCodeSecurityScanConfigurationCommand").f(void 0, void 0).ser(se_BatchAssociateCodeSecurityScanConfigurationCommand).de(de_BatchAssociateCodeSecurityScanConfigurationCommand).build() {
|
|
4509
|
+
static {
|
|
4510
|
+
__name(this, "BatchAssociateCodeSecurityScanConfigurationCommand");
|
|
4511
|
+
}
|
|
4512
|
+
};
|
|
4513
|
+
|
|
4514
|
+
// src/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.ts
|
|
4515
|
+
|
|
4516
|
+
|
|
4517
|
+
|
|
4518
|
+
var BatchDisassociateCodeSecurityScanConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4519
|
+
return [
|
|
4520
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4521
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4522
|
+
];
|
|
4523
|
+
}).s("Inspector2", "BatchDisassociateCodeSecurityScanConfiguration", {}).n("Inspector2Client", "BatchDisassociateCodeSecurityScanConfigurationCommand").f(void 0, void 0).ser(se_BatchDisassociateCodeSecurityScanConfigurationCommand).de(de_BatchDisassociateCodeSecurityScanConfigurationCommand).build() {
|
|
4524
|
+
static {
|
|
4525
|
+
__name(this, "BatchDisassociateCodeSecurityScanConfigurationCommand");
|
|
4526
|
+
}
|
|
4527
|
+
};
|
|
4528
|
+
|
|
3901
4529
|
// src/commands/BatchGetAccountStatusCommand.ts
|
|
3902
4530
|
|
|
3903
4531
|
|
|
@@ -4033,6 +4661,36 @@ var CreateCisScanConfigurationCommand = class extends import_smithy_client.Comma
|
|
|
4033
4661
|
}
|
|
4034
4662
|
};
|
|
4035
4663
|
|
|
4664
|
+
// src/commands/CreateCodeSecurityIntegrationCommand.ts
|
|
4665
|
+
|
|
4666
|
+
|
|
4667
|
+
|
|
4668
|
+
var CreateCodeSecurityIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4669
|
+
return [
|
|
4670
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4671
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4672
|
+
];
|
|
4673
|
+
}).s("Inspector2", "CreateCodeSecurityIntegration", {}).n("Inspector2Client", "CreateCodeSecurityIntegrationCommand").f(CreateCodeSecurityIntegrationRequestFilterSensitiveLog, CreateCodeSecurityIntegrationResponseFilterSensitiveLog).ser(se_CreateCodeSecurityIntegrationCommand).de(de_CreateCodeSecurityIntegrationCommand).build() {
|
|
4674
|
+
static {
|
|
4675
|
+
__name(this, "CreateCodeSecurityIntegrationCommand");
|
|
4676
|
+
}
|
|
4677
|
+
};
|
|
4678
|
+
|
|
4679
|
+
// src/commands/CreateCodeSecurityScanConfigurationCommand.ts
|
|
4680
|
+
|
|
4681
|
+
|
|
4682
|
+
|
|
4683
|
+
var CreateCodeSecurityScanConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4684
|
+
return [
|
|
4685
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4686
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4687
|
+
];
|
|
4688
|
+
}).s("Inspector2", "CreateCodeSecurityScanConfiguration", {}).n("Inspector2Client", "CreateCodeSecurityScanConfigurationCommand").f(void 0, void 0).ser(se_CreateCodeSecurityScanConfigurationCommand).de(de_CreateCodeSecurityScanConfigurationCommand).build() {
|
|
4689
|
+
static {
|
|
4690
|
+
__name(this, "CreateCodeSecurityScanConfigurationCommand");
|
|
4691
|
+
}
|
|
4692
|
+
};
|
|
4693
|
+
|
|
4036
4694
|
// src/commands/CreateFilterCommand.ts
|
|
4037
4695
|
|
|
4038
4696
|
|
|
@@ -4093,6 +4751,36 @@ var DeleteCisScanConfigurationCommand = class extends import_smithy_client.Comma
|
|
|
4093
4751
|
}
|
|
4094
4752
|
};
|
|
4095
4753
|
|
|
4754
|
+
// src/commands/DeleteCodeSecurityIntegrationCommand.ts
|
|
4755
|
+
|
|
4756
|
+
|
|
4757
|
+
|
|
4758
|
+
var DeleteCodeSecurityIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4759
|
+
return [
|
|
4760
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4761
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4762
|
+
];
|
|
4763
|
+
}).s("Inspector2", "DeleteCodeSecurityIntegration", {}).n("Inspector2Client", "DeleteCodeSecurityIntegrationCommand").f(void 0, void 0).ser(se_DeleteCodeSecurityIntegrationCommand).de(de_DeleteCodeSecurityIntegrationCommand).build() {
|
|
4764
|
+
static {
|
|
4765
|
+
__name(this, "DeleteCodeSecurityIntegrationCommand");
|
|
4766
|
+
}
|
|
4767
|
+
};
|
|
4768
|
+
|
|
4769
|
+
// src/commands/DeleteCodeSecurityScanConfigurationCommand.ts
|
|
4770
|
+
|
|
4771
|
+
|
|
4772
|
+
|
|
4773
|
+
var DeleteCodeSecurityScanConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4774
|
+
return [
|
|
4775
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4776
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4777
|
+
];
|
|
4778
|
+
}).s("Inspector2", "DeleteCodeSecurityScanConfiguration", {}).n("Inspector2Client", "DeleteCodeSecurityScanConfigurationCommand").f(void 0, void 0).ser(se_DeleteCodeSecurityScanConfigurationCommand).de(de_DeleteCodeSecurityScanConfigurationCommand).build() {
|
|
4779
|
+
static {
|
|
4780
|
+
__name(this, "DeleteCodeSecurityScanConfigurationCommand");
|
|
4781
|
+
}
|
|
4782
|
+
};
|
|
4783
|
+
|
|
4096
4784
|
// src/commands/DeleteFilterCommand.ts
|
|
4097
4785
|
|
|
4098
4786
|
|
|
@@ -4122,124 +4810,335 @@ var DescribeOrganizationConfigurationCommand = class extends import_smithy_clien
|
|
|
4122
4810
|
__name(this, "DescribeOrganizationConfigurationCommand");
|
|
4123
4811
|
}
|
|
4124
4812
|
};
|
|
4125
|
-
|
|
4126
|
-
// src/commands/DisableCommand.ts
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
var DisableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4131
|
-
return [
|
|
4132
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4133
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4134
|
-
];
|
|
4135
|
-
}).s("Inspector2", "Disable", {}).n("Inspector2Client", "DisableCommand").f(void 0, void 0).ser(se_DisableCommand).de(de_DisableCommand).build() {
|
|
4136
|
-
static {
|
|
4137
|
-
__name(this, "DisableCommand");
|
|
4138
|
-
}
|
|
4813
|
+
|
|
4814
|
+
// src/commands/DisableCommand.ts
|
|
4815
|
+
|
|
4816
|
+
|
|
4817
|
+
|
|
4818
|
+
var DisableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4819
|
+
return [
|
|
4820
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4821
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4822
|
+
];
|
|
4823
|
+
}).s("Inspector2", "Disable", {}).n("Inspector2Client", "DisableCommand").f(void 0, void 0).ser(se_DisableCommand).de(de_DisableCommand).build() {
|
|
4824
|
+
static {
|
|
4825
|
+
__name(this, "DisableCommand");
|
|
4826
|
+
}
|
|
4827
|
+
};
|
|
4828
|
+
|
|
4829
|
+
// src/commands/DisableDelegatedAdminAccountCommand.ts
|
|
4830
|
+
|
|
4831
|
+
|
|
4832
|
+
|
|
4833
|
+
var DisableDelegatedAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4834
|
+
return [
|
|
4835
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4836
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4837
|
+
];
|
|
4838
|
+
}).s("Inspector2", "DisableDelegatedAdminAccount", {}).n("Inspector2Client", "DisableDelegatedAdminAccountCommand").f(void 0, void 0).ser(se_DisableDelegatedAdminAccountCommand).de(de_DisableDelegatedAdminAccountCommand).build() {
|
|
4839
|
+
static {
|
|
4840
|
+
__name(this, "DisableDelegatedAdminAccountCommand");
|
|
4841
|
+
}
|
|
4842
|
+
};
|
|
4843
|
+
|
|
4844
|
+
// src/commands/DisassociateMemberCommand.ts
|
|
4845
|
+
|
|
4846
|
+
|
|
4847
|
+
|
|
4848
|
+
var DisassociateMemberCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4849
|
+
return [
|
|
4850
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4851
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4852
|
+
];
|
|
4853
|
+
}).s("Inspector2", "DisassociateMember", {}).n("Inspector2Client", "DisassociateMemberCommand").f(void 0, void 0).ser(se_DisassociateMemberCommand).de(de_DisassociateMemberCommand).build() {
|
|
4854
|
+
static {
|
|
4855
|
+
__name(this, "DisassociateMemberCommand");
|
|
4856
|
+
}
|
|
4857
|
+
};
|
|
4858
|
+
|
|
4859
|
+
// src/commands/EnableCommand.ts
|
|
4860
|
+
|
|
4861
|
+
|
|
4862
|
+
|
|
4863
|
+
var EnableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4864
|
+
return [
|
|
4865
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4866
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4867
|
+
];
|
|
4868
|
+
}).s("Inspector2", "Enable", {}).n("Inspector2Client", "EnableCommand").f(void 0, void 0).ser(se_EnableCommand).de(de_EnableCommand).build() {
|
|
4869
|
+
static {
|
|
4870
|
+
__name(this, "EnableCommand");
|
|
4871
|
+
}
|
|
4872
|
+
};
|
|
4873
|
+
|
|
4874
|
+
// src/commands/EnableDelegatedAdminAccountCommand.ts
|
|
4875
|
+
|
|
4876
|
+
|
|
4877
|
+
|
|
4878
|
+
var EnableDelegatedAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4879
|
+
return [
|
|
4880
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4881
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4882
|
+
];
|
|
4883
|
+
}).s("Inspector2", "EnableDelegatedAdminAccount", {}).n("Inspector2Client", "EnableDelegatedAdminAccountCommand").f(void 0, void 0).ser(se_EnableDelegatedAdminAccountCommand).de(de_EnableDelegatedAdminAccountCommand).build() {
|
|
4884
|
+
static {
|
|
4885
|
+
__name(this, "EnableDelegatedAdminAccountCommand");
|
|
4886
|
+
}
|
|
4887
|
+
};
|
|
4888
|
+
|
|
4889
|
+
// src/commands/GetCisScanReportCommand.ts
|
|
4890
|
+
|
|
4891
|
+
|
|
4892
|
+
|
|
4893
|
+
var GetCisScanReportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4894
|
+
return [
|
|
4895
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4896
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4897
|
+
];
|
|
4898
|
+
}).s("Inspector2", "GetCisScanReport", {}).n("Inspector2Client", "GetCisScanReportCommand").f(void 0, void 0).ser(se_GetCisScanReportCommand).de(de_GetCisScanReportCommand).build() {
|
|
4899
|
+
static {
|
|
4900
|
+
__name(this, "GetCisScanReportCommand");
|
|
4901
|
+
}
|
|
4902
|
+
};
|
|
4903
|
+
|
|
4904
|
+
// src/commands/GetCisScanResultDetailsCommand.ts
|
|
4905
|
+
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
var GetCisScanResultDetailsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4909
|
+
return [
|
|
4910
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4911
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4912
|
+
];
|
|
4913
|
+
}).s("Inspector2", "GetCisScanResultDetails", {}).n("Inspector2Client", "GetCisScanResultDetailsCommand").f(void 0, void 0).ser(se_GetCisScanResultDetailsCommand).de(de_GetCisScanResultDetailsCommand).build() {
|
|
4914
|
+
static {
|
|
4915
|
+
__name(this, "GetCisScanResultDetailsCommand");
|
|
4916
|
+
}
|
|
4917
|
+
};
|
|
4918
|
+
|
|
4919
|
+
// src/commands/GetClustersForImageCommand.ts
|
|
4920
|
+
|
|
4921
|
+
|
|
4922
|
+
|
|
4923
|
+
var GetClustersForImageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4924
|
+
return [
|
|
4925
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4926
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4927
|
+
];
|
|
4928
|
+
}).s("Inspector2", "GetClustersForImage", {}).n("Inspector2Client", "GetClustersForImageCommand").f(void 0, void 0).ser(se_GetClustersForImageCommand).de(de_GetClustersForImageCommand).build() {
|
|
4929
|
+
static {
|
|
4930
|
+
__name(this, "GetClustersForImageCommand");
|
|
4931
|
+
}
|
|
4932
|
+
};
|
|
4933
|
+
|
|
4934
|
+
// src/commands/GetCodeSecurityIntegrationCommand.ts
|
|
4935
|
+
|
|
4936
|
+
|
|
4937
|
+
|
|
4938
|
+
|
|
4939
|
+
// src/models/models_1.ts
|
|
4940
|
+
|
|
4941
|
+
var ExploitAvailable = {
|
|
4942
|
+
NO: "NO",
|
|
4943
|
+
YES: "YES"
|
|
4944
|
+
};
|
|
4945
|
+
var ExternalReportStatus = {
|
|
4946
|
+
CANCELLED: "CANCELLED",
|
|
4947
|
+
FAILED: "FAILED",
|
|
4948
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
4949
|
+
SUCCEEDED: "SUCCEEDED"
|
|
4950
|
+
};
|
|
4951
|
+
var FixAvailable = {
|
|
4952
|
+
NO: "NO",
|
|
4953
|
+
PARTIAL: "PARTIAL",
|
|
4954
|
+
YES: "YES"
|
|
4955
|
+
};
|
|
4956
|
+
var NetworkProtocol = {
|
|
4957
|
+
TCP: "TCP",
|
|
4958
|
+
UDP: "UDP"
|
|
4959
|
+
};
|
|
4960
|
+
var PackageManager = {
|
|
4961
|
+
BUNDLER: "BUNDLER",
|
|
4962
|
+
CARGO: "CARGO",
|
|
4963
|
+
COMPOSER: "COMPOSER",
|
|
4964
|
+
DOTNET_CORE: "DOTNET_CORE",
|
|
4965
|
+
GEMSPEC: "GEMSPEC",
|
|
4966
|
+
GOBINARY: "GOBINARY",
|
|
4967
|
+
GOMOD: "GOMOD",
|
|
4968
|
+
JAR: "JAR",
|
|
4969
|
+
NODEPKG: "NODEPKG",
|
|
4970
|
+
NPM: "NPM",
|
|
4971
|
+
NUGET: "NUGET",
|
|
4972
|
+
OS: "OS",
|
|
4973
|
+
PIP: "PIP",
|
|
4974
|
+
PIPENV: "PIPENV",
|
|
4975
|
+
POETRY: "POETRY",
|
|
4976
|
+
POM: "POM",
|
|
4977
|
+
PYTHONPKG: "PYTHONPKG",
|
|
4978
|
+
YARN: "YARN"
|
|
4979
|
+
};
|
|
4980
|
+
var ResourceType = {
|
|
4981
|
+
AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE",
|
|
4982
|
+
AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
|
|
4983
|
+
AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
|
|
4984
|
+
AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
|
|
4985
|
+
CODE_REPOSITORY: "CODE_REPOSITORY"
|
|
4986
|
+
};
|
|
4987
|
+
var Severity = {
|
|
4988
|
+
CRITICAL: "CRITICAL",
|
|
4989
|
+
HIGH: "HIGH",
|
|
4990
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
4991
|
+
LOW: "LOW",
|
|
4992
|
+
MEDIUM: "MEDIUM",
|
|
4993
|
+
UNTRIAGED: "UNTRIAGED"
|
|
4994
|
+
};
|
|
4995
|
+
var FindingStatus = {
|
|
4996
|
+
ACTIVE: "ACTIVE",
|
|
4997
|
+
CLOSED: "CLOSED",
|
|
4998
|
+
SUPPRESSED: "SUPPRESSED"
|
|
4999
|
+
};
|
|
5000
|
+
var FindingType = {
|
|
5001
|
+
CODE_VULNERABILITY: "CODE_VULNERABILITY",
|
|
5002
|
+
NETWORK_REACHABILITY: "NETWORK_REACHABILITY",
|
|
5003
|
+
PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY"
|
|
5004
|
+
};
|
|
5005
|
+
var ReportingErrorCode = {
|
|
5006
|
+
BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND",
|
|
5007
|
+
INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION",
|
|
5008
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
5009
|
+
INVALID_PERMISSIONS: "INVALID_PERMISSIONS",
|
|
5010
|
+
MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY",
|
|
5011
|
+
NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND"
|
|
5012
|
+
};
|
|
5013
|
+
var Service = {
|
|
5014
|
+
EC2: "EC2",
|
|
5015
|
+
ECR: "ECR",
|
|
5016
|
+
LAMBDA: "LAMBDA"
|
|
5017
|
+
};
|
|
5018
|
+
var Operation = {
|
|
5019
|
+
DISABLE_REPOSITORY: "DISABLE_REPOSITORY",
|
|
5020
|
+
DISABLE_SCANNING: "DISABLE_SCANNING",
|
|
5021
|
+
ENABLE_REPOSITORY: "ENABLE_REPOSITORY",
|
|
5022
|
+
ENABLE_SCANNING: "ENABLE_SCANNING"
|
|
5023
|
+
};
|
|
5024
|
+
var ListCisScansDetailLevel = {
|
|
5025
|
+
MEMBER: "MEMBER",
|
|
5026
|
+
ORGANIZATION: "ORGANIZATION"
|
|
5027
|
+
};
|
|
5028
|
+
var ListCisScansSortBy = {
|
|
5029
|
+
FAILED_CHECKS: "FAILED_CHECKS",
|
|
5030
|
+
SCAN_START_DATE: "SCAN_START_DATE",
|
|
5031
|
+
SCHEDULED_BY: "SCHEDULED_BY",
|
|
5032
|
+
STATUS: "STATUS"
|
|
4139
5033
|
};
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
5034
|
+
var SortField = {
|
|
5035
|
+
AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID",
|
|
5036
|
+
COMPONENT_TYPE: "COMPONENT_TYPE",
|
|
5037
|
+
ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT",
|
|
5038
|
+
ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY",
|
|
5039
|
+
ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME",
|
|
5040
|
+
EPSS_SCORE: "EPSS_SCORE",
|
|
5041
|
+
FINDING_STATUS: "FINDING_STATUS",
|
|
5042
|
+
FINDING_TYPE: "FINDING_TYPE",
|
|
5043
|
+
FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT",
|
|
5044
|
+
INSPECTOR_SCORE: "INSPECTOR_SCORE",
|
|
5045
|
+
LAST_OBSERVED_AT: "LAST_OBSERVED_AT",
|
|
5046
|
+
NETWORK_PROTOCOL: "NETWORK_PROTOCOL",
|
|
5047
|
+
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
5048
|
+
SEVERITY: "SEVERITY",
|
|
5049
|
+
VENDOR_SEVERITY: "VENDOR_SEVERITY",
|
|
5050
|
+
VULNERABILITY_ID: "VULNERABILITY_ID",
|
|
5051
|
+
VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE"
|
|
4154
5052
|
};
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
];
|
|
4165
|
-
}).s("Inspector2", "DisassociateMember", {}).n("Inspector2Client", "DisassociateMemberCommand").f(void 0, void 0).ser(se_DisassociateMemberCommand).de(de_DisassociateMemberCommand).build() {
|
|
4166
|
-
static {
|
|
4167
|
-
__name(this, "DisassociateMemberCommand");
|
|
4168
|
-
}
|
|
5053
|
+
var UsageType = {
|
|
5054
|
+
CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC",
|
|
5055
|
+
CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST",
|
|
5056
|
+
CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA",
|
|
5057
|
+
EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
|
|
5058
|
+
ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
|
|
5059
|
+
ECR_RESCAN: "ECR_RESCAN",
|
|
5060
|
+
LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS",
|
|
5061
|
+
LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS"
|
|
4169
5062
|
};
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
var EnableCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4176
|
-
return [
|
|
4177
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4178
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4179
|
-
];
|
|
4180
|
-
}).s("Inspector2", "Enable", {}).n("Inspector2Client", "EnableCommand").f(void 0, void 0).ser(se_EnableCommand).de(de_EnableCommand).build() {
|
|
4181
|
-
static {
|
|
4182
|
-
__name(this, "EnableCommand");
|
|
4183
|
-
}
|
|
5063
|
+
var VulnerabilitySource = {
|
|
5064
|
+
NVD: "NVD"
|
|
4184
5065
|
};
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
var EnableDelegatedAdminAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4191
|
-
return [
|
|
4192
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4193
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4194
|
-
];
|
|
4195
|
-
}).s("Inspector2", "EnableDelegatedAdminAccount", {}).n("Inspector2Client", "EnableDelegatedAdminAccountCommand").f(void 0, void 0).ser(se_EnableDelegatedAdminAccountCommand).de(de_EnableDelegatedAdminAccountCommand).build() {
|
|
4196
|
-
static {
|
|
4197
|
-
__name(this, "EnableDelegatedAdminAccountCommand");
|
|
4198
|
-
}
|
|
5066
|
+
var StopCisSessionStatus = {
|
|
5067
|
+
FAILED: "FAILED",
|
|
5068
|
+
INTERRUPTED: "INTERRUPTED",
|
|
5069
|
+
SUCCESS: "SUCCESS",
|
|
5070
|
+
UNSUPPORTED_OS: "UNSUPPORTED_OS"
|
|
4199
5071
|
};
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
5072
|
+
var UpdateIntegrationDetails;
|
|
5073
|
+
((UpdateIntegrationDetails2) => {
|
|
5074
|
+
UpdateIntegrationDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
5075
|
+
if (value.gitlabSelfManaged !== void 0) return visitor.gitlabSelfManaged(value.gitlabSelfManaged);
|
|
5076
|
+
if (value.github !== void 0) return visitor.github(value.github);
|
|
5077
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
5078
|
+
}, "visit");
|
|
5079
|
+
})(UpdateIntegrationDetails || (UpdateIntegrationDetails = {}));
|
|
5080
|
+
var GetCodeSecurityIntegrationResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5081
|
+
...obj,
|
|
5082
|
+
...obj.authorizationUrl && { authorizationUrl: import_smithy_client.SENSITIVE_STRING }
|
|
5083
|
+
}), "GetCodeSecurityIntegrationResponseFilterSensitiveLog");
|
|
5084
|
+
var UpdateGitHubIntegrationDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5085
|
+
...obj,
|
|
5086
|
+
...obj.code && { code: import_smithy_client.SENSITIVE_STRING }
|
|
5087
|
+
}), "UpdateGitHubIntegrationDetailFilterSensitiveLog");
|
|
5088
|
+
var UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5089
|
+
...obj,
|
|
5090
|
+
...obj.authCode && { authCode: import_smithy_client.SENSITIVE_STRING }
|
|
5091
|
+
}), "UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog");
|
|
5092
|
+
var UpdateIntegrationDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
5093
|
+
if (obj.gitlabSelfManaged !== void 0)
|
|
5094
|
+
return { gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog(obj.gitlabSelfManaged) };
|
|
5095
|
+
if (obj.github !== void 0) return { github: UpdateGitHubIntegrationDetailFilterSensitiveLog(obj.github) };
|
|
5096
|
+
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
5097
|
+
}, "UpdateIntegrationDetailsFilterSensitiveLog");
|
|
5098
|
+
var UpdateCodeSecurityIntegrationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
5099
|
+
...obj,
|
|
5100
|
+
...obj.details && { details: UpdateIntegrationDetailsFilterSensitiveLog(obj.details) }
|
|
5101
|
+
}), "UpdateCodeSecurityIntegrationRequestFilterSensitiveLog");
|
|
5102
|
+
|
|
5103
|
+
// src/commands/GetCodeSecurityIntegrationCommand.ts
|
|
5104
|
+
var GetCodeSecurityIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4206
5105
|
return [
|
|
4207
5106
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4208
5107
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4209
5108
|
];
|
|
4210
|
-
}).s("Inspector2", "
|
|
5109
|
+
}).s("Inspector2", "GetCodeSecurityIntegration", {}).n("Inspector2Client", "GetCodeSecurityIntegrationCommand").f(void 0, GetCodeSecurityIntegrationResponseFilterSensitiveLog).ser(se_GetCodeSecurityIntegrationCommand).de(de_GetCodeSecurityIntegrationCommand).build() {
|
|
4211
5110
|
static {
|
|
4212
|
-
__name(this, "
|
|
5111
|
+
__name(this, "GetCodeSecurityIntegrationCommand");
|
|
4213
5112
|
}
|
|
4214
5113
|
};
|
|
4215
5114
|
|
|
4216
|
-
// src/commands/
|
|
5115
|
+
// src/commands/GetCodeSecurityScanCommand.ts
|
|
4217
5116
|
|
|
4218
5117
|
|
|
4219
5118
|
|
|
4220
|
-
var
|
|
5119
|
+
var GetCodeSecurityScanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4221
5120
|
return [
|
|
4222
5121
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4223
5122
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4224
5123
|
];
|
|
4225
|
-
}).s("Inspector2", "
|
|
5124
|
+
}).s("Inspector2", "GetCodeSecurityScan", {}).n("Inspector2Client", "GetCodeSecurityScanCommand").f(void 0, void 0).ser(se_GetCodeSecurityScanCommand).de(de_GetCodeSecurityScanCommand).build() {
|
|
4226
5125
|
static {
|
|
4227
|
-
__name(this, "
|
|
5126
|
+
__name(this, "GetCodeSecurityScanCommand");
|
|
4228
5127
|
}
|
|
4229
5128
|
};
|
|
4230
5129
|
|
|
4231
|
-
// src/commands/
|
|
5130
|
+
// src/commands/GetCodeSecurityScanConfigurationCommand.ts
|
|
4232
5131
|
|
|
4233
5132
|
|
|
4234
5133
|
|
|
4235
|
-
var
|
|
5134
|
+
var GetCodeSecurityScanConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4236
5135
|
return [
|
|
4237
5136
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4238
5137
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4239
5138
|
];
|
|
4240
|
-
}).s("Inspector2", "
|
|
5139
|
+
}).s("Inspector2", "GetCodeSecurityScanConfiguration", {}).n("Inspector2Client", "GetCodeSecurityScanConfigurationCommand").f(void 0, void 0).ser(se_GetCodeSecurityScanConfigurationCommand).de(de_GetCodeSecurityScanConfigurationCommand).build() {
|
|
4241
5140
|
static {
|
|
4242
|
-
__name(this, "
|
|
5141
|
+
__name(this, "GetCodeSecurityScanConfigurationCommand");
|
|
4243
5142
|
}
|
|
4244
5143
|
};
|
|
4245
5144
|
|
|
@@ -4423,6 +5322,51 @@ var ListCisScansCommand = class extends import_smithy_client.Command.classBuilde
|
|
|
4423
5322
|
}
|
|
4424
5323
|
};
|
|
4425
5324
|
|
|
5325
|
+
// src/commands/ListCodeSecurityIntegrationsCommand.ts
|
|
5326
|
+
|
|
5327
|
+
|
|
5328
|
+
|
|
5329
|
+
var ListCodeSecurityIntegrationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5330
|
+
return [
|
|
5331
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5332
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5333
|
+
];
|
|
5334
|
+
}).s("Inspector2", "ListCodeSecurityIntegrations", {}).n("Inspector2Client", "ListCodeSecurityIntegrationsCommand").f(void 0, void 0).ser(se_ListCodeSecurityIntegrationsCommand).de(de_ListCodeSecurityIntegrationsCommand).build() {
|
|
5335
|
+
static {
|
|
5336
|
+
__name(this, "ListCodeSecurityIntegrationsCommand");
|
|
5337
|
+
}
|
|
5338
|
+
};
|
|
5339
|
+
|
|
5340
|
+
// src/commands/ListCodeSecurityScanConfigurationAssociationsCommand.ts
|
|
5341
|
+
|
|
5342
|
+
|
|
5343
|
+
|
|
5344
|
+
var ListCodeSecurityScanConfigurationAssociationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5345
|
+
return [
|
|
5346
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5347
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5348
|
+
];
|
|
5349
|
+
}).s("Inspector2", "ListCodeSecurityScanConfigurationAssociations", {}).n("Inspector2Client", "ListCodeSecurityScanConfigurationAssociationsCommand").f(void 0, void 0).ser(se_ListCodeSecurityScanConfigurationAssociationsCommand).de(de_ListCodeSecurityScanConfigurationAssociationsCommand).build() {
|
|
5350
|
+
static {
|
|
5351
|
+
__name(this, "ListCodeSecurityScanConfigurationAssociationsCommand");
|
|
5352
|
+
}
|
|
5353
|
+
};
|
|
5354
|
+
|
|
5355
|
+
// src/commands/ListCodeSecurityScanConfigurationsCommand.ts
|
|
5356
|
+
|
|
5357
|
+
|
|
5358
|
+
|
|
5359
|
+
var ListCodeSecurityScanConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5360
|
+
return [
|
|
5361
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5362
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5363
|
+
];
|
|
5364
|
+
}).s("Inspector2", "ListCodeSecurityScanConfigurations", {}).n("Inspector2Client", "ListCodeSecurityScanConfigurationsCommand").f(void 0, void 0).ser(se_ListCodeSecurityScanConfigurationsCommand).de(de_ListCodeSecurityScanConfigurationsCommand).build() {
|
|
5365
|
+
static {
|
|
5366
|
+
__name(this, "ListCodeSecurityScanConfigurationsCommand");
|
|
5367
|
+
}
|
|
5368
|
+
};
|
|
5369
|
+
|
|
4426
5370
|
// src/commands/ListCoverageCommand.ts
|
|
4427
5371
|
|
|
4428
5372
|
|
|
@@ -4633,6 +5577,21 @@ var StartCisSessionCommand = class extends import_smithy_client.Command.classBui
|
|
|
4633
5577
|
}
|
|
4634
5578
|
};
|
|
4635
5579
|
|
|
5580
|
+
// src/commands/StartCodeSecurityScanCommand.ts
|
|
5581
|
+
|
|
5582
|
+
|
|
5583
|
+
|
|
5584
|
+
var StartCodeSecurityScanCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5585
|
+
return [
|
|
5586
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5587
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5588
|
+
];
|
|
5589
|
+
}).s("Inspector2", "StartCodeSecurityScan", {}).n("Inspector2Client", "StartCodeSecurityScanCommand").f(void 0, void 0).ser(se_StartCodeSecurityScanCommand).de(de_StartCodeSecurityScanCommand).build() {
|
|
5590
|
+
static {
|
|
5591
|
+
__name(this, "StartCodeSecurityScanCommand");
|
|
5592
|
+
}
|
|
5593
|
+
};
|
|
5594
|
+
|
|
4636
5595
|
// src/commands/StopCisSessionCommand.ts
|
|
4637
5596
|
|
|
4638
5597
|
|
|
@@ -4693,6 +5652,36 @@ var UpdateCisScanConfigurationCommand = class extends import_smithy_client.Comma
|
|
|
4693
5652
|
}
|
|
4694
5653
|
};
|
|
4695
5654
|
|
|
5655
|
+
// src/commands/UpdateCodeSecurityIntegrationCommand.ts
|
|
5656
|
+
|
|
5657
|
+
|
|
5658
|
+
|
|
5659
|
+
var UpdateCodeSecurityIntegrationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5660
|
+
return [
|
|
5661
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5662
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5663
|
+
];
|
|
5664
|
+
}).s("Inspector2", "UpdateCodeSecurityIntegration", {}).n("Inspector2Client", "UpdateCodeSecurityIntegrationCommand").f(UpdateCodeSecurityIntegrationRequestFilterSensitiveLog, void 0).ser(se_UpdateCodeSecurityIntegrationCommand).de(de_UpdateCodeSecurityIntegrationCommand).build() {
|
|
5665
|
+
static {
|
|
5666
|
+
__name(this, "UpdateCodeSecurityIntegrationCommand");
|
|
5667
|
+
}
|
|
5668
|
+
};
|
|
5669
|
+
|
|
5670
|
+
// src/commands/UpdateCodeSecurityScanConfigurationCommand.ts
|
|
5671
|
+
|
|
5672
|
+
|
|
5673
|
+
|
|
5674
|
+
var UpdateCodeSecurityScanConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5675
|
+
return [
|
|
5676
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5677
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5678
|
+
];
|
|
5679
|
+
}).s("Inspector2", "UpdateCodeSecurityScanConfiguration", {}).n("Inspector2Client", "UpdateCodeSecurityScanConfigurationCommand").f(void 0, void 0).ser(se_UpdateCodeSecurityScanConfigurationCommand).de(de_UpdateCodeSecurityScanConfigurationCommand).build() {
|
|
5680
|
+
static {
|
|
5681
|
+
__name(this, "UpdateCodeSecurityScanConfigurationCommand");
|
|
5682
|
+
}
|
|
5683
|
+
};
|
|
5684
|
+
|
|
4696
5685
|
// src/commands/UpdateConfigurationCommand.ts
|
|
4697
5686
|
|
|
4698
5687
|
|
|
@@ -4786,6 +5775,8 @@ var UpdateOrgEc2DeepInspectionConfigurationCommand = class extends import_smithy
|
|
|
4786
5775
|
// src/Inspector2.ts
|
|
4787
5776
|
var commands = {
|
|
4788
5777
|
AssociateMemberCommand,
|
|
5778
|
+
BatchAssociateCodeSecurityScanConfigurationCommand,
|
|
5779
|
+
BatchDisassociateCodeSecurityScanConfigurationCommand,
|
|
4789
5780
|
BatchGetAccountStatusCommand,
|
|
4790
5781
|
BatchGetCodeSnippetCommand,
|
|
4791
5782
|
BatchGetFindingDetailsCommand,
|
|
@@ -4795,10 +5786,14 @@ var commands = {
|
|
|
4795
5786
|
CancelFindingsReportCommand,
|
|
4796
5787
|
CancelSbomExportCommand,
|
|
4797
5788
|
CreateCisScanConfigurationCommand,
|
|
5789
|
+
CreateCodeSecurityIntegrationCommand,
|
|
5790
|
+
CreateCodeSecurityScanConfigurationCommand,
|
|
4798
5791
|
CreateFilterCommand,
|
|
4799
5792
|
CreateFindingsReportCommand,
|
|
4800
5793
|
CreateSbomExportCommand,
|
|
4801
5794
|
DeleteCisScanConfigurationCommand,
|
|
5795
|
+
DeleteCodeSecurityIntegrationCommand,
|
|
5796
|
+
DeleteCodeSecurityScanConfigurationCommand,
|
|
4802
5797
|
DeleteFilterCommand,
|
|
4803
5798
|
DescribeOrganizationConfigurationCommand,
|
|
4804
5799
|
DisableCommand,
|
|
@@ -4809,6 +5804,9 @@ var commands = {
|
|
|
4809
5804
|
GetCisScanReportCommand,
|
|
4810
5805
|
GetCisScanResultDetailsCommand,
|
|
4811
5806
|
GetClustersForImageCommand,
|
|
5807
|
+
GetCodeSecurityIntegrationCommand,
|
|
5808
|
+
GetCodeSecurityScanCommand,
|
|
5809
|
+
GetCodeSecurityScanConfigurationCommand,
|
|
4812
5810
|
GetConfigurationCommand,
|
|
4813
5811
|
GetDelegatedAdminAccountCommand,
|
|
4814
5812
|
GetEc2DeepInspectionConfigurationCommand,
|
|
@@ -4821,6 +5819,9 @@ var commands = {
|
|
|
4821
5819
|
ListCisScanResultsAggregatedByChecksCommand,
|
|
4822
5820
|
ListCisScanResultsAggregatedByTargetResourceCommand,
|
|
4823
5821
|
ListCisScansCommand,
|
|
5822
|
+
ListCodeSecurityIntegrationsCommand,
|
|
5823
|
+
ListCodeSecurityScanConfigurationAssociationsCommand,
|
|
5824
|
+
ListCodeSecurityScanConfigurationsCommand,
|
|
4824
5825
|
ListCoverageCommand,
|
|
4825
5826
|
ListCoverageStatisticsCommand,
|
|
4826
5827
|
ListDelegatedAdminAccountsCommand,
|
|
@@ -4835,10 +5836,13 @@ var commands = {
|
|
|
4835
5836
|
SendCisSessionHealthCommand,
|
|
4836
5837
|
SendCisSessionTelemetryCommand,
|
|
4837
5838
|
StartCisSessionCommand,
|
|
5839
|
+
StartCodeSecurityScanCommand,
|
|
4838
5840
|
StopCisSessionCommand,
|
|
4839
5841
|
TagResourceCommand,
|
|
4840
5842
|
UntagResourceCommand,
|
|
4841
5843
|
UpdateCisScanConfigurationCommand,
|
|
5844
|
+
UpdateCodeSecurityIntegrationCommand,
|
|
5845
|
+
UpdateCodeSecurityScanConfigurationCommand,
|
|
4842
5846
|
UpdateConfigurationCommand,
|
|
4843
5847
|
UpdateEc2DeepInspectionConfigurationCommand,
|
|
4844
5848
|
UpdateEncryptionKeyCommand,
|
|
@@ -4916,64 +5920,6 @@ var paginateListUsageTotals = (0, import_core.createPaginator)(Inspector2Client,
|
|
|
4916
5920
|
// src/pagination/SearchVulnerabilitiesPaginator.ts
|
|
4917
5921
|
|
|
4918
5922
|
var paginateSearchVulnerabilities = (0, import_core.createPaginator)(Inspector2Client, SearchVulnerabilitiesCommand, "nextToken", "nextToken", "");
|
|
4919
|
-
|
|
4920
|
-
// src/models/models_1.ts
|
|
4921
|
-
var Service = {
|
|
4922
|
-
EC2: "EC2",
|
|
4923
|
-
ECR: "ECR",
|
|
4924
|
-
LAMBDA: "LAMBDA"
|
|
4925
|
-
};
|
|
4926
|
-
var Operation = {
|
|
4927
|
-
DISABLE_REPOSITORY: "DISABLE_REPOSITORY",
|
|
4928
|
-
DISABLE_SCANNING: "DISABLE_SCANNING",
|
|
4929
|
-
ENABLE_REPOSITORY: "ENABLE_REPOSITORY",
|
|
4930
|
-
ENABLE_SCANNING: "ENABLE_SCANNING"
|
|
4931
|
-
};
|
|
4932
|
-
var ListCisScansDetailLevel = {
|
|
4933
|
-
MEMBER: "MEMBER",
|
|
4934
|
-
ORGANIZATION: "ORGANIZATION"
|
|
4935
|
-
};
|
|
4936
|
-
var ListCisScansSortBy = {
|
|
4937
|
-
FAILED_CHECKS: "FAILED_CHECKS",
|
|
4938
|
-
SCAN_START_DATE: "SCAN_START_DATE",
|
|
4939
|
-
SCHEDULED_BY: "SCHEDULED_BY",
|
|
4940
|
-
STATUS: "STATUS"
|
|
4941
|
-
};
|
|
4942
|
-
var SortField = {
|
|
4943
|
-
AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID",
|
|
4944
|
-
COMPONENT_TYPE: "COMPONENT_TYPE",
|
|
4945
|
-
ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT",
|
|
4946
|
-
ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY",
|
|
4947
|
-
ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME",
|
|
4948
|
-
EPSS_SCORE: "EPSS_SCORE",
|
|
4949
|
-
FINDING_STATUS: "FINDING_STATUS",
|
|
4950
|
-
FINDING_TYPE: "FINDING_TYPE",
|
|
4951
|
-
FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT",
|
|
4952
|
-
INSPECTOR_SCORE: "INSPECTOR_SCORE",
|
|
4953
|
-
LAST_OBSERVED_AT: "LAST_OBSERVED_AT",
|
|
4954
|
-
NETWORK_PROTOCOL: "NETWORK_PROTOCOL",
|
|
4955
|
-
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
4956
|
-
SEVERITY: "SEVERITY",
|
|
4957
|
-
VENDOR_SEVERITY: "VENDOR_SEVERITY",
|
|
4958
|
-
VULNERABILITY_ID: "VULNERABILITY_ID",
|
|
4959
|
-
VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE"
|
|
4960
|
-
};
|
|
4961
|
-
var UsageType = {
|
|
4962
|
-
EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
|
|
4963
|
-
ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
|
|
4964
|
-
ECR_RESCAN: "ECR_RESCAN",
|
|
4965
|
-
LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS",
|
|
4966
|
-
LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS"
|
|
4967
|
-
};
|
|
4968
|
-
var VulnerabilitySource = {
|
|
4969
|
-
NVD: "NVD"
|
|
4970
|
-
};
|
|
4971
|
-
var StopCisSessionStatus = {
|
|
4972
|
-
FAILED: "FAILED",
|
|
4973
|
-
INTERRUPTED: "INTERRUPTED",
|
|
4974
|
-
SUCCESS: "SUCCESS",
|
|
4975
|
-
UNSUPPORTED_OS: "UNSUPPORTED_OS"
|
|
4976
|
-
};
|
|
4977
5923
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4978
5924
|
|
|
4979
5925
|
0 && (module.exports = {
|
|
@@ -4983,6 +5929,8 @@ var StopCisSessionStatus = {
|
|
|
4983
5929
|
Inspector2,
|
|
4984
5930
|
$Command,
|
|
4985
5931
|
AssociateMemberCommand,
|
|
5932
|
+
BatchAssociateCodeSecurityScanConfigurationCommand,
|
|
5933
|
+
BatchDisassociateCodeSecurityScanConfigurationCommand,
|
|
4986
5934
|
BatchGetAccountStatusCommand,
|
|
4987
5935
|
BatchGetCodeSnippetCommand,
|
|
4988
5936
|
BatchGetFindingDetailsCommand,
|
|
@@ -4992,10 +5940,14 @@ var StopCisSessionStatus = {
|
|
|
4992
5940
|
CancelFindingsReportCommand,
|
|
4993
5941
|
CancelSbomExportCommand,
|
|
4994
5942
|
CreateCisScanConfigurationCommand,
|
|
5943
|
+
CreateCodeSecurityIntegrationCommand,
|
|
5944
|
+
CreateCodeSecurityScanConfigurationCommand,
|
|
4995
5945
|
CreateFilterCommand,
|
|
4996
5946
|
CreateFindingsReportCommand,
|
|
4997
5947
|
CreateSbomExportCommand,
|
|
4998
5948
|
DeleteCisScanConfigurationCommand,
|
|
5949
|
+
DeleteCodeSecurityIntegrationCommand,
|
|
5950
|
+
DeleteCodeSecurityScanConfigurationCommand,
|
|
4999
5951
|
DeleteFilterCommand,
|
|
5000
5952
|
DescribeOrganizationConfigurationCommand,
|
|
5001
5953
|
DisableCommand,
|
|
@@ -5006,6 +5958,9 @@ var StopCisSessionStatus = {
|
|
|
5006
5958
|
GetCisScanReportCommand,
|
|
5007
5959
|
GetCisScanResultDetailsCommand,
|
|
5008
5960
|
GetClustersForImageCommand,
|
|
5961
|
+
GetCodeSecurityIntegrationCommand,
|
|
5962
|
+
GetCodeSecurityScanCommand,
|
|
5963
|
+
GetCodeSecurityScanConfigurationCommand,
|
|
5009
5964
|
GetConfigurationCommand,
|
|
5010
5965
|
GetDelegatedAdminAccountCommand,
|
|
5011
5966
|
GetEc2DeepInspectionConfigurationCommand,
|
|
@@ -5018,6 +5973,9 @@ var StopCisSessionStatus = {
|
|
|
5018
5973
|
ListCisScanResultsAggregatedByChecksCommand,
|
|
5019
5974
|
ListCisScanResultsAggregatedByTargetResourceCommand,
|
|
5020
5975
|
ListCisScansCommand,
|
|
5976
|
+
ListCodeSecurityIntegrationsCommand,
|
|
5977
|
+
ListCodeSecurityScanConfigurationAssociationsCommand,
|
|
5978
|
+
ListCodeSecurityScanConfigurationsCommand,
|
|
5021
5979
|
ListCoverageCommand,
|
|
5022
5980
|
ListCoverageStatisticsCommand,
|
|
5023
5981
|
ListDelegatedAdminAccountsCommand,
|
|
@@ -5032,10 +5990,13 @@ var StopCisSessionStatus = {
|
|
|
5032
5990
|
SendCisSessionHealthCommand,
|
|
5033
5991
|
SendCisSessionTelemetryCommand,
|
|
5034
5992
|
StartCisSessionCommand,
|
|
5993
|
+
StartCodeSecurityScanCommand,
|
|
5035
5994
|
StopCisSessionCommand,
|
|
5036
5995
|
TagResourceCommand,
|
|
5037
5996
|
UntagResourceCommand,
|
|
5038
5997
|
UpdateCisScanConfigurationCommand,
|
|
5998
|
+
UpdateCodeSecurityIntegrationCommand,
|
|
5999
|
+
UpdateCodeSecurityScanConfigurationCommand,
|
|
5039
6000
|
UpdateConfigurationCommand,
|
|
5040
6001
|
UpdateEc2DeepInspectionConfigurationCommand,
|
|
5041
6002
|
UpdateEncryptionKeyCommand,
|
|
@@ -5069,6 +6030,7 @@ var StopCisSessionStatus = {
|
|
|
5069
6030
|
StringComparison,
|
|
5070
6031
|
AmiSortBy,
|
|
5071
6032
|
AwsEcrContainerSortBy,
|
|
6033
|
+
CodeRepositorySortBy,
|
|
5072
6034
|
MapComparison,
|
|
5073
6035
|
Ec2InstanceSortBy,
|
|
5074
6036
|
FindingTypeSortBy,
|
|
@@ -5082,14 +6044,17 @@ var StopCisSessionStatus = {
|
|
|
5082
6044
|
AggregationResponse,
|
|
5083
6045
|
AggregationType,
|
|
5084
6046
|
Architecture,
|
|
6047
|
+
CodeSecurityResource,
|
|
5085
6048
|
InternalServerException,
|
|
5086
6049
|
ServiceQuotaExceededException,
|
|
5087
6050
|
ThrottlingException,
|
|
5088
6051
|
ValidationExceptionReason,
|
|
5089
6052
|
ValidationException,
|
|
6053
|
+
AssociationResultStatusCode,
|
|
5090
6054
|
PackageType,
|
|
5091
6055
|
Runtime,
|
|
5092
6056
|
BadRequestException,
|
|
6057
|
+
ConflictException,
|
|
5093
6058
|
ResourceNotFoundException,
|
|
5094
6059
|
CodeSnippetErrorCode,
|
|
5095
6060
|
FindingDetailsErrorCode,
|
|
@@ -5120,7 +6085,17 @@ var StopCisSessionStatus = {
|
|
|
5120
6085
|
CisScanStatusComparison,
|
|
5121
6086
|
CisSortOrder,
|
|
5122
6087
|
ClusterMetadata,
|
|
5123
|
-
|
|
6088
|
+
CodeRepositoryProviderType,
|
|
6089
|
+
ScanStatusReason,
|
|
6090
|
+
ScanStatusCode,
|
|
6091
|
+
RuleSetCategory,
|
|
6092
|
+
ContinuousIntegrationScanEvent,
|
|
6093
|
+
CodeScanStatus,
|
|
6094
|
+
IntegrationStatus,
|
|
6095
|
+
IntegrationType,
|
|
6096
|
+
PeriodicScanFrequency,
|
|
6097
|
+
ProjectSelectionScope,
|
|
6098
|
+
ConfigurationLevel,
|
|
5124
6099
|
GroupKey,
|
|
5125
6100
|
CoverageStringComparison,
|
|
5126
6101
|
CoverageMapComparison,
|
|
@@ -5128,9 +6103,8 @@ var StopCisSessionStatus = {
|
|
|
5128
6103
|
Ec2Platform,
|
|
5129
6104
|
EcrScanFrequency,
|
|
5130
6105
|
ScanMode,
|
|
5131
|
-
ScanStatusReason,
|
|
5132
|
-
ScanStatusCode,
|
|
5133
6106
|
ScanType,
|
|
6107
|
+
CreateIntegrationDetail,
|
|
5134
6108
|
FilterAction,
|
|
5135
6109
|
ReportFormat,
|
|
5136
6110
|
SbomReportFormat,
|
|
@@ -5146,6 +6120,10 @@ var StopCisSessionStatus = {
|
|
|
5146
6120
|
EcrPullDateRescanMode,
|
|
5147
6121
|
EcrRescanDuration,
|
|
5148
6122
|
EcrRescanDurationStatus,
|
|
6123
|
+
CreateGitLabSelfManagedIntegrationDetailFilterSensitiveLog,
|
|
6124
|
+
CreateIntegrationDetailFilterSensitiveLog,
|
|
6125
|
+
CreateCodeSecurityIntegrationRequestFilterSensitiveLog,
|
|
6126
|
+
CreateCodeSecurityIntegrationResponseFilterSensitiveLog,
|
|
5149
6127
|
ExploitAvailable,
|
|
5150
6128
|
ExternalReportStatus,
|
|
5151
6129
|
FixAvailable,
|
|
@@ -5163,6 +6141,12 @@ var StopCisSessionStatus = {
|
|
|
5163
6141
|
SortField,
|
|
5164
6142
|
UsageType,
|
|
5165
6143
|
VulnerabilitySource,
|
|
5166
|
-
StopCisSessionStatus
|
|
6144
|
+
StopCisSessionStatus,
|
|
6145
|
+
UpdateIntegrationDetails,
|
|
6146
|
+
GetCodeSecurityIntegrationResponseFilterSensitiveLog,
|
|
6147
|
+
UpdateGitHubIntegrationDetailFilterSensitiveLog,
|
|
6148
|
+
UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog,
|
|
6149
|
+
UpdateIntegrationDetailsFilterSensitiveLog,
|
|
6150
|
+
UpdateCodeSecurityIntegrationRequestFilterSensitiveLog
|
|
5167
6151
|
});
|
|
5168
6152
|
|