@aws-sdk/client-securityagent 3.1109.0 → 3.1110.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 +35 -25
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +29 -24
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +1 -0
- package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +1 -0
- package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +1 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +4 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +5 -0
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +1 -0
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +2 -0
- package/dist-types/commands/CreatePentestCommand.d.ts +1 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +4 -0
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +2 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +18 -0
- package/dist-types/models/models_0.d.ts +81 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +17 -0
- package/package.json +1 -1
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.
|
|
70
|
+
var version = "3.1109.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -815,6 +815,7 @@ const _id = "id";
|
|
|
815
815
|
const _in = "input";
|
|
816
816
|
const _ins = "instructions";
|
|
817
817
|
const _it = "items";
|
|
818
|
+
const _jT = "jobType";
|
|
818
819
|
const _k = "kind";
|
|
819
820
|
const _kKI = "kmsKeyId";
|
|
820
821
|
const _l = "label";
|
|
@@ -835,6 +836,7 @@ const _mI = "membershipId";
|
|
|
835
836
|
const _mR = "maxResults";
|
|
836
837
|
const _mS = "membershipSummaries";
|
|
837
838
|
const _mT = "memberType";
|
|
839
|
+
const _mTH = "maxTaskHours";
|
|
838
840
|
const _mTa = "managementType";
|
|
839
841
|
const _me = "metadata";
|
|
840
842
|
const _met = "method";
|
|
@@ -846,6 +848,7 @@ const _nTC = "networkTrafficConfig";
|
|
|
846
848
|
const _nTRT = "networkTrafficRuleType";
|
|
847
849
|
const _na = "namespace";
|
|
848
850
|
const _o = "overview";
|
|
851
|
+
const _oFI = "originalFindingId";
|
|
849
852
|
const _oN = "organizationName";
|
|
850
853
|
const _op = "operation";
|
|
851
854
|
const _ow = "owner";
|
|
@@ -881,6 +884,7 @@ const _rCI = "resourceConfigurationId";
|
|
|
881
884
|
const _rD = "reportDestination";
|
|
882
885
|
const _rGI = "resourceGatewayId";
|
|
883
886
|
const _rI = "resourceId";
|
|
887
|
+
const _rJI = "revalidationJobIds";
|
|
884
888
|
const _rL = "riskLevel";
|
|
885
889
|
const _rN = "repoName";
|
|
886
890
|
const _rP = "routePath";
|
|
@@ -901,6 +905,7 @@ const _sB = "s3Buckets";
|
|
|
901
905
|
const _sC = "serviceCode";
|
|
902
906
|
const _sCo = "sourceCode";
|
|
903
907
|
const _sD = "scopeDocs";
|
|
908
|
+
const _sFI = "selectedFindingIds";
|
|
904
909
|
const _sGA = "securityGroupArns";
|
|
905
910
|
const _sGI = "securityGroupIds";
|
|
906
911
|
const _sI = "subnetIds";
|
|
@@ -1377,13 +1382,13 @@ var CodeRemediationTaskDetails$ = [3, n0, _CRTD,
|
|
|
1377
1382
|
];
|
|
1378
1383
|
var CodeReview$ = [3, n0, _CR,
|
|
1379
1384
|
0,
|
|
1380
|
-
[_cRIo, _aSI, _ti, _as, _sRe, _lCo, _cRSo, _vM, _cA, _uA],
|
|
1381
|
-
[0, 0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 5, 5], 4
|
|
1385
|
+
[_cRIo, _aSI, _ti, _as, _sRe, _lCo, _cRSo, _vM, _mTH, _cA, _uA],
|
|
1386
|
+
[0, 0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 1, 5, 5], 4
|
|
1382
1387
|
];
|
|
1383
1388
|
var CodeReviewJob$ = [3, n0, _CRJ,
|
|
1384
1389
|
0,
|
|
1385
|
-
[_cRJIo, _cRIo, _ti, _o, _sta, _doc, _sCo, _ste, _eC, _sRe, _lCo, _eI, _iR, _cRSo, _cA, _uA],
|
|
1386
|
-
[0, 0, 0, 0, 0, () => DocumentList, () => SourceCodeRepositoryList, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => ErrorInformation$, () => IntegratedRepositoryList, 0, 5, 5]
|
|
1390
|
+
[_cRJIo, _cRIo, _ti, _o, _sta, _doc, _sCo, _ste, _eC, _sRe, _lCo, _eI, _iR, _cRSo, _mTH, _cA, _uA],
|
|
1391
|
+
[0, 0, 0, 0, 0, () => DocumentList, () => SourceCodeRepositoryList, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => ErrorInformation$, () => IntegratedRepositoryList, 0, 1, 5, 5]
|
|
1387
1392
|
];
|
|
1388
1393
|
var CodeReviewJobSummary$ = [3, n0, _CRJS,
|
|
1389
1394
|
0,
|
|
@@ -1452,13 +1457,13 @@ var CreateApplicationResponse$ = [3, n0, _CARr,
|
|
|
1452
1457
|
];
|
|
1453
1458
|
var CreateCodeReviewInput$ = [3, n0, _CCRI,
|
|
1454
1459
|
0,
|
|
1455
|
-
[_ti, _aSI, _as, _sRe, _lCo, _cRSo, _vM],
|
|
1456
|
-
[0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0], 3
|
|
1460
|
+
[_ti, _aSI, _as, _sRe, _lCo, _cRSo, _vM, _mTH],
|
|
1461
|
+
[0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 1], 3
|
|
1457
1462
|
];
|
|
1458
1463
|
var CreateCodeReviewOutput$ = [3, n0, _CCRO,
|
|
1459
1464
|
0,
|
|
1460
|
-
[_cRIo, _ti, _cA, _uA, _as, _sRe, _lCo, _aSI, _cRSo, _vM],
|
|
1461
|
-
[0, 0, 5, 5, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 0], 1
|
|
1465
|
+
[_cRIo, _ti, _cA, _uA, _as, _sRe, _lCo, _aSI, _cRSo, _vM, _mTH],
|
|
1466
|
+
[0, 0, 5, 5, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 0, 1], 1
|
|
1462
1467
|
];
|
|
1463
1468
|
var CreateIntegrationInput$ = [3, n0, _CIIr,
|
|
1464
1469
|
0,
|
|
@@ -1482,8 +1487,8 @@ var CreateMembershipResponse$ = [3, n0, _CMRr,
|
|
|
1482
1487
|
];
|
|
1483
1488
|
var CreatePentestInput$ = [3, n0, _CPI,
|
|
1484
1489
|
0,
|
|
1485
|
-
[_ti, _aSI, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS],
|
|
1486
|
-
[0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0], 2
|
|
1490
|
+
[_ti, _aSI, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH],
|
|
1491
|
+
[0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1], 2
|
|
1487
1492
|
];
|
|
1488
1493
|
var CreatePentestOutput$ = [3, n0, _CPO,
|
|
1489
1494
|
0,
|
|
@@ -1682,8 +1687,8 @@ var ExecutionContext$ = [3, n0, _EC,
|
|
|
1682
1687
|
];
|
|
1683
1688
|
var Finding$ = [3, n0, _F,
|
|
1684
1689
|
0,
|
|
1685
|
-
[_fIi, _aSI, _pIen, _pJIe, _cRIo, _cRJIo, _tIa, _n, _d, _sta, _rT, _rL, _rS, _reas, _conf, _vSa, _aSt, _cRT, _lUB, _cN, _cL, _vSe, _aRl, _cA, _uA],
|
|
1686
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => CodeRemediationTask$, 0, 0, () => CodeLocationList, () => VerificationScript$, 0, 5, 5], 2
|
|
1690
|
+
[_fIi, _aSI, _pIen, _pJIe, _cRIo, _cRJIo, _tIa, _n, _d, _sta, _rT, _rL, _rS, _reas, _conf, _vSa, _aSt, _cRT, _lUB, _cN, _cL, _vSe, _aRl, _rJI, _oFI, _cA, _uA],
|
|
1691
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => CodeRemediationTask$, 0, 0, () => CodeLocationList, () => VerificationScript$, 0, 64 | 0, 0, 5, 5], 2
|
|
1687
1692
|
];
|
|
1688
1693
|
var FindingSummary$ = [3, n0, _FS,
|
|
1689
1694
|
0,
|
|
@@ -2082,13 +2087,13 @@ var NetworkTrafficRule$ = [3, n0, _NTR,
|
|
|
2082
2087
|
];
|
|
2083
2088
|
var Pentest$ = [3, n0, _P,
|
|
2084
2089
|
0,
|
|
2085
|
-
[_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _cUS, _dMS, _cA, _uA],
|
|
2086
|
-
[0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 0, 64 | 0, 5, 5], 4
|
|
2090
|
+
[_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _cUS, _dMS, _mTH, _cA, _uA],
|
|
2091
|
+
[0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 0, 64 | 0, 1, 5, 5], 4
|
|
2087
2092
|
];
|
|
2088
2093
|
var PentestJob$ = [3, n0, _PJ,
|
|
2089
2094
|
0,
|
|
2090
|
-
[_pJIe, _pIen, _ti, _o, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _cRSo, _cUS, _dMS, _cA, _uA],
|
|
2091
|
-
[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, 5, 5]
|
|
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]
|
|
2092
2097
|
];
|
|
2093
2098
|
var PentestJobSummary$ = [3, n0, _PJS,
|
|
2094
2099
|
0,
|
|
@@ -2162,8 +2167,8 @@ var StartCodeReviewJobOutput$ = [3, n0, _SCRJO,
|
|
|
2162
2167
|
];
|
|
2163
2168
|
var StartPentestJobInput$ = [3, n0, _SPJI,
|
|
2164
2169
|
0,
|
|
2165
|
-
[_aSI, _pIen],
|
|
2166
|
-
[0, 0], 2
|
|
2170
|
+
[_aSI, _pIen, _jT, _sFI],
|
|
2171
|
+
[0, 0, 0, 64 | 0], 2
|
|
2167
2172
|
];
|
|
2168
2173
|
var StartPentestJobOutput$ = [3, n0, _SPJO,
|
|
2169
2174
|
0,
|
|
@@ -2327,13 +2332,13 @@ var UpdateApplicationResponse$ = [3, n0, _UARp,
|
|
|
2327
2332
|
];
|
|
2328
2333
|
var UpdateCodeReviewInput$ = [3, n0, _UCRI,
|
|
2329
2334
|
0,
|
|
2330
|
-
[_cRIo, _aSI, _ti, _as, _sRe, _lCo, _cRSo, _vM],
|
|
2331
|
-
[0, 0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0], 2
|
|
2335
|
+
[_cRIo, _aSI, _ti, _as, _sRe, _lCo, _cRSo, _vM, _mTH],
|
|
2336
|
+
[0, 0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 1], 2
|
|
2332
2337
|
];
|
|
2333
2338
|
var UpdateCodeReviewOutput$ = [3, n0, _UCRO,
|
|
2334
2339
|
0,
|
|
2335
|
-
[_cRIo, _ti, _cA, _uA, _as, _sRe, _lCo, _aSI, _cRSo, _vM],
|
|
2336
|
-
[0, 0, 5, 5, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 0], 1
|
|
2340
|
+
[_cRIo, _ti, _cA, _uA, _as, _sRe, _lCo, _aSI, _cRSo, _vM, _mTH],
|
|
2341
|
+
[0, 0, 5, 5, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 0, 1], 1
|
|
2337
2342
|
];
|
|
2338
2343
|
var UpdateFindingInput$ = [3, n0, _UFI,
|
|
2339
2344
|
0,
|
|
@@ -2357,8 +2362,8 @@ var UpdateIntegratedResourcesOutput$ = [3, n0, _UIRO,
|
|
|
2357
2362
|
];
|
|
2358
2363
|
var UpdatePentestInput$ = [3, n0, _UPI,
|
|
2359
2364
|
0,
|
|
2360
|
-
[_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS],
|
|
2361
|
-
[0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0], 2
|
|
2365
|
+
[_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH],
|
|
2366
|
+
[0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1], 2
|
|
2362
2367
|
];
|
|
2363
2368
|
var UpdatePentestOutput$ = [3, n0, _UPO,
|
|
2364
2369
|
0,
|
|
@@ -3726,6 +3731,10 @@ const ValidationStatus = {
|
|
|
3726
3731
|
VALIDATING: "VALIDATING",
|
|
3727
3732
|
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
3728
3733
|
};
|
|
3734
|
+
const JobType = {
|
|
3735
|
+
FULL: "FULL",
|
|
3736
|
+
REVALIDATION: "REVALIDATION",
|
|
3737
|
+
};
|
|
3729
3738
|
const DNSRecordType = {
|
|
3730
3739
|
TXT: "TXT",
|
|
3731
3740
|
};
|
|
@@ -4112,6 +4121,7 @@ exports.InternalServerException = InternalServerException;
|
|
|
4112
4121
|
exports.InternalServerException$ = InternalServerException$;
|
|
4113
4122
|
exports.IpAddressType = IpAddressType;
|
|
4114
4123
|
exports.JobStatus = JobStatus;
|
|
4124
|
+
exports.JobType = JobType;
|
|
4115
4125
|
exports.ListAgentSpaces$ = ListAgentSpaces$;
|
|
4116
4126
|
exports.ListAgentSpacesCommand = ListAgentSpacesCommand;
|
|
4117
4127
|
exports.ListAgentSpacesInput$ = ListAgentSpacesInput$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -147,6 +147,10 @@ export const ValidationStatus = {
|
|
|
147
147
|
VALIDATING: "VALIDATING",
|
|
148
148
|
VALIDATION_FAILED: "VALIDATION_FAILED",
|
|
149
149
|
};
|
|
150
|
+
export const JobType = {
|
|
151
|
+
FULL: "FULL",
|
|
152
|
+
REVALIDATION: "REVALIDATION",
|
|
153
|
+
};
|
|
150
154
|
export const DNSRecordType = {
|
|
151
155
|
TXT: "TXT",
|
|
152
156
|
};
|
|
@@ -603,6 +603,7 @@ const _id = "id";
|
|
|
603
603
|
const _in = "input";
|
|
604
604
|
const _ins = "instructions";
|
|
605
605
|
const _it = "items";
|
|
606
|
+
const _jT = "jobType";
|
|
606
607
|
const _k = "kind";
|
|
607
608
|
const _kKI = "kmsKeyId";
|
|
608
609
|
const _l = "label";
|
|
@@ -623,6 +624,7 @@ const _mI = "membershipId";
|
|
|
623
624
|
const _mR = "maxResults";
|
|
624
625
|
const _mS = "membershipSummaries";
|
|
625
626
|
const _mT = "memberType";
|
|
627
|
+
const _mTH = "maxTaskHours";
|
|
626
628
|
const _mTa = "managementType";
|
|
627
629
|
const _me = "metadata";
|
|
628
630
|
const _met = "method";
|
|
@@ -634,6 +636,7 @@ const _nTC = "networkTrafficConfig";
|
|
|
634
636
|
const _nTRT = "networkTrafficRuleType";
|
|
635
637
|
const _na = "namespace";
|
|
636
638
|
const _o = "overview";
|
|
639
|
+
const _oFI = "originalFindingId";
|
|
637
640
|
const _oN = "organizationName";
|
|
638
641
|
const _op = "operation";
|
|
639
642
|
const _ow = "owner";
|
|
@@ -669,6 +672,7 @@ const _rCI = "resourceConfigurationId";
|
|
|
669
672
|
const _rD = "reportDestination";
|
|
670
673
|
const _rGI = "resourceGatewayId";
|
|
671
674
|
const _rI = "resourceId";
|
|
675
|
+
const _rJI = "revalidationJobIds";
|
|
672
676
|
const _rL = "riskLevel";
|
|
673
677
|
const _rN = "repoName";
|
|
674
678
|
const _rP = "routePath";
|
|
@@ -689,6 +693,7 @@ const _sB = "s3Buckets";
|
|
|
689
693
|
const _sC = "serviceCode";
|
|
690
694
|
const _sCo = "sourceCode";
|
|
691
695
|
const _sD = "scopeDocs";
|
|
696
|
+
const _sFI = "selectedFindingIds";
|
|
692
697
|
const _sGA = "securityGroupArns";
|
|
693
698
|
const _sGI = "securityGroupIds";
|
|
694
699
|
const _sI = "subnetIds";
|
|
@@ -1168,13 +1173,13 @@ export var CodeRemediationTaskDetails$ = [3, n0, _CRTD,
|
|
|
1168
1173
|
];
|
|
1169
1174
|
export var CodeReview$ = [3, n0, _CR,
|
|
1170
1175
|
0,
|
|
1171
|
-
[_cRIo, _aSI, _ti, _as, _sRe, _lCo, _cRSo, _vM, _cA, _uA],
|
|
1172
|
-
[0, 0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 5, 5], 4
|
|
1176
|
+
[_cRIo, _aSI, _ti, _as, _sRe, _lCo, _cRSo, _vM, _mTH, _cA, _uA],
|
|
1177
|
+
[0, 0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 1, 5, 5], 4
|
|
1173
1178
|
];
|
|
1174
1179
|
export var CodeReviewJob$ = [3, n0, _CRJ,
|
|
1175
1180
|
0,
|
|
1176
|
-
[_cRJIo, _cRIo, _ti, _o, _sta, _doc, _sCo, _ste, _eC, _sRe, _lCo, _eI, _iR, _cRSo, _cA, _uA],
|
|
1177
|
-
[0, 0, 0, 0, 0, () => DocumentList, () => SourceCodeRepositoryList, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => ErrorInformation$, () => IntegratedRepositoryList, 0, 5, 5]
|
|
1181
|
+
[_cRJIo, _cRIo, _ti, _o, _sta, _doc, _sCo, _ste, _eC, _sRe, _lCo, _eI, _iR, _cRSo, _mTH, _cA, _uA],
|
|
1182
|
+
[0, 0, 0, 0, 0, () => DocumentList, () => SourceCodeRepositoryList, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => ErrorInformation$, () => IntegratedRepositoryList, 0, 1, 5, 5]
|
|
1178
1183
|
];
|
|
1179
1184
|
export var CodeReviewJobSummary$ = [3, n0, _CRJS,
|
|
1180
1185
|
0,
|
|
@@ -1243,13 +1248,13 @@ export var CreateApplicationResponse$ = [3, n0, _CARr,
|
|
|
1243
1248
|
];
|
|
1244
1249
|
export var CreateCodeReviewInput$ = [3, n0, _CCRI,
|
|
1245
1250
|
0,
|
|
1246
|
-
[_ti, _aSI, _as, _sRe, _lCo, _cRSo, _vM],
|
|
1247
|
-
[0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0], 3
|
|
1251
|
+
[_ti, _aSI, _as, _sRe, _lCo, _cRSo, _vM, _mTH],
|
|
1252
|
+
[0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 1], 3
|
|
1248
1253
|
];
|
|
1249
1254
|
export var CreateCodeReviewOutput$ = [3, n0, _CCRO,
|
|
1250
1255
|
0,
|
|
1251
|
-
[_cRIo, _ti, _cA, _uA, _as, _sRe, _lCo, _aSI, _cRSo, _vM],
|
|
1252
|
-
[0, 0, 5, 5, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 0], 1
|
|
1256
|
+
[_cRIo, _ti, _cA, _uA, _as, _sRe, _lCo, _aSI, _cRSo, _vM, _mTH],
|
|
1257
|
+
[0, 0, 5, 5, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 0, 1], 1
|
|
1253
1258
|
];
|
|
1254
1259
|
export var CreateIntegrationInput$ = [3, n0, _CIIr,
|
|
1255
1260
|
0,
|
|
@@ -1273,8 +1278,8 @@ export var CreateMembershipResponse$ = [3, n0, _CMRr,
|
|
|
1273
1278
|
];
|
|
1274
1279
|
export var CreatePentestInput$ = [3, n0, _CPI,
|
|
1275
1280
|
0,
|
|
1276
|
-
[_ti, _aSI, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS],
|
|
1277
|
-
[0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0], 2
|
|
1281
|
+
[_ti, _aSI, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH],
|
|
1282
|
+
[0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1], 2
|
|
1278
1283
|
];
|
|
1279
1284
|
export var CreatePentestOutput$ = [3, n0, _CPO,
|
|
1280
1285
|
0,
|
|
@@ -1473,8 +1478,8 @@ export var ExecutionContext$ = [3, n0, _EC,
|
|
|
1473
1478
|
];
|
|
1474
1479
|
export var Finding$ = [3, n0, _F,
|
|
1475
1480
|
0,
|
|
1476
|
-
[_fIi, _aSI, _pIen, _pJIe, _cRIo, _cRJIo, _tIa, _n, _d, _sta, _rT, _rL, _rS, _reas, _conf, _vSa, _aSt, _cRT, _lUB, _cN, _cL, _vSe, _aRl, _cA, _uA],
|
|
1477
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => CodeRemediationTask$, 0, 0, () => CodeLocationList, () => VerificationScript$, 0, 5, 5], 2
|
|
1481
|
+
[_fIi, _aSI, _pIen, _pJIe, _cRIo, _cRJIo, _tIa, _n, _d, _sta, _rT, _rL, _rS, _reas, _conf, _vSa, _aSt, _cRT, _lUB, _cN, _cL, _vSe, _aRl, _rJI, _oFI, _cA, _uA],
|
|
1482
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => CodeRemediationTask$, 0, 0, () => CodeLocationList, () => VerificationScript$, 0, 64 | 0, 0, 5, 5], 2
|
|
1478
1483
|
];
|
|
1479
1484
|
export var FindingSummary$ = [3, n0, _FS,
|
|
1480
1485
|
0,
|
|
@@ -1873,13 +1878,13 @@ export var NetworkTrafficRule$ = [3, n0, _NTR,
|
|
|
1873
1878
|
];
|
|
1874
1879
|
export var Pentest$ = [3, n0, _P,
|
|
1875
1880
|
0,
|
|
1876
|
-
[_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _cUS, _dMS, _cA, _uA],
|
|
1877
|
-
[0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 0, 64 | 0, 5, 5], 4
|
|
1881
|
+
[_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _cUS, _dMS, _mTH, _cA, _uA],
|
|
1882
|
+
[0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 0, 64 | 0, 1, 5, 5], 4
|
|
1878
1883
|
];
|
|
1879
1884
|
export var PentestJob$ = [3, n0, _PJ,
|
|
1880
1885
|
0,
|
|
1881
|
-
[_pJIe, _pIen, _ti, _o, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _cRSo, _cUS, _dMS, _cA, _uA],
|
|
1882
|
-
[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, 5, 5]
|
|
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]
|
|
1883
1888
|
];
|
|
1884
1889
|
export var PentestJobSummary$ = [3, n0, _PJS,
|
|
1885
1890
|
0,
|
|
@@ -1953,8 +1958,8 @@ export var StartCodeReviewJobOutput$ = [3, n0, _SCRJO,
|
|
|
1953
1958
|
];
|
|
1954
1959
|
export var StartPentestJobInput$ = [3, n0, _SPJI,
|
|
1955
1960
|
0,
|
|
1956
|
-
[_aSI, _pIen],
|
|
1957
|
-
[0, 0], 2
|
|
1961
|
+
[_aSI, _pIen, _jT, _sFI],
|
|
1962
|
+
[0, 0, 0, 64 | 0], 2
|
|
1958
1963
|
];
|
|
1959
1964
|
export var StartPentestJobOutput$ = [3, n0, _SPJO,
|
|
1960
1965
|
0,
|
|
@@ -2118,13 +2123,13 @@ export var UpdateApplicationResponse$ = [3, n0, _UARp,
|
|
|
2118
2123
|
];
|
|
2119
2124
|
export var UpdateCodeReviewInput$ = [3, n0, _UCRI,
|
|
2120
2125
|
0,
|
|
2121
|
-
[_cRIo, _aSI, _ti, _as, _sRe, _lCo, _cRSo, _vM],
|
|
2122
|
-
[0, 0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0], 2
|
|
2126
|
+
[_cRIo, _aSI, _ti, _as, _sRe, _lCo, _cRSo, _vM, _mTH],
|
|
2127
|
+
[0, 0, 0, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 1], 2
|
|
2123
2128
|
];
|
|
2124
2129
|
export var UpdateCodeReviewOutput$ = [3, n0, _UCRO,
|
|
2125
2130
|
0,
|
|
2126
|
-
[_cRIo, _ti, _cA, _uA, _as, _sRe, _lCo, _aSI, _cRSo, _vM],
|
|
2127
|
-
[0, 0, 5, 5, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 0], 1
|
|
2131
|
+
[_cRIo, _ti, _cA, _uA, _as, _sRe, _lCo, _aSI, _cRSo, _vM, _mTH],
|
|
2132
|
+
[0, 0, 5, 5, [() => Assets$, 0], 0, () => CloudWatchLog$, 0, 0, 0, 1], 1
|
|
2128
2133
|
];
|
|
2129
2134
|
export var UpdateFindingInput$ = [3, n0, _UFI,
|
|
2130
2135
|
0,
|
|
@@ -2148,8 +2153,8 @@ export var UpdateIntegratedResourcesOutput$ = [3, n0, _UIRO,
|
|
|
2148
2153
|
];
|
|
2149
2154
|
export var UpdatePentestInput$ = [3, n0, _UPI,
|
|
2150
2155
|
0,
|
|
2151
|
-
[_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS],
|
|
2152
|
-
[0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0], 2
|
|
2156
|
+
[_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH],
|
|
2157
|
+
[0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1], 2
|
|
2153
2158
|
];
|
|
2154
2159
|
export var UpdatePentestOutput$ = [3, n0, _UPO,
|
|
2155
2160
|
0,
|
|
@@ -128,6 +128,7 @@ declare const BatchDeletePentestsCommand_base: {
|
|
|
128
128
|
* // disableManagedSkills: [ // SkillTypeList
|
|
129
129
|
* // "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
130
130
|
* // ],
|
|
131
|
+
* // maxTaskHours: Number("double"),
|
|
131
132
|
* // createdAt: new Date("TIMESTAMP"),
|
|
132
133
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
133
134
|
* // },
|
|
@@ -96,6 +96,7 @@ declare const BatchGetCodeReviewJobsCommand_base: {
|
|
|
96
96
|
* // },
|
|
97
97
|
* // ],
|
|
98
98
|
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
99
|
+
* // maxTaskHours: Number("double"),
|
|
99
100
|
* // createdAt: new Date("TIMESTAMP"),
|
|
100
101
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
101
102
|
* // },
|
|
@@ -98,6 +98,7 @@ declare const BatchGetCodeReviewsCommand_base: {
|
|
|
98
98
|
* // },
|
|
99
99
|
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
100
100
|
* // validationMode: "DISABLED" || "SIMULATED",
|
|
101
|
+
* // maxTaskHours: Number("double"),
|
|
101
102
|
* // createdAt: new Date("TIMESTAMP"),
|
|
102
103
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
103
104
|
* // },
|
|
@@ -94,6 +94,10 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
94
94
|
* // ],
|
|
95
95
|
* // },
|
|
96
96
|
* // alignmentRationale: "STRING_VALUE",
|
|
97
|
+
* // revalidationJobIds: [ // StringList
|
|
98
|
+
* // "STRING_VALUE",
|
|
99
|
+
* // ],
|
|
100
|
+
* // originalFindingId: "STRING_VALUE",
|
|
97
101
|
* // createdAt: new Date("TIMESTAMP"),
|
|
98
102
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
99
103
|
* // },
|
|
@@ -157,6 +157,11 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
157
157
|
* // disableManagedSkills: [ // SkillTypeList
|
|
158
158
|
* // "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
159
159
|
* // ],
|
|
160
|
+
* // maxTaskHours: Number("double"),
|
|
161
|
+
* // jobType: "FULL" || "REVALIDATION",
|
|
162
|
+
* // selectedFindingIds: [ // StringList
|
|
163
|
+
* // "STRING_VALUE",
|
|
164
|
+
* // ],
|
|
160
165
|
* // createdAt: new Date("TIMESTAMP"),
|
|
161
166
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
162
167
|
* // },
|
|
@@ -128,6 +128,7 @@ declare const BatchGetPentestsCommand_base: {
|
|
|
128
128
|
* // disableManagedSkills: [ // SkillTypeList
|
|
129
129
|
* // "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
130
130
|
* // ],
|
|
131
|
+
* // maxTaskHours: Number("double"),
|
|
131
132
|
* // createdAt: new Date("TIMESTAMP"),
|
|
132
133
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
133
134
|
* // },
|
|
@@ -87,6 +87,7 @@ declare const CreateCodeReviewCommand_base: {
|
|
|
87
87
|
* },
|
|
88
88
|
* codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
89
89
|
* validationMode: "DISABLED" || "SIMULATED",
|
|
90
|
+
* maxTaskHours: Number("double"),
|
|
90
91
|
* };
|
|
91
92
|
* const command = new CreateCodeReviewCommand(input);
|
|
92
93
|
* const response = await client.send(command);
|
|
@@ -147,6 +148,7 @@ declare const CreateCodeReviewCommand_base: {
|
|
|
147
148
|
* // agentSpaceId: "STRING_VALUE",
|
|
148
149
|
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
149
150
|
* // validationMode: "DISABLED" || "SIMULATED",
|
|
151
|
+
* // maxTaskHours: Number("double"),
|
|
150
152
|
* // };
|
|
151
153
|
*
|
|
152
154
|
* ```
|
|
@@ -116,6 +116,7 @@ declare const CreatePentestCommand_base: {
|
|
|
116
116
|
* disableManagedSkills: [ // SkillTypeList
|
|
117
117
|
* "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
118
118
|
* ],
|
|
119
|
+
* maxTaskHours: Number("double"),
|
|
119
120
|
* };
|
|
120
121
|
* const command = new CreatePentestCommand(input);
|
|
121
122
|
* const response = await client.send(command);
|
|
@@ -36,6 +36,10 @@ declare const StartPentestJobCommand_base: {
|
|
|
36
36
|
* const input = { // StartPentestJobInput
|
|
37
37
|
* agentSpaceId: "STRING_VALUE", // required
|
|
38
38
|
* pentestId: "STRING_VALUE", // required
|
|
39
|
+
* jobType: "FULL" || "REVALIDATION",
|
|
40
|
+
* selectedFindingIds: [ // StringList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
39
43
|
* };
|
|
40
44
|
* const command = new StartPentestJobCommand(input);
|
|
41
45
|
* const response = await client.send(command);
|
|
@@ -88,6 +88,7 @@ declare const UpdateCodeReviewCommand_base: {
|
|
|
88
88
|
* },
|
|
89
89
|
* codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
90
90
|
* validationMode: "DISABLED" || "SIMULATED",
|
|
91
|
+
* maxTaskHours: Number("double"),
|
|
91
92
|
* };
|
|
92
93
|
* const command = new UpdateCodeReviewCommand(input);
|
|
93
94
|
* const response = await client.send(command);
|
|
@@ -148,6 +149,7 @@ declare const UpdateCodeReviewCommand_base: {
|
|
|
148
149
|
* // agentSpaceId: "STRING_VALUE",
|
|
149
150
|
* // codeRemediationStrategy: "AUTOMATIC" || "DISABLED",
|
|
150
151
|
* // validationMode: "DISABLED" || "SIMULATED",
|
|
152
|
+
* // maxTaskHours: Number("double"),
|
|
151
153
|
* // };
|
|
152
154
|
*
|
|
153
155
|
* ```
|
|
@@ -117,6 +117,7 @@ declare const UpdatePentestCommand_base: {
|
|
|
117
117
|
* disableManagedSkills: [ // SkillTypeList
|
|
118
118
|
* "FINDING_PERSONALIZATION" || "LOGIN_OPTIMIZATION",
|
|
119
119
|
* ],
|
|
120
|
+
* maxTaskHours: Number("double"),
|
|
120
121
|
* };
|
|
121
122
|
* const command = new UpdatePentestCommand(input);
|
|
122
123
|
* const response = await client.send(command);
|
|
@@ -536,6 +536,24 @@ export declare const ValidationStatus: {
|
|
|
536
536
|
* @public
|
|
537
537
|
*/
|
|
538
538
|
export type ValidationStatus = (typeof ValidationStatus)[keyof typeof ValidationStatus];
|
|
539
|
+
/**
|
|
540
|
+
* @public
|
|
541
|
+
* @enum
|
|
542
|
+
*/
|
|
543
|
+
export declare const JobType: {
|
|
544
|
+
/**
|
|
545
|
+
* <p>A full pentest job that executes all phases including scanning, managed execution, and guided exploration.</p>
|
|
546
|
+
*/
|
|
547
|
+
readonly FULL: "FULL";
|
|
548
|
+
/**
|
|
549
|
+
* <p>A targeted revalidation job that retests specific findings to determine whether they are still exploitable.</p>
|
|
550
|
+
*/
|
|
551
|
+
readonly REVALIDATION: "REVALIDATION";
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* @public
|
|
555
|
+
*/
|
|
556
|
+
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
539
557
|
/**
|
|
540
558
|
* @public
|
|
541
559
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccessType, ArtifactType, AuthenticationProviderType, CleanUpStrategy, CodeRemediationStrategy, CodeRemediationTaskStatus, ConfidenceLevel, ContextType, DNSRecordType, DomainVerificationMethod, ErrorCode, FindingStatus, GitLabTokenType, IpAddressType, JobStatus, LogType, ManagementType, MembershipType, MembershipTypeFilter, NetworkTrafficRuleEffect, NetworkTrafficRuleType, PrivateConnectionStatus, PrivateConnectionType, Provider, ProviderType, ResourceConfigDnsResolution, ResourceType, RiskLevel, RiskType, SecurityRequirementArtifactFormat, SecurityRequirementPackImportStatus, SecurityRequirementPackStatus, SkillType, StepName, StepStatus, StrideCategory, TargetDomainStatus, TaskExecutionStatus, ThreatActor, ThreatSeverity, ThreatStatus, UserRole, ValidationMode, ValidationStatus } from "./enums";
|
|
1
|
+
import type { AccessType, ArtifactType, AuthenticationProviderType, CleanUpStrategy, CodeRemediationStrategy, CodeRemediationTaskStatus, ConfidenceLevel, ContextType, DNSRecordType, DomainVerificationMethod, ErrorCode, FindingStatus, GitLabTokenType, IpAddressType, JobStatus, JobType, LogType, ManagementType, MembershipType, MembershipTypeFilter, NetworkTrafficRuleEffect, NetworkTrafficRuleType, PrivateConnectionStatus, PrivateConnectionType, Provider, ProviderType, ResourceConfigDnsResolution, ResourceType, RiskLevel, RiskType, SecurityRequirementArtifactFormat, SecurityRequirementPackImportStatus, SecurityRequirementPackStatus, SkillType, StepName, StepStatus, StrideCategory, TargetDomainStatus, TaskExecutionStatus, ThreatActor, ThreatSeverity, ThreatStatus, UserRole, ValidationMode, ValidationStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The authentication configuration for an actor, specifying the provider type and credentials.</p>
|
|
4
4
|
* @public
|
|
@@ -1199,6 +1199,11 @@ export interface Pentest {
|
|
|
1199
1199
|
* @public
|
|
1200
1200
|
*/
|
|
1201
1201
|
disableManagedSkills?: SkillType[] | undefined;
|
|
1202
|
+
/**
|
|
1203
|
+
* <p>The maximum number of billable task hours allowed for jobs started from this pentest. If a job reaches the configured limit, it is gracefully stopped. If not set, jobs run to completion with no budget cap.</p>
|
|
1204
|
+
* @public
|
|
1205
|
+
*/
|
|
1206
|
+
maxTaskHours?: number | undefined;
|
|
1202
1207
|
/**
|
|
1203
1208
|
* <p>The date and time the pentest was created, in UTC format.</p>
|
|
1204
1209
|
* @public
|
|
@@ -1499,6 +1504,11 @@ export interface CodeReviewJob {
|
|
|
1499
1504
|
* @public
|
|
1500
1505
|
*/
|
|
1501
1506
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
1507
|
+
/**
|
|
1508
|
+
* <p>The maximum number of billable task hours allowed for this code review job. If the cumulative task hours reach this limit, the job is gracefully stopped.</p>
|
|
1509
|
+
* @public
|
|
1510
|
+
*/
|
|
1511
|
+
maxTaskHours?: number | undefined;
|
|
1502
1512
|
/**
|
|
1503
1513
|
* <p>The date and time the code review job was created, in UTC format.</p>
|
|
1504
1514
|
* @public
|
|
@@ -1717,6 +1727,11 @@ export interface CodeReview {
|
|
|
1717
1727
|
* @public
|
|
1718
1728
|
*/
|
|
1719
1729
|
validationMode?: ValidationMode | undefined;
|
|
1730
|
+
/**
|
|
1731
|
+
* <p>The maximum number of billable task hours allowed for jobs started from this code review. If a job reaches the configured limit, it is gracefully stopped. If not set, jobs run to completion with no budget cap.</p>
|
|
1732
|
+
* @public
|
|
1733
|
+
*/
|
|
1734
|
+
maxTaskHours?: number | undefined;
|
|
1720
1735
|
/**
|
|
1721
1736
|
* <p>The date and time the code review was created, in UTC format.</p>
|
|
1722
1737
|
* @public
|
|
@@ -1990,6 +2005,16 @@ export interface Finding {
|
|
|
1990
2005
|
* @public
|
|
1991
2006
|
*/
|
|
1992
2007
|
alignmentRationale?: string | undefined;
|
|
2008
|
+
/**
|
|
2009
|
+
* <p>The list of pentest job identifiers for revalidation jobs that retested this finding.</p>
|
|
2010
|
+
* @public
|
|
2011
|
+
*/
|
|
2012
|
+
revalidationJobIds?: string[] | undefined;
|
|
2013
|
+
/**
|
|
2014
|
+
* <p>The identifier of the original finding that this revalidation finding was produced from.</p>
|
|
2015
|
+
* @public
|
|
2016
|
+
*/
|
|
2017
|
+
originalFindingId?: string | undefined;
|
|
1993
2018
|
/**
|
|
1994
2019
|
* <p>The date and time the finding was created, in UTC format.</p>
|
|
1995
2020
|
* @public
|
|
@@ -2153,6 +2178,21 @@ export interface PentestJob {
|
|
|
2153
2178
|
* @public
|
|
2154
2179
|
*/
|
|
2155
2180
|
disableManagedSkills?: SkillType[] | undefined;
|
|
2181
|
+
/**
|
|
2182
|
+
* <p>The maximum number of billable task hours allowed for this pentest job. If the cumulative task hours reach this limit, the job is gracefully stopped.</p>
|
|
2183
|
+
* @public
|
|
2184
|
+
*/
|
|
2185
|
+
maxTaskHours?: number | undefined;
|
|
2186
|
+
/**
|
|
2187
|
+
* <p>The type of the pentest job. Valid values are FULL and REVALIDATION.</p>
|
|
2188
|
+
* @public
|
|
2189
|
+
*/
|
|
2190
|
+
jobType?: JobType | undefined;
|
|
2191
|
+
/**
|
|
2192
|
+
* <p>The list of finding identifiers selected for revalidation. Present only when jobType is REVALIDATION.</p>
|
|
2193
|
+
* @public
|
|
2194
|
+
*/
|
|
2195
|
+
selectedFindingIds?: string[] | undefined;
|
|
2156
2196
|
/**
|
|
2157
2197
|
* <p>The date and time the pentest job was created, in UTC format.</p>
|
|
2158
2198
|
* @public
|
|
@@ -3408,6 +3448,11 @@ export interface CreateCodeReviewInput {
|
|
|
3408
3448
|
* @public
|
|
3409
3449
|
*/
|
|
3410
3450
|
validationMode?: ValidationMode | undefined;
|
|
3451
|
+
/**
|
|
3452
|
+
* <p>The maximum number of billable task hours allowed for jobs started from this code review. Must be a positive number. If not set, jobs run to completion with no budget cap.</p>
|
|
3453
|
+
* @public
|
|
3454
|
+
*/
|
|
3455
|
+
maxTaskHours?: number | undefined;
|
|
3411
3456
|
}
|
|
3412
3457
|
/**
|
|
3413
3458
|
* <p>Output for the CreateCodeReview operation.</p>
|
|
@@ -3464,6 +3509,11 @@ export interface CreateCodeReviewOutput {
|
|
|
3464
3509
|
* @public
|
|
3465
3510
|
*/
|
|
3466
3511
|
validationMode?: ValidationMode | undefined;
|
|
3512
|
+
/**
|
|
3513
|
+
* <p>The maximum number of billable task hours configured for jobs started from this code review. Null if no budget cap is set.</p>
|
|
3514
|
+
* @public
|
|
3515
|
+
*/
|
|
3516
|
+
maxTaskHours?: number | undefined;
|
|
3467
3517
|
}
|
|
3468
3518
|
/**
|
|
3469
3519
|
* <p>The input required to create a GitHub integration, including the OAuth authorization code and CSRF state.</p>
|
|
@@ -3778,6 +3828,11 @@ export interface CreatePentestInput {
|
|
|
3778
3828
|
* @public
|
|
3779
3829
|
*/
|
|
3780
3830
|
disableManagedSkills?: SkillType[] | undefined;
|
|
3831
|
+
/**
|
|
3832
|
+
* <p>The maximum number of billable task hours allowed for jobs started from this pentest. Must be a positive number. If not set, jobs run to completion with no budget cap.</p>
|
|
3833
|
+
* @public
|
|
3834
|
+
*/
|
|
3835
|
+
maxTaskHours?: number | undefined;
|
|
3781
3836
|
}
|
|
3782
3837
|
/**
|
|
3783
3838
|
* <p>Output for the CreatePentest operation.</p>
|
|
@@ -7267,6 +7322,16 @@ export interface StartPentestJobInput {
|
|
|
7267
7322
|
* @public
|
|
7268
7323
|
*/
|
|
7269
7324
|
pentestId: string | undefined;
|
|
7325
|
+
/**
|
|
7326
|
+
* <p>The type of pentest job to start. Valid values are FULL and REVALIDATION. When set to REVALIDATION, the selectedFindingIds parameter is required.</p>
|
|
7327
|
+
* @public
|
|
7328
|
+
*/
|
|
7329
|
+
jobType?: JobType | undefined;
|
|
7330
|
+
/**
|
|
7331
|
+
* <p>The list of finding identifiers to revalidate. Required when jobType is REVALIDATION. Each finding must belong to the same agent space and pentest.</p>
|
|
7332
|
+
* @public
|
|
7333
|
+
*/
|
|
7334
|
+
selectedFindingIds?: string[] | undefined;
|
|
7270
7335
|
}
|
|
7271
7336
|
/**
|
|
7272
7337
|
* <p>Output for the StartPentestJob operation.</p>
|
|
@@ -7578,6 +7643,11 @@ export interface UpdateCodeReviewInput {
|
|
|
7578
7643
|
* @public
|
|
7579
7644
|
*/
|
|
7580
7645
|
validationMode?: ValidationMode | undefined;
|
|
7646
|
+
/**
|
|
7647
|
+
* <p>The updated maximum number of billable task hours allowed for jobs started from this code review.</p>
|
|
7648
|
+
* @public
|
|
7649
|
+
*/
|
|
7650
|
+
maxTaskHours?: number | undefined;
|
|
7581
7651
|
}
|
|
7582
7652
|
/**
|
|
7583
7653
|
* <p>Output for the UpdateCodeReview operation.</p>
|
|
@@ -7634,6 +7704,11 @@ export interface UpdateCodeReviewOutput {
|
|
|
7634
7704
|
* @public
|
|
7635
7705
|
*/
|
|
7636
7706
|
validationMode?: ValidationMode | undefined;
|
|
7707
|
+
/**
|
|
7708
|
+
* <p>The maximum number of billable task hours configured for jobs started from this code review. Null if no budget cap is set.</p>
|
|
7709
|
+
* @public
|
|
7710
|
+
*/
|
|
7711
|
+
maxTaskHours?: number | undefined;
|
|
7637
7712
|
}
|
|
7638
7713
|
/**
|
|
7639
7714
|
* <p>Input for updating an existing security finding.</p>
|
|
@@ -7787,6 +7862,11 @@ export interface UpdatePentestInput {
|
|
|
7787
7862
|
* @public
|
|
7788
7863
|
*/
|
|
7789
7864
|
disableManagedSkills?: SkillType[] | undefined;
|
|
7865
|
+
/**
|
|
7866
|
+
* <p>The updated maximum number of billable task hours allowed for jobs started from this pentest.</p>
|
|
7867
|
+
* @public
|
|
7868
|
+
*/
|
|
7869
|
+
maxTaskHours?: number | undefined;
|
|
7790
7870
|
}
|
|
7791
7871
|
/**
|
|
7792
7872
|
* <p>Output for the UpdatePentest operation.</p>
|
|
@@ -174,6 +174,11 @@ export declare const ValidationStatus: {
|
|
|
174
174
|
readonly VALIDATION_FAILED: "VALIDATION_FAILED";
|
|
175
175
|
};
|
|
176
176
|
export type ValidationStatus = (typeof ValidationStatus)[keyof typeof ValidationStatus];
|
|
177
|
+
export declare const JobType: {
|
|
178
|
+
readonly FULL: "FULL";
|
|
179
|
+
readonly REVALIDATION: "REVALIDATION";
|
|
180
|
+
};
|
|
181
|
+
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
177
182
|
export declare const DNSRecordType: {
|
|
178
183
|
readonly TXT: "TXT";
|
|
179
184
|
};
|
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
GitLabTokenType,
|
|
15
15
|
IpAddressType,
|
|
16
16
|
JobStatus,
|
|
17
|
+
JobType,
|
|
17
18
|
LogType,
|
|
18
19
|
ManagementType,
|
|
19
20
|
MembershipType,
|
|
@@ -329,6 +330,7 @@ export interface Pentest {
|
|
|
329
330
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
330
331
|
cleanUpStrategy?: CleanUpStrategy | undefined;
|
|
331
332
|
disableManagedSkills?: SkillType[] | undefined;
|
|
333
|
+
maxTaskHours?: number | undefined;
|
|
332
334
|
createdAt?: Date | undefined;
|
|
333
335
|
updatedAt?: Date | undefined;
|
|
334
336
|
}
|
|
@@ -401,6 +403,7 @@ export interface CodeReviewJob {
|
|
|
401
403
|
errorInformation?: ErrorInformation | undefined;
|
|
402
404
|
integratedRepositories?: IntegratedRepository[] | undefined;
|
|
403
405
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
406
|
+
maxTaskHours?: number | undefined;
|
|
404
407
|
createdAt?: Date | undefined;
|
|
405
408
|
updatedAt?: Date | undefined;
|
|
406
409
|
}
|
|
@@ -451,6 +454,7 @@ export interface CodeReview {
|
|
|
451
454
|
logConfig?: CloudWatchLog | undefined;
|
|
452
455
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
453
456
|
validationMode?: ValidationMode | undefined;
|
|
457
|
+
maxTaskHours?: number | undefined;
|
|
454
458
|
createdAt?: Date | undefined;
|
|
455
459
|
updatedAt?: Date | undefined;
|
|
456
460
|
}
|
|
@@ -512,6 +516,8 @@ export interface Finding {
|
|
|
512
516
|
codeLocations?: CodeLocation[] | undefined;
|
|
513
517
|
verificationScript?: VerificationScript | undefined;
|
|
514
518
|
alignmentRationale?: string | undefined;
|
|
519
|
+
revalidationJobIds?: string[] | undefined;
|
|
520
|
+
originalFindingId?: string | undefined;
|
|
515
521
|
createdAt?: Date | undefined;
|
|
516
522
|
updatedAt?: Date | undefined;
|
|
517
523
|
}
|
|
@@ -547,6 +553,9 @@ export interface PentestJob {
|
|
|
547
553
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
548
554
|
cleanUpStrategy?: CleanUpStrategy | undefined;
|
|
549
555
|
disableManagedSkills?: SkillType[] | undefined;
|
|
556
|
+
maxTaskHours?: number | undefined;
|
|
557
|
+
jobType?: JobType | undefined;
|
|
558
|
+
selectedFindingIds?: string[] | undefined;
|
|
550
559
|
createdAt?: Date | undefined;
|
|
551
560
|
updatedAt?: Date | undefined;
|
|
552
561
|
}
|
|
@@ -834,6 +843,7 @@ export interface CreateCodeReviewInput {
|
|
|
834
843
|
logConfig?: CloudWatchLog | undefined;
|
|
835
844
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
836
845
|
validationMode?: ValidationMode | undefined;
|
|
846
|
+
maxTaskHours?: number | undefined;
|
|
837
847
|
}
|
|
838
848
|
export interface CreateCodeReviewOutput {
|
|
839
849
|
codeReviewId: string | undefined;
|
|
@@ -846,6 +856,7 @@ export interface CreateCodeReviewOutput {
|
|
|
846
856
|
agentSpaceId?: string | undefined;
|
|
847
857
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
848
858
|
validationMode?: ValidationMode | undefined;
|
|
859
|
+
maxTaskHours?: number | undefined;
|
|
849
860
|
}
|
|
850
861
|
export interface GitHubIntegrationInput {
|
|
851
862
|
code: string | undefined;
|
|
@@ -958,6 +969,7 @@ export interface CreatePentestInput {
|
|
|
958
969
|
networkTrafficConfig?: NetworkTrafficConfig | undefined;
|
|
959
970
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
960
971
|
disableManagedSkills?: SkillType[] | undefined;
|
|
972
|
+
maxTaskHours?: number | undefined;
|
|
961
973
|
}
|
|
962
974
|
export interface CreatePentestOutput {
|
|
963
975
|
pentestId?: string | undefined;
|
|
@@ -1915,6 +1927,8 @@ export interface StartCodeReviewJobOutput {
|
|
|
1915
1927
|
export interface StartPentestJobInput {
|
|
1916
1928
|
agentSpaceId: string | undefined;
|
|
1917
1929
|
pentestId: string | undefined;
|
|
1930
|
+
jobType?: JobType | undefined;
|
|
1931
|
+
selectedFindingIds?: string[] | undefined;
|
|
1918
1932
|
}
|
|
1919
1933
|
export interface StartPentestJobOutput {
|
|
1920
1934
|
title?: string | undefined;
|
|
@@ -1985,6 +1999,7 @@ export interface UpdateCodeReviewInput {
|
|
|
1985
1999
|
logConfig?: CloudWatchLog | undefined;
|
|
1986
2000
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
1987
2001
|
validationMode?: ValidationMode | undefined;
|
|
2002
|
+
maxTaskHours?: number | undefined;
|
|
1988
2003
|
}
|
|
1989
2004
|
export interface UpdateCodeReviewOutput {
|
|
1990
2005
|
codeReviewId: string | undefined;
|
|
@@ -1997,6 +2012,7 @@ export interface UpdateCodeReviewOutput {
|
|
|
1997
2012
|
agentSpaceId?: string | undefined;
|
|
1998
2013
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
1999
2014
|
validationMode?: ValidationMode | undefined;
|
|
2015
|
+
maxTaskHours?: number | undefined;
|
|
2000
2016
|
}
|
|
2001
2017
|
export interface UpdateFindingInput {
|
|
2002
2018
|
findingId: string | undefined;
|
|
@@ -2030,6 +2046,7 @@ export interface UpdatePentestInput {
|
|
|
2030
2046
|
networkTrafficConfig?: NetworkTrafficConfig | undefined;
|
|
2031
2047
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
2032
2048
|
disableManagedSkills?: SkillType[] | undefined;
|
|
2049
|
+
maxTaskHours?: number | undefined;
|
|
2033
2050
|
}
|
|
2034
2051
|
export interface UpdatePentestOutput {
|
|
2035
2052
|
pentestId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityagent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1110.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",
|