@aws-sdk/client-securityagent 3.1116.0 → 3.1118.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1115.0";
70
+ var version = "3.1117.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -312,9 +312,11 @@ const _CAS = "CreateAgentSpace";
312
312
  const _CASI = "CreateAgentSpaceInput";
313
313
  const _CASO = "CreateAgentSpaceOutput";
314
314
  const _CC = "CertificateChain";
315
+ const _CCP = "CaCertificatePem";
315
316
  const _CCR = "CreateCodeReview";
316
317
  const _CCRI = "CreateCodeReviewInput";
317
318
  const _CCRO = "CreateCodeReviewOutput";
319
+ const _CCS = "CaCertificateSource";
318
320
  const _CDM = "ConfluenceDocumentMetadata";
319
321
  const _CDR = "ConfluenceDocumentResource";
320
322
  const _CE = "ConflictException";
@@ -588,6 +590,8 @@ const _STMJOt = "StopThreatModelJobOutput";
588
590
  const _STMJt = "StopThreatModelJob";
589
591
  const _T = "Task";
590
592
  const _TAS = "ThreatAnchorShape";
593
+ const _TCC = "TrustedCaCertificate";
594
+ const _TCCL = "TrustedCaCertificateList";
591
595
  const _TD = "TargetDomain";
592
596
  const _TDL = "TargetDomainList";
593
597
  const _TDS = "TargetDomainSummary";
@@ -806,6 +810,7 @@ const _iI = "installationId";
806
810
  const _iIA = "idcInstanceArn";
807
811
  const _iIn = "integrationId";
808
812
  const _iP = "isPrimary";
813
+ const _iPn = "inlinePem";
809
814
  const _iR = "integratedRepositories";
810
815
  const _iRS = "integratedResourceSummaries";
811
816
  const _iRa = "iamRoles";
@@ -929,6 +934,7 @@ const _sUc = "scriptUrl";
929
934
  const _sUr = "s3Uri";
930
935
  const _se = "server";
931
936
  const _sev = "severity";
937
+ const _so = "source";
932
938
  const _st = "state";
933
939
  const _sta = "status";
934
940
  const _stat = "statement";
@@ -936,6 +942,7 @@ const _ste = "steps";
936
942
  const _str = "stride";
937
943
  const _t = "type";
938
944
  const _tA = "threatAction";
945
+ const _tCC = "trustedCaCertificates";
939
946
  const _tD = "targetDomains";
940
947
  const _tDI = "targetDomainIds";
941
948
  const _tDIa = "targetDomainId";
@@ -1047,6 +1054,7 @@ const errorTypeRegistries = [
1047
1054
  n0_registry,
1048
1055
  ];
1049
1056
  var AccessToken = [0, n0, _AT, 8, 0];
1057
+ var CaCertificatePem = [0, n0, _CCP, 8, 0];
1050
1058
  var CertificateChain = [0, n0, _CC, 8, 0];
1051
1059
  var SecurityRequirementDocumentContent = [0, n0, _SRDC, 8, 21];
1052
1060
  var SensitiveEmailAddress = [0, n0, _SEA, 8, 0];
@@ -1097,8 +1105,8 @@ var ArtifactSummary$ = [3, n0, _ASr,
1097
1105
  ];
1098
1106
  var Assets$ = [3, n0, _As,
1099
1107
  0,
1100
- [_en, _ac, _doc, _sCo, _iR],
1101
- [() => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => IntegratedRepositoryList]
1108
+ [_en, _ac, _doc, _sCo, _iR, _tCC],
1109
+ [() => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0]]
1102
1110
  ];
1103
1111
  var Authentication$ = [3, n0, _Au,
1104
1112
  0,
@@ -2092,8 +2100,8 @@ var Pentest$ = [3, n0, _P,
2092
2100
  ];
2093
2101
  var PentestJob$ = [3, n0, _PJ,
2094
2102
  0,
2095
- [_pJIe, _pIen, _ti, _o, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _cA, _uA],
2096
- [0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, 0, 0, 64 | 0, 1, 0, 64 | 0, 5, 5]
2103
+ [_pJIe, _pIen, _ti, _o, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _cA, _uA],
2104
+ [0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], 0, 0, 64 | 0, 1, 0, 64 | 0, 5, 5]
2097
2105
  ];
2098
2106
  var PentestJobSummary$ = [3, n0, _PJS,
2099
2107
  0,
@@ -2300,6 +2308,11 @@ var ThreatSummary$ = [3, n0, _TSh,
2300
2308
  [_tIhre, _tJI, _ti, _stat, _sev, _sta, _str, _cB, _uB, _cA, _uA],
2301
2309
  [0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 5, 5]
2302
2310
  ];
2311
+ var TrustedCaCertificate$ = [3, n0, _TCC,
2312
+ 8,
2313
+ [_so],
2314
+ [[() => CaCertificateSource$, 0]], 1
2315
+ ];
2303
2316
  var UntagResourceInput$ = [3, n0, _URI,
2304
2317
  0,
2305
2318
  [_rAe, _tK],
@@ -2651,6 +2664,10 @@ var ThreatModelSummaryList = [1, n0, _TMSL,
2651
2664
  var ThreatSummaryList = [1, n0, _TSLh,
2652
2665
  0, () => ThreatSummary$
2653
2666
  ];
2667
+ var TrustedCaCertificateList = [1, n0, _TCCL,
2668
+ 0, [() => TrustedCaCertificate$,
2669
+ 0]
2670
+ ];
2654
2671
  var UpdateSecurityRequirementEntryList = [1, n0, _USREL,
2655
2672
  0, () => UpdateSecurityRequirementEntry$
2656
2673
  ];
@@ -2663,6 +2680,11 @@ var VerificationScriptEnvVarList = [1, n0, _VSEVL,
2663
2680
  var VpcConfigs = [1, n0, _VCp,
2664
2681
  0, () => VpcConfig$
2665
2682
  ];
2683
+ var CaCertificateSource$ = [4, n0, _CCS,
2684
+ 0,
2685
+ [_iPn, _aI, _sL],
2686
+ [[() => CaCertificatePem, 0], 0, 0]
2687
+ ];
2666
2688
  var DiffSource$ = [4, n0, _DS,
2667
2689
  0,
2668
2690
  [_sUr],
@@ -3953,6 +3975,7 @@ exports.BitbucketIntegrationInput$ = BitbucketIntegrationInput$;
3953
3975
  exports.BitbucketRepositoryMetadata$ = BitbucketRepositoryMetadata$;
3954
3976
  exports.BitbucketRepositoryResource$ = BitbucketRepositoryResource$;
3955
3977
  exports.BitbucketResourceCapabilities$ = BitbucketResourceCapabilities$;
3978
+ exports.CaCertificateSource$ = CaCertificateSource$;
3956
3979
  exports.Category$ = Category$;
3957
3980
  exports.CleanUpStrategy = CleanUpStrategy;
3958
3981
  exports.CloudWatchLog$ = CloudWatchLog$;
@@ -4319,6 +4342,7 @@ exports.ThreatStatus = ThreatStatus;
4319
4342
  exports.ThreatSummary$ = ThreatSummary$;
4320
4343
  exports.ThrottlingException = ThrottlingException;
4321
4344
  exports.ThrottlingException$ = ThrottlingException$;
4345
+ exports.TrustedCaCertificate$ = TrustedCaCertificate$;
4322
4346
  exports.UntagResource$ = UntagResource$;
4323
4347
  exports.UntagResourceCommand = UntagResourceCommand;
4324
4348
  exports.UntagResourceInput$ = UntagResourceInput$;
@@ -100,9 +100,11 @@ const _CAS = "CreateAgentSpace";
100
100
  const _CASI = "CreateAgentSpaceInput";
101
101
  const _CASO = "CreateAgentSpaceOutput";
102
102
  const _CC = "CertificateChain";
103
+ const _CCP = "CaCertificatePem";
103
104
  const _CCR = "CreateCodeReview";
104
105
  const _CCRI = "CreateCodeReviewInput";
105
106
  const _CCRO = "CreateCodeReviewOutput";
107
+ const _CCS = "CaCertificateSource";
106
108
  const _CDM = "ConfluenceDocumentMetadata";
107
109
  const _CDR = "ConfluenceDocumentResource";
108
110
  const _CE = "ConflictException";
@@ -376,6 +378,8 @@ const _STMJOt = "StopThreatModelJobOutput";
376
378
  const _STMJt = "StopThreatModelJob";
377
379
  const _T = "Task";
378
380
  const _TAS = "ThreatAnchorShape";
381
+ const _TCC = "TrustedCaCertificate";
382
+ const _TCCL = "TrustedCaCertificateList";
379
383
  const _TD = "TargetDomain";
380
384
  const _TDL = "TargetDomainList";
381
385
  const _TDS = "TargetDomainSummary";
@@ -594,6 +598,7 @@ const _iI = "installationId";
594
598
  const _iIA = "idcInstanceArn";
595
599
  const _iIn = "integrationId";
596
600
  const _iP = "isPrimary";
601
+ const _iPn = "inlinePem";
597
602
  const _iR = "integratedRepositories";
598
603
  const _iRS = "integratedResourceSummaries";
599
604
  const _iRa = "iamRoles";
@@ -717,6 +722,7 @@ const _sUc = "scriptUrl";
717
722
  const _sUr = "s3Uri";
718
723
  const _se = "server";
719
724
  const _sev = "severity";
725
+ const _so = "source";
720
726
  const _st = "state";
721
727
  const _sta = "status";
722
728
  const _stat = "statement";
@@ -724,6 +730,7 @@ const _ste = "steps";
724
730
  const _str = "stride";
725
731
  const _t = "type";
726
732
  const _tA = "threatAction";
733
+ const _tCC = "trustedCaCertificates";
727
734
  const _tD = "targetDomains";
728
735
  const _tDI = "targetDomainIds";
729
736
  const _tDIa = "targetDomainId";
@@ -838,6 +845,7 @@ export const errorTypeRegistries = [
838
845
  n0_registry,
839
846
  ];
840
847
  var AccessToken = [0, n0, _AT, 8, 0];
848
+ var CaCertificatePem = [0, n0, _CCP, 8, 0];
841
849
  var CertificateChain = [0, n0, _CC, 8, 0];
842
850
  var SecurityRequirementDocumentContent = [0, n0, _SRDC, 8, 21];
843
851
  var SensitiveEmailAddress = [0, n0, _SEA, 8, 0];
@@ -888,8 +896,8 @@ export var ArtifactSummary$ = [3, n0, _ASr,
888
896
  ];
889
897
  export var Assets$ = [3, n0, _As,
890
898
  0,
891
- [_en, _ac, _doc, _sCo, _iR],
892
- [() => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => IntegratedRepositoryList]
899
+ [_en, _ac, _doc, _sCo, _iR, _tCC],
900
+ [() => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0]]
893
901
  ];
894
902
  export var Authentication$ = [3, n0, _Au,
895
903
  0,
@@ -1883,8 +1891,8 @@ export var Pentest$ = [3, n0, _P,
1883
1891
  ];
1884
1892
  export var PentestJob$ = [3, n0, _PJ,
1885
1893
  0,
1886
- [_pJIe, _pIen, _ti, _o, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _cA, _uA],
1887
- [0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, 0, 0, 64 | 0, 1, 0, 64 | 0, 5, 5]
1894
+ [_pJIe, _pIen, _ti, _o, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _cA, _uA],
1895
+ [0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], 0, 0, 64 | 0, 1, 0, 64 | 0, 5, 5]
1888
1896
  ];
1889
1897
  export var PentestJobSummary$ = [3, n0, _PJS,
1890
1898
  0,
@@ -2091,6 +2099,11 @@ export var ThreatSummary$ = [3, n0, _TSh,
2091
2099
  [_tIhre, _tJI, _ti, _stat, _sev, _sta, _str, _cB, _uB, _cA, _uA],
2092
2100
  [0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 5, 5]
2093
2101
  ];
2102
+ export var TrustedCaCertificate$ = [3, n0, _TCC,
2103
+ 8,
2104
+ [_so],
2105
+ [[() => CaCertificateSource$, 0]], 1
2106
+ ];
2094
2107
  export var UntagResourceInput$ = [3, n0, _URI,
2095
2108
  0,
2096
2109
  [_rAe, _tK],
@@ -2470,6 +2483,10 @@ var ThreatModelSummaryList = [1, n0, _TMSL,
2470
2483
  var ThreatSummaryList = [1, n0, _TSLh,
2471
2484
  0, () => ThreatSummary$
2472
2485
  ];
2486
+ var TrustedCaCertificateList = [1, n0, _TCCL,
2487
+ 0, [() => TrustedCaCertificate$,
2488
+ 0]
2489
+ ];
2473
2490
  var UpdateSecurityRequirementEntryList = [1, n0, _USREL,
2474
2491
  0, () => UpdateSecurityRequirementEntry$
2475
2492
  ];
@@ -2484,6 +2501,11 @@ var VpcConfigs = [1, n0, _VCp,
2484
2501
  0, () => VpcConfig$
2485
2502
  ];
2486
2503
  var TagMap = 128 | 0;
2504
+ export var CaCertificateSource$ = [4, n0, _CCS,
2505
+ 0,
2506
+ [_iPn, _aI, _sL],
2507
+ [[() => CaCertificatePem, 0], 0, 0]
2508
+ ];
2487
2509
  export var DiffSource$ = [4, n0, _DS,
2488
2510
  0,
2489
2511
  [_sUr],
@@ -90,6 +90,15 @@ declare const BatchDeletePentestsCommand_base: {
90
90
  * // branch: "STRING_VALUE",
91
91
  * // },
92
92
  * // ],
93
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
94
+ * // { // TrustedCaCertificate
95
+ * // source: { // CaCertificateSource Union: only one key present
96
+ * // inlinePem: "STRING_VALUE",
97
+ * // artifactId: "STRING_VALUE",
98
+ * // s3Location: "STRING_VALUE",
99
+ * // },
100
+ * // },
101
+ * // ],
93
102
  * // },
94
103
  * // excludeRiskTypes: [ // RiskTypeList
95
104
  * // "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
@@ -90,6 +90,15 @@ declare const BatchGetCodeReviewsCommand_base: {
90
90
  * // branch: "STRING_VALUE",
91
91
  * // },
92
92
  * // ],
93
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
94
+ * // { // TrustedCaCertificate
95
+ * // source: { // CaCertificateSource Union: only one key present
96
+ * // inlinePem: "STRING_VALUE",
97
+ * // artifactId: "STRING_VALUE",
98
+ * // s3Location: "STRING_VALUE",
99
+ * // },
100
+ * // },
101
+ * // ],
93
102
  * // },
94
103
  * // serviceRole: "STRING_VALUE",
95
104
  * // logConfig: { // CloudWatchLog
@@ -152,6 +152,15 @@ declare const BatchGetPentestJobsCommand_base: {
152
152
  * // branch: "STRING_VALUE",
153
153
  * // },
154
154
  * // ],
155
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
156
+ * // { // TrustedCaCertificate
157
+ * // source: { // CaCertificateSource Union: only one key present
158
+ * // inlinePem: "STRING_VALUE",
159
+ * // artifactId: "STRING_VALUE",
160
+ * // s3Location: "STRING_VALUE",
161
+ * // },
162
+ * // },
163
+ * // ],
155
164
  * // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
156
165
  * // cleanUpStrategy: "BEST_EFFORT_DELETE" || "RETAIN_ALL",
157
166
  * // disableManagedSkills: [ // SkillTypeList
@@ -90,6 +90,15 @@ declare const BatchGetPentestsCommand_base: {
90
90
  * // branch: "STRING_VALUE",
91
91
  * // },
92
92
  * // ],
93
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
94
+ * // { // TrustedCaCertificate
95
+ * // source: { // CaCertificateSource Union: only one key present
96
+ * // inlinePem: "STRING_VALUE",
97
+ * // artifactId: "STRING_VALUE",
98
+ * // s3Location: "STRING_VALUE",
99
+ * // },
100
+ * // },
101
+ * // ],
93
102
  * // },
94
103
  * // excludeRiskTypes: [ // RiskTypeList
95
104
  * // "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
@@ -91,6 +91,15 @@ declare const BatchGetThreatModelsCommand_base: {
91
91
  * // branch: "STRING_VALUE",
92
92
  * // },
93
93
  * // ],
94
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
95
+ * // { // TrustedCaCertificate
96
+ * // source: { // CaCertificateSource Union: only one key present
97
+ * // inlinePem: "STRING_VALUE",
98
+ * // artifactId: "STRING_VALUE",
99
+ * // s3Location: "STRING_VALUE",
100
+ * // },
101
+ * // },
102
+ * // ],
94
103
  * // },
95
104
  * // scopeDocs: [
96
105
  * // {
@@ -79,6 +79,15 @@ declare const CreateCodeReviewCommand_base: {
79
79
  * branch: "STRING_VALUE",
80
80
  * },
81
81
  * ],
82
+ * trustedCaCertificates: [ // TrustedCaCertificateList
83
+ * { // TrustedCaCertificate
84
+ * source: { // CaCertificateSource Union: only one key present
85
+ * inlinePem: "STRING_VALUE",
86
+ * artifactId: "STRING_VALUE",
87
+ * s3Location: "STRING_VALUE",
88
+ * },
89
+ * },
90
+ * ],
82
91
  * },
83
92
  * serviceRole: "STRING_VALUE",
84
93
  * logConfig: { // CloudWatchLog
@@ -139,6 +148,15 @@ declare const CreateCodeReviewCommand_base: {
139
148
  * // branch: "STRING_VALUE",
140
149
  * // },
141
150
  * // ],
151
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
152
+ * // { // TrustedCaCertificate
153
+ * // source: { // CaCertificateSource Union: only one key present
154
+ * // inlinePem: "STRING_VALUE",
155
+ * // artifactId: "STRING_VALUE",
156
+ * // s3Location: "STRING_VALUE",
157
+ * // },
158
+ * // },
159
+ * // ],
142
160
  * // },
143
161
  * // serviceRole: "STRING_VALUE",
144
162
  * // logConfig: { // CloudWatchLog
@@ -79,6 +79,15 @@ declare const CreatePentestCommand_base: {
79
79
  * branch: "STRING_VALUE",
80
80
  * },
81
81
  * ],
82
+ * trustedCaCertificates: [ // TrustedCaCertificateList
83
+ * { // TrustedCaCertificate
84
+ * source: { // CaCertificateSource Union: only one key present
85
+ * inlinePem: "STRING_VALUE",
86
+ * artifactId: "STRING_VALUE",
87
+ * s3Location: "STRING_VALUE",
88
+ * },
89
+ * },
90
+ * ],
82
91
  * },
83
92
  * excludeRiskTypes: [ // RiskTypeList
84
93
  * "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
@@ -168,6 +177,15 @@ declare const CreatePentestCommand_base: {
168
177
  * // branch: "STRING_VALUE",
169
178
  * // },
170
179
  * // ],
180
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
181
+ * // { // TrustedCaCertificate
182
+ * // source: { // CaCertificateSource Union: only one key present
183
+ * // inlinePem: "STRING_VALUE",
184
+ * // artifactId: "STRING_VALUE",
185
+ * // s3Location: "STRING_VALUE",
186
+ * // },
187
+ * // },
188
+ * // ],
171
189
  * // },
172
190
  * // excludeRiskTypes: [ // RiskTypeList
173
191
  * // "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
@@ -80,6 +80,15 @@ declare const CreateThreatModelCommand_base: {
80
80
  * branch: "STRING_VALUE",
81
81
  * },
82
82
  * ],
83
+ * trustedCaCertificates: [ // TrustedCaCertificateList
84
+ * { // TrustedCaCertificate
85
+ * source: { // CaCertificateSource Union: only one key present
86
+ * inlinePem: "STRING_VALUE",
87
+ * artifactId: "STRING_VALUE",
88
+ * s3Location: "STRING_VALUE",
89
+ * },
90
+ * },
91
+ * ],
83
92
  * },
84
93
  * scopeDocs: [
85
94
  * {
@@ -153,6 +162,15 @@ declare const CreateThreatModelCommand_base: {
153
162
  * // branch: "STRING_VALUE",
154
163
  * // },
155
164
  * // ],
165
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
166
+ * // { // TrustedCaCertificate
167
+ * // source: { // CaCertificateSource Union: only one key present
168
+ * // inlinePem: "STRING_VALUE",
169
+ * // artifactId: "STRING_VALUE",
170
+ * // s3Location: "STRING_VALUE",
171
+ * // },
172
+ * // },
173
+ * // ],
156
174
  * // },
157
175
  * // scopeDocs: [
158
176
  * // {
@@ -80,6 +80,15 @@ declare const UpdateCodeReviewCommand_base: {
80
80
  * branch: "STRING_VALUE",
81
81
  * },
82
82
  * ],
83
+ * trustedCaCertificates: [ // TrustedCaCertificateList
84
+ * { // TrustedCaCertificate
85
+ * source: { // CaCertificateSource Union: only one key present
86
+ * inlinePem: "STRING_VALUE",
87
+ * artifactId: "STRING_VALUE",
88
+ * s3Location: "STRING_VALUE",
89
+ * },
90
+ * },
91
+ * ],
83
92
  * },
84
93
  * serviceRole: "STRING_VALUE",
85
94
  * logConfig: { // CloudWatchLog
@@ -140,6 +149,15 @@ declare const UpdateCodeReviewCommand_base: {
140
149
  * // branch: "STRING_VALUE",
141
150
  * // },
142
151
  * // ],
152
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
153
+ * // { // TrustedCaCertificate
154
+ * // source: { // CaCertificateSource Union: only one key present
155
+ * // inlinePem: "STRING_VALUE",
156
+ * // artifactId: "STRING_VALUE",
157
+ * // s3Location: "STRING_VALUE",
158
+ * // },
159
+ * // },
160
+ * // ],
143
161
  * // },
144
162
  * // serviceRole: "STRING_VALUE",
145
163
  * // logConfig: { // CloudWatchLog
@@ -80,6 +80,15 @@ declare const UpdatePentestCommand_base: {
80
80
  * branch: "STRING_VALUE",
81
81
  * },
82
82
  * ],
83
+ * trustedCaCertificates: [ // TrustedCaCertificateList
84
+ * { // TrustedCaCertificate
85
+ * source: { // CaCertificateSource Union: only one key present
86
+ * inlinePem: "STRING_VALUE",
87
+ * artifactId: "STRING_VALUE",
88
+ * s3Location: "STRING_VALUE",
89
+ * },
90
+ * },
91
+ * ],
83
92
  * },
84
93
  * excludeRiskTypes: [ // RiskTypeList
85
94
  * "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
@@ -169,6 +178,15 @@ declare const UpdatePentestCommand_base: {
169
178
  * // branch: "STRING_VALUE",
170
179
  * // },
171
180
  * // ],
181
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
182
+ * // { // TrustedCaCertificate
183
+ * // source: { // CaCertificateSource Union: only one key present
184
+ * // inlinePem: "STRING_VALUE",
185
+ * // artifactId: "STRING_VALUE",
186
+ * // s3Location: "STRING_VALUE",
187
+ * // },
188
+ * // },
189
+ * // ],
172
190
  * // },
173
191
  * // excludeRiskTypes: [ // RiskTypeList
174
192
  * // "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN",
@@ -81,6 +81,15 @@ declare const UpdateThreatModelCommand_base: {
81
81
  * branch: "STRING_VALUE",
82
82
  * },
83
83
  * ],
84
+ * trustedCaCertificates: [ // TrustedCaCertificateList
85
+ * { // TrustedCaCertificate
86
+ * source: { // CaCertificateSource Union: only one key present
87
+ * inlinePem: "STRING_VALUE",
88
+ * artifactId: "STRING_VALUE",
89
+ * s3Location: "STRING_VALUE",
90
+ * },
91
+ * },
92
+ * ],
84
93
  * },
85
94
  * scopeDocs: [
86
95
  * {
@@ -148,6 +157,15 @@ declare const UpdateThreatModelCommand_base: {
148
157
  * // branch: "STRING_VALUE",
149
158
  * // },
150
159
  * // ],
160
+ * // trustedCaCertificates: [ // TrustedCaCertificateList
161
+ * // { // TrustedCaCertificate
162
+ * // source: { // CaCertificateSource Union: only one key present
163
+ * // inlinePem: "STRING_VALUE",
164
+ * // artifactId: "STRING_VALUE",
165
+ * // s3Location: "STRING_VALUE",
166
+ * // },
167
+ * // },
168
+ * // ],
151
169
  * // },
152
170
  * // scopeDocs: [
153
171
  * // {
@@ -842,6 +842,76 @@ export interface SourceCodeRepository {
842
842
  */
843
843
  s3Location?: string | undefined;
844
844
  }
845
+ /**
846
+ * <p>The source of a trusted CA certificate. Exactly one member must be set.</p>
847
+ * @public
848
+ */
849
+ export type CaCertificateSource = CaCertificateSource.ArtifactIdMember | CaCertificateSource.InlinePemMember | CaCertificateSource.S3LocationMember | CaCertificateSource.$UnknownMember;
850
+ /**
851
+ * @public
852
+ */
853
+ export declare namespace CaCertificateSource {
854
+ /**
855
+ * <p>A PEM-encoded X.509 certificate supplied inline.</p>
856
+ * @public
857
+ */
858
+ interface InlinePemMember {
859
+ inlinePem: string;
860
+ artifactId?: never;
861
+ s3Location?: never;
862
+ $unknown?: never;
863
+ }
864
+ /**
865
+ * <p>The artifact ID of an uploaded certificate file.</p>
866
+ * @public
867
+ */
868
+ interface ArtifactIdMember {
869
+ inlinePem?: never;
870
+ artifactId: string;
871
+ s3Location?: never;
872
+ $unknown?: never;
873
+ }
874
+ /**
875
+ * <p>The Amazon S3 location URI of a customer-staged certificate.</p>
876
+ * @public
877
+ */
878
+ interface S3LocationMember {
879
+ inlinePem?: never;
880
+ artifactId?: never;
881
+ s3Location: string;
882
+ $unknown?: never;
883
+ }
884
+ /**
885
+ * @public
886
+ */
887
+ interface $UnknownMember {
888
+ inlinePem?: never;
889
+ artifactId?: never;
890
+ s3Location?: never;
891
+ $unknown: [string, any];
892
+ }
893
+ /**
894
+ * @deprecated unused in schema-serde mode.
895
+ *
896
+ */
897
+ interface Visitor<T> {
898
+ inlinePem: (value: string) => T;
899
+ artifactId: (value: string) => T;
900
+ s3Location: (value: string) => T;
901
+ _: (name: string, value: any) => T;
902
+ }
903
+ }
904
+ /**
905
+ * <p>A trust anchor used when validating a target endpoint's TLS certificate.</p>
906
+ * @public
907
+ */
908
+ export interface TrustedCaCertificate {
909
+ /**
910
+ * <p>The source that AWS Security Agent reads the certificate from.</p>
911
+ * @public
912
+ */
913
+ source: CaCertificateSource | undefined;
914
+ }
845
915
  /**
846
916
  * <p>The collection of assets used in a pentest configuration, including endpoints, actors, documents, source code repositories, and integrated repositories.</p>
847
917
  * @public
@@ -872,6 +942,11 @@ export interface Assets {
872
942
  * @public
873
943
  */
874
944
  integratedRepositories?: IntegratedRepository[] | undefined;
945
+ /**
946
+ * <p>The trust anchors used to validate target endpoint TLS certificates. Provide these for endpoints served by a private or internal certificate authority (CA), an intermediate CA, or a self-signed certificate.</p>
947
+ * @public
948
+ */
949
+ trustedCaCertificates?: TrustedCaCertificate[] | undefined;
875
950
  }
876
951
  /**
877
952
  * <p>Contains information about a successfully created security requirement.</p>
@@ -2163,6 +2238,11 @@ export interface PentestJob {
2163
2238
  * @public
2164
2239
  */
2165
2240
  integratedRepositories?: IntegratedRepository[] | undefined;
2241
+ /**
2242
+ * <p>The trust anchors used to validate target endpoint TLS certificates during the pentest job.</p>
2243
+ * @public
2244
+ */
2245
+ trustedCaCertificates?: TrustedCaCertificate[] | undefined;
2166
2246
  /**
2167
2247
  * <p>The code remediation strategy for the pentest job.</p>
2168
2248
  * @public
@@ -264,6 +264,7 @@ export declare var ThreatModelJobTask$: StaticStructureSchema;
264
264
  export declare var ThreatModelJobTaskSummary$: StaticStructureSchema;
265
265
  export declare var ThreatModelSummary$: StaticStructureSchema;
266
266
  export declare var ThreatSummary$: StaticStructureSchema;
267
+ export declare var TrustedCaCertificate$: StaticStructureSchema;
267
268
  export declare var UntagResourceInput$: StaticStructureSchema;
268
269
  export declare var UntagResourceOutput$: StaticStructureSchema;
269
270
  export declare var UpdateAgentSpaceInput$: StaticStructureSchema;
@@ -298,6 +299,7 @@ export declare var VerificationScriptEnvVar$: StaticStructureSchema;
298
299
  export declare var VerifyTargetDomainInput$: StaticStructureSchema;
299
300
  export declare var VerifyTargetDomainOutput$: StaticStructureSchema;
300
301
  export declare var VpcConfig$: StaticStructureSchema;
302
+ export declare var CaCertificateSource$: StaticUnionSchema;
301
303
  export declare var DiffSource$: StaticUnionSchema;
302
304
  export declare var ImportSource$: StaticUnionSchema;
303
305
  export declare var IntegratedResource$: StaticUnionSchema;
@@ -247,12 +247,53 @@ export interface IntegratedRepository {
247
247
  export interface SourceCodeRepository {
248
248
  s3Location?: string | undefined;
249
249
  }
250
+ export type CaCertificateSource =
251
+ | CaCertificateSource.ArtifactIdMember
252
+ | CaCertificateSource.InlinePemMember
253
+ | CaCertificateSource.S3LocationMember
254
+ | CaCertificateSource.$UnknownMember;
255
+ export declare namespace CaCertificateSource {
256
+ interface InlinePemMember {
257
+ inlinePem: string;
258
+ artifactId?: never;
259
+ s3Location?: never;
260
+ $unknown?: never;
261
+ }
262
+ interface ArtifactIdMember {
263
+ inlinePem?: never;
264
+ artifactId: string;
265
+ s3Location?: never;
266
+ $unknown?: never;
267
+ }
268
+ interface S3LocationMember {
269
+ inlinePem?: never;
270
+ artifactId?: never;
271
+ s3Location: string;
272
+ $unknown?: never;
273
+ }
274
+ interface $UnknownMember {
275
+ inlinePem?: never;
276
+ artifactId?: never;
277
+ s3Location?: never;
278
+ $unknown: [string, any];
279
+ }
280
+ interface Visitor<T> {
281
+ inlinePem: (value: string) => T;
282
+ artifactId: (value: string) => T;
283
+ s3Location: (value: string) => T;
284
+ _: (name: string, value: any) => T;
285
+ }
286
+ }
287
+ export interface TrustedCaCertificate {
288
+ source: CaCertificateSource | undefined;
289
+ }
250
290
  export interface Assets {
251
291
  endpoints?: Endpoint[] | undefined;
252
292
  actors?: Actor[] | undefined;
253
293
  documents?: DocumentInfo[] | undefined;
254
294
  sourceCode?: SourceCodeRepository[] | undefined;
255
295
  integratedRepositories?: IntegratedRepository[] | undefined;
296
+ trustedCaCertificates?: TrustedCaCertificate[] | undefined;
256
297
  }
257
298
  export interface BatchCreateSecurityRequirementResult {
258
299
  packId: string | undefined;
@@ -550,6 +591,7 @@ export interface PentestJob {
550
591
  networkTrafficConfig?: NetworkTrafficConfig | undefined;
551
592
  errorInformation?: ErrorInformation | undefined;
552
593
  integratedRepositories?: IntegratedRepository[] | undefined;
594
+ trustedCaCertificates?: TrustedCaCertificate[] | undefined;
553
595
  codeRemediationStrategy?: CodeRemediationStrategy | undefined;
554
596
  cleanUpStrategy?: CleanUpStrategy | undefined;
555
597
  disableManagedSkills?: SkillType[] | undefined;
@@ -264,6 +264,7 @@ export declare var ThreatModelJobTask$: StaticStructureSchema;
264
264
  export declare var ThreatModelJobTaskSummary$: StaticStructureSchema;
265
265
  export declare var ThreatModelSummary$: StaticStructureSchema;
266
266
  export declare var ThreatSummary$: StaticStructureSchema;
267
+ export declare var TrustedCaCertificate$: StaticStructureSchema;
267
268
  export declare var UntagResourceInput$: StaticStructureSchema;
268
269
  export declare var UntagResourceOutput$: StaticStructureSchema;
269
270
  export declare var UpdateAgentSpaceInput$: StaticStructureSchema;
@@ -298,6 +299,7 @@ export declare var VerificationScriptEnvVar$: StaticStructureSchema;
298
299
  export declare var VerifyTargetDomainInput$: StaticStructureSchema;
299
300
  export declare var VerifyTargetDomainOutput$: StaticStructureSchema;
300
301
  export declare var VpcConfig$: StaticStructureSchema;
302
+ export declare var CaCertificateSource$: StaticUnionSchema;
301
303
  export declare var DiffSource$: StaticUnionSchema;
302
304
  export declare var ImportSource$: StaticUnionSchema;
303
305
  export declare var IntegratedResource$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityagent",
3
- "version": "3.1116.0",
3
+ "version": "3.1118.0",
4
4
  "description": "AWS SDK for JavaScript Securityagent Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-securityagent",
6
6
  "license": "Apache-2.0",