@aws-sdk/client-securityagent 3.1170.0 → 3.1172.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 +7 -0
- package/dist-cjs/index.js +37 -7
- package/dist-es/SecurityAgent.js +2 -0
- package/dist-es/commands/ResumePentestJobCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +25 -6
- package/dist-types/SecurityAgent.d.ts +8 -0
- package/dist-types/SecurityAgentClient.d.ts +3 -2
- package/dist-types/commands/BatchDisassociateFindingIssueCommand.d.ts +1 -1
- package/dist-types/commands/BatchExportFindingsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +2 -2
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +3 -2
- package/dist-types/commands/BatchGetThreatModelJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListCodeReviewJobsForCodeReviewCommand.d.ts +1 -1
- package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +2 -1
- package/dist-types/commands/ListThreatModelJobsCommand.d.ts +1 -1
- package/dist-types/commands/ResumePentestJobCommand.d.ts +119 -0
- package/dist-types/commands/StartCodeReviewJobCommand.d.ts +1 -1
- package/dist-types/commands/StartPentestJobCommand.d.ts +2 -2
- package/dist-types/commands/StartThreatModelJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPentestJobCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +92 -72
- package/dist-types/models/models_1.d.ts +79 -2
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +18 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ResumePentestJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -16
- package/dist-types/ts3.4/models/models_1.d.ts +19 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -699,6 +699,13 @@ ListThreats
|
|
|
699
699
|
</details>
|
|
700
700
|
<details>
|
|
701
701
|
<summary>
|
|
702
|
+
ResumePentestJob
|
|
703
|
+
</summary>
|
|
704
|
+
|
|
705
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityagent/command/ResumePentestJobCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityagent/Interface/ResumePentestJobCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityagent/Interface/ResumePentestJobCommandOutput/)
|
|
706
|
+
</details>
|
|
707
|
+
<details>
|
|
708
|
+
<summary>
|
|
702
709
|
StartCodeRemediation
|
|
703
710
|
</summary>
|
|
704
711
|
|
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.1171.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -594,6 +594,9 @@ const _PSL = "PentestSummaryList";
|
|
|
594
594
|
const _RD = "ReportDestination";
|
|
595
595
|
const _RF = "ReportFilters";
|
|
596
596
|
const _RNFE = "ResourceNotFoundException";
|
|
597
|
+
const _RPJ = "ResumePentestJob";
|
|
598
|
+
const _RPJI = "ResumePentestJobInput";
|
|
599
|
+
const _RPJO = "ResumePentestJobOutput";
|
|
597
600
|
const _S = "Step";
|
|
598
601
|
const _SC = "ScopeChange";
|
|
599
602
|
const _SCL = "ScopeChangeList";
|
|
@@ -768,6 +771,7 @@ const _c = "client";
|
|
|
768
771
|
const _cA = "createdAt";
|
|
769
772
|
const _cB = "createdBy";
|
|
770
773
|
const _cC = "clientCertificates";
|
|
774
|
+
const _cCFP = "copyConfigFromPentest";
|
|
771
775
|
const _cCi = "cicdConfiguration";
|
|
772
776
|
const _cD = "createDocument";
|
|
773
777
|
const _cDL = "codeDiffLink";
|
|
@@ -971,6 +975,7 @@ const _pT = "providerType";
|
|
|
971
975
|
const _pa = "pattern";
|
|
972
976
|
const _pat = "path";
|
|
973
977
|
const _patt = "patterns";
|
|
978
|
+
const _pau = "pause";
|
|
974
979
|
const _pe = "pentests";
|
|
975
980
|
const _pr = "provider";
|
|
976
981
|
const _pre = "prerequisites";
|
|
@@ -1113,6 +1118,7 @@ const _vS = "verificationStatus";
|
|
|
1113
1118
|
const _vSR = "verificationStatusReason";
|
|
1114
1119
|
const _vSa = "validationStatus";
|
|
1115
1120
|
const _vSe = "verificationScript";
|
|
1121
|
+
const _ve = "version";
|
|
1116
1122
|
const _vp = "vpcs";
|
|
1117
1123
|
const _w = "workspace";
|
|
1118
1124
|
const _wA = "webhookAction";
|
|
@@ -2340,13 +2346,13 @@ var Pentest$ = [3, n0, _P,
|
|
|
2340
2346
|
];
|
|
2341
2347
|
var PentestJob$ = [3, n0, _PJ,
|
|
2342
2348
|
0,
|
|
2343
|
-
[_pJI, _pIen, _ti, _ov, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _rD, _rU, _sRc, _sCc, _cCi, _tS, _cA, _uA],
|
|
2344
|
-
[0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], () => ClientCertificateList, 0, 0, 64 | 0, 1, 0, 64 | 0, () => ReportDestination$, 0, () => ScopeResult$, () => ScopeChangeList, () => CiCdConfiguration$, () => TestScope$, 5, 5]
|
|
2349
|
+
[_pJI, _pIen, _ti, _ov, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _rD, _rU, _sRc, _sCc, _cCi, _tS, _ve, _cA, _uA],
|
|
2350
|
+
[0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], () => ClientCertificateList, 0, 0, 64 | 0, 1, 0, 64 | 0, () => ReportDestination$, 0, () => ScopeResult$, () => ScopeChangeList, () => CiCdConfiguration$, () => TestScope$, 0, 5, 5]
|
|
2345
2351
|
];
|
|
2346
2352
|
var PentestJobSummary$ = [3, n0, _PJS,
|
|
2347
2353
|
0,
|
|
2348
|
-
[_pJI, _pIen, _ti, _sta, _cA, _uA, _jT, _rU],
|
|
2349
|
-
[0, 0, 0, 0, 5, 5, 0, 0], 2
|
|
2354
|
+
[_pJI, _pIen, _ti, _sta, _cA, _uA, _jT, _rU, _ve],
|
|
2355
|
+
[0, 0, 0, 0, 5, 5, 0, 0, 0], 2
|
|
2350
2356
|
];
|
|
2351
2357
|
var PentestSummary$ = [3, n0, _PS,
|
|
2352
2358
|
0,
|
|
@@ -2368,6 +2374,16 @@ var ReportFilters$ = [3, n0, _RF,
|
|
|
2368
2374
|
[_rLi, _cLo, _statu, _rTi, _fT, _tSas, _aNn, _cRo],
|
|
2369
2375
|
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 2, 2]
|
|
2370
2376
|
];
|
|
2377
|
+
var ResumePentestJobInput$ = [3, n0, _RPJI,
|
|
2378
|
+
0,
|
|
2379
|
+
[_aSI, _pJI, _ac, _nTC, _vC, _mTH, _cCFP],
|
|
2380
|
+
[0, 0, [() => ActorList, 0], () => NetworkTrafficConfig$, () => VpcConfig$, 1, 2]
|
|
2381
|
+
];
|
|
2382
|
+
var ResumePentestJobOutput$ = [3, n0, _RPJO,
|
|
2383
|
+
0,
|
|
2384
|
+
[_ti, _sta, _cA, _uA, _pIen, _pJI, _ve],
|
|
2385
|
+
[0, 0, 5, 5, 0, 0, 0]
|
|
2386
|
+
];
|
|
2371
2387
|
var ScopeChange$ = [3, n0, _SC,
|
|
2372
2388
|
0,
|
|
2373
2389
|
[_iIn, _pRI, _hCS, _bCS, _tRI],
|
|
@@ -2465,8 +2481,8 @@ var StopCodeReviewJobOutput$ = [3, n0, _SCRJOt,
|
|
|
2465
2481
|
];
|
|
2466
2482
|
var StopPentestJobInput$ = [3, n0, _SPJIt,
|
|
2467
2483
|
0,
|
|
2468
|
-
[_aSI, _pJI],
|
|
2469
|
-
[0, 0], 2
|
|
2484
|
+
[_aSI, _pJI, _pau],
|
|
2485
|
+
[0, 0, 2], 2
|
|
2470
2486
|
];
|
|
2471
2487
|
var StopPentestJobOutput$ = [3, n0, _SPJOt,
|
|
2472
2488
|
0,
|
|
@@ -3262,6 +3278,9 @@ var ListThreatModels$ = [9, n0, _LTM,
|
|
|
3262
3278
|
var ListThreats$ = [9, n0, _LT,
|
|
3263
3279
|
{ [_h]: ["POST", "/ListThreats", 200] }, () => ListThreatsInput$, () => ListThreatsOutput$
|
|
3264
3280
|
];
|
|
3281
|
+
var ResumePentestJob$ = [9, n0, _RPJ,
|
|
3282
|
+
{ [_h]: ["POST", "/ResumePentestJob", 200] }, () => ResumePentestJobInput$, () => ResumePentestJobOutput$
|
|
3283
|
+
];
|
|
3265
3284
|
var StartCodeRemediation$ = [9, n0, _SCRt,
|
|
3266
3285
|
{ [_h]: ["POST", "/StartCodeRemediation", 200] }, () => StartCodeRemediationInput$, () => StartCodeRemediationOutput$
|
|
3267
3286
|
];
|
|
@@ -3702,6 +3721,9 @@ class ListThreatModelsCommand extends command(_ep0, _mw0, "ListThreatModels", Li
|
|
|
3702
3721
|
class ListThreatsCommand extends command(_ep0, _mw0, "ListThreats", ListThreats$) {
|
|
3703
3722
|
}
|
|
3704
3723
|
|
|
3724
|
+
class ResumePentestJobCommand extends command(_ep0, _mw0, "ResumePentestJob", ResumePentestJob$) {
|
|
3725
|
+
}
|
|
3726
|
+
|
|
3705
3727
|
class StartCodeRemediationCommand extends command(_ep0, _mw0, "StartCodeRemediation", StartCodeRemediation$) {
|
|
3706
3728
|
}
|
|
3707
3729
|
|
|
@@ -3889,6 +3911,7 @@ const commands = {
|
|
|
3889
3911
|
ListThreatModelJobTasksCommand,
|
|
3890
3912
|
ListThreatModelsCommand,
|
|
3891
3913
|
ListThreatsCommand,
|
|
3914
|
+
ResumePentestJobCommand,
|
|
3892
3915
|
StartCodeRemediationCommand,
|
|
3893
3916
|
StartCodeReviewJobCommand,
|
|
3894
3917
|
StartPentestJobCommand,
|
|
@@ -4059,6 +4082,7 @@ const TestScopeType = {
|
|
|
4059
4082
|
const ErrorCode = {
|
|
4060
4083
|
CLIENT_ERROR: "CLIENT_ERROR",
|
|
4061
4084
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
4085
|
+
PAUSED_BY_USER: "PAUSED_BY_USER",
|
|
4062
4086
|
STOPPED_BY_USER: "STOPPED_BY_USER",
|
|
4063
4087
|
};
|
|
4064
4088
|
const Provider = {
|
|
@@ -4079,6 +4103,8 @@ const JobStatus = {
|
|
|
4079
4103
|
COMPLETED: "COMPLETED",
|
|
4080
4104
|
FAILED: "FAILED",
|
|
4081
4105
|
IN_PROGRESS: "IN_PROGRESS",
|
|
4106
|
+
PAUSED: "PAUSED",
|
|
4107
|
+
PAUSING: "PAUSING",
|
|
4082
4108
|
STOPPED: "STOPPED",
|
|
4083
4109
|
STOPPING: "STOPPING",
|
|
4084
4110
|
};
|
|
@@ -4668,6 +4694,10 @@ exports.ResourceConfigDnsResolution = ResourceConfigDnsResolution;
|
|
|
4668
4694
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
4669
4695
|
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
4670
4696
|
exports.ResourceType = ResourceType;
|
|
4697
|
+
exports.ResumePentestJob$ = ResumePentestJob$;
|
|
4698
|
+
exports.ResumePentestJobCommand = ResumePentestJobCommand;
|
|
4699
|
+
exports.ResumePentestJobInput$ = ResumePentestJobInput$;
|
|
4700
|
+
exports.ResumePentestJobOutput$ = ResumePentestJobOutput$;
|
|
4671
4701
|
exports.RiskLevel = RiskLevel;
|
|
4672
4702
|
exports.RiskType = RiskType;
|
|
4673
4703
|
exports.ScopeChange$ = ScopeChange$;
|
package/dist-es/SecurityAgent.js
CHANGED
|
@@ -73,6 +73,7 @@ import { ListThreatModelJobsCommand, } from "./commands/ListThreatModelJobsComma
|
|
|
73
73
|
import { ListThreatModelJobTasksCommand, } from "./commands/ListThreatModelJobTasksCommand";
|
|
74
74
|
import { ListThreatModelsCommand, } from "./commands/ListThreatModelsCommand";
|
|
75
75
|
import { ListThreatsCommand, } from "./commands/ListThreatsCommand";
|
|
76
|
+
import { ResumePentestJobCommand, } from "./commands/ResumePentestJobCommand";
|
|
76
77
|
import { StartCodeRemediationCommand, } from "./commands/StartCodeRemediationCommand";
|
|
77
78
|
import { StartCodeReviewJobCommand, } from "./commands/StartCodeReviewJobCommand";
|
|
78
79
|
import { StartPentestJobCommand, } from "./commands/StartPentestJobCommand";
|
|
@@ -194,6 +195,7 @@ const commands = {
|
|
|
194
195
|
ListThreatModelJobTasksCommand,
|
|
195
196
|
ListThreatModelsCommand,
|
|
196
197
|
ListThreatsCommand,
|
|
198
|
+
ResumePentestJobCommand,
|
|
197
199
|
StartCodeRemediationCommand,
|
|
198
200
|
StartCodeReviewJobCommand,
|
|
199
201
|
StartPentestJobCommand,
|
|
@@ -72,6 +72,7 @@ export * from "./ListThreatModelJobTasksCommand";
|
|
|
72
72
|
export * from "./ListThreatModelJobsCommand";
|
|
73
73
|
export * from "./ListThreatModelsCommand";
|
|
74
74
|
export * from "./ListThreatsCommand";
|
|
75
|
+
export * from "./ResumePentestJobCommand";
|
|
75
76
|
export * from "./StartCodeRemediationCommand";
|
|
76
77
|
export * from "./StartCodeReviewJobCommand";
|
|
77
78
|
export * from "./StartPentestJobCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -116,6 +116,7 @@ export const TestScopeType = {
|
|
|
116
116
|
export const ErrorCode = {
|
|
117
117
|
CLIENT_ERROR: "CLIENT_ERROR",
|
|
118
118
|
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
119
|
+
PAUSED_BY_USER: "PAUSED_BY_USER",
|
|
119
120
|
STOPPED_BY_USER: "STOPPED_BY_USER",
|
|
120
121
|
};
|
|
121
122
|
export const Provider = {
|
|
@@ -136,6 +137,8 @@ export const JobStatus = {
|
|
|
136
137
|
COMPLETED: "COMPLETED",
|
|
137
138
|
FAILED: "FAILED",
|
|
138
139
|
IN_PROGRESS: "IN_PROGRESS",
|
|
140
|
+
PAUSED: "PAUSED",
|
|
141
|
+
PAUSING: "PAUSING",
|
|
139
142
|
STOPPED: "STOPPED",
|
|
140
143
|
STOPPING: "STOPPING",
|
|
141
144
|
};
|
|
@@ -374,6 +374,9 @@ const _PSL = "PentestSummaryList";
|
|
|
374
374
|
const _RD = "ReportDestination";
|
|
375
375
|
const _RF = "ReportFilters";
|
|
376
376
|
const _RNFE = "ResourceNotFoundException";
|
|
377
|
+
const _RPJ = "ResumePentestJob";
|
|
378
|
+
const _RPJI = "ResumePentestJobInput";
|
|
379
|
+
const _RPJO = "ResumePentestJobOutput";
|
|
377
380
|
const _S = "Step";
|
|
378
381
|
const _SC = "ScopeChange";
|
|
379
382
|
const _SCL = "ScopeChangeList";
|
|
@@ -548,6 +551,7 @@ const _c = "client";
|
|
|
548
551
|
const _cA = "createdAt";
|
|
549
552
|
const _cB = "createdBy";
|
|
550
553
|
const _cC = "clientCertificates";
|
|
554
|
+
const _cCFP = "copyConfigFromPentest";
|
|
551
555
|
const _cCi = "cicdConfiguration";
|
|
552
556
|
const _cD = "createDocument";
|
|
553
557
|
const _cDL = "codeDiffLink";
|
|
@@ -751,6 +755,7 @@ const _pT = "providerType";
|
|
|
751
755
|
const _pa = "pattern";
|
|
752
756
|
const _pat = "path";
|
|
753
757
|
const _patt = "patterns";
|
|
758
|
+
const _pau = "pause";
|
|
754
759
|
const _pe = "pentests";
|
|
755
760
|
const _pr = "provider";
|
|
756
761
|
const _pre = "prerequisites";
|
|
@@ -893,6 +898,7 @@ const _vS = "verificationStatus";
|
|
|
893
898
|
const _vSR = "verificationStatusReason";
|
|
894
899
|
const _vSa = "validationStatus";
|
|
895
900
|
const _vSe = "verificationScript";
|
|
901
|
+
const _ve = "version";
|
|
896
902
|
const _vp = "vpcs";
|
|
897
903
|
const _w = "workspace";
|
|
898
904
|
const _wA = "webhookAction";
|
|
@@ -2123,13 +2129,13 @@ export var Pentest$ = [3, n0, _P,
|
|
|
2123
2129
|
];
|
|
2124
2130
|
export var PentestJob$ = [3, n0, _PJ,
|
|
2125
2131
|
0,
|
|
2126
|
-
[_pJI, _pIen, _ti, _ov, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _rD, _rU, _sRc, _sCc, _cCi, _tS, _cA, _uA],
|
|
2127
|
-
[0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], () => ClientCertificateList, 0, 0, 64 | 0, 1, 0, 64 | 0, () => ReportDestination$, 0, () => ScopeResult$, () => ScopeChangeList, () => CiCdConfiguration$, () => TestScope$, 5, 5]
|
|
2132
|
+
[_pJI, _pIen, _ti, _ov, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _rD, _rU, _sRc, _sCc, _cCi, _tS, _ve, _cA, _uA],
|
|
2133
|
+
[0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], () => ClientCertificateList, 0, 0, 64 | 0, 1, 0, 64 | 0, () => ReportDestination$, 0, () => ScopeResult$, () => ScopeChangeList, () => CiCdConfiguration$, () => TestScope$, 0, 5, 5]
|
|
2128
2134
|
];
|
|
2129
2135
|
export var PentestJobSummary$ = [3, n0, _PJS,
|
|
2130
2136
|
0,
|
|
2131
|
-
[_pJI, _pIen, _ti, _sta, _cA, _uA, _jT, _rU],
|
|
2132
|
-
[0, 0, 0, 0, 5, 5, 0, 0], 2
|
|
2137
|
+
[_pJI, _pIen, _ti, _sta, _cA, _uA, _jT, _rU, _ve],
|
|
2138
|
+
[0, 0, 0, 0, 5, 5, 0, 0, 0], 2
|
|
2133
2139
|
];
|
|
2134
2140
|
export var PentestSummary$ = [3, n0, _PS,
|
|
2135
2141
|
0,
|
|
@@ -2151,6 +2157,16 @@ export var ReportFilters$ = [3, n0, _RF,
|
|
|
2151
2157
|
[_rLi, _cLo, _statu, _rTi, _fT, _tSas, _aNn, _cRo],
|
|
2152
2158
|
[64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 2, 2]
|
|
2153
2159
|
];
|
|
2160
|
+
export var ResumePentestJobInput$ = [3, n0, _RPJI,
|
|
2161
|
+
0,
|
|
2162
|
+
[_aSI, _pJI, _ac, _nTC, _vC, _mTH, _cCFP],
|
|
2163
|
+
[0, 0, [() => ActorList, 0], () => NetworkTrafficConfig$, () => VpcConfig$, 1, 2]
|
|
2164
|
+
];
|
|
2165
|
+
export var ResumePentestJobOutput$ = [3, n0, _RPJO,
|
|
2166
|
+
0,
|
|
2167
|
+
[_ti, _sta, _cA, _uA, _pIen, _pJI, _ve],
|
|
2168
|
+
[0, 0, 5, 5, 0, 0, 0]
|
|
2169
|
+
];
|
|
2154
2170
|
export var ScopeChange$ = [3, n0, _SC,
|
|
2155
2171
|
0,
|
|
2156
2172
|
[_iIn, _pRI, _hCS, _bCS, _tRI],
|
|
@@ -2248,8 +2264,8 @@ export var StopCodeReviewJobOutput$ = [3, n0, _SCRJOt,
|
|
|
2248
2264
|
];
|
|
2249
2265
|
export var StopPentestJobInput$ = [3, n0, _SPJIt,
|
|
2250
2266
|
0,
|
|
2251
|
-
[_aSI, _pJI],
|
|
2252
|
-
[0, 0], 2
|
|
2267
|
+
[_aSI, _pJI, _pau],
|
|
2268
|
+
[0, 0, 2], 2
|
|
2253
2269
|
];
|
|
2254
2270
|
export var StopPentestJobOutput$ = [3, n0, _SPJOt,
|
|
2255
2271
|
0,
|
|
@@ -3084,6 +3100,9 @@ export var ListThreatModels$ = [9, n0, _LTM,
|
|
|
3084
3100
|
export var ListThreats$ = [9, n0, _LT,
|
|
3085
3101
|
{ [_h]: ["POST", "/ListThreats", 200] }, () => ListThreatsInput$, () => ListThreatsOutput$
|
|
3086
3102
|
];
|
|
3103
|
+
export var ResumePentestJob$ = [9, n0, _RPJ,
|
|
3104
|
+
{ [_h]: ["POST", "/ResumePentestJob", 200] }, () => ResumePentestJobInput$, () => ResumePentestJobOutput$
|
|
3105
|
+
];
|
|
3087
3106
|
export var StartCodeRemediation$ = [9, n0, _SCRt,
|
|
3088
3107
|
{ [_h]: ["POST", "/StartCodeRemediation", 200] }, () => StartCodeRemediationInput$, () => StartCodeRemediationOutput$
|
|
3089
3108
|
];
|
|
@@ -73,6 +73,7 @@ import { type ListThreatModelJobsCommandInput, type ListThreatModelJobsCommandOu
|
|
|
73
73
|
import { type ListThreatModelJobTasksCommandInput, type ListThreatModelJobTasksCommandOutput } from "./commands/ListThreatModelJobTasksCommand";
|
|
74
74
|
import { type ListThreatModelsCommandInput, type ListThreatModelsCommandOutput } from "./commands/ListThreatModelsCommand";
|
|
75
75
|
import { type ListThreatsCommandInput, type ListThreatsCommandOutput } from "./commands/ListThreatsCommand";
|
|
76
|
+
import { type ResumePentestJobCommandInput, type ResumePentestJobCommandOutput } from "./commands/ResumePentestJobCommand";
|
|
76
77
|
import { type StartCodeRemediationCommandInput, type StartCodeRemediationCommandOutput } from "./commands/StartCodeRemediationCommand";
|
|
77
78
|
import { type StartCodeReviewJobCommandInput, type StartCodeReviewJobCommandOutput } from "./commands/StartCodeReviewJobCommand";
|
|
78
79
|
import { type StartPentestJobCommandInput, type StartPentestJobCommandOutput } from "./commands/StartPentestJobCommand";
|
|
@@ -554,6 +555,13 @@ export interface SecurityAgent {
|
|
|
554
555
|
listThreats(args: ListThreatsCommandInput, options?: SecurityAgentRequestOptions): Promise<ListThreatsCommandOutput>;
|
|
555
556
|
listThreats(args: ListThreatsCommandInput, cb: (err: any, data?: ListThreatsCommandOutput) => void): void;
|
|
556
557
|
listThreats(args: ListThreatsCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ListThreatsCommandOutput) => void): void;
|
|
558
|
+
/**
|
|
559
|
+
* @see {@link ResumePentestJobCommand}
|
|
560
|
+
*/
|
|
561
|
+
resumePentestJob(): Promise<ResumePentestJobCommandOutput>;
|
|
562
|
+
resumePentestJob(args: ResumePentestJobCommandInput, options?: SecurityAgentRequestOptions): Promise<ResumePentestJobCommandOutput>;
|
|
563
|
+
resumePentestJob(args: ResumePentestJobCommandInput, cb: (err: any, data?: ResumePentestJobCommandOutput) => void): void;
|
|
564
|
+
resumePentestJob(args: ResumePentestJobCommandInput, options: SecurityAgentRequestOptions, cb: (err: any, data?: ResumePentestJobCommandOutput) => void): void;
|
|
557
565
|
/**
|
|
558
566
|
* @see {@link StartCodeRemediationCommand}
|
|
559
567
|
*/
|
|
@@ -80,6 +80,7 @@ import type { ListThreatModelJobsCommandInput, ListThreatModelJobsCommandOutput
|
|
|
80
80
|
import type { ListThreatModelJobTasksCommandInput, ListThreatModelJobTasksCommandOutput } from "./commands/ListThreatModelJobTasksCommand";
|
|
81
81
|
import type { ListThreatModelsCommandInput, ListThreatModelsCommandOutput } from "./commands/ListThreatModelsCommand";
|
|
82
82
|
import type { ListThreatsCommandInput, ListThreatsCommandOutput } from "./commands/ListThreatsCommand";
|
|
83
|
+
import type { ResumePentestJobCommandInput, ResumePentestJobCommandOutput } from "./commands/ResumePentestJobCommand";
|
|
83
84
|
import type { StartCodeRemediationCommandInput, StartCodeRemediationCommandOutput } from "./commands/StartCodeRemediationCommand";
|
|
84
85
|
import type { StartCodeReviewJobCommandInput, StartCodeReviewJobCommandOutput } from "./commands/StartCodeReviewJobCommand";
|
|
85
86
|
import type { StartPentestJobCommandInput, StartPentestJobCommandOutput } from "./commands/StartPentestJobCommand";
|
|
@@ -108,11 +109,11 @@ export { __Client };
|
|
|
108
109
|
/**
|
|
109
110
|
* @public
|
|
110
111
|
*/
|
|
111
|
-
export type ServiceInputTypes = AddArtifactCommandInput | BatchCreateSecurityRequirementsCommandInput | BatchDeleteCodeReviewsCommandInput | BatchDeletePentestsCommandInput | BatchDeleteSecurityRequirementsCommandInput | BatchDeleteThreatModelsCommandInput | BatchDisassociateFindingIssueCommandInput | BatchExportFindingsCommandInput | BatchGetAgentSpacesCommandInput | BatchGetArtifactMetadataCommandInput | BatchGetCodeReviewJobTasksCommandInput | BatchGetCodeReviewJobsCommandInput | BatchGetCodeReviewsCommandInput | BatchGetFindingsCommandInput | BatchGetPentestJobTasksCommandInput | BatchGetPentestJobsCommandInput | BatchGetPentestsCommandInput | BatchGetSecurityRequirementsCommandInput | BatchGetTargetDomainsCommandInput | BatchGetThreatModelJobTasksCommandInput | BatchGetThreatModelJobsCommandInput | BatchGetThreatModelsCommandInput | BatchGetThreatsCommandInput | BatchUpdateSecurityRequirementsCommandInput | CreateAgentSpaceCommandInput | CreateApplicationCommandInput | CreateCodeReviewCommandInput | CreateIntegrationCommandInput | CreateMembershipCommandInput | CreatePentestCommandInput | CreatePrivateConnectionCommandInput | CreateSecurityRequirementPackCommandInput | CreateTargetDomainCommandInput | CreateThreatCommandInput | CreateThreatModelCommandInput | DeleteAgentSpaceCommandInput | DeleteApplicationCommandInput | DeleteArtifactCommandInput | DeleteIntegrationCommandInput | DeleteMembershipCommandInput | DeletePrivateConnectionCommandInput | DeleteSecurityRequirementPackCommandInput | DeleteTargetDomainCommandInput | DescribePrivateConnectionCommandInput | GetApplicationCommandInput | GetArtifactCommandInput | GetIntegrationCommandInput | GetSecurityRequirementPackCommandInput | ImportSecurityRequirementsCommandInput | InitiateProviderRegistrationCommandInput | ListActorMessagesCommandInput | ListAgentSpacesCommandInput | ListApplicationsCommandInput | ListArtifactsCommandInput | ListCodeReviewJobTasksCommandInput | ListCodeReviewJobsForCodeReviewCommandInput | ListCodeReviewsCommandInput | ListDiscoveredEndpointsCommandInput | ListFindingsCommandInput | ListIntegratedResourcesCommandInput | ListIntegrationsCommandInput | ListMembershipsCommandInput | ListPentestJobTasksCommandInput | ListPentestJobsForPentestCommandInput | ListPentestsCommandInput | ListPrivateConnectionsCommandInput | ListSecurityRequirementPacksCommandInput | ListSecurityRequirementsCommandInput | ListTagsForResourceCommandInput | ListTargetDomainsCommandInput | ListThreatModelJobTasksCommandInput | ListThreatModelJobsCommandInput | ListThreatModelsCommandInput | ListThreatsCommandInput | StartCodeRemediationCommandInput | StartCodeReviewJobCommandInput | StartPentestJobCommandInput | StartThreatModelJobCommandInput | StopCodeReviewJobCommandInput | StopPentestJobCommandInput | StopThreatModelJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateApplicationCommandInput | UpdateCodeReviewCommandInput | UpdateFindingCommandInput | UpdateIntegratedResourcesCommandInput | UpdateIntegrationCommandInput | UpdatePentestCommandInput | UpdatePrivateConnectionCertificateCommandInput | UpdateSecurityRequirementPackCommandInput | UpdateTargetDomainCommandInput | UpdateThreatCommandInput | UpdateThreatModelCommandInput | VerifyTargetDomainCommandInput;
|
|
112
|
+
export type ServiceInputTypes = AddArtifactCommandInput | BatchCreateSecurityRequirementsCommandInput | BatchDeleteCodeReviewsCommandInput | BatchDeletePentestsCommandInput | BatchDeleteSecurityRequirementsCommandInput | BatchDeleteThreatModelsCommandInput | BatchDisassociateFindingIssueCommandInput | BatchExportFindingsCommandInput | BatchGetAgentSpacesCommandInput | BatchGetArtifactMetadataCommandInput | BatchGetCodeReviewJobTasksCommandInput | BatchGetCodeReviewJobsCommandInput | BatchGetCodeReviewsCommandInput | BatchGetFindingsCommandInput | BatchGetPentestJobTasksCommandInput | BatchGetPentestJobsCommandInput | BatchGetPentestsCommandInput | BatchGetSecurityRequirementsCommandInput | BatchGetTargetDomainsCommandInput | BatchGetThreatModelJobTasksCommandInput | BatchGetThreatModelJobsCommandInput | BatchGetThreatModelsCommandInput | BatchGetThreatsCommandInput | BatchUpdateSecurityRequirementsCommandInput | CreateAgentSpaceCommandInput | CreateApplicationCommandInput | CreateCodeReviewCommandInput | CreateIntegrationCommandInput | CreateMembershipCommandInput | CreatePentestCommandInput | CreatePrivateConnectionCommandInput | CreateSecurityRequirementPackCommandInput | CreateTargetDomainCommandInput | CreateThreatCommandInput | CreateThreatModelCommandInput | DeleteAgentSpaceCommandInput | DeleteApplicationCommandInput | DeleteArtifactCommandInput | DeleteIntegrationCommandInput | DeleteMembershipCommandInput | DeletePrivateConnectionCommandInput | DeleteSecurityRequirementPackCommandInput | DeleteTargetDomainCommandInput | DescribePrivateConnectionCommandInput | GetApplicationCommandInput | GetArtifactCommandInput | GetIntegrationCommandInput | GetSecurityRequirementPackCommandInput | ImportSecurityRequirementsCommandInput | InitiateProviderRegistrationCommandInput | ListActorMessagesCommandInput | ListAgentSpacesCommandInput | ListApplicationsCommandInput | ListArtifactsCommandInput | ListCodeReviewJobTasksCommandInput | ListCodeReviewJobsForCodeReviewCommandInput | ListCodeReviewsCommandInput | ListDiscoveredEndpointsCommandInput | ListFindingsCommandInput | ListIntegratedResourcesCommandInput | ListIntegrationsCommandInput | ListMembershipsCommandInput | ListPentestJobTasksCommandInput | ListPentestJobsForPentestCommandInput | ListPentestsCommandInput | ListPrivateConnectionsCommandInput | ListSecurityRequirementPacksCommandInput | ListSecurityRequirementsCommandInput | ListTagsForResourceCommandInput | ListTargetDomainsCommandInput | ListThreatModelJobTasksCommandInput | ListThreatModelJobsCommandInput | ListThreatModelsCommandInput | ListThreatsCommandInput | ResumePentestJobCommandInput | StartCodeRemediationCommandInput | StartCodeReviewJobCommandInput | StartPentestJobCommandInput | StartThreatModelJobCommandInput | StopCodeReviewJobCommandInput | StopPentestJobCommandInput | StopThreatModelJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAgentSpaceCommandInput | UpdateApplicationCommandInput | UpdateCodeReviewCommandInput | UpdateFindingCommandInput | UpdateIntegratedResourcesCommandInput | UpdateIntegrationCommandInput | UpdatePentestCommandInput | UpdatePrivateConnectionCertificateCommandInput | UpdateSecurityRequirementPackCommandInput | UpdateTargetDomainCommandInput | UpdateThreatCommandInput | UpdateThreatModelCommandInput | VerifyTargetDomainCommandInput;
|
|
112
113
|
/**
|
|
113
114
|
* @public
|
|
114
115
|
*/
|
|
115
|
-
export type ServiceOutputTypes = AddArtifactCommandOutput | BatchCreateSecurityRequirementsCommandOutput | BatchDeleteCodeReviewsCommandOutput | BatchDeletePentestsCommandOutput | BatchDeleteSecurityRequirementsCommandOutput | BatchDeleteThreatModelsCommandOutput | BatchDisassociateFindingIssueCommandOutput | BatchExportFindingsCommandOutput | BatchGetAgentSpacesCommandOutput | BatchGetArtifactMetadataCommandOutput | BatchGetCodeReviewJobTasksCommandOutput | BatchGetCodeReviewJobsCommandOutput | BatchGetCodeReviewsCommandOutput | BatchGetFindingsCommandOutput | BatchGetPentestJobTasksCommandOutput | BatchGetPentestJobsCommandOutput | BatchGetPentestsCommandOutput | BatchGetSecurityRequirementsCommandOutput | BatchGetTargetDomainsCommandOutput | BatchGetThreatModelJobTasksCommandOutput | BatchGetThreatModelJobsCommandOutput | BatchGetThreatModelsCommandOutput | BatchGetThreatsCommandOutput | BatchUpdateSecurityRequirementsCommandOutput | CreateAgentSpaceCommandOutput | CreateApplicationCommandOutput | CreateCodeReviewCommandOutput | CreateIntegrationCommandOutput | CreateMembershipCommandOutput | CreatePentestCommandOutput | CreatePrivateConnectionCommandOutput | CreateSecurityRequirementPackCommandOutput | CreateTargetDomainCommandOutput | CreateThreatCommandOutput | CreateThreatModelCommandOutput | DeleteAgentSpaceCommandOutput | DeleteApplicationCommandOutput | DeleteArtifactCommandOutput | DeleteIntegrationCommandOutput | DeleteMembershipCommandOutput | DeletePrivateConnectionCommandOutput | DeleteSecurityRequirementPackCommandOutput | DeleteTargetDomainCommandOutput | DescribePrivateConnectionCommandOutput | GetApplicationCommandOutput | GetArtifactCommandOutput | GetIntegrationCommandOutput | GetSecurityRequirementPackCommandOutput | ImportSecurityRequirementsCommandOutput | InitiateProviderRegistrationCommandOutput | ListActorMessagesCommandOutput | ListAgentSpacesCommandOutput | ListApplicationsCommandOutput | ListArtifactsCommandOutput | ListCodeReviewJobTasksCommandOutput | ListCodeReviewJobsForCodeReviewCommandOutput | ListCodeReviewsCommandOutput | ListDiscoveredEndpointsCommandOutput | ListFindingsCommandOutput | ListIntegratedResourcesCommandOutput | ListIntegrationsCommandOutput | ListMembershipsCommandOutput | ListPentestJobTasksCommandOutput | ListPentestJobsForPentestCommandOutput | ListPentestsCommandOutput | ListPrivateConnectionsCommandOutput | ListSecurityRequirementPacksCommandOutput | ListSecurityRequirementsCommandOutput | ListTagsForResourceCommandOutput | ListTargetDomainsCommandOutput | ListThreatModelJobTasksCommandOutput | ListThreatModelJobsCommandOutput | ListThreatModelsCommandOutput | ListThreatsCommandOutput | StartCodeRemediationCommandOutput | StartCodeReviewJobCommandOutput | StartPentestJobCommandOutput | StartThreatModelJobCommandOutput | StopCodeReviewJobCommandOutput | StopPentestJobCommandOutput | StopThreatModelJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateApplicationCommandOutput | UpdateCodeReviewCommandOutput | UpdateFindingCommandOutput | UpdateIntegratedResourcesCommandOutput | UpdateIntegrationCommandOutput | UpdatePentestCommandOutput | UpdatePrivateConnectionCertificateCommandOutput | UpdateSecurityRequirementPackCommandOutput | UpdateTargetDomainCommandOutput | UpdateThreatCommandOutput | UpdateThreatModelCommandOutput | VerifyTargetDomainCommandOutput;
|
|
116
|
+
export type ServiceOutputTypes = AddArtifactCommandOutput | BatchCreateSecurityRequirementsCommandOutput | BatchDeleteCodeReviewsCommandOutput | BatchDeletePentestsCommandOutput | BatchDeleteSecurityRequirementsCommandOutput | BatchDeleteThreatModelsCommandOutput | BatchDisassociateFindingIssueCommandOutput | BatchExportFindingsCommandOutput | BatchGetAgentSpacesCommandOutput | BatchGetArtifactMetadataCommandOutput | BatchGetCodeReviewJobTasksCommandOutput | BatchGetCodeReviewJobsCommandOutput | BatchGetCodeReviewsCommandOutput | BatchGetFindingsCommandOutput | BatchGetPentestJobTasksCommandOutput | BatchGetPentestJobsCommandOutput | BatchGetPentestsCommandOutput | BatchGetSecurityRequirementsCommandOutput | BatchGetTargetDomainsCommandOutput | BatchGetThreatModelJobTasksCommandOutput | BatchGetThreatModelJobsCommandOutput | BatchGetThreatModelsCommandOutput | BatchGetThreatsCommandOutput | BatchUpdateSecurityRequirementsCommandOutput | CreateAgentSpaceCommandOutput | CreateApplicationCommandOutput | CreateCodeReviewCommandOutput | CreateIntegrationCommandOutput | CreateMembershipCommandOutput | CreatePentestCommandOutput | CreatePrivateConnectionCommandOutput | CreateSecurityRequirementPackCommandOutput | CreateTargetDomainCommandOutput | CreateThreatCommandOutput | CreateThreatModelCommandOutput | DeleteAgentSpaceCommandOutput | DeleteApplicationCommandOutput | DeleteArtifactCommandOutput | DeleteIntegrationCommandOutput | DeleteMembershipCommandOutput | DeletePrivateConnectionCommandOutput | DeleteSecurityRequirementPackCommandOutput | DeleteTargetDomainCommandOutput | DescribePrivateConnectionCommandOutput | GetApplicationCommandOutput | GetArtifactCommandOutput | GetIntegrationCommandOutput | GetSecurityRequirementPackCommandOutput | ImportSecurityRequirementsCommandOutput | InitiateProviderRegistrationCommandOutput | ListActorMessagesCommandOutput | ListAgentSpacesCommandOutput | ListApplicationsCommandOutput | ListArtifactsCommandOutput | ListCodeReviewJobTasksCommandOutput | ListCodeReviewJobsForCodeReviewCommandOutput | ListCodeReviewsCommandOutput | ListDiscoveredEndpointsCommandOutput | ListFindingsCommandOutput | ListIntegratedResourcesCommandOutput | ListIntegrationsCommandOutput | ListMembershipsCommandOutput | ListPentestJobTasksCommandOutput | ListPentestJobsForPentestCommandOutput | ListPentestsCommandOutput | ListPrivateConnectionsCommandOutput | ListSecurityRequirementPacksCommandOutput | ListSecurityRequirementsCommandOutput | ListTagsForResourceCommandOutput | ListTargetDomainsCommandOutput | ListThreatModelJobTasksCommandOutput | ListThreatModelJobsCommandOutput | ListThreatModelsCommandOutput | ListThreatsCommandOutput | ResumePentestJobCommandOutput | StartCodeRemediationCommandOutput | StartCodeReviewJobCommandOutput | StartPentestJobCommandOutput | StartThreatModelJobCommandOutput | StopCodeReviewJobCommandOutput | StopPentestJobCommandOutput | StopThreatModelJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAgentSpaceCommandOutput | UpdateApplicationCommandOutput | UpdateCodeReviewCommandOutput | UpdateFindingCommandOutput | UpdateIntegratedResourcesCommandOutput | UpdateIntegrationCommandOutput | UpdatePentestCommandOutput | UpdatePrivateConnectionCertificateCommandOutput | UpdateSecurityRequirementPackCommandOutput | UpdateTargetDomainCommandOutput | UpdateThreatCommandOutput | UpdateThreatModelCommandOutput | VerifyTargetDomainCommandOutput;
|
|
116
117
|
/**
|
|
117
118
|
* @public
|
|
118
119
|
*/
|
|
@@ -47,7 +47,7 @@ declare const BatchDisassociateFindingIssueCommand_base: {
|
|
|
47
47
|
* // errors: [ // BatchDisassociateFindingIssueErrors // required
|
|
48
48
|
* // { // BatchDisassociateFindingIssueError
|
|
49
49
|
* // findingId: "STRING_VALUE", // required
|
|
50
|
-
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER", // required
|
|
50
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER" || "PAUSED_BY_USER", // required
|
|
51
51
|
* // message: "STRING_VALUE", // required
|
|
52
52
|
* // },
|
|
53
53
|
* // ],
|
|
@@ -65,7 +65,7 @@ declare const BatchExportFindingsCommand_base: {
|
|
|
65
65
|
* // errors: [ // BatchExportFindingErrorList // required
|
|
66
66
|
* // { // BatchExportFindingError
|
|
67
67
|
* // findingId: "STRING_VALUE", // required
|
|
68
|
-
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER", // required
|
|
68
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER" || "PAUSED_BY_USER", // required
|
|
69
69
|
* // message: "STRING_VALUE", // required
|
|
70
70
|
* // },
|
|
71
71
|
* // ],
|
|
@@ -48,7 +48,7 @@ declare const BatchGetCodeReviewJobsCommand_base: {
|
|
|
48
48
|
* // codeReviewId: "STRING_VALUE",
|
|
49
49
|
* // title: "STRING_VALUE",
|
|
50
50
|
* // overview: "STRING_VALUE",
|
|
51
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
51
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
52
52
|
* // documents: [ // DocumentList
|
|
53
53
|
* // { // DocumentInfo
|
|
54
54
|
* // s3Location: "STRING_VALUE",
|
|
@@ -85,7 +85,7 @@ declare const BatchGetCodeReviewJobsCommand_base: {
|
|
|
85
85
|
* // logStream: "STRING_VALUE",
|
|
86
86
|
* // },
|
|
87
87
|
* // errorInformation: { // ErrorInformation
|
|
88
|
-
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER",
|
|
88
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER" || "PAUSED_BY_USER",
|
|
89
89
|
* // message: "STRING_VALUE",
|
|
90
90
|
* // },
|
|
91
91
|
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
@@ -48,7 +48,7 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
48
48
|
* // pentestId: "STRING_VALUE",
|
|
49
49
|
* // title: "STRING_VALUE",
|
|
50
50
|
* // overview: "STRING_VALUE",
|
|
51
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
51
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
52
52
|
* // endpoints: [ // EndpointList
|
|
53
53
|
* // { // Endpoint
|
|
54
54
|
* // uri: "STRING_VALUE",
|
|
@@ -142,7 +142,7 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
142
142
|
* // ],
|
|
143
143
|
* // },
|
|
144
144
|
* // errorInformation: { // ErrorInformation
|
|
145
|
-
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER",
|
|
145
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER" || "PAUSED_BY_USER",
|
|
146
146
|
* // message: "STRING_VALUE",
|
|
147
147
|
* // },
|
|
148
148
|
* // integratedRepositories: [ // IntegratedRepositoryList
|
|
@@ -206,6 +206,7 @@ declare const BatchGetPentestJobsCommand_base: {
|
|
|
206
206
|
* // testScope: { // TestScope
|
|
207
207
|
* // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
|
|
208
208
|
* // },
|
|
209
|
+
* // version: "STRING_VALUE",
|
|
209
210
|
* // createdAt: new Date("TIMESTAMP"),
|
|
210
211
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
211
212
|
* // },
|
|
@@ -48,7 +48,7 @@ declare const BatchGetThreatModelJobsCommand_base: {
|
|
|
48
48
|
* // threatModelId: "STRING_VALUE",
|
|
49
49
|
* // agentSpaceId: "STRING_VALUE",
|
|
50
50
|
* // title: "STRING_VALUE",
|
|
51
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
51
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
52
52
|
* // createdAt: new Date("TIMESTAMP"),
|
|
53
53
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
54
|
* // executionStartTime: new Date("TIMESTAMP"),
|
|
@@ -86,7 +86,7 @@ declare const BatchGetThreatModelJobsCommand_base: {
|
|
|
86
86
|
* // },
|
|
87
87
|
* // ],
|
|
88
88
|
* // errorInformation: { // ErrorInformation
|
|
89
|
-
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER",
|
|
89
|
+
* // code: "CLIENT_ERROR" || "INTERNAL_ERROR" || "STOPPED_BY_USER" || "PAUSED_BY_USER",
|
|
90
90
|
* // message: "STRING_VALUE",
|
|
91
91
|
* // },
|
|
92
92
|
* // systemOverview: "STRING_VALUE",
|
|
@@ -47,7 +47,7 @@ declare const ListCodeReviewJobsForCodeReviewCommand_base: {
|
|
|
47
47
|
* // codeReviewJobId: "STRING_VALUE", // required
|
|
48
48
|
* // codeReviewId: "STRING_VALUE", // required
|
|
49
49
|
* // title: "STRING_VALUE",
|
|
50
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
50
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
51
51
|
* // createdAt: new Date("TIMESTAMP"),
|
|
52
52
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
53
53
|
* // },
|
|
@@ -48,11 +48,12 @@ declare const ListPentestJobsForPentestCommand_base: {
|
|
|
48
48
|
* // pentestJobId: "STRING_VALUE", // required
|
|
49
49
|
* // pentestId: "STRING_VALUE", // required
|
|
50
50
|
* // title: "STRING_VALUE",
|
|
51
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
51
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
52
52
|
* // createdAt: new Date("TIMESTAMP"),
|
|
53
53
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
54
|
* // jobType: "FULL" || "REVALIDATION" || "CICD",
|
|
55
55
|
* // reportUrl: "STRING_VALUE",
|
|
56
|
+
* // version: "STRING_VALUE",
|
|
56
57
|
* // },
|
|
57
58
|
* // ],
|
|
58
59
|
* // nextToken: "STRING_VALUE",
|
|
@@ -48,7 +48,7 @@ declare const ListThreatModelJobsCommand_base: {
|
|
|
48
48
|
* // threatModelId: "STRING_VALUE", // required
|
|
49
49
|
* // agentSpaceId: "STRING_VALUE",
|
|
50
50
|
* // title: "STRING_VALUE",
|
|
51
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
51
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
52
52
|
* // createdAt: new Date("TIMESTAMP"),
|
|
53
53
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
54
|
* // },
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ResumePentestJobInput, ResumePentestJobOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ResumePentestJobCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ResumePentestJobCommandInput extends ResumePentestJobInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ResumePentestJobCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ResumePentestJobCommandOutput extends ResumePentestJobOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ResumePentestJobCommand_base: {
|
|
22
|
+
new (input: ResumePentestJobCommandInput): import("@smithy/core/client").CommandImpl<ResumePentestJobCommandInput, ResumePentestJobCommandOutput, import("..").SecurityAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ResumePentestJobCommandInput]): import("@smithy/core/client").CommandImpl<ResumePentestJobCommandInput, ResumePentestJobCommandOutput, import("..").SecurityAgentClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Resumes a stopped or paused pentest job from its last saved checkpoint. The job keeps its pentest job identifier and continues as a new version, keeping the findings and progress from earlier runs. You can resume a job within 7 days of when it was created.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityAgentClient, ResumePentestJobCommand } from "@aws-sdk/client-securityagent"; // ES Modules import
|
|
32
|
+
* // const { SecurityAgentClient, ResumePentestJobCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import
|
|
33
|
+
* // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent";
|
|
34
|
+
* const config = {}; // type is SecurityAgentClientConfig
|
|
35
|
+
* const client = new SecurityAgentClient(config);
|
|
36
|
+
* const input = { // ResumePentestJobInput
|
|
37
|
+
* agentSpaceId: "STRING_VALUE",
|
|
38
|
+
* pentestJobId: "STRING_VALUE",
|
|
39
|
+
* actors: [ // ActorList
|
|
40
|
+
* { // Actor
|
|
41
|
+
* identifier: "STRING_VALUE",
|
|
42
|
+
* uris: [ // UriList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* authentication: { // Authentication
|
|
46
|
+
* providerType: "SECRETS_MANAGER" || "AWS_LAMBDA" || "AWS_IAM_ROLE" || "AWS_INTERNAL",
|
|
47
|
+
* value: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* description: "STRING_VALUE",
|
|
50
|
+
* enableEmailMfa: true || false,
|
|
51
|
+
* mfaForwardingAddress: "STRING_VALUE",
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* networkTrafficConfig: { // NetworkTrafficConfig
|
|
55
|
+
* rules: [ // NetworkTrafficRuleList
|
|
56
|
+
* { // NetworkTrafficRule
|
|
57
|
+
* effect: "ALLOW" || "DENY",
|
|
58
|
+
* pattern: "STRING_VALUE",
|
|
59
|
+
* networkTrafficRuleType: "URL",
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* customHeaders: [ // CustomHeaderList
|
|
63
|
+
* { // CustomHeader
|
|
64
|
+
* name: "STRING_VALUE",
|
|
65
|
+
* value: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* vpcConfig: { // VpcConfig
|
|
70
|
+
* vpcArn: "STRING_VALUE",
|
|
71
|
+
* securityGroupArns: [ // SecurityGroupArns
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* subnetArns: [ // SubnetArns
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* maxTaskHours: Number("double"),
|
|
79
|
+
* copyConfigFromPentest: true || false,
|
|
80
|
+
* };
|
|
81
|
+
* const command = new ResumePentestJobCommand(input);
|
|
82
|
+
* const response = await client.send(command);
|
|
83
|
+
* // { // ResumePentestJobOutput
|
|
84
|
+
* // title: "STRING_VALUE",
|
|
85
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
86
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
87
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
88
|
+
* // pentestId: "STRING_VALUE",
|
|
89
|
+
* // pentestJobId: "STRING_VALUE",
|
|
90
|
+
* // version: "STRING_VALUE",
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param ResumePentestJobCommandInput - {@link ResumePentestJobCommandInput}
|
|
96
|
+
* @returns {@link ResumePentestJobCommandOutput}
|
|
97
|
+
* @see {@link ResumePentestJobCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link ResumePentestJobCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link SecurityAgentServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from SecurityAgent service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class ResumePentestJobCommand extends ResumePentestJobCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: ResumePentestJobInput;
|
|
112
|
+
output: ResumePentestJobOutput;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: ResumePentestJobCommandInput;
|
|
116
|
+
output: ResumePentestJobCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -44,7 +44,7 @@ declare const StartCodeReviewJobCommand_base: {
|
|
|
44
44
|
* const response = await client.send(command);
|
|
45
45
|
* // { // StartCodeReviewJobOutput
|
|
46
46
|
* // title: "STRING_VALUE",
|
|
47
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
47
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
48
48
|
* // createdAt: new Date("TIMESTAMP"),
|
|
49
49
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
50
50
|
* // codeReviewId: "STRING_VALUE", // required
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartPentestJobInput, StartPentestJobOutput } from "../models/
|
|
2
|
+
import type { StartPentestJobInput, StartPentestJobOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -54,7 +54,7 @@ declare const StartPentestJobCommand_base: {
|
|
|
54
54
|
* const response = await client.send(command);
|
|
55
55
|
* // { // StartPentestJobOutput
|
|
56
56
|
* // title: "STRING_VALUE",
|
|
57
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
57
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
58
58
|
* // createdAt: new Date("TIMESTAMP"),
|
|
59
59
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
60
60
|
* // pentestId: "STRING_VALUE",
|
|
@@ -41,7 +41,7 @@ declare const StartThreatModelJobCommand_base: {
|
|
|
41
41
|
* const response = await client.send(command);
|
|
42
42
|
* // { // StartThreatModelJobOutput
|
|
43
43
|
* // title: "STRING_VALUE",
|
|
44
|
-
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
44
|
+
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "PAUSING" || "PAUSED" || "FAILED" || "COMPLETED",
|
|
45
45
|
* // createdAt: new Date("TIMESTAMP"),
|
|
46
46
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
47
47
|
* // threatModelId: "STRING_VALUE",
|
|
@@ -36,6 +36,7 @@ declare const StopPentestJobCommand_base: {
|
|
|
36
36
|
* const input = { // StopPentestJobInput
|
|
37
37
|
* agentSpaceId: "STRING_VALUE", // required
|
|
38
38
|
* pentestJobId: "STRING_VALUE", // required
|
|
39
|
+
* pause: true || false,
|
|
39
40
|
* };
|
|
40
41
|
* const command = new StopPentestJobCommand(input);
|
|
41
42
|
* const response = await client.send(command);
|
|
@@ -72,6 +72,7 @@ export * from "./ListThreatModelJobTasksCommand";
|
|
|
72
72
|
export * from "./ListThreatModelJobsCommand";
|
|
73
73
|
export * from "./ListThreatModelsCommand";
|
|
74
74
|
export * from "./ListThreatsCommand";
|
|
75
|
+
export * from "./ResumePentestJobCommand";
|
|
75
76
|
export * from "./StartCodeRemediationCommand";
|
|
76
77
|
export * from "./StartCodeReviewJobCommand";
|
|
77
78
|
export * from "./StartPentestJobCommand";
|
|
@@ -433,6 +433,10 @@ export declare const ErrorCode: {
|
|
|
433
433
|
* <p>Failure caused by an internal error.</p>
|
|
434
434
|
*/
|
|
435
435
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
436
|
+
/**
|
|
437
|
+
* <p>Pentest job was paused by the user.</p>
|
|
438
|
+
*/
|
|
439
|
+
readonly PAUSED_BY_USER: "PAUSED_BY_USER";
|
|
436
440
|
/**
|
|
437
441
|
* <p>Pentest job was stopped by the user.</p>
|
|
438
442
|
*/
|
|
@@ -501,6 +505,14 @@ export declare const JobStatus: {
|
|
|
501
505
|
* <p>Pentest job is currently running.</p>
|
|
502
506
|
*/
|
|
503
507
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
508
|
+
/**
|
|
509
|
+
* <p>Pentest job is paused. A paused job can be resumed from its last saved checkpoint within 7 days of the job's creation.</p>
|
|
510
|
+
*/
|
|
511
|
+
readonly PAUSED: "PAUSED";
|
|
512
|
+
/**
|
|
513
|
+
* <p>Pentest job is being paused.</p>
|
|
514
|
+
*/
|
|
515
|
+
readonly PAUSING: "PAUSING";
|
|
504
516
|
/**
|
|
505
517
|
* <p>Pentest job was stopped by the user.</p>
|
|
506
518
|
*/
|
|
@@ -2881,6 +2881,11 @@ export interface PentestJob {
|
|
|
2881
2881
|
* @public
|
|
2882
2882
|
*/
|
|
2883
2883
|
testScope?: TestScope | undefined;
|
|
2884
|
+
/**
|
|
2885
|
+
* <p>The version of the pentest job. The version increases each time the job is resumed. This value is absent for jobs created before versions were recorded.</p>
|
|
2886
|
+
* @public
|
|
2887
|
+
*/
|
|
2888
|
+
version?: string | undefined;
|
|
2884
2889
|
/**
|
|
2885
2890
|
* <p>The date and time the pentest job was created, in UTC format.</p>
|
|
2886
2891
|
* @public
|
|
@@ -7435,6 +7440,11 @@ export interface PentestJobSummary {
|
|
|
7435
7440
|
* @public
|
|
7436
7441
|
*/
|
|
7437
7442
|
reportUrl?: string | undefined;
|
|
7443
|
+
/**
|
|
7444
|
+
* <p>The version of the pentest job. The version increases each time the job is resumed. This value is absent for jobs created before versions were recorded.</p>
|
|
7445
|
+
* @public
|
|
7446
|
+
*/
|
|
7447
|
+
version?: string | undefined;
|
|
7438
7448
|
}
|
|
7439
7449
|
/**
|
|
7440
7450
|
* <p>Output for the ListPentestJobsForPentest operation.</p>
|
|
@@ -8374,6 +8384,88 @@ export interface UpdatePrivateConnectionCertificateOutput {
|
|
|
8374
8384
|
*/
|
|
8375
8385
|
tags?: Record<string, string> | undefined;
|
|
8376
8386
|
}
|
|
8387
|
+
/**
|
|
8388
|
+
* <p>Input for resuming a stopped or paused pentest job.</p>
|
|
8389
|
+
* @public
|
|
8390
|
+
*/
|
|
8391
|
+
export interface ResumePentestJobInput {
|
|
8392
|
+
/**
|
|
8393
|
+
* <p>The unique identifier of the agent space.</p>
|
|
8394
|
+
* @public
|
|
8395
|
+
*/
|
|
8396
|
+
agentSpaceId?: string | undefined;
|
|
8397
|
+
/**
|
|
8398
|
+
* <p>The unique identifier of the pentest job to resume.</p>
|
|
8399
|
+
* @public
|
|
8400
|
+
*/
|
|
8401
|
+
pentestJobId?: string | undefined;
|
|
8402
|
+
/**
|
|
8403
|
+
* <p>The actors to use for the resumed job. When specified, replaces the actors the job used before it stopped.</p>
|
|
8404
|
+
* @public
|
|
8405
|
+
*/
|
|
8406
|
+
actors?: Actor[] | undefined;
|
|
8407
|
+
/**
|
|
8408
|
+
* <p>The network traffic configuration to use for the resumed job. When specified, replaces the configuration the job used before it stopped.</p>
|
|
8409
|
+
* @public
|
|
8410
|
+
*/
|
|
8411
|
+
networkTrafficConfig?: NetworkTrafficConfig | undefined;
|
|
8412
|
+
/**
|
|
8413
|
+
* <p>The VPC configuration to use for the resumed job. When specified, replaces the configuration the job used before it stopped.</p>
|
|
8414
|
+
* @public
|
|
8415
|
+
*/
|
|
8416
|
+
vpcConfig?: VpcConfig | undefined;
|
|
8417
|
+
/**
|
|
8418
|
+
* <p>The maximum number of task hours for the resumed job. To resume a job that stopped because it reached its task hours limit, specify a higher value.</p>
|
|
8419
|
+
* @public
|
|
8420
|
+
*/
|
|
8421
|
+
maxTaskHours?: number | undefined;
|
|
8422
|
+
/**
|
|
8423
|
+
* <p>Specifies whether to copy the current actors, network traffic configuration, VPC configuration, and maximum task hours from the pentest to the resumed job. The job's scope, such as its target endpoints, is never changed. Values you specify in this request take precedence over copied values.</p>
|
|
8424
|
+
* @public
|
|
8425
|
+
*/
|
|
8426
|
+
copyConfigFromPentest?: boolean | undefined;
|
|
8427
|
+
}
|
|
8428
|
+
/**
|
|
8429
|
+
* <p>Output for the ResumePentestJob operation.</p>
|
|
8430
|
+
* @public
|
|
8431
|
+
*/
|
|
8432
|
+
export interface ResumePentestJobOutput {
|
|
8433
|
+
/**
|
|
8434
|
+
* <p>The title of the pentest job.</p>
|
|
8435
|
+
* @public
|
|
8436
|
+
*/
|
|
8437
|
+
title?: string | undefined;
|
|
8438
|
+
/**
|
|
8439
|
+
* <p>The current status of the pentest job.</p>
|
|
8440
|
+
* @public
|
|
8441
|
+
*/
|
|
8442
|
+
status?: JobStatus | undefined;
|
|
8443
|
+
/**
|
|
8444
|
+
* <p>The date and time the pentest job was created, in UTC format.</p>
|
|
8445
|
+
* @public
|
|
8446
|
+
*/
|
|
8447
|
+
createdAt?: Date | undefined;
|
|
8448
|
+
/**
|
|
8449
|
+
* <p>The date and time the pentest job was last updated, in UTC format.</p>
|
|
8450
|
+
* @public
|
|
8451
|
+
*/
|
|
8452
|
+
updatedAt?: Date | undefined;
|
|
8453
|
+
/**
|
|
8454
|
+
* <p>The unique identifier of the pentest.</p>
|
|
8455
|
+
* @public
|
|
8456
|
+
*/
|
|
8457
|
+
pentestId?: string | undefined;
|
|
8458
|
+
/**
|
|
8459
|
+
* <p>The unique identifier of the resumed pentest job.</p>
|
|
8460
|
+
* @public
|
|
8461
|
+
*/
|
|
8462
|
+
pentestJobId?: string | undefined;
|
|
8463
|
+
/**
|
|
8464
|
+
* <p>The version of the pentest job that the resume started. The version increases each time the job is resumed.</p>
|
|
8465
|
+
* @public
|
|
8466
|
+
*/
|
|
8467
|
+
version?: string | undefined;
|
|
8468
|
+
}
|
|
8377
8469
|
/**
|
|
8378
8470
|
* @public
|
|
8379
8471
|
*/
|
|
@@ -8518,75 +8610,3 @@ export interface StartCodeReviewJobOutput {
|
|
|
8518
8610
|
*/
|
|
8519
8611
|
agentSpaceId?: string | undefined;
|
|
8520
8612
|
}
|
|
8521
|
-
/**
|
|
8522
|
-
* <p>Input for starting the execution of a pentest.</p>
|
|
8523
|
-
* @public
|
|
8524
|
-
*/
|
|
8525
|
-
export interface StartPentestJobInput {
|
|
8526
|
-
/**
|
|
8527
|
-
* <p>The unique identifier of the agent space.</p>
|
|
8528
|
-
* @public
|
|
8529
|
-
*/
|
|
8530
|
-
agentSpaceId: string | undefined;
|
|
8531
|
-
/**
|
|
8532
|
-
* <p>The unique identifier of the pentest to start a job for.</p>
|
|
8533
|
-
* @public
|
|
8534
|
-
*/
|
|
8535
|
-
pentestId: string | undefined;
|
|
8536
|
-
/**
|
|
8537
|
-
* <p>The type of pentest job to start. Valid values are FULL, REVALIDATION, and CICD. When set to REVALIDATION, the selectedFindingIds parameter is required. When set to CICD, the scopeChanges parameter defines the code changes to test.</p>
|
|
8538
|
-
* @public
|
|
8539
|
-
*/
|
|
8540
|
-
jobType?: JobType | undefined;
|
|
8541
|
-
/**
|
|
8542
|
-
* <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>
|
|
8543
|
-
* @public
|
|
8544
|
-
*/
|
|
8545
|
-
selectedFindingIds?: string[] | undefined;
|
|
8546
|
-
/**
|
|
8547
|
-
* <p>The code changes that define the scope of a CI/CD pentest job. Provide this when starting a job with jobType CICD to test only the changes in the current pipeline run.</p>
|
|
8548
|
-
* @public
|
|
8549
|
-
*/
|
|
8550
|
-
scopeChanges?: ScopeChange[] | undefined;
|
|
8551
|
-
}
|
|
8552
|
-
/**
|
|
8553
|
-
* <p>Output for the StartPentestJob operation.</p>
|
|
8554
|
-
* @public
|
|
8555
|
-
*/
|
|
8556
|
-
export interface StartPentestJobOutput {
|
|
8557
|
-
/**
|
|
8558
|
-
* <p>The title of the pentest job.</p>
|
|
8559
|
-
* @public
|
|
8560
|
-
*/
|
|
8561
|
-
title?: string | undefined;
|
|
8562
|
-
/**
|
|
8563
|
-
* <p>The current status of the pentest job.</p>
|
|
8564
|
-
* @public
|
|
8565
|
-
*/
|
|
8566
|
-
status?: JobStatus | undefined;
|
|
8567
|
-
/**
|
|
8568
|
-
* <p>The date and time the pentest job was created, in UTC format.</p>
|
|
8569
|
-
* @public
|
|
8570
|
-
*/
|
|
8571
|
-
createdAt?: Date | undefined;
|
|
8572
|
-
/**
|
|
8573
|
-
* <p>The date and time the pentest job was last updated, in UTC format.</p>
|
|
8574
|
-
* @public
|
|
8575
|
-
*/
|
|
8576
|
-
updatedAt?: Date | undefined;
|
|
8577
|
-
/**
|
|
8578
|
-
* <p>The unique identifier of the pentest.</p>
|
|
8579
|
-
* @public
|
|
8580
|
-
*/
|
|
8581
|
-
pentestId?: string | undefined;
|
|
8582
|
-
/**
|
|
8583
|
-
* <p>The unique identifier of the started pentest job.</p>
|
|
8584
|
-
* @public
|
|
8585
|
-
*/
|
|
8586
|
-
pentestJobId?: string | undefined;
|
|
8587
|
-
/**
|
|
8588
|
-
* <p>The unique identifier of the agent space.</p>
|
|
8589
|
-
* @public
|
|
8590
|
-
*/
|
|
8591
|
-
agentSpaceId?: string | undefined;
|
|
8592
|
-
}
|
|
@@ -1,5 +1,77 @@
|
|
|
1
|
-
import type { CleanUpStrategy, CodeRemediationStrategy, DomainVerificationMethod, FindingStatus, JobStatus, RiskLevel, RiskType, SkillType, StrideCategory, TargetDomainStatus, ThreatActor, ThreatSeverity, ThreatStatus, ValidationMode } from "./enums";
|
|
2
|
-
import type { Assets, CiCdConfiguration, CloudWatchLog, DocumentInfo, IntegratedResourceInputItem, NetworkTrafficConfig, ReportDestination, ReportFilters, TestScope, ThreatAnchorShape, ThreatEvidenceShape, VerificationDetails, VpcConfig } from "./models_0";
|
|
1
|
+
import type { CleanUpStrategy, CodeRemediationStrategy, DomainVerificationMethod, FindingStatus, JobStatus, JobType, RiskLevel, RiskType, SkillType, StrideCategory, TargetDomainStatus, ThreatActor, ThreatSeverity, ThreatStatus, ValidationMode } from "./enums";
|
|
2
|
+
import type { Assets, CiCdConfiguration, CloudWatchLog, DocumentInfo, IntegratedResourceInputItem, NetworkTrafficConfig, ReportDestination, ReportFilters, ScopeChange, TestScope, ThreatAnchorShape, ThreatEvidenceShape, VerificationDetails, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Input for starting the execution of a pentest.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface StartPentestJobInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The unique identifier of the agent space.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
agentSpaceId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The unique identifier of the pentest to start a job for.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
pentestId: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The type of pentest job to start. Valid values are FULL, REVALIDATION, and CICD. When set to REVALIDATION, the selectedFindingIds parameter is required. When set to CICD, the scopeChanges parameter defines the code changes to test.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
jobType?: JobType | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <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>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
selectedFindingIds?: string[] | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The code changes that define the scope of a CI/CD pentest job. Provide this when starting a job with jobType CICD to test only the changes in the current pipeline run.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
scopeChanges?: ScopeChange[] | undefined;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* <p>Output for the StartPentestJob operation.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export interface StartPentestJobOutput {
|
|
39
|
+
/**
|
|
40
|
+
* <p>The title of the pentest job.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
title?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The current status of the pentest job.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
status?: JobStatus | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The date and time the pentest job was created, in UTC format.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
createdAt?: Date | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The date and time the pentest job was last updated, in UTC format.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
updatedAt?: Date | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The unique identifier of the pentest.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
pentestId?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The unique identifier of the started pentest job.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
pentestJobId?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The unique identifier of the agent space.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
agentSpaceId?: string | undefined;
|
|
74
|
+
}
|
|
3
75
|
/**
|
|
4
76
|
* <p>Input for starting a threat model job.</p>
|
|
5
77
|
* @public
|
|
@@ -94,6 +166,11 @@ export interface StopPentestJobInput {
|
|
|
94
166
|
* @public
|
|
95
167
|
*/
|
|
96
168
|
pentestJobId: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* <p>Specifies whether to pause the job instead of stopping it. A paused job moves to <code>PAUSING</code> and then to <code>PAUSED</code>, and you can resume it later with <code>ResumePentestJob</code>. You can pause only a job that is <code>IN_PROGRESS</code>. The default is false.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
pause?: boolean | undefined;
|
|
97
174
|
}
|
|
98
175
|
/**
|
|
99
176
|
* <p>Output for the StopPentestJob operation.</p>
|
|
@@ -252,6 +252,8 @@ export declare var PentestSummary$: StaticStructureSchema;
|
|
|
252
252
|
export declare var PrivateConnectionSummary$: StaticStructureSchema;
|
|
253
253
|
export declare var ReportDestination$: StaticStructureSchema;
|
|
254
254
|
export declare var ReportFilters$: StaticStructureSchema;
|
|
255
|
+
export declare var ResumePentestJobInput$: StaticStructureSchema;
|
|
256
|
+
export declare var ResumePentestJobOutput$: StaticStructureSchema;
|
|
255
257
|
export declare var ScopeChange$: StaticStructureSchema;
|
|
256
258
|
export declare var ScopeResult$: StaticStructureSchema;
|
|
257
259
|
export declare var SecurityRequirementArtifact$: StaticStructureSchema;
|
|
@@ -416,6 +418,7 @@ export declare var ListThreatModelJobs$: StaticOperationSchema;
|
|
|
416
418
|
export declare var ListThreatModelJobTasks$: StaticOperationSchema;
|
|
417
419
|
export declare var ListThreatModels$: StaticOperationSchema;
|
|
418
420
|
export declare var ListThreats$: StaticOperationSchema;
|
|
421
|
+
export declare var ResumePentestJob$: StaticOperationSchema;
|
|
419
422
|
export declare var StartCodeRemediation$: StaticOperationSchema;
|
|
420
423
|
export declare var StartCodeReviewJob$: StaticOperationSchema;
|
|
421
424
|
export declare var StartPentestJob$: StaticOperationSchema;
|
|
@@ -291,6 +291,10 @@ import {
|
|
|
291
291
|
ListThreatModelsCommandOutput,
|
|
292
292
|
} from "./commands/ListThreatModelsCommand";
|
|
293
293
|
import { ListThreatsCommandInput, ListThreatsCommandOutput } from "./commands/ListThreatsCommand";
|
|
294
|
+
import {
|
|
295
|
+
ResumePentestJobCommandInput,
|
|
296
|
+
ResumePentestJobCommandOutput,
|
|
297
|
+
} from "./commands/ResumePentestJobCommand";
|
|
294
298
|
import {
|
|
295
299
|
StartCodeRemediationCommandInput,
|
|
296
300
|
StartCodeRemediationCommandOutput,
|
|
@@ -1350,6 +1354,20 @@ export interface SecurityAgent {
|
|
|
1350
1354
|
options: SecurityAgentRequestOptions,
|
|
1351
1355
|
cb: (err: any, data?: ListThreatsCommandOutput) => void,
|
|
1352
1356
|
): void;
|
|
1357
|
+
resumePentestJob(): Promise<ResumePentestJobCommandOutput>;
|
|
1358
|
+
resumePentestJob(
|
|
1359
|
+
args: ResumePentestJobCommandInput,
|
|
1360
|
+
options?: SecurityAgentRequestOptions,
|
|
1361
|
+
): Promise<ResumePentestJobCommandOutput>;
|
|
1362
|
+
resumePentestJob(
|
|
1363
|
+
args: ResumePentestJobCommandInput,
|
|
1364
|
+
cb: (err: any, data?: ResumePentestJobCommandOutput) => void,
|
|
1365
|
+
): void;
|
|
1366
|
+
resumePentestJob(
|
|
1367
|
+
args: ResumePentestJobCommandInput,
|
|
1368
|
+
options: SecurityAgentRequestOptions,
|
|
1369
|
+
cb: (err: any, data?: ResumePentestJobCommandOutput) => void,
|
|
1370
|
+
): void;
|
|
1353
1371
|
startCodeRemediation(
|
|
1354
1372
|
args: StartCodeRemediationCommandInput,
|
|
1355
1373
|
options?: SecurityAgentRequestOptions,
|
|
@@ -320,6 +320,10 @@ import {
|
|
|
320
320
|
ListThreatModelsCommandOutput,
|
|
321
321
|
} from "./commands/ListThreatModelsCommand";
|
|
322
322
|
import { ListThreatsCommandInput, ListThreatsCommandOutput } from "./commands/ListThreatsCommand";
|
|
323
|
+
import {
|
|
324
|
+
ResumePentestJobCommandInput,
|
|
325
|
+
ResumePentestJobCommandOutput,
|
|
326
|
+
} from "./commands/ResumePentestJobCommand";
|
|
323
327
|
import {
|
|
324
328
|
StartCodeRemediationCommandInput,
|
|
325
329
|
StartCodeRemediationCommandOutput,
|
|
@@ -487,6 +491,7 @@ export type ServiceInputTypes =
|
|
|
487
491
|
| ListThreatModelJobsCommandInput
|
|
488
492
|
| ListThreatModelsCommandInput
|
|
489
493
|
| ListThreatsCommandInput
|
|
494
|
+
| ResumePentestJobCommandInput
|
|
490
495
|
| StartCodeRemediationCommandInput
|
|
491
496
|
| StartCodeReviewJobCommandInput
|
|
492
497
|
| StartPentestJobCommandInput
|
|
@@ -584,6 +589,7 @@ export type ServiceOutputTypes =
|
|
|
584
589
|
| ListThreatModelJobsCommandOutput
|
|
585
590
|
| ListThreatModelsCommandOutput
|
|
586
591
|
| ListThreatsCommandOutput
|
|
592
|
+
| ResumePentestJobCommandOutput
|
|
587
593
|
| StartCodeRemediationCommandOutput
|
|
588
594
|
| StartCodeReviewJobCommandOutput
|
|
589
595
|
| StartPentestJobCommandOutput
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import { ResumePentestJobInput, ResumePentestJobOutput } from "../models/models_0";
|
|
3
|
+
export { __MetadataBearer };
|
|
4
|
+
export interface ResumePentestJobCommandInput extends ResumePentestJobInput {}
|
|
5
|
+
export interface ResumePentestJobCommandOutput extends ResumePentestJobOutput, __MetadataBearer {}
|
|
6
|
+
declare const ResumePentestJobCommand_base: {
|
|
7
|
+
new (
|
|
8
|
+
input: ResumePentestJobCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
|
+
ResumePentestJobCommandInput,
|
|
11
|
+
ResumePentestJobCommandOutput,
|
|
12
|
+
import("..").SecurityAgentClientResolvedConfig,
|
|
13
|
+
import("..").ServiceInputTypes,
|
|
14
|
+
import("..").ServiceOutputTypes
|
|
15
|
+
>;
|
|
16
|
+
new (
|
|
17
|
+
...[input]: [] | [ResumePentestJobCommandInput]
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
ResumePentestJobCommandInput,
|
|
20
|
+
ResumePentestJobCommandOutput,
|
|
21
|
+
import("..").SecurityAgentClientResolvedConfig,
|
|
22
|
+
import("..").ServiceInputTypes,
|
|
23
|
+
import("..").ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
export declare class ResumePentestJobCommand extends ResumePentestJobCommand_base {
|
|
28
|
+
protected static __types: {
|
|
29
|
+
api: {
|
|
30
|
+
input: ResumePentestJobInput;
|
|
31
|
+
output: ResumePentestJobOutput;
|
|
32
|
+
};
|
|
33
|
+
sdk: {
|
|
34
|
+
input: ResumePentestJobCommandInput;
|
|
35
|
+
output: ResumePentestJobCommandOutput;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { StartPentestJobInput, StartPentestJobOutput } from "../models/
|
|
2
|
+
import { StartPentestJobInput, StartPentestJobOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface StartPentestJobCommandInput extends StartPentestJobInput {}
|
|
5
5
|
export interface StartPentestJobCommandOutput extends StartPentestJobOutput, __MetadataBearer {}
|
|
@@ -72,6 +72,7 @@ export * from "./ListThreatModelJobTasksCommand";
|
|
|
72
72
|
export * from "./ListThreatModelJobsCommand";
|
|
73
73
|
export * from "./ListThreatModelsCommand";
|
|
74
74
|
export * from "./ListThreatsCommand";
|
|
75
|
+
export * from "./ResumePentestJobCommand";
|
|
75
76
|
export * from "./StartCodeRemediationCommand";
|
|
76
77
|
export * from "./StartCodeReviewJobCommand";
|
|
77
78
|
export * from "./StartPentestJobCommand";
|
|
@@ -138,6 +138,7 @@ export type TestScopeType = (typeof TestScopeType)[keyof typeof TestScopeType];
|
|
|
138
138
|
export declare const ErrorCode: {
|
|
139
139
|
readonly CLIENT_ERROR: "CLIENT_ERROR";
|
|
140
140
|
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
141
|
+
readonly PAUSED_BY_USER: "PAUSED_BY_USER";
|
|
141
142
|
readonly STOPPED_BY_USER: "STOPPED_BY_USER";
|
|
142
143
|
};
|
|
143
144
|
export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
|
|
@@ -161,6 +162,8 @@ export declare const JobStatus: {
|
|
|
161
162
|
readonly COMPLETED: "COMPLETED";
|
|
162
163
|
readonly FAILED: "FAILED";
|
|
163
164
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
165
|
+
readonly PAUSED: "PAUSED";
|
|
166
|
+
readonly PAUSING: "PAUSING";
|
|
164
167
|
readonly STOPPED: "STOPPED";
|
|
165
168
|
readonly STOPPING: "STOPPING";
|
|
166
169
|
};
|
|
@@ -744,6 +744,7 @@ export interface PentestJob {
|
|
|
744
744
|
scopeChanges?: ScopeChange[] | undefined;
|
|
745
745
|
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
746
746
|
testScope?: TestScope | undefined;
|
|
747
|
+
version?: string | undefined;
|
|
747
748
|
createdAt?: Date | undefined;
|
|
748
749
|
updatedAt?: Date | undefined;
|
|
749
750
|
}
|
|
@@ -2093,6 +2094,7 @@ export interface PentestJobSummary {
|
|
|
2093
2094
|
updatedAt?: Date | undefined;
|
|
2094
2095
|
jobType?: JobType | undefined;
|
|
2095
2096
|
reportUrl?: string | undefined;
|
|
2097
|
+
version?: string | undefined;
|
|
2096
2098
|
}
|
|
2097
2099
|
export interface ListPentestJobsForPentestOutput {
|
|
2098
2100
|
pentestJobSummaries?: PentestJobSummary[] | undefined;
|
|
@@ -2312,6 +2314,24 @@ export interface UpdatePrivateConnectionCertificateOutput {
|
|
|
2312
2314
|
failureMessage?: string | undefined;
|
|
2313
2315
|
tags?: Record<string, string> | undefined;
|
|
2314
2316
|
}
|
|
2317
|
+
export interface ResumePentestJobInput {
|
|
2318
|
+
agentSpaceId?: string | undefined;
|
|
2319
|
+
pentestJobId?: string | undefined;
|
|
2320
|
+
actors?: Actor[] | undefined;
|
|
2321
|
+
networkTrafficConfig?: NetworkTrafficConfig | undefined;
|
|
2322
|
+
vpcConfig?: VpcConfig | undefined;
|
|
2323
|
+
maxTaskHours?: number | undefined;
|
|
2324
|
+
copyConfigFromPentest?: boolean | undefined;
|
|
2325
|
+
}
|
|
2326
|
+
export interface ResumePentestJobOutput {
|
|
2327
|
+
title?: string | undefined;
|
|
2328
|
+
status?: JobStatus | undefined;
|
|
2329
|
+
createdAt?: Date | undefined;
|
|
2330
|
+
updatedAt?: Date | undefined;
|
|
2331
|
+
pentestId?: string | undefined;
|
|
2332
|
+
pentestJobId?: string | undefined;
|
|
2333
|
+
version?: string | undefined;
|
|
2334
|
+
}
|
|
2315
2335
|
export interface UpdateSecurityRequirementPackInput {
|
|
2316
2336
|
packId: string | undefined;
|
|
2317
2337
|
name?: string | undefined;
|
|
@@ -2345,19 +2365,3 @@ export interface StartCodeReviewJobOutput {
|
|
|
2345
2365
|
codeReviewJobId: string | undefined;
|
|
2346
2366
|
agentSpaceId?: string | undefined;
|
|
2347
2367
|
}
|
|
2348
|
-
export interface StartPentestJobInput {
|
|
2349
|
-
agentSpaceId: string | undefined;
|
|
2350
|
-
pentestId: string | undefined;
|
|
2351
|
-
jobType?: JobType | undefined;
|
|
2352
|
-
selectedFindingIds?: string[] | undefined;
|
|
2353
|
-
scopeChanges?: ScopeChange[] | undefined;
|
|
2354
|
-
}
|
|
2355
|
-
export interface StartPentestJobOutput {
|
|
2356
|
-
title?: string | undefined;
|
|
2357
|
-
status?: JobStatus | undefined;
|
|
2358
|
-
createdAt?: Date | undefined;
|
|
2359
|
-
updatedAt?: Date | undefined;
|
|
2360
|
-
pentestId?: string | undefined;
|
|
2361
|
-
pentestJobId?: string | undefined;
|
|
2362
|
-
agentSpaceId?: string | undefined;
|
|
2363
|
-
}
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
DomainVerificationMethod,
|
|
5
5
|
FindingStatus,
|
|
6
6
|
JobStatus,
|
|
7
|
+
JobType,
|
|
7
8
|
RiskLevel,
|
|
8
9
|
RiskType,
|
|
9
10
|
SkillType,
|
|
@@ -23,12 +24,29 @@ import {
|
|
|
23
24
|
NetworkTrafficConfig,
|
|
24
25
|
ReportDestination,
|
|
25
26
|
ReportFilters,
|
|
27
|
+
ScopeChange,
|
|
26
28
|
TestScope,
|
|
27
29
|
ThreatAnchorShape,
|
|
28
30
|
ThreatEvidenceShape,
|
|
29
31
|
VerificationDetails,
|
|
30
32
|
VpcConfig,
|
|
31
33
|
} from "./models_0";
|
|
34
|
+
export interface StartPentestJobInput {
|
|
35
|
+
agentSpaceId: string | undefined;
|
|
36
|
+
pentestId: string | undefined;
|
|
37
|
+
jobType?: JobType | undefined;
|
|
38
|
+
selectedFindingIds?: string[] | undefined;
|
|
39
|
+
scopeChanges?: ScopeChange[] | undefined;
|
|
40
|
+
}
|
|
41
|
+
export interface StartPentestJobOutput {
|
|
42
|
+
title?: string | undefined;
|
|
43
|
+
status?: JobStatus | undefined;
|
|
44
|
+
createdAt?: Date | undefined;
|
|
45
|
+
updatedAt?: Date | undefined;
|
|
46
|
+
pentestId?: string | undefined;
|
|
47
|
+
pentestJobId?: string | undefined;
|
|
48
|
+
agentSpaceId?: string | undefined;
|
|
49
|
+
}
|
|
32
50
|
export interface StartThreatModelJobInput {
|
|
33
51
|
agentSpaceId: string | undefined;
|
|
34
52
|
threatModelId: string | undefined;
|
|
@@ -50,6 +68,7 @@ export interface StopCodeReviewJobOutput {}
|
|
|
50
68
|
export interface StopPentestJobInput {
|
|
51
69
|
agentSpaceId: string | undefined;
|
|
52
70
|
pentestJobId: string | undefined;
|
|
71
|
+
pause?: boolean | undefined;
|
|
53
72
|
}
|
|
54
73
|
export interface StopPentestJobOutput {}
|
|
55
74
|
export interface StopThreatModelJobInput {
|
|
@@ -252,6 +252,8 @@ export declare var PentestSummary$: StaticStructureSchema;
|
|
|
252
252
|
export declare var PrivateConnectionSummary$: StaticStructureSchema;
|
|
253
253
|
export declare var ReportDestination$: StaticStructureSchema;
|
|
254
254
|
export declare var ReportFilters$: StaticStructureSchema;
|
|
255
|
+
export declare var ResumePentestJobInput$: StaticStructureSchema;
|
|
256
|
+
export declare var ResumePentestJobOutput$: StaticStructureSchema;
|
|
255
257
|
export declare var ScopeChange$: StaticStructureSchema;
|
|
256
258
|
export declare var ScopeResult$: StaticStructureSchema;
|
|
257
259
|
export declare var SecurityRequirementArtifact$: StaticStructureSchema;
|
|
@@ -416,6 +418,7 @@ export declare var ListThreatModelJobs$: StaticOperationSchema;
|
|
|
416
418
|
export declare var ListThreatModelJobTasks$: StaticOperationSchema;
|
|
417
419
|
export declare var ListThreatModels$: StaticOperationSchema;
|
|
418
420
|
export declare var ListThreats$: StaticOperationSchema;
|
|
421
|
+
export declare var ResumePentestJob$: StaticOperationSchema;
|
|
419
422
|
export declare var StartCodeRemediation$: StaticOperationSchema;
|
|
420
423
|
export declare var StartCodeReviewJob$: StaticOperationSchema;
|
|
421
424
|
export declare var StartPentestJob$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityagent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1172.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",
|