@aws-sdk/client-securityagent 3.1148.0 → 3.1149.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1147.0";
70
+ var version = "3.1148.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -113,6 +113,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
113
113
  customEndpointFunctions.aws = awsEndpointFunctions;
114
114
 
115
115
  class SecurityAgentServiceException extends ServiceException {
116
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.securityagent#SecurityAgentServiceException";
116
117
  constructor(options) {
117
118
  super(options);
118
119
  Object.setPrototypeOf(this, SecurityAgentServiceException.prototype);
@@ -120,6 +121,7 @@ class SecurityAgentServiceException extends ServiceException {
120
121
  }
121
122
 
122
123
  class AccessDeniedException extends SecurityAgentServiceException {
124
+ static shapeId = "com.amazonaws.securityagent#AccessDeniedException";
123
125
  name = "AccessDeniedException";
124
126
  $fault = "client";
125
127
  constructor(opts) {
@@ -132,6 +134,7 @@ class AccessDeniedException extends SecurityAgentServiceException {
132
134
  }
133
135
  }
134
136
  class InternalServerException extends SecurityAgentServiceException {
137
+ static shapeId = "com.amazonaws.securityagent#InternalServerException";
135
138
  name = "InternalServerException";
136
139
  $fault = "server";
137
140
  constructor(opts) {
@@ -144,6 +147,7 @@ class InternalServerException extends SecurityAgentServiceException {
144
147
  }
145
148
  }
146
149
  class ResourceNotFoundException extends SecurityAgentServiceException {
150
+ static shapeId = "com.amazonaws.securityagent#ResourceNotFoundException";
147
151
  name = "ResourceNotFoundException";
148
152
  $fault = "client";
149
153
  constructor(opts) {
@@ -156,6 +160,7 @@ class ResourceNotFoundException extends SecurityAgentServiceException {
156
160
  }
157
161
  }
158
162
  class ThrottlingException extends SecurityAgentServiceException {
163
+ static shapeId = "com.amazonaws.securityagent#ThrottlingException";
159
164
  name = "ThrottlingException";
160
165
  $fault = "client";
161
166
  serviceCode;
@@ -172,6 +177,7 @@ class ThrottlingException extends SecurityAgentServiceException {
172
177
  }
173
178
  }
174
179
  class ValidationException extends SecurityAgentServiceException {
180
+ static shapeId = "com.amazonaws.securityagent#ValidationException";
175
181
  name = "ValidationException";
176
182
  $fault = "client";
177
183
  fieldList;
@@ -186,6 +192,7 @@ class ValidationException extends SecurityAgentServiceException {
186
192
  }
187
193
  }
188
194
  class ConflictException extends SecurityAgentServiceException {
195
+ static shapeId = "com.amazonaws.securityagent#ConflictException";
189
196
  name = "ConflictException";
190
197
  $fault = "client";
191
198
  constructor(opts) {
@@ -198,6 +205,7 @@ class ConflictException extends SecurityAgentServiceException {
198
205
  }
199
206
  }
200
207
  class ServiceQuotaExceededException extends SecurityAgentServiceException {
208
+ static shapeId = "com.amazonaws.securityagent#ServiceQuotaExceededException";
201
209
  name = "ServiceQuotaExceededException";
202
210
  $fault = "client";
203
211
  constructor(opts) {
@@ -642,6 +650,7 @@ const _TRO = "TagResourceOutput";
642
650
  const _TS = "TaskSummary";
643
651
  const _TSL = "TaskSummaryList";
644
652
  const _TSLh = "ThreatSummaryList";
653
+ const _TSe = "TestScope";
645
654
  const _TSh = "ThreatSummary";
646
655
  const _Th = "Threat";
647
656
  const _UA = "UpdateApplication";
@@ -1034,9 +1043,10 @@ const _tMJTI = "threatModelJobTaskIds";
1034
1043
  const _tMJTS = "threatModelJobTaskSummaries";
1035
1044
  const _tMS = "threatModelSummaries";
1036
1045
  const _tRI = "triggerRunId";
1037
- const _tS = "threatSource";
1046
+ const _tS = "testScope";
1038
1047
  const _tSa = "taskSummaries";
1039
1048
  const _tSas = "taskStatuses";
1049
+ const _tSh = "threatSource";
1040
1050
  const _tT = "tokenType";
1041
1051
  const _tU = "targetUrl";
1042
1052
  const _ta = "tasks";
@@ -1603,13 +1613,13 @@ var CreateMembershipResponse$ = [3, n0, _CMRr,
1603
1613
  ];
1604
1614
  var CreatePentestInput$ = [3, n0, _CPI,
1605
1615
  0,
1606
- [_ti, _aSI, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH, _rD, _rF, _cC],
1607
- [0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$], 2
1616
+ [_ti, _aSI, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH, _rD, _rF, _cC, _tS],
1617
+ [0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$], 2
1608
1618
  ];
1609
1619
  var CreatePentestOutput$ = [3, n0, _CPO,
1610
1620
  0,
1611
- [_pIen, _ti, _cA, _uA, _as, _eRT, _sRe, _lCo, _aSI, _rD, _rF, _cC],
1612
- [0, 0, 5, 5, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, 0, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$]
1621
+ [_pIen, _ti, _cA, _uA, _as, _eRT, _sRe, _lCo, _aSI, _rD, _rF, _cC, _tS],
1622
+ [0, 0, 5, 5, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, 0, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$]
1613
1623
  ];
1614
1624
  var CreatePrivateConnectionInput$ = [3, n0, _CPCI,
1615
1625
  0,
@@ -1648,7 +1658,7 @@ var CreateTargetDomainOutput$ = [3, n0, _CTDO,
1648
1658
  ];
1649
1659
  var CreateThreatInput$ = [3, n0, _CTI,
1650
1660
  0,
1651
- [_aSI, _tJI, _ti, _stat, _sev, _com, _str, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re],
1661
+ [_aSI, _tJI, _ti, _stat, _sev, _com, _str, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re],
1652
1662
  [0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 0], 2
1653
1663
  ];
1654
1664
  var CreateThreatModelInput$ = [3, n0, _CTMI,
@@ -1663,7 +1673,7 @@ var CreateThreatModelOutput$ = [3, n0, _CTMO,
1663
1673
  ];
1664
1674
  var CreateThreatOutput$ = [3, n0, _CTO,
1665
1675
  0,
1666
- [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _str, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re, _cB, _uB, _cA, _uA],
1676
+ [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _str, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re, _cB, _uB, _cA, _uA],
1667
1677
  [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 0, 0, 0, 5, 5], 2
1668
1678
  ];
1669
1679
  var CustomHeader$ = [3, n0, _CH,
@@ -2213,13 +2223,13 @@ var NetworkTrafficRule$ = [3, n0, _NTR,
2213
2223
  ];
2214
2224
  var Pentest$ = [3, n0, _P,
2215
2225
  0,
2216
- [_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _cUS, _dMS, _mTH, _rD, _rF, _cC, _cA, _uA],
2217
- [0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, 5, 5], 4
2226
+ [_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _cUS, _dMS, _mTH, _rD, _rF, _cC, _tS, _cA, _uA],
2227
+ [0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$, 5, 5], 4
2218
2228
  ];
2219
2229
  var PentestJob$ = [3, n0, _PJ,
2220
2230
  0,
2221
- [_pJIe, _pIen, _ti, _ov, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _rD, _rU, _sRc, _sCc, _cC, _cA, _uA],
2222
- [0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], 0, 0, 64 | 0, 1, 0, 64 | 0, () => ReportDestination$, 0, () => ScopeResult$, () => ScopeChangeList, () => CiCdConfiguration$, 5, 5]
2231
+ [_pJIe, _pIen, _ti, _ov, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _rD, _rU, _sRc, _sCc, _cC, _tS, _cA, _uA],
2232
+ [0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], 0, 0, 64 | 0, 1, 0, 64 | 0, () => ReportDestination$, 0, () => ScopeResult$, () => ScopeChangeList, () => CiCdConfiguration$, () => TestScope$, 5, 5]
2223
2233
  ];
2224
2234
  var PentestJobSummary$ = [3, n0, _PJS,
2225
2235
  0,
@@ -2391,9 +2401,14 @@ var TaskSummary$ = [3, n0, _TS,
2391
2401
  [_tIa, _pIen, _pJIe, _aSI, _ti, _rT, _eS, _tH, _cA, _uA],
2392
2402
  [0, 0, 0, 0, 0, 0, 0, 1, 5, 5], 1
2393
2403
  ];
2404
+ var TestScope$ = [3, n0, _TSe,
2405
+ 0,
2406
+ [_t],
2407
+ [0], 1
2408
+ ];
2394
2409
  var Threat$ = [3, n0, _Th,
2395
2410
  0,
2396
- [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _str, _re, _cB, _uB, _cA, _uA],
2411
+ [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _str, _re, _cB, _uB, _cA, _uA],
2397
2412
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 64 | 0, 0, 0, 0, 5, 5]
2398
2413
  ];
2399
2414
  var ThreatAnchorShape$ = [3, n0, _TAS,
@@ -2528,13 +2543,13 @@ var UpdateIntegrationOutput$ = [3, n0, _UIO,
2528
2543
  ];
2529
2544
  var UpdatePentestInput$ = [3, n0, _UPI,
2530
2545
  0,
2531
- [_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH, _rD, _rF, _cC],
2532
- [0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$], 2
2546
+ [_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH, _rD, _rF, _cC, _tS],
2547
+ [0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$], 2
2533
2548
  ];
2534
2549
  var UpdatePentestOutput$ = [3, n0, _UPO,
2535
2550
  0,
2536
- [_pIen, _ti, _cA, _uA, _as, _eRT, _sRe, _lCo, _aSI, _rD, _rF, _cC],
2537
- [0, 0, 5, 5, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, 0, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$]
2551
+ [_pIen, _ti, _cA, _uA, _as, _eRT, _sRe, _lCo, _aSI, _rD, _rF, _cC, _tS],
2552
+ [0, 0, 5, 5, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, 0, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$]
2538
2553
  ];
2539
2554
  var UpdatePrivateConnectionCertificateInput$ = [3, n0, _UPCCI,
2540
2555
  0,
@@ -2573,7 +2588,7 @@ var UpdateTargetDomainOutput$ = [3, n0, _UTDO,
2573
2588
  ];
2574
2589
  var UpdateThreatInput$ = [3, n0, _UTI,
2575
2590
  0,
2576
- [_tIhre, _aSI, _ti, _sta, _com, _stat, _sev, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re],
2591
+ [_tIhre, _aSI, _ti, _sta, _com, _stat, _sev, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re],
2577
2592
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 0], 2
2578
2593
  ];
2579
2594
  var UpdateThreatModelInput$ = [3, n0, _UTMI,
@@ -2588,7 +2603,7 @@ var UpdateThreatModelOutput$ = [3, n0, _UTMO,
2588
2603
  ];
2589
2604
  var UpdateThreatOutput$ = [3, n0, _UTO,
2590
2605
  0,
2591
- [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _str, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re, _cB, _uB, _cA, _uA],
2606
+ [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _str, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re, _cB, _uB, _cA, _uA],
2592
2607
  [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 0, 0, 0, 5, 5], 2
2593
2608
  ];
2594
2609
  var UserConfig$ = [3, n0, _UC,
@@ -3898,6 +3913,10 @@ const TaskExecutionStatus = {
3898
3913
  INTERNAL_ERROR: "INTERNAL_ERROR",
3899
3914
  IN_PROGRESS: "IN_PROGRESS",
3900
3915
  };
3916
+ const TestScopeType = {
3917
+ GENERATIVE_AI_APP: "GENERATIVE_AI_APP",
3918
+ WEB_APP: "WEB_APP",
3919
+ };
3901
3920
  const ErrorCode = {
3902
3921
  CLIENT_ERROR: "CLIENT_ERROR",
3903
3922
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -4549,6 +4568,8 @@ exports.TargetDomainSummary$ = TargetDomainSummary$;
4549
4568
  exports.Task$ = Task$;
4550
4569
  exports.TaskExecutionStatus = TaskExecutionStatus;
4551
4570
  exports.TaskSummary$ = TaskSummary$;
4571
+ exports.TestScope$ = TestScope$;
4572
+ exports.TestScopeType = TestScopeType;
4552
4573
  exports.Threat$ = Threat$;
4553
4574
  exports.ThreatActor = ThreatActor;
4554
4575
  exports.ThreatAnchorShape$ = ThreatAnchorShape$;
@@ -1,6 +1,7 @@
1
1
  import { ServiceException as __ServiceException, } from "@smithy/core/client";
2
2
  export { __ServiceException };
3
3
  export class SecurityAgentServiceException extends __ServiceException {
4
+ static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.securityagent#SecurityAgentServiceException";
4
5
  constructor(options) {
5
6
  super(options);
6
7
  Object.setPrototypeOf(this, SecurityAgentServiceException.prototype);
@@ -109,6 +109,10 @@ export const TaskExecutionStatus = {
109
109
  INTERNAL_ERROR: "INTERNAL_ERROR",
110
110
  IN_PROGRESS: "IN_PROGRESS",
111
111
  };
112
+ export const TestScopeType = {
113
+ GENERATIVE_AI_APP: "GENERATIVE_AI_APP",
114
+ WEB_APP: "WEB_APP",
115
+ };
112
116
  export const ErrorCode = {
113
117
  CLIENT_ERROR: "CLIENT_ERROR",
114
118
  INTERNAL_ERROR: "INTERNAL_ERROR",
@@ -1,5 +1,6 @@
1
1
  import { SecurityAgentServiceException as __BaseException } from "./SecurityAgentServiceException";
2
2
  export class AccessDeniedException extends __BaseException {
3
+ static shapeId = "com.amazonaws.securityagent#AccessDeniedException";
3
4
  name = "AccessDeniedException";
4
5
  $fault = "client";
5
6
  constructor(opts) {
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
12
13
  }
13
14
  }
14
15
  export class InternalServerException extends __BaseException {
16
+ static shapeId = "com.amazonaws.securityagent#InternalServerException";
15
17
  name = "InternalServerException";
16
18
  $fault = "server";
17
19
  constructor(opts) {
@@ -24,6 +26,7 @@ export class InternalServerException extends __BaseException {
24
26
  }
25
27
  }
26
28
  export class ResourceNotFoundException extends __BaseException {
29
+ static shapeId = "com.amazonaws.securityagent#ResourceNotFoundException";
27
30
  name = "ResourceNotFoundException";
28
31
  $fault = "client";
29
32
  constructor(opts) {
@@ -36,6 +39,7 @@ export class ResourceNotFoundException extends __BaseException {
36
39
  }
37
40
  }
38
41
  export class ThrottlingException extends __BaseException {
42
+ static shapeId = "com.amazonaws.securityagent#ThrottlingException";
39
43
  name = "ThrottlingException";
40
44
  $fault = "client";
41
45
  serviceCode;
@@ -52,6 +56,7 @@ export class ThrottlingException extends __BaseException {
52
56
  }
53
57
  }
54
58
  export class ValidationException extends __BaseException {
59
+ static shapeId = "com.amazonaws.securityagent#ValidationException";
55
60
  name = "ValidationException";
56
61
  $fault = "client";
57
62
  fieldList;
@@ -66,6 +71,7 @@ export class ValidationException extends __BaseException {
66
71
  }
67
72
  }
68
73
  export class ConflictException extends __BaseException {
74
+ static shapeId = "com.amazonaws.securityagent#ConflictException";
69
75
  name = "ConflictException";
70
76
  $fault = "client";
71
77
  constructor(opts) {
@@ -78,6 +84,7 @@ export class ConflictException extends __BaseException {
78
84
  }
79
85
  }
80
86
  export class ServiceQuotaExceededException extends __BaseException {
87
+ static shapeId = "com.amazonaws.securityagent#ServiceQuotaExceededException";
81
88
  name = "ServiceQuotaExceededException";
82
89
  $fault = "client";
83
90
  constructor(opts) {
@@ -430,6 +430,7 @@ const _TRO = "TagResourceOutput";
430
430
  const _TS = "TaskSummary";
431
431
  const _TSL = "TaskSummaryList";
432
432
  const _TSLh = "ThreatSummaryList";
433
+ const _TSe = "TestScope";
433
434
  const _TSh = "ThreatSummary";
434
435
  const _Th = "Threat";
435
436
  const _UA = "UpdateApplication";
@@ -822,9 +823,10 @@ const _tMJTI = "threatModelJobTaskIds";
822
823
  const _tMJTS = "threatModelJobTaskSummaries";
823
824
  const _tMS = "threatModelSummaries";
824
825
  const _tRI = "triggerRunId";
825
- const _tS = "threatSource";
826
+ const _tS = "testScope";
826
827
  const _tSa = "taskSummaries";
827
828
  const _tSas = "taskStatuses";
829
+ const _tSh = "threatSource";
828
830
  const _tT = "tokenType";
829
831
  const _tU = "targetUrl";
830
832
  const _ta = "tasks";
@@ -1394,13 +1396,13 @@ export var CreateMembershipResponse$ = [3, n0, _CMRr,
1394
1396
  ];
1395
1397
  export var CreatePentestInput$ = [3, n0, _CPI,
1396
1398
  0,
1397
- [_ti, _aSI, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH, _rD, _rF, _cC],
1398
- [0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$], 2
1399
+ [_ti, _aSI, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH, _rD, _rF, _cC, _tS],
1400
+ [0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$], 2
1399
1401
  ];
1400
1402
  export var CreatePentestOutput$ = [3, n0, _CPO,
1401
1403
  0,
1402
- [_pIen, _ti, _cA, _uA, _as, _eRT, _sRe, _lCo, _aSI, _rD, _rF, _cC],
1403
- [0, 0, 5, 5, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, 0, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$]
1404
+ [_pIen, _ti, _cA, _uA, _as, _eRT, _sRe, _lCo, _aSI, _rD, _rF, _cC, _tS],
1405
+ [0, 0, 5, 5, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, 0, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$]
1404
1406
  ];
1405
1407
  export var CreatePrivateConnectionInput$ = [3, n0, _CPCI,
1406
1408
  0,
@@ -1439,7 +1441,7 @@ export var CreateTargetDomainOutput$ = [3, n0, _CTDO,
1439
1441
  ];
1440
1442
  export var CreateThreatInput$ = [3, n0, _CTI,
1441
1443
  0,
1442
- [_aSI, _tJI, _ti, _stat, _sev, _com, _str, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re],
1444
+ [_aSI, _tJI, _ti, _stat, _sev, _com, _str, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re],
1443
1445
  [0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 0], 2
1444
1446
  ];
1445
1447
  export var CreateThreatModelInput$ = [3, n0, _CTMI,
@@ -1454,7 +1456,7 @@ export var CreateThreatModelOutput$ = [3, n0, _CTMO,
1454
1456
  ];
1455
1457
  export var CreateThreatOutput$ = [3, n0, _CTO,
1456
1458
  0,
1457
- [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _str, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re, _cB, _uB, _cA, _uA],
1459
+ [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _str, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re, _cB, _uB, _cA, _uA],
1458
1460
  [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 0, 0, 0, 5, 5], 2
1459
1461
  ];
1460
1462
  export var CustomHeader$ = [3, n0, _CH,
@@ -2004,13 +2006,13 @@ export var NetworkTrafficRule$ = [3, n0, _NTR,
2004
2006
  ];
2005
2007
  export var Pentest$ = [3, n0, _P,
2006
2008
  0,
2007
- [_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _cUS, _dMS, _mTH, _rD, _rF, _cC, _cA, _uA],
2008
- [0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, 5, 5], 4
2009
+ [_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _cUS, _dMS, _mTH, _rD, _rF, _cC, _tS, _cA, _uA],
2010
+ [0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$, 5, 5], 4
2009
2011
  ];
2010
2012
  export var PentestJob$ = [3, n0, _PJ,
2011
2013
  0,
2012
- [_pJIe, _pIen, _ti, _ov, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _rD, _rU, _sRc, _sCc, _cC, _cA, _uA],
2013
- [0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], 0, 0, 64 | 0, 1, 0, 64 | 0, () => ReportDestination$, 0, () => ScopeResult$, () => ScopeChangeList, () => CiCdConfiguration$, 5, 5]
2014
+ [_pJIe, _pIen, _ti, _ov, _sta, _en, _ac, _doc, _sCo, _eP, _aD, _eRT, _ste, _eC, _sRe, _lCo, _vC, _nTC, _eI, _iR, _tCC, _cRSo, _cUS, _dMS, _mTH, _jT, _sFI, _rD, _rU, _sRc, _sCc, _cC, _tS, _cA, _uA],
2015
+ [0, 0, 0, 0, 0, () => EndpointList, [() => ActorList, 0], () => DocumentList, () => SourceCodeRepositoryList, () => EndpointList, () => EndpointList, 64 | 0, () => StepList, () => ExecutionContextList, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, () => ErrorInformation$, () => IntegratedRepositoryList, [() => TrustedCaCertificateList, 0], 0, 0, 64 | 0, 1, 0, 64 | 0, () => ReportDestination$, 0, () => ScopeResult$, () => ScopeChangeList, () => CiCdConfiguration$, () => TestScope$, 5, 5]
2014
2016
  ];
2015
2017
  export var PentestJobSummary$ = [3, n0, _PJS,
2016
2018
  0,
@@ -2182,9 +2184,14 @@ export var TaskSummary$ = [3, n0, _TS,
2182
2184
  [_tIa, _pIen, _pJIe, _aSI, _ti, _rT, _eS, _tH, _cA, _uA],
2183
2185
  [0, 0, 0, 0, 0, 0, 0, 1, 5, 5], 1
2184
2186
  ];
2187
+ export var TestScope$ = [3, n0, _TSe,
2188
+ 0,
2189
+ [_t],
2190
+ [0], 1
2191
+ ];
2185
2192
  export var Threat$ = [3, n0, _Th,
2186
2193
  0,
2187
- [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _str, _re, _cB, _uB, _cA, _uA],
2194
+ [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _str, _re, _cB, _uB, _cA, _uA],
2188
2195
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 64 | 0, 0, 0, 0, 5, 5]
2189
2196
  ];
2190
2197
  export var ThreatAnchorShape$ = [3, n0, _TAS,
@@ -2319,13 +2326,13 @@ export var UpdateIntegrationOutput$ = [3, n0, _UIO,
2319
2326
  ];
2320
2327
  export var UpdatePentestInput$ = [3, n0, _UPI,
2321
2328
  0,
2322
- [_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH, _rD, _rF, _cC],
2323
- [0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$], 2
2329
+ [_pIen, _aSI, _ti, _as, _eRT, _sRe, _lCo, _vC, _nTC, _cRSo, _dMS, _mTH, _rD, _rF, _cC, _tS],
2330
+ [0, 0, 0, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, () => VpcConfig$, () => NetworkTrafficConfig$, 0, 64 | 0, 1, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$], 2
2324
2331
  ];
2325
2332
  export var UpdatePentestOutput$ = [3, n0, _UPO,
2326
2333
  0,
2327
- [_pIen, _ti, _cA, _uA, _as, _eRT, _sRe, _lCo, _aSI, _rD, _rF, _cC],
2328
- [0, 0, 5, 5, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, 0, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$]
2334
+ [_pIen, _ti, _cA, _uA, _as, _eRT, _sRe, _lCo, _aSI, _rD, _rF, _cC, _tS],
2335
+ [0, 0, 5, 5, [() => Assets$, 0], 64 | 0, 0, () => CloudWatchLog$, 0, () => ReportDestination$, () => ReportFilters$, () => CiCdConfiguration$, () => TestScope$]
2329
2336
  ];
2330
2337
  export var UpdatePrivateConnectionCertificateInput$ = [3, n0, _UPCCI,
2331
2338
  0,
@@ -2364,7 +2371,7 @@ export var UpdateTargetDomainOutput$ = [3, n0, _UTDO,
2364
2371
  ];
2365
2372
  export var UpdateThreatInput$ = [3, n0, _UTI,
2366
2373
  0,
2367
- [_tIhre, _aSI, _ti, _sta, _com, _stat, _sev, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re],
2374
+ [_tIhre, _aSI, _ti, _sta, _com, _stat, _sev, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re],
2368
2375
  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 0], 2
2369
2376
  ];
2370
2377
  export var UpdateThreatModelInput$ = [3, n0, _UTMI,
@@ -2379,7 +2386,7 @@ export var UpdateThreatModelOutput$ = [3, n0, _UTMO,
2379
2386
  ];
2380
2387
  export var UpdateThreatOutput$ = [3, n0, _UTO,
2381
2388
  0,
2382
- [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _str, _tS, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re, _cB, _uB, _cA, _uA],
2389
+ [_tIhre, _tJI, _ti, _stat, _sev, _sta, _com, _str, _tSh, _pre, _tA, _tIhr, _iG, _iA, _an, _evi, _re, _cB, _uB, _cA, _uA],
2383
2390
  [0, 0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 64 | 0, 64 | 0, () => ThreatAnchorShape$, () => ThreatEvidenceList, 0, 0, 0, 5, 5], 2
2384
2391
  ];
2385
2392
  export var UserConfig$ = [3, n0, _UC,
@@ -169,6 +169,9 @@ declare const BatchDeletePentestsCommand_base: {
169
169
  * // cicdConfiguration: { // CiCdConfiguration
170
170
  * // enabled: true || false,
171
171
  * // },
172
+ * // testScope: { // TestScope
173
+ * // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
174
+ * // },
172
175
  * // createdAt: new Date("TIMESTAMP"),
173
176
  * // updatedAt: new Date("TIMESTAMP"),
174
177
  * // },
@@ -194,6 +194,9 @@ declare const BatchGetPentestJobsCommand_base: {
194
194
  * // cicdConfiguration: { // CiCdConfiguration
195
195
  * // enabled: true || false,
196
196
  * // },
197
+ * // testScope: { // TestScope
198
+ * // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
199
+ * // },
197
200
  * // createdAt: new Date("TIMESTAMP"),
198
201
  * // updatedAt: new Date("TIMESTAMP"),
199
202
  * // },
@@ -169,6 +169,9 @@ declare const BatchGetPentestsCommand_base: {
169
169
  * // cicdConfiguration: { // CiCdConfiguration
170
170
  * // enabled: true || false,
171
171
  * // },
172
+ * // testScope: { // TestScope
173
+ * // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
174
+ * // },
172
175
  * // createdAt: new Date("TIMESTAMP"),
173
176
  * // updatedAt: new Date("TIMESTAMP"),
174
177
  * // },
@@ -157,6 +157,9 @@ declare const CreatePentestCommand_base: {
157
157
  * cicdConfiguration: { // CiCdConfiguration
158
158
  * enabled: true || false,
159
159
  * },
160
+ * testScope: { // TestScope
161
+ * type: "WEB_APP" || "GENERATIVE_AI_APP", // required
162
+ * },
160
163
  * };
161
164
  * const command = new CreatePentestCommand(input);
162
165
  * const response = await client.send(command);
@@ -258,6 +261,9 @@ declare const CreatePentestCommand_base: {
258
261
  * // cicdConfiguration: { // CiCdConfiguration
259
262
  * // enabled: true || false,
260
263
  * // },
264
+ * // testScope: { // TestScope
265
+ * // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
266
+ * // },
261
267
  * // };
262
268
  *
263
269
  * ```
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { UpdateCodeReviewInput, UpdateCodeReviewOutput } from "../models/models_0";
2
+ import type { UpdateCodeReviewInput } from "../models/models_0";
3
+ import type { UpdateCodeReviewOutput } from "../models/models_1";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -158,6 +158,9 @@ declare const UpdatePentestCommand_base: {
158
158
  * cicdConfiguration: { // CiCdConfiguration
159
159
  * enabled: true || false,
160
160
  * },
161
+ * testScope: { // TestScope
162
+ * type: "WEB_APP" || "GENERATIVE_AI_APP", // required
163
+ * },
161
164
  * };
162
165
  * const command = new UpdatePentestCommand(input);
163
166
  * const response = await client.send(command);
@@ -259,6 +262,9 @@ declare const UpdatePentestCommand_base: {
259
262
  * // cicdConfiguration: { // CiCdConfiguration
260
263
  * // enabled: true || false,
261
264
  * // },
265
+ * // testScope: { // TestScope
266
+ * // type: "WEB_APP" || "GENERATIVE_AI_APP", // required
267
+ * // },
262
268
  * // };
263
269
  *
264
270
  * ```
@@ -7,6 +7,7 @@ export { __ServiceException };
7
7
  * Base exception class for all service exceptions from SecurityAgent service.
8
8
  */
9
9
  export declare class SecurityAgentServiceException extends __ServiceException {
10
+ static readonly shapeId: string;
10
11
  /**
11
12
  * @internal
12
13
  */
@@ -402,6 +402,24 @@ export declare const TaskExecutionStatus: {
402
402
  * @public
403
403
  */
404
404
  export type TaskExecutionStatus = (typeof TaskExecutionStatus)[keyof typeof TaskExecutionStatus];
405
+ /**
406
+ * @public
407
+ * @enum
408
+ */
409
+ export declare const TestScopeType: {
410
+ /**
411
+ * <p>A generative AI application.</p>
412
+ */
413
+ readonly GENERATIVE_AI_APP: "GENERATIVE_AI_APP";
414
+ /**
415
+ * <p>A traditional web application.</p>
416
+ */
417
+ readonly WEB_APP: "WEB_APP";
418
+ };
419
+ /**
420
+ * @public
421
+ */
422
+ export type TestScopeType = (typeof TestScopeType)[keyof typeof TestScopeType];
405
423
  /**
406
424
  * @public
407
425
  * @enum
@@ -6,6 +6,7 @@ import { SecurityAgentServiceException as __BaseException } from "./SecurityAgen
6
6
  * @public
7
7
  */
8
8
  export declare class AccessDeniedException extends __BaseException {
9
+ static readonly shapeId: string;
9
10
  readonly name: "AccessDeniedException";
10
11
  readonly $fault: "client";
11
12
  /**
@@ -18,6 +19,7 @@ export declare class AccessDeniedException extends __BaseException {
18
19
  * @public
19
20
  */
20
21
  export declare class InternalServerException extends __BaseException {
22
+ static readonly shapeId: string;
21
23
  readonly name: "InternalServerException";
22
24
  readonly $fault: "server";
23
25
  /**
@@ -30,6 +32,7 @@ export declare class InternalServerException extends __BaseException {
30
32
  * @public
31
33
  */
32
34
  export declare class ResourceNotFoundException extends __BaseException {
35
+ static readonly shapeId: string;
33
36
  readonly name: "ResourceNotFoundException";
34
37
  readonly $fault: "client";
35
38
  /**
@@ -42,6 +45,7 @@ export declare class ResourceNotFoundException extends __BaseException {
42
45
  * @public
43
46
  */
44
47
  export declare class ThrottlingException extends __BaseException {
48
+ static readonly shapeId: string;
45
49
  readonly name: "ThrottlingException";
46
50
  readonly $fault: "client";
47
51
  /**
@@ -64,6 +68,7 @@ export declare class ThrottlingException extends __BaseException {
64
68
  * @public
65
69
  */
66
70
  export declare class ValidationException extends __BaseException {
71
+ static readonly shapeId: string;
67
72
  readonly name: "ValidationException";
68
73
  readonly $fault: "client";
69
74
  /**
@@ -81,6 +86,7 @@ export declare class ValidationException extends __BaseException {
81
86
  * @public
82
87
  */
83
88
  export declare class ConflictException extends __BaseException {
89
+ static readonly shapeId: string;
84
90
  readonly name: "ConflictException";
85
91
  readonly $fault: "client";
86
92
  /**
@@ -93,6 +99,7 @@ export declare class ConflictException extends __BaseException {
93
99
  * @public
94
100
  */
95
101
  export declare class ServiceQuotaExceededException extends __BaseException {
102
+ static readonly shapeId: string;
96
103
  readonly name: "ServiceQuotaExceededException";
97
104
  readonly $fault: "client";
98
105
  /**
@@ -1,4 +1,4 @@
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, ScopeDecision, SecurityRequirementArtifactFormat, SecurityRequirementPackImportStatus, SecurityRequirementPackStatus, SkillType, StepName, StepStatus, StrideCategory, TargetDomainStatus, TaskExecutionStatus, ThreatActor, ThreatSeverity, ThreatStatus, TriggerEvent, TriggerFilterMatchMode, TriggerFilterType, UserRole, ValidationMode, ValidationStatus, WebhookAction } 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, ScopeDecision, SecurityRequirementArtifactFormat, SecurityRequirementPackImportStatus, SecurityRequirementPackStatus, SkillType, StepName, StepStatus, StrideCategory, TargetDomainStatus, TaskExecutionStatus, TestScopeType, ThreatActor, ThreatSeverity, ThreatStatus, TriggerEvent, TriggerFilterMatchMode, TriggerFilterType, UserRole, ValidationMode, ValidationStatus, WebhookAction } from "./enums";
2
2
  /**
3
3
  * <p>The authentication configuration for an actor, specifying the provider type and credentials.</p>
4
4
  * @public
@@ -1454,6 +1454,17 @@ export interface ReportFilters {
1454
1454
  */
1455
1455
  complianceReport?: boolean | undefined;
1456
1456
  }
1457
+ /**
1458
+ * <p>The category of application a pentest targets.</p>
1459
+ * @public
1460
+ */
1461
+ export interface TestScope {
1462
+ /**
1463
+ * <p>The category of application under test.</p>
1464
+ * @public
1465
+ */
1466
+ type: TestScopeType | undefined;
1467
+ }
1457
1468
  /**
1458
1469
  * <p>Represents a pentest configuration that defines the parameters for security testing, including target assets, risk type exclusions, and infrastructure settings.</p>
1459
1470
  * @public
@@ -1539,6 +1550,11 @@ export interface Pentest {
1539
1550
  * @public
1540
1551
  */
1541
1552
  cicdConfiguration?: CiCdConfiguration | undefined;
1553
+ /**
1554
+ * <p>The category of application a pentest targets.</p>
1555
+ * @public
1556
+ */
1557
+ testScope?: TestScope | undefined;
1542
1558
  /**
1543
1559
  * <p>The date and time the pentest was created, in UTC format.</p>
1544
1560
  * @public
@@ -2625,6 +2641,11 @@ export interface PentestJob {
2625
2641
  * @public
2626
2642
  */
2627
2643
  cicdConfiguration?: CiCdConfiguration | undefined;
2644
+ /**
2645
+ * <p>The category of application a pentest targets.</p>
2646
+ * @public
2647
+ */
2648
+ testScope?: TestScope | undefined;
2628
2649
  /**
2629
2650
  * <p>The date and time the pentest job was created, in UTC format.</p>
2630
2651
  * @public
@@ -4374,6 +4395,11 @@ export interface CreatePentestInput {
4374
4395
  * @public
4375
4396
  */
4376
4397
  cicdConfiguration?: CiCdConfiguration | undefined;
4398
+ /**
4399
+ * <p>The category of application a pentest targets.</p>
4400
+ * @public
4401
+ */
4402
+ testScope?: TestScope | undefined;
4377
4403
  }
4378
4404
  /**
4379
4405
  * <p>Output for the CreatePentest operation.</p>
@@ -4440,6 +4466,11 @@ export interface CreatePentestOutput {
4440
4466
  * @public
4441
4467
  */
4442
4468
  cicdConfiguration?: CiCdConfiguration | undefined;
4469
+ /**
4470
+ * <p>The category of application a pentest targets.</p>
4471
+ * @public
4472
+ */
4473
+ testScope?: TestScope | undefined;
4443
4474
  }
4444
4475
  /**
4445
4476
  * <p>The configuration for a self-managed private connection.</p>
@@ -8390,74 +8421,3 @@ export interface UpdateCodeReviewInput {
8390
8421
  */
8391
8422
  reportFilters?: ReportFilters | undefined;
8392
8423
  }
8393
- /**
8394
- * <p>Output for the UpdateCodeReview operation.</p>
8395
- * @public
8396
- */
8397
- export interface UpdateCodeReviewOutput {
8398
- /**
8399
- * <p>The unique identifier of the code review.</p>
8400
- * @public
8401
- */
8402
- codeReviewId: string | undefined;
8403
- /**
8404
- * <p>The title of the code review.</p>
8405
- * @public
8406
- */
8407
- title?: string | undefined;
8408
- /**
8409
- * <p>The date and time the code review was created, in UTC format.</p>
8410
- * @public
8411
- */
8412
- createdAt?: Date | undefined;
8413
- /**
8414
- * <p>The date and time the code review was last updated, in UTC format.</p>
8415
- * @public
8416
- */
8417
- updatedAt?: Date | undefined;
8418
- /**
8419
- * <p>The assets included in the code review.</p>
8420
- * @public
8421
- */
8422
- assets?: Assets | undefined;
8423
- /**
8424
- * <p>The IAM service role used for the code review.</p>
8425
- * @public
8426
- */
8427
- serviceRole?: string | undefined;
8428
- /**
8429
- * <p>The CloudWatch Logs configuration for the code review.</p>
8430
- * @public
8431
- */
8432
- logConfig?: CloudWatchLog | undefined;
8433
- /**
8434
- * <p>The unique identifier of the agent space that contains the code review.</p>
8435
- * @public
8436
- */
8437
- agentSpaceId?: string | undefined;
8438
- /**
8439
- * <p>The code remediation strategy for the code review.</p>
8440
- * @public
8441
- */
8442
- codeRemediationStrategy?: CodeRemediationStrategy | undefined;
8443
- /**
8444
- * <p>The validation mode for the code review.</p>
8445
- * @public
8446
- */
8447
- validationMode?: ValidationMode | undefined;
8448
- /**
8449
- * <p>The maximum number of billable task hours configured for jobs started from this code review. Null if no budget cap is set.</p>
8450
- * @public
8451
- */
8452
- maxTaskHours?: number | undefined;
8453
- /**
8454
- * <p>The destination for publishing scan reports to an integrated document provider.</p>
8455
- * @public
8456
- */
8457
- reportDestination?: ReportDestination | undefined;
8458
- /**
8459
- * <p>The report-generation filters applied when the report is exported.</p>
8460
- * @public
8461
- */
8462
- reportFilters?: ReportFilters | undefined;
8463
- }
@@ -1,5 +1,76 @@
1
- import type { CodeRemediationStrategy, FindingStatus, RiskLevel, RiskType, SkillType, StrideCategory, TargetDomainStatus, ThreatActor, ThreatSeverity, ThreatStatus } from "./enums";
2
- import type { Assets, CiCdConfiguration, CloudWatchLog, DocumentInfo, IntegratedResourceInputItem, NetworkTrafficConfig, ReportDestination, ReportFilters, ThreatAnchorShape, ThreatEvidenceShape, VpcConfig } from "./models_0";
1
+ import type { CodeRemediationStrategy, FindingStatus, 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, VpcConfig } from "./models_0";
3
+ /**
4
+ * <p>Output for the UpdateCodeReview operation.</p>
5
+ * @public
6
+ */
7
+ export interface UpdateCodeReviewOutput {
8
+ /**
9
+ * <p>The unique identifier of the code review.</p>
10
+ * @public
11
+ */
12
+ codeReviewId: string | undefined;
13
+ /**
14
+ * <p>The title of the code review.</p>
15
+ * @public
16
+ */
17
+ title?: string | undefined;
18
+ /**
19
+ * <p>The date and time the code review was created, in UTC format.</p>
20
+ * @public
21
+ */
22
+ createdAt?: Date | undefined;
23
+ /**
24
+ * <p>The date and time the code review was last updated, in UTC format.</p>
25
+ * @public
26
+ */
27
+ updatedAt?: Date | undefined;
28
+ /**
29
+ * <p>The assets included in the code review.</p>
30
+ * @public
31
+ */
32
+ assets?: Assets | undefined;
33
+ /**
34
+ * <p>The IAM service role used for the code review.</p>
35
+ * @public
36
+ */
37
+ serviceRole?: string | undefined;
38
+ /**
39
+ * <p>The CloudWatch Logs configuration for the code review.</p>
40
+ * @public
41
+ */
42
+ logConfig?: CloudWatchLog | undefined;
43
+ /**
44
+ * <p>The unique identifier of the agent space that contains the code review.</p>
45
+ * @public
46
+ */
47
+ agentSpaceId?: string | undefined;
48
+ /**
49
+ * <p>The code remediation strategy for the code review.</p>
50
+ * @public
51
+ */
52
+ codeRemediationStrategy?: CodeRemediationStrategy | undefined;
53
+ /**
54
+ * <p>The validation mode for the code review.</p>
55
+ * @public
56
+ */
57
+ validationMode?: ValidationMode | undefined;
58
+ /**
59
+ * <p>The maximum number of billable task hours configured for jobs started from this code review. Null if no budget cap is set.</p>
60
+ * @public
61
+ */
62
+ maxTaskHours?: number | undefined;
63
+ /**
64
+ * <p>The destination for publishing scan reports to an integrated document provider.</p>
65
+ * @public
66
+ */
67
+ reportDestination?: ReportDestination | undefined;
68
+ /**
69
+ * <p>The report-generation filters applied when the report is exported.</p>
70
+ * @public
71
+ */
72
+ reportFilters?: ReportFilters | undefined;
73
+ }
3
74
  /**
4
75
  * <p>Input for updating an existing security finding.</p>
5
76
  * @public
@@ -172,6 +243,11 @@ export interface UpdatePentestInput {
172
243
  * @public
173
244
  */
174
245
  cicdConfiguration?: CiCdConfiguration | undefined;
246
+ /**
247
+ * <p>The category of application a pentest targets.</p>
248
+ * @public
249
+ */
250
+ testScope?: TestScope | undefined;
175
251
  }
176
252
  /**
177
253
  * <p>Output for the UpdatePentest operation.</p>
@@ -238,6 +314,11 @@ export interface UpdatePentestOutput {
238
314
  * @public
239
315
  */
240
316
  cicdConfiguration?: CiCdConfiguration | undefined;
317
+ /**
318
+ * <p>The category of application a pentest targets.</p>
319
+ * @public
320
+ */
321
+ testScope?: TestScope | undefined;
241
322
  }
242
323
  /**
243
324
  * <p>Input for updating an existing threat.</p>
@@ -266,6 +266,7 @@ export declare var TargetDomain$: StaticStructureSchema;
266
266
  export declare var TargetDomainSummary$: StaticStructureSchema;
267
267
  export declare var Task$: StaticStructureSchema;
268
268
  export declare var TaskSummary$: StaticStructureSchema;
269
+ export declare var TestScope$: StaticStructureSchema;
269
270
  export declare var Threat$: StaticStructureSchema;
270
271
  export declare var ThreatAnchorShape$: StaticStructureSchema;
271
272
  export declare var ThreatEvidenceShape$: StaticStructureSchema;
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { UpdateCodeReviewInput, UpdateCodeReviewOutput } from "../models/models_0";
2
+ import { UpdateCodeReviewInput } from "../models/models_0";
3
+ import { UpdateCodeReviewOutput } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface UpdateCodeReviewCommandInput extends UpdateCodeReviewInput {}
5
6
  export interface UpdateCodeReviewCommandOutput extends UpdateCodeReviewOutput, __MetadataBearer {}
@@ -5,5 +5,6 @@ import {
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
7
7
  export declare class SecurityAgentServiceException extends __ServiceException {
8
+ static readonly shapeId: string;
8
9
  constructor(options: __ServiceExceptionOptions);
9
10
  }
@@ -130,6 +130,11 @@ export declare const TaskExecutionStatus: {
130
130
  readonly IN_PROGRESS: "IN_PROGRESS";
131
131
  };
132
132
  export type TaskExecutionStatus = (typeof TaskExecutionStatus)[keyof typeof TaskExecutionStatus];
133
+ export declare const TestScopeType: {
134
+ readonly GENERATIVE_AI_APP: "GENERATIVE_AI_APP";
135
+ readonly WEB_APP: "WEB_APP";
136
+ };
137
+ export type TestScopeType = (typeof TestScopeType)[keyof typeof TestScopeType];
133
138
  export declare const ErrorCode: {
134
139
  readonly CLIENT_ERROR: "CLIENT_ERROR";
135
140
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
@@ -2,21 +2,25 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/clien
2
2
  import { ValidationExceptionField } from "./models_0";
3
3
  import { SecurityAgentServiceException as __BaseException } from "./SecurityAgentServiceException";
4
4
  export declare class AccessDeniedException extends __BaseException {
5
+ static readonly shapeId: string;
5
6
  readonly name: "AccessDeniedException";
6
7
  readonly $fault: "client";
7
8
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
8
9
  }
9
10
  export declare class InternalServerException extends __BaseException {
11
+ static readonly shapeId: string;
10
12
  readonly name: "InternalServerException";
11
13
  readonly $fault: "server";
12
14
  constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
13
15
  }
14
16
  export declare class ResourceNotFoundException extends __BaseException {
17
+ static readonly shapeId: string;
15
18
  readonly name: "ResourceNotFoundException";
16
19
  readonly $fault: "client";
17
20
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
18
21
  }
19
22
  export declare class ThrottlingException extends __BaseException {
23
+ static readonly shapeId: string;
20
24
  readonly name: "ThrottlingException";
21
25
  readonly $fault: "client";
22
26
  serviceCode?: string | undefined;
@@ -24,17 +28,20 @@ export declare class ThrottlingException extends __BaseException {
24
28
  constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
25
29
  }
26
30
  export declare class ValidationException extends __BaseException {
31
+ static readonly shapeId: string;
27
32
  readonly name: "ValidationException";
28
33
  readonly $fault: "client";
29
34
  fieldList?: ValidationExceptionField[] | undefined;
30
35
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
31
36
  }
32
37
  export declare class ConflictException extends __BaseException {
38
+ static readonly shapeId: string;
33
39
  readonly name: "ConflictException";
34
40
  readonly $fault: "client";
35
41
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
36
42
  }
37
43
  export declare class ServiceQuotaExceededException extends __BaseException {
44
+ static readonly shapeId: string;
38
45
  readonly name: "ServiceQuotaExceededException";
39
46
  readonly $fault: "client";
40
47
  constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
@@ -39,6 +39,7 @@ import {
39
39
  StrideCategory,
40
40
  TargetDomainStatus,
41
41
  TaskExecutionStatus,
42
+ TestScopeType,
42
43
  ThreatActor,
43
44
  ThreatSeverity,
44
45
  ThreatStatus,
@@ -420,6 +421,9 @@ export interface ReportFilters {
420
421
  annotationNotes?: boolean | undefined;
421
422
  complianceReport?: boolean | undefined;
422
423
  }
424
+ export interface TestScope {
425
+ type: TestScopeType | undefined;
426
+ }
423
427
  export interface Pentest {
424
428
  pentestId: string | undefined;
425
429
  agentSpaceId: string | undefined;
@@ -437,6 +441,7 @@ export interface Pentest {
437
441
  reportDestination?: ReportDestination | undefined;
438
442
  reportFilters?: ReportFilters | undefined;
439
443
  cicdConfiguration?: CiCdConfiguration | undefined;
444
+ testScope?: TestScope | undefined;
440
445
  createdAt?: Date | undefined;
441
446
  updatedAt?: Date | undefined;
442
447
  }
@@ -683,6 +688,7 @@ export interface PentestJob {
683
688
  scopeResult?: ScopeResult | undefined;
684
689
  scopeChanges?: ScopeChange[] | undefined;
685
690
  cicdConfiguration?: CiCdConfiguration | undefined;
691
+ testScope?: TestScope | undefined;
686
692
  createdAt?: Date | undefined;
687
693
  updatedAt?: Date | undefined;
688
694
  }
@@ -1144,6 +1150,7 @@ export interface CreatePentestInput {
1144
1150
  reportDestination?: ReportDestination | undefined;
1145
1151
  reportFilters?: ReportFilters | undefined;
1146
1152
  cicdConfiguration?: CiCdConfiguration | undefined;
1153
+ testScope?: TestScope | undefined;
1147
1154
  }
1148
1155
  export interface CreatePentestOutput {
1149
1156
  pentestId?: string | undefined;
@@ -1158,6 +1165,7 @@ export interface CreatePentestOutput {
1158
1165
  reportDestination?: ReportDestination | undefined;
1159
1166
  reportFilters?: ReportFilters | undefined;
1160
1167
  cicdConfiguration?: CiCdConfiguration | undefined;
1168
+ testScope?: TestScope | undefined;
1161
1169
  }
1162
1170
  export interface SelfManagedInput {
1163
1171
  resourceConfigurationId: string | undefined;
@@ -2252,18 +2260,3 @@ export interface UpdateCodeReviewInput {
2252
2260
  reportDestination?: ReportDestination | undefined;
2253
2261
  reportFilters?: ReportFilters | undefined;
2254
2262
  }
2255
- export interface UpdateCodeReviewOutput {
2256
- codeReviewId: string | undefined;
2257
- title?: string | undefined;
2258
- createdAt?: Date | undefined;
2259
- updatedAt?: Date | undefined;
2260
- assets?: Assets | undefined;
2261
- serviceRole?: string | undefined;
2262
- logConfig?: CloudWatchLog | undefined;
2263
- agentSpaceId?: string | undefined;
2264
- codeRemediationStrategy?: CodeRemediationStrategy | undefined;
2265
- validationMode?: ValidationMode | undefined;
2266
- maxTaskHours?: number | undefined;
2267
- reportDestination?: ReportDestination | undefined;
2268
- reportFilters?: ReportFilters | undefined;
2269
- }
@@ -9,6 +9,7 @@ import {
9
9
  ThreatActor,
10
10
  ThreatSeverity,
11
11
  ThreatStatus,
12
+ ValidationMode,
12
13
  } from "./enums";
13
14
  import {
14
15
  Assets,
@@ -19,10 +20,26 @@ import {
19
20
  NetworkTrafficConfig,
20
21
  ReportDestination,
21
22
  ReportFilters,
23
+ TestScope,
22
24
  ThreatAnchorShape,
23
25
  ThreatEvidenceShape,
24
26
  VpcConfig,
25
27
  } from "./models_0";
28
+ export interface UpdateCodeReviewOutput {
29
+ codeReviewId: string | undefined;
30
+ title?: string | undefined;
31
+ createdAt?: Date | undefined;
32
+ updatedAt?: Date | undefined;
33
+ assets?: Assets | undefined;
34
+ serviceRole?: string | undefined;
35
+ logConfig?: CloudWatchLog | undefined;
36
+ agentSpaceId?: string | undefined;
37
+ codeRemediationStrategy?: CodeRemediationStrategy | undefined;
38
+ validationMode?: ValidationMode | undefined;
39
+ maxTaskHours?: number | undefined;
40
+ reportDestination?: ReportDestination | undefined;
41
+ reportFilters?: ReportFilters | undefined;
42
+ }
26
43
  export interface UpdateFindingInput {
27
44
  findingId: string | undefined;
28
45
  agentSpaceId: string | undefined;
@@ -59,6 +76,7 @@ export interface UpdatePentestInput {
59
76
  reportDestination?: ReportDestination | undefined;
60
77
  reportFilters?: ReportFilters | undefined;
61
78
  cicdConfiguration?: CiCdConfiguration | undefined;
79
+ testScope?: TestScope | undefined;
62
80
  }
63
81
  export interface UpdatePentestOutput {
64
82
  pentestId?: string | undefined;
@@ -73,6 +91,7 @@ export interface UpdatePentestOutput {
73
91
  reportDestination?: ReportDestination | undefined;
74
92
  reportFilters?: ReportFilters | undefined;
75
93
  cicdConfiguration?: CiCdConfiguration | undefined;
94
+ testScope?: TestScope | undefined;
76
95
  }
77
96
  export interface UpdateThreatInput {
78
97
  threatId: string | undefined;
@@ -266,6 +266,7 @@ export declare var TargetDomain$: StaticStructureSchema;
266
266
  export declare var TargetDomainSummary$: StaticStructureSchema;
267
267
  export declare var Task$: StaticStructureSchema;
268
268
  export declare var TaskSummary$: StaticStructureSchema;
269
+ export declare var TestScope$: StaticStructureSchema;
269
270
  export declare var Threat$: StaticStructureSchema;
270
271
  export declare var ThreatAnchorShape$: StaticStructureSchema;
271
272
  export declare var ThreatEvidenceShape$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityagent",
3
- "version": "3.1148.0",
3
+ "version": "3.1149.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",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.1",
50
- "@aws-sdk/credential-provider-node": "^3.972.84",
49
+ "@aws-sdk/core": "^3.978.2",
50
+ "@aws-sdk/credential-provider-node": "^3.972.85",
51
51
  "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.35.0",
52
+ "@smithy/core": "^3.35.2",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",