@aws-sdk/client-securityagent 3.1144.0 → 3.1146.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 +52 -9
- package/dist-es/models/enums.js +13 -0
- package/dist-es/schemas/schemas_0.js +35 -8
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +64 -0
- package/dist-types/commands/UpdateFindingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +64 -0
- package/dist-types/models/enums.d.ts +58 -0
- package/dist-types/models/models_0.d.ts +58 -68
- package/dist-types/models/models_1.d.ts +68 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +17 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -14
- package/dist-types/ts3.4/models/models_1.d.ts +16 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const commonParams = {
|
|
|
67
67
|
Region: { type: "builtInParams", name: "region" },
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.1145.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -618,6 +618,10 @@ const _TDSL = "TargetDomainSummaryList";
|
|
|
618
618
|
const _TE = "ThrottlingException";
|
|
619
619
|
const _TEL = "ThreatEvidenceList";
|
|
620
620
|
const _TES = "ThreatEvidenceShape";
|
|
621
|
+
const _TF = "TriggerFilter";
|
|
622
|
+
const _TFG = "TriggerFilterGroup";
|
|
623
|
+
const _TFGr = "TriggerFilterGroups";
|
|
624
|
+
const _TFL = "TriggerFilterList";
|
|
621
625
|
const _TL = "TaskList";
|
|
622
626
|
const _TLh = "ThreatList";
|
|
623
627
|
const _TM = "ThreatModel";
|
|
@@ -810,6 +814,7 @@ const _en = "endpoints";
|
|
|
810
814
|
const _ena = "enabled";
|
|
811
815
|
const _er = "errors";
|
|
812
816
|
const _ev = "evaluation";
|
|
817
|
+
const _eve = "events";
|
|
813
818
|
const _evi = "evidence";
|
|
814
819
|
const _f = "failed";
|
|
815
820
|
const _fD = "fetchDocument";
|
|
@@ -823,6 +828,7 @@ const _fS = "findingsSummaries";
|
|
|
823
828
|
const _fT = "findingTypes";
|
|
824
829
|
const _fi = "findings";
|
|
825
830
|
const _fil = "filter";
|
|
831
|
+
const _filt = "filters";
|
|
826
832
|
const _fo = "format";
|
|
827
833
|
const _g = "github";
|
|
828
834
|
const _gI = "groupId";
|
|
@@ -877,6 +883,7 @@ const _lUB = "lastUpdatedBy";
|
|
|
877
883
|
const _m = "message";
|
|
878
884
|
const _mFA = "mfaForwardingAddress";
|
|
879
885
|
const _mI = "membershipId";
|
|
886
|
+
const _mM = "matchMode";
|
|
880
887
|
const _mR = "maxResults";
|
|
881
888
|
const _mS = "membershipSummaries";
|
|
882
889
|
const _mT = "memberType";
|
|
@@ -919,6 +926,7 @@ const _pS = "pentestSummaries";
|
|
|
919
926
|
const _pT = "providerType";
|
|
920
927
|
const _pa = "pattern";
|
|
921
928
|
const _pat = "path";
|
|
929
|
+
const _patt = "patterns";
|
|
922
930
|
const _pe = "pentests";
|
|
923
931
|
const _pr = "provider";
|
|
924
932
|
const _pre = "prerequisites";
|
|
@@ -1004,6 +1012,7 @@ const _tDN = "targetDomainName";
|
|
|
1004
1012
|
const _tDS = "targetDomainSummaries";
|
|
1005
1013
|
const _tDa = "taskDetails";
|
|
1006
1014
|
const _tE = "targetEndpoint";
|
|
1015
|
+
const _tFG = "triggerFilterGroups";
|
|
1007
1016
|
const _tH = "taskHours";
|
|
1008
1017
|
const _tI = "taskIds";
|
|
1009
1018
|
const _tIa = "taskId";
|
|
@@ -1203,8 +1212,8 @@ var AzureDevOpsRepositoryResource$ = [3, n0, _ADORR,
|
|
|
1203
1212
|
];
|
|
1204
1213
|
var AzureDevOpsResourceCapabilities$ = [3, n0, _ADORC,
|
|
1205
1214
|
0,
|
|
1206
|
-
[_lC, _rC],
|
|
1207
|
-
[2, 2]
|
|
1215
|
+
[_tFG, _lC, _rC],
|
|
1216
|
+
[() => TriggerFilterGroups, 2, 2]
|
|
1208
1217
|
];
|
|
1209
1218
|
var BatchCreateSecurityRequirementResult$ = [3, n0, _BCSRR,
|
|
1210
1219
|
0,
|
|
@@ -1453,8 +1462,8 @@ var BitbucketRepositoryResource$ = [3, n0, _BRR,
|
|
|
1453
1462
|
];
|
|
1454
1463
|
var BitbucketResourceCapabilities$ = [3, n0, _BRC,
|
|
1455
1464
|
0,
|
|
1456
|
-
[_lC, _rC],
|
|
1457
|
-
[2, 2]
|
|
1465
|
+
[_tFG, _lC, _rC],
|
|
1466
|
+
[() => TriggerFilterGroups, 2, 2]
|
|
1458
1467
|
];
|
|
1459
1468
|
var Category$ = [3, n0, _C,
|
|
1460
1469
|
0,
|
|
@@ -1858,8 +1867,8 @@ var GitHubRepositoryResource$ = [3, n0, _GHRR,
|
|
|
1858
1867
|
];
|
|
1859
1868
|
var GitHubResourceCapabilities$ = [3, n0, _GHRC,
|
|
1860
1869
|
0,
|
|
1861
|
-
[_lC, _rC],
|
|
1862
|
-
[2, 2]
|
|
1870
|
+
[_tFG, _lC, _rC],
|
|
1871
|
+
[() => TriggerFilterGroups, 2, 2]
|
|
1863
1872
|
];
|
|
1864
1873
|
var GitLabIntegrationInput$ = [3, n0, _GLII,
|
|
1865
1874
|
0,
|
|
@@ -1878,8 +1887,8 @@ var GitLabRepositoryResource$ = [3, n0, _GLRR,
|
|
|
1878
1887
|
];
|
|
1879
1888
|
var GitLabResourceCapabilities$ = [3, n0, _GLRC,
|
|
1880
1889
|
0,
|
|
1881
|
-
[_lC, _rC],
|
|
1882
|
-
[2, 2]
|
|
1890
|
+
[_tFG, _lC, _rC],
|
|
1891
|
+
[() => TriggerFilterGroups, 2, 2]
|
|
1883
1892
|
];
|
|
1884
1893
|
var HttpVerification$ = [3, n0, _HV,
|
|
1885
1894
|
0,
|
|
@@ -2431,6 +2440,16 @@ var ThreatSummary$ = [3, n0, _TSh,
|
|
|
2431
2440
|
[_tIhre, _tJI, _ti, _stat, _sev, _sta, _str, _cB, _uB, _cA, _uA],
|
|
2432
2441
|
[0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 5, 5]
|
|
2433
2442
|
];
|
|
2443
|
+
var TriggerFilter$ = [3, n0, _TF,
|
|
2444
|
+
0,
|
|
2445
|
+
[_t, _patt, _mM],
|
|
2446
|
+
[0, 64 | 0, 0], 2
|
|
2447
|
+
];
|
|
2448
|
+
var TriggerFilterGroup$ = [3, n0, _TFG,
|
|
2449
|
+
0,
|
|
2450
|
+
[_eve, _filt],
|
|
2451
|
+
[64 | 0, () => TriggerFilterList]
|
|
2452
|
+
];
|
|
2434
2453
|
var TrustedCaCertificate$ = [3, n0, _TCC,
|
|
2435
2454
|
8,
|
|
2436
2455
|
[_so],
|
|
@@ -2804,6 +2823,12 @@ var ThreatModelSummaryList = [1, n0, _TMSL,
|
|
|
2804
2823
|
var ThreatSummaryList = [1, n0, _TSLh,
|
|
2805
2824
|
0, () => ThreatSummary$
|
|
2806
2825
|
];
|
|
2826
|
+
var TriggerFilterGroups = [1, n0, _TFGr,
|
|
2827
|
+
0, () => TriggerFilterGroup$
|
|
2828
|
+
];
|
|
2829
|
+
var TriggerFilterList = [1, n0, _TFL,
|
|
2830
|
+
0, () => TriggerFilter$
|
|
2831
|
+
];
|
|
2807
2832
|
var TrustedCaCertificateList = [1, n0, _TCCL,
|
|
2808
2833
|
0, [() => TrustedCaCertificate$,
|
|
2809
2834
|
0]
|
|
@@ -3782,6 +3807,19 @@ const ArtifactType = {
|
|
|
3782
3807
|
TXT: "TXT",
|
|
3783
3808
|
YAML: "YAML",
|
|
3784
3809
|
};
|
|
3810
|
+
const TriggerEvent = {
|
|
3811
|
+
PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT",
|
|
3812
|
+
PULL_REQUEST_LABEL_ADDED: "PULL_REQUEST_LABEL_ADDED",
|
|
3813
|
+
PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW",
|
|
3814
|
+
};
|
|
3815
|
+
const TriggerFilterMatchMode = {
|
|
3816
|
+
EXCLUDE: "EXCLUDE",
|
|
3817
|
+
INCLUDE: "INCLUDE",
|
|
3818
|
+
};
|
|
3819
|
+
const TriggerFilterType = {
|
|
3820
|
+
LABEL: "LABEL",
|
|
3821
|
+
TARGET_BRANCH: "TARGET_BRANCH",
|
|
3822
|
+
};
|
|
3785
3823
|
const CleanUpStrategy = {
|
|
3786
3824
|
BEST_EFFORT_DELETE: "BEST_EFFORT_DELETE",
|
|
3787
3825
|
RETAIN_ALL: "RETAIN_ALL",
|
|
@@ -4525,6 +4563,11 @@ exports.ThreatStatus = ThreatStatus;
|
|
|
4525
4563
|
exports.ThreatSummary$ = ThreatSummary$;
|
|
4526
4564
|
exports.ThrottlingException = ThrottlingException;
|
|
4527
4565
|
exports.ThrottlingException$ = ThrottlingException$;
|
|
4566
|
+
exports.TriggerEvent = TriggerEvent;
|
|
4567
|
+
exports.TriggerFilter$ = TriggerFilter$;
|
|
4568
|
+
exports.TriggerFilterGroup$ = TriggerFilterGroup$;
|
|
4569
|
+
exports.TriggerFilterMatchMode = TriggerFilterMatchMode;
|
|
4570
|
+
exports.TriggerFilterType = TriggerFilterType;
|
|
4528
4571
|
exports.TrustedCaCertificate$ = TrustedCaCertificate$;
|
|
4529
4572
|
exports.UntagResource$ = UntagResource$;
|
|
4530
4573
|
exports.UntagResourceCommand = UntagResourceCommand;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -19,6 +19,19 @@ export const ArtifactType = {
|
|
|
19
19
|
TXT: "TXT",
|
|
20
20
|
YAML: "YAML",
|
|
21
21
|
};
|
|
22
|
+
export const TriggerEvent = {
|
|
23
|
+
PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT",
|
|
24
|
+
PULL_REQUEST_LABEL_ADDED: "PULL_REQUEST_LABEL_ADDED",
|
|
25
|
+
PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW",
|
|
26
|
+
};
|
|
27
|
+
export const TriggerFilterMatchMode = {
|
|
28
|
+
EXCLUDE: "EXCLUDE",
|
|
29
|
+
INCLUDE: "INCLUDE",
|
|
30
|
+
};
|
|
31
|
+
export const TriggerFilterType = {
|
|
32
|
+
LABEL: "LABEL",
|
|
33
|
+
TARGET_BRANCH: "TARGET_BRANCH",
|
|
34
|
+
};
|
|
22
35
|
export const CleanUpStrategy = {
|
|
23
36
|
BEST_EFFORT_DELETE: "BEST_EFFORT_DELETE",
|
|
24
37
|
RETAIN_ALL: "RETAIN_ALL",
|
|
@@ -406,6 +406,10 @@ const _TDSL = "TargetDomainSummaryList";
|
|
|
406
406
|
const _TE = "ThrottlingException";
|
|
407
407
|
const _TEL = "ThreatEvidenceList";
|
|
408
408
|
const _TES = "ThreatEvidenceShape";
|
|
409
|
+
const _TF = "TriggerFilter";
|
|
410
|
+
const _TFG = "TriggerFilterGroup";
|
|
411
|
+
const _TFGr = "TriggerFilterGroups";
|
|
412
|
+
const _TFL = "TriggerFilterList";
|
|
409
413
|
const _TL = "TaskList";
|
|
410
414
|
const _TLh = "ThreatList";
|
|
411
415
|
const _TM = "ThreatModel";
|
|
@@ -598,6 +602,7 @@ const _en = "endpoints";
|
|
|
598
602
|
const _ena = "enabled";
|
|
599
603
|
const _er = "errors";
|
|
600
604
|
const _ev = "evaluation";
|
|
605
|
+
const _eve = "events";
|
|
601
606
|
const _evi = "evidence";
|
|
602
607
|
const _f = "failed";
|
|
603
608
|
const _fD = "fetchDocument";
|
|
@@ -611,6 +616,7 @@ const _fS = "findingsSummaries";
|
|
|
611
616
|
const _fT = "findingTypes";
|
|
612
617
|
const _fi = "findings";
|
|
613
618
|
const _fil = "filter";
|
|
619
|
+
const _filt = "filters";
|
|
614
620
|
const _fo = "format";
|
|
615
621
|
const _g = "github";
|
|
616
622
|
const _gI = "groupId";
|
|
@@ -665,6 +671,7 @@ const _lUB = "lastUpdatedBy";
|
|
|
665
671
|
const _m = "message";
|
|
666
672
|
const _mFA = "mfaForwardingAddress";
|
|
667
673
|
const _mI = "membershipId";
|
|
674
|
+
const _mM = "matchMode";
|
|
668
675
|
const _mR = "maxResults";
|
|
669
676
|
const _mS = "membershipSummaries";
|
|
670
677
|
const _mT = "memberType";
|
|
@@ -707,6 +714,7 @@ const _pS = "pentestSummaries";
|
|
|
707
714
|
const _pT = "providerType";
|
|
708
715
|
const _pa = "pattern";
|
|
709
716
|
const _pat = "path";
|
|
717
|
+
const _patt = "patterns";
|
|
710
718
|
const _pe = "pentests";
|
|
711
719
|
const _pr = "provider";
|
|
712
720
|
const _pre = "prerequisites";
|
|
@@ -792,6 +800,7 @@ const _tDN = "targetDomainName";
|
|
|
792
800
|
const _tDS = "targetDomainSummaries";
|
|
793
801
|
const _tDa = "taskDetails";
|
|
794
802
|
const _tE = "targetEndpoint";
|
|
803
|
+
const _tFG = "triggerFilterGroups";
|
|
795
804
|
const _tH = "taskHours";
|
|
796
805
|
const _tI = "taskIds";
|
|
797
806
|
const _tIa = "taskId";
|
|
@@ -994,8 +1003,8 @@ export var AzureDevOpsRepositoryResource$ = [3, n0, _ADORR,
|
|
|
994
1003
|
];
|
|
995
1004
|
export var AzureDevOpsResourceCapabilities$ = [3, n0, _ADORC,
|
|
996
1005
|
0,
|
|
997
|
-
[_lC, _rC],
|
|
998
|
-
[2, 2]
|
|
1006
|
+
[_tFG, _lC, _rC],
|
|
1007
|
+
[() => TriggerFilterGroups, 2, 2]
|
|
999
1008
|
];
|
|
1000
1009
|
export var BatchCreateSecurityRequirementResult$ = [3, n0, _BCSRR,
|
|
1001
1010
|
0,
|
|
@@ -1244,8 +1253,8 @@ export var BitbucketRepositoryResource$ = [3, n0, _BRR,
|
|
|
1244
1253
|
];
|
|
1245
1254
|
export var BitbucketResourceCapabilities$ = [3, n0, _BRC,
|
|
1246
1255
|
0,
|
|
1247
|
-
[_lC, _rC],
|
|
1248
|
-
[2, 2]
|
|
1256
|
+
[_tFG, _lC, _rC],
|
|
1257
|
+
[() => TriggerFilterGroups, 2, 2]
|
|
1249
1258
|
];
|
|
1250
1259
|
export var Category$ = [3, n0, _C,
|
|
1251
1260
|
0,
|
|
@@ -1649,8 +1658,8 @@ export var GitHubRepositoryResource$ = [3, n0, _GHRR,
|
|
|
1649
1658
|
];
|
|
1650
1659
|
export var GitHubResourceCapabilities$ = [3, n0, _GHRC,
|
|
1651
1660
|
0,
|
|
1652
|
-
[_lC, _rC],
|
|
1653
|
-
[2, 2]
|
|
1661
|
+
[_tFG, _lC, _rC],
|
|
1662
|
+
[() => TriggerFilterGroups, 2, 2]
|
|
1654
1663
|
];
|
|
1655
1664
|
export var GitLabIntegrationInput$ = [3, n0, _GLII,
|
|
1656
1665
|
0,
|
|
@@ -1669,8 +1678,8 @@ export var GitLabRepositoryResource$ = [3, n0, _GLRR,
|
|
|
1669
1678
|
];
|
|
1670
1679
|
export var GitLabResourceCapabilities$ = [3, n0, _GLRC,
|
|
1671
1680
|
0,
|
|
1672
|
-
[_lC, _rC],
|
|
1673
|
-
[2, 2]
|
|
1681
|
+
[_tFG, _lC, _rC],
|
|
1682
|
+
[() => TriggerFilterGroups, 2, 2]
|
|
1674
1683
|
];
|
|
1675
1684
|
export var HttpVerification$ = [3, n0, _HV,
|
|
1676
1685
|
0,
|
|
@@ -2222,6 +2231,16 @@ export var ThreatSummary$ = [3, n0, _TSh,
|
|
|
2222
2231
|
[_tIhre, _tJI, _ti, _stat, _sev, _sta, _str, _cB, _uB, _cA, _uA],
|
|
2223
2232
|
[0, 0, 0, 0, 0, 0, 64 | 0, 0, 0, 5, 5]
|
|
2224
2233
|
];
|
|
2234
|
+
export var TriggerFilter$ = [3, n0, _TF,
|
|
2235
|
+
0,
|
|
2236
|
+
[_t, _patt, _mM],
|
|
2237
|
+
[0, 64 | 0, 0], 2
|
|
2238
|
+
];
|
|
2239
|
+
export var TriggerFilterGroup$ = [3, n0, _TFG,
|
|
2240
|
+
0,
|
|
2241
|
+
[_eve, _filt],
|
|
2242
|
+
[64 | 0, () => TriggerFilterList]
|
|
2243
|
+
];
|
|
2225
2244
|
export var TrustedCaCertificate$ = [3, n0, _TCC,
|
|
2226
2245
|
8,
|
|
2227
2246
|
[_so],
|
|
@@ -2629,6 +2648,14 @@ var ThreatModelSummaryList = [1, n0, _TMSL,
|
|
|
2629
2648
|
var ThreatSummaryList = [1, n0, _TSLh,
|
|
2630
2649
|
0, () => ThreatSummary$
|
|
2631
2650
|
];
|
|
2651
|
+
var TriggerEventList = 64 | 0;
|
|
2652
|
+
var TriggerFilterGroups = [1, n0, _TFGr,
|
|
2653
|
+
0, () => TriggerFilterGroup$
|
|
2654
|
+
];
|
|
2655
|
+
var TriggerFilterList = [1, n0, _TFL,
|
|
2656
|
+
0, () => TriggerFilter$
|
|
2657
|
+
];
|
|
2658
|
+
var TriggerRegexPatternList = 64 | 0;
|
|
2632
2659
|
var TrustedCaCertificateList = [1, n0, _TCCL,
|
|
2633
2660
|
0, [() => TrustedCaCertificate$,
|
|
2634
2661
|
0]
|
|
@@ -84,14 +84,62 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
84
84
|
* // },
|
|
85
85
|
* // capabilities: { // ProviderResourceCapabilities Union: only one key present
|
|
86
86
|
* // github: { // GitHubResourceCapabilities
|
|
87
|
+
* // triggerFilterGroups: [ // TriggerFilterGroups
|
|
88
|
+
* // { // TriggerFilterGroup
|
|
89
|
+
* // events: [ // TriggerEventList
|
|
90
|
+
* // "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT" || "PULL_REQUEST_LABEL_ADDED",
|
|
91
|
+
* // ],
|
|
92
|
+
* // filters: [ // TriggerFilterList
|
|
93
|
+
* // { // TriggerFilter
|
|
94
|
+
* // type: "TARGET_BRANCH" || "LABEL", // required
|
|
95
|
+
* // patterns: [ // TriggerRegexPatternList // required
|
|
96
|
+
* // "STRING_VALUE",
|
|
97
|
+
* // ],
|
|
98
|
+
* // matchMode: "INCLUDE" || "EXCLUDE",
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
87
103
|
* // leaveComments: true || false,
|
|
88
104
|
* // remediateCode: true || false,
|
|
89
105
|
* // },
|
|
90
106
|
* // gitlab: { // GitLabResourceCapabilities
|
|
107
|
+
* // triggerFilterGroups: [
|
|
108
|
+
* // {
|
|
109
|
+
* // events: [
|
|
110
|
+
* // "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT" || "PULL_REQUEST_LABEL_ADDED",
|
|
111
|
+
* // ],
|
|
112
|
+
* // filters: [
|
|
113
|
+
* // {
|
|
114
|
+
* // type: "TARGET_BRANCH" || "LABEL", // required
|
|
115
|
+
* // patterns: [ // required
|
|
116
|
+
* // "STRING_VALUE",
|
|
117
|
+
* // ],
|
|
118
|
+
* // matchMode: "INCLUDE" || "EXCLUDE",
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
91
123
|
* // leaveComments: true || false,
|
|
92
124
|
* // remediateCode: true || false,
|
|
93
125
|
* // },
|
|
94
126
|
* // bitbucket: { // BitbucketResourceCapabilities
|
|
127
|
+
* // triggerFilterGroups: [
|
|
128
|
+
* // {
|
|
129
|
+
* // events: [
|
|
130
|
+
* // "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT" || "PULL_REQUEST_LABEL_ADDED",
|
|
131
|
+
* // ],
|
|
132
|
+
* // filters: [
|
|
133
|
+
* // {
|
|
134
|
+
* // type: "TARGET_BRANCH" || "LABEL", // required
|
|
135
|
+
* // patterns: [ // required
|
|
136
|
+
* // "STRING_VALUE",
|
|
137
|
+
* // ],
|
|
138
|
+
* // matchMode: "INCLUDE" || "EXCLUDE",
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
95
143
|
* // leaveComments: true || false,
|
|
96
144
|
* // remediateCode: true || false,
|
|
97
145
|
* // },
|
|
@@ -101,6 +149,22 @@ declare const ListIntegratedResourcesCommand_base: {
|
|
|
101
149
|
* // updateDocument: true || false,
|
|
102
150
|
* // },
|
|
103
151
|
* // azureDevOps: { // AzureDevOpsResourceCapabilities
|
|
152
|
+
* // triggerFilterGroups: [
|
|
153
|
+
* // {
|
|
154
|
+
* // events: [
|
|
155
|
+
* // "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT" || "PULL_REQUEST_LABEL_ADDED",
|
|
156
|
+
* // ],
|
|
157
|
+
* // filters: [
|
|
158
|
+
* // {
|
|
159
|
+
* // type: "TARGET_BRANCH" || "LABEL", // required
|
|
160
|
+
* // patterns: [ // required
|
|
161
|
+
* // "STRING_VALUE",
|
|
162
|
+
* // ],
|
|
163
|
+
* // matchMode: "INCLUDE" || "EXCLUDE",
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // },
|
|
167
|
+
* // ],
|
|
104
168
|
* // leaveComments: true || false,
|
|
105
169
|
* // remediateCode: true || false,
|
|
106
170
|
* // },
|
|
@@ -66,14 +66,62 @@ declare const UpdateIntegratedResourcesCommand_base: {
|
|
|
66
66
|
* },
|
|
67
67
|
* capabilities: { // ProviderResourceCapabilities Union: only one key present
|
|
68
68
|
* github: { // GitHubResourceCapabilities
|
|
69
|
+
* triggerFilterGroups: [ // TriggerFilterGroups
|
|
70
|
+
* { // TriggerFilterGroup
|
|
71
|
+
* events: [ // TriggerEventList
|
|
72
|
+
* "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT" || "PULL_REQUEST_LABEL_ADDED",
|
|
73
|
+
* ],
|
|
74
|
+
* filters: [ // TriggerFilterList
|
|
75
|
+
* { // TriggerFilter
|
|
76
|
+
* type: "TARGET_BRANCH" || "LABEL", // required
|
|
77
|
+
* patterns: [ // TriggerRegexPatternList // required
|
|
78
|
+
* "STRING_VALUE",
|
|
79
|
+
* ],
|
|
80
|
+
* matchMode: "INCLUDE" || "EXCLUDE",
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
83
|
+
* },
|
|
84
|
+
* ],
|
|
69
85
|
* leaveComments: true || false,
|
|
70
86
|
* remediateCode: true || false,
|
|
71
87
|
* },
|
|
72
88
|
* gitlab: { // GitLabResourceCapabilities
|
|
89
|
+
* triggerFilterGroups: [
|
|
90
|
+
* {
|
|
91
|
+
* events: [
|
|
92
|
+
* "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT" || "PULL_REQUEST_LABEL_ADDED",
|
|
93
|
+
* ],
|
|
94
|
+
* filters: [
|
|
95
|
+
* {
|
|
96
|
+
* type: "TARGET_BRANCH" || "LABEL", // required
|
|
97
|
+
* patterns: [ // required
|
|
98
|
+
* "STRING_VALUE",
|
|
99
|
+
* ],
|
|
100
|
+
* matchMode: "INCLUDE" || "EXCLUDE",
|
|
101
|
+
* },
|
|
102
|
+
* ],
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
73
105
|
* leaveComments: true || false,
|
|
74
106
|
* remediateCode: true || false,
|
|
75
107
|
* },
|
|
76
108
|
* bitbucket: { // BitbucketResourceCapabilities
|
|
109
|
+
* triggerFilterGroups: [
|
|
110
|
+
* {
|
|
111
|
+
* events: [
|
|
112
|
+
* "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT" || "PULL_REQUEST_LABEL_ADDED",
|
|
113
|
+
* ],
|
|
114
|
+
* filters: [
|
|
115
|
+
* {
|
|
116
|
+
* type: "TARGET_BRANCH" || "LABEL", // required
|
|
117
|
+
* patterns: [ // required
|
|
118
|
+
* "STRING_VALUE",
|
|
119
|
+
* ],
|
|
120
|
+
* matchMode: "INCLUDE" || "EXCLUDE",
|
|
121
|
+
* },
|
|
122
|
+
* ],
|
|
123
|
+
* },
|
|
124
|
+
* ],
|
|
77
125
|
* leaveComments: true || false,
|
|
78
126
|
* remediateCode: true || false,
|
|
79
127
|
* },
|
|
@@ -83,6 +131,22 @@ declare const UpdateIntegratedResourcesCommand_base: {
|
|
|
83
131
|
* updateDocument: true || false,
|
|
84
132
|
* },
|
|
85
133
|
* azureDevOps: { // AzureDevOpsResourceCapabilities
|
|
134
|
+
* triggerFilterGroups: [
|
|
135
|
+
* {
|
|
136
|
+
* events: [
|
|
137
|
+
* "PULL_REQUEST_READY_FOR_REVIEW" || "PULL_REQUEST_DRAFT" || "PULL_REQUEST_LABEL_ADDED",
|
|
138
|
+
* ],
|
|
139
|
+
* filters: [
|
|
140
|
+
* {
|
|
141
|
+
* type: "TARGET_BRANCH" || "LABEL", // required
|
|
142
|
+
* patterns: [ // required
|
|
143
|
+
* "STRING_VALUE",
|
|
144
|
+
* ],
|
|
145
|
+
* matchMode: "INCLUDE" || "EXCLUDE",
|
|
146
|
+
* },
|
|
147
|
+
* ],
|
|
148
|
+
* },
|
|
149
|
+
* ],
|
|
86
150
|
* leaveComments: true || false,
|
|
87
151
|
* remediateCode: true || false,
|
|
88
152
|
* },
|
|
@@ -61,6 +61,64 @@ export declare const ArtifactType: {
|
|
|
61
61
|
* @public
|
|
62
62
|
*/
|
|
63
63
|
export type ArtifactType = (typeof ArtifactType)[keyof typeof ArtifactType];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const TriggerEvent: {
|
|
69
|
+
/**
|
|
70
|
+
* <p>A draft pull request is opened or updated.</p>
|
|
71
|
+
*/
|
|
72
|
+
readonly PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT";
|
|
73
|
+
/**
|
|
74
|
+
* <p>A label is added to a pull request. A filter group that selects this event must include a <code>LABEL</code> filter with the <code>INCLUDE</code> match mode, and a review starts only when the added label matches it.</p>
|
|
75
|
+
*/
|
|
76
|
+
readonly PULL_REQUEST_LABEL_ADDED: "PULL_REQUEST_LABEL_ADDED";
|
|
77
|
+
/**
|
|
78
|
+
* <p>A pull request that isn't a draft is opened, updated, or marked ready for review.</p>
|
|
79
|
+
*/
|
|
80
|
+
readonly PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW";
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export type TriggerEvent = (typeof TriggerEvent)[keyof typeof TriggerEvent];
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
* @enum
|
|
89
|
+
*/
|
|
90
|
+
export declare const TriggerFilterMatchMode: {
|
|
91
|
+
/**
|
|
92
|
+
* <p>The filter passes when no value fully matches any pattern.</p>
|
|
93
|
+
*/
|
|
94
|
+
readonly EXCLUDE: "EXCLUDE";
|
|
95
|
+
/**
|
|
96
|
+
* <p>The filter passes when a value fully matches at least one pattern.</p>
|
|
97
|
+
*/
|
|
98
|
+
readonly INCLUDE: "INCLUDE";
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export type TriggerFilterMatchMode = (typeof TriggerFilterMatchMode)[keyof typeof TriggerFilterMatchMode];
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* @enum
|
|
107
|
+
*/
|
|
108
|
+
export declare const TriggerFilterType: {
|
|
109
|
+
/**
|
|
110
|
+
* <p>The labels on the pull request.</p>
|
|
111
|
+
*/
|
|
112
|
+
readonly LABEL: "LABEL";
|
|
113
|
+
/**
|
|
114
|
+
* <p>The name of the pull request's target branch, for example <code>main</code>.</p>
|
|
115
|
+
*/
|
|
116
|
+
readonly TARGET_BRANCH: "TARGET_BRANCH";
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export type TriggerFilterType = (typeof TriggerFilterType)[keyof typeof TriggerFilterType];
|
|
64
122
|
/**
|
|
65
123
|
* @public
|
|
66
124
|
* @enum
|
|
@@ -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, 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, 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
|
|
@@ -1052,11 +1052,53 @@ export interface AzureDevOpsRepositoryResource {
|
|
|
1052
1052
|
*/
|
|
1053
1053
|
project?: string | undefined;
|
|
1054
1054
|
}
|
|
1055
|
+
/**
|
|
1056
|
+
* <p>A condition on a pull request value.</p>
|
|
1057
|
+
* @public
|
|
1058
|
+
*/
|
|
1059
|
+
export interface TriggerFilter {
|
|
1060
|
+
/**
|
|
1061
|
+
* <p>The pull request value to match.</p>
|
|
1062
|
+
* @public
|
|
1063
|
+
*/
|
|
1064
|
+
type: TriggerFilterType | undefined;
|
|
1065
|
+
/**
|
|
1066
|
+
* <p>The regular expressions to match against the value.</p>
|
|
1067
|
+
* @public
|
|
1068
|
+
*/
|
|
1069
|
+
patterns: string[] | undefined;
|
|
1070
|
+
/**
|
|
1071
|
+
* <p>Whether the value must match the patterns. The default is <code>INCLUDE</code>.</p>
|
|
1072
|
+
* @public
|
|
1073
|
+
*/
|
|
1074
|
+
matchMode?: TriggerFilterMatchMode | undefined;
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
* <p>A set of conditions that start an automatic code review when they all pass. A filter group must include <code>events</code>, <code>filters</code>, or both.</p>
|
|
1078
|
+
* @public
|
|
1079
|
+
*/
|
|
1080
|
+
export interface TriggerFilterGroup {
|
|
1081
|
+
/**
|
|
1082
|
+
* <p>Passes when the pull request event is one of the listed events. If you omit this, the group matches <code>PULL_REQUEST_READY_FOR_REVIEW</code> and <code>PULL_REQUEST_DRAFT</code> events only.</p>
|
|
1083
|
+
* @public
|
|
1084
|
+
*/
|
|
1085
|
+
events?: TriggerEvent[] | undefined;
|
|
1086
|
+
/**
|
|
1087
|
+
* <p>Passes when every filter passes. If you omit this, the group matches its events on any target branch and with any labels.</p>
|
|
1088
|
+
* @public
|
|
1089
|
+
*/
|
|
1090
|
+
filters?: TriggerFilter[] | undefined;
|
|
1091
|
+
}
|
|
1055
1092
|
/**
|
|
1056
1093
|
* <p>Capabilities for an integrated Azure DevOps repository.</p>
|
|
1057
1094
|
* @public
|
|
1058
1095
|
*/
|
|
1059
1096
|
export interface AzureDevOpsResourceCapabilities {
|
|
1097
|
+
/**
|
|
1098
|
+
* <p>The filter groups that control which pull request events start an automatic code review when <code>leaveComments</code> is enabled. A review starts when any group matches. If you omit this, a review starts on <code>PULL_REQUEST_READY_FOR_REVIEW</code> events.</p>
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
1060
1102
|
/**
|
|
1061
1103
|
* <p>Whether to post code review comments on pull requests.</p>
|
|
1062
1104
|
* @public
|
|
@@ -3581,6 +3623,11 @@ export interface BitbucketRepositoryResource {
|
|
|
3581
3623
|
* @public
|
|
3582
3624
|
*/
|
|
3583
3625
|
export interface BitbucketResourceCapabilities {
|
|
3626
|
+
/**
|
|
3627
|
+
* <p>The filter groups that control which pull request events start an automatic code review when <code>leaveComments</code> is enabled. A review starts when any group matches. If you omit this, a review starts on <code>PULL_REQUEST_READY_FOR_REVIEW</code> events.</p>
|
|
3628
|
+
* @public
|
|
3629
|
+
*/
|
|
3630
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
3584
3631
|
/**
|
|
3585
3632
|
* <p>Whether to post code review comments on pull requests.</p>
|
|
3586
3633
|
* @public
|
|
@@ -5608,6 +5655,11 @@ export interface GitHubRepositoryResource {
|
|
|
5608
5655
|
* @public
|
|
5609
5656
|
*/
|
|
5610
5657
|
export interface GitHubResourceCapabilities {
|
|
5658
|
+
/**
|
|
5659
|
+
* <p>The filter groups that control which pull request events start an automatic code review when <code>leaveComments</code> is enabled. A review starts when any group matches. If you omit this, a review starts on <code>PULL_REQUEST_READY_FOR_REVIEW</code> events.</p>
|
|
5660
|
+
* @public
|
|
5661
|
+
*/
|
|
5662
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
5611
5663
|
/**
|
|
5612
5664
|
* <p>Indicates whether the integration can leave comments on pull requests.</p>
|
|
5613
5665
|
* @public
|
|
@@ -5666,6 +5718,11 @@ export interface GitLabRepositoryResource {
|
|
|
5666
5718
|
* @public
|
|
5667
5719
|
*/
|
|
5668
5720
|
export interface GitLabResourceCapabilities {
|
|
5721
|
+
/**
|
|
5722
|
+
* <p>The filter groups that control which merge request events start an automatic code review when <code>leaveComments</code> is enabled. A review starts when any group matches. If you omit this, a review starts on <code>PULL_REQUEST_READY_FOR_REVIEW</code> events.</p>
|
|
5723
|
+
* @public
|
|
5724
|
+
*/
|
|
5725
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
5669
5726
|
/**
|
|
5670
5727
|
* <p>Whether to post code review comments on merge request discussions.</p>
|
|
5671
5728
|
* @public
|
|
@@ -8399,70 +8456,3 @@ export interface UpdateCodeReviewOutput {
|
|
|
8399
8456
|
*/
|
|
8400
8457
|
reportFilters?: ReportFilters | undefined;
|
|
8401
8458
|
}
|
|
8402
|
-
/**
|
|
8403
|
-
* <p>Input for updating an existing security finding.</p>
|
|
8404
|
-
* @public
|
|
8405
|
-
*/
|
|
8406
|
-
export interface UpdateFindingInput {
|
|
8407
|
-
/**
|
|
8408
|
-
* <p>The unique identifier of the finding to update.</p>
|
|
8409
|
-
* @public
|
|
8410
|
-
*/
|
|
8411
|
-
findingId: string | undefined;
|
|
8412
|
-
/**
|
|
8413
|
-
* <p>The unique identifier of the agent space that contains the finding.</p>
|
|
8414
|
-
* @public
|
|
8415
|
-
*/
|
|
8416
|
-
agentSpaceId: string | undefined;
|
|
8417
|
-
/**
|
|
8418
|
-
* <p>The updated name for the finding.</p>
|
|
8419
|
-
* @public
|
|
8420
|
-
*/
|
|
8421
|
-
name?: string | undefined;
|
|
8422
|
-
/**
|
|
8423
|
-
* <p>The updated description for the finding.</p>
|
|
8424
|
-
* @public
|
|
8425
|
-
*/
|
|
8426
|
-
description?: string | undefined;
|
|
8427
|
-
/**
|
|
8428
|
-
* <p>The updated risk type for the finding.</p>
|
|
8429
|
-
* @public
|
|
8430
|
-
*/
|
|
8431
|
-
riskType?: string | undefined;
|
|
8432
|
-
/**
|
|
8433
|
-
* <p>The updated risk level for the finding.</p>
|
|
8434
|
-
* @public
|
|
8435
|
-
*/
|
|
8436
|
-
riskLevel?: RiskLevel | undefined;
|
|
8437
|
-
/**
|
|
8438
|
-
* <p>The updated numerical risk score for the finding.</p>
|
|
8439
|
-
* @public
|
|
8440
|
-
*/
|
|
8441
|
-
riskScore?: string | undefined;
|
|
8442
|
-
/**
|
|
8443
|
-
* <p>The updated attack script for the finding.</p>
|
|
8444
|
-
* @public
|
|
8445
|
-
*/
|
|
8446
|
-
attackScript?: string | undefined;
|
|
8447
|
-
/**
|
|
8448
|
-
* <p>The updated reasoning for the finding.</p>
|
|
8449
|
-
* @public
|
|
8450
|
-
*/
|
|
8451
|
-
reasoning?: string | undefined;
|
|
8452
|
-
/**
|
|
8453
|
-
* <p>The updated status for the finding.</p>
|
|
8454
|
-
* @public
|
|
8455
|
-
*/
|
|
8456
|
-
status?: FindingStatus | undefined;
|
|
8457
|
-
/**
|
|
8458
|
-
* <p>A customer-provided note on the finding.</p>
|
|
8459
|
-
* @public
|
|
8460
|
-
*/
|
|
8461
|
-
customerNote?: string | undefined;
|
|
8462
|
-
}
|
|
8463
|
-
/**
|
|
8464
|
-
* <p>Output for the UpdateFinding operation.</p>
|
|
8465
|
-
* @public
|
|
8466
|
-
*/
|
|
8467
|
-
export interface UpdateFindingOutput {
|
|
8468
|
-
}
|
|
@@ -1,5 +1,72 @@
|
|
|
1
|
-
import type { CodeRemediationStrategy, RiskType, SkillType, StrideCategory, TargetDomainStatus, ThreatActor, ThreatSeverity, ThreatStatus } from "./enums";
|
|
1
|
+
import type { CodeRemediationStrategy, FindingStatus, RiskLevel, RiskType, SkillType, StrideCategory, TargetDomainStatus, ThreatActor, ThreatSeverity, ThreatStatus } from "./enums";
|
|
2
2
|
import type { Assets, CiCdConfiguration, CloudWatchLog, DocumentInfo, IntegratedResourceInputItem, NetworkTrafficConfig, ReportDestination, ReportFilters, ThreatAnchorShape, ThreatEvidenceShape, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Input for updating an existing security finding.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface UpdateFindingInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The unique identifier of the finding to update.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
findingId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The unique identifier of the agent space that contains the finding.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
agentSpaceId: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The updated name for the finding.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The updated description for the finding.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
description?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The updated risk type for the finding.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
riskType?: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The updated risk level for the finding.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
riskLevel?: RiskLevel | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The updated numerical risk score for the finding.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
riskScore?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The updated attack script for the finding.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
attackScript?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The updated reasoning for the finding.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
reasoning?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The updated status for the finding.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
status?: FindingStatus | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>A customer-provided note on the finding.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
customerNote?: string | undefined;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <p>Output for the UpdateFinding operation.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export interface UpdateFindingOutput {
|
|
69
|
+
}
|
|
3
70
|
/**
|
|
4
71
|
* @public
|
|
5
72
|
*/
|
|
@@ -276,6 +276,8 @@ export declare var ThreatModelJobTask$: StaticStructureSchema;
|
|
|
276
276
|
export declare var ThreatModelJobTaskSummary$: StaticStructureSchema;
|
|
277
277
|
export declare var ThreatModelSummary$: StaticStructureSchema;
|
|
278
278
|
export declare var ThreatSummary$: StaticStructureSchema;
|
|
279
|
+
export declare var TriggerFilter$: StaticStructureSchema;
|
|
280
|
+
export declare var TriggerFilterGroup$: StaticStructureSchema;
|
|
279
281
|
export declare var TrustedCaCertificate$: StaticStructureSchema;
|
|
280
282
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
281
283
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { UpdateFindingInput, UpdateFindingOutput } from "../models/
|
|
2
|
+
import { UpdateFindingInput, UpdateFindingOutput } from "../models/models_1";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface UpdateFindingCommandInput extends UpdateFindingInput {}
|
|
5
5
|
export interface UpdateFindingCommandOutput extends UpdateFindingOutput, __MetadataBearer {}
|
|
@@ -23,6 +23,23 @@ export declare const ArtifactType: {
|
|
|
23
23
|
readonly YAML: "YAML";
|
|
24
24
|
};
|
|
25
25
|
export type ArtifactType = (typeof ArtifactType)[keyof typeof ArtifactType];
|
|
26
|
+
export declare const TriggerEvent: {
|
|
27
|
+
readonly PULL_REQUEST_DRAFT: "PULL_REQUEST_DRAFT";
|
|
28
|
+
readonly PULL_REQUEST_LABEL_ADDED: "PULL_REQUEST_LABEL_ADDED";
|
|
29
|
+
readonly PULL_REQUEST_READY_FOR_REVIEW: "PULL_REQUEST_READY_FOR_REVIEW";
|
|
30
|
+
};
|
|
31
|
+
export type TriggerEvent = (typeof TriggerEvent)[keyof typeof TriggerEvent];
|
|
32
|
+
export declare const TriggerFilterMatchMode: {
|
|
33
|
+
readonly EXCLUDE: "EXCLUDE";
|
|
34
|
+
readonly INCLUDE: "INCLUDE";
|
|
35
|
+
};
|
|
36
|
+
export type TriggerFilterMatchMode =
|
|
37
|
+
(typeof TriggerFilterMatchMode)[keyof typeof TriggerFilterMatchMode];
|
|
38
|
+
export declare const TriggerFilterType: {
|
|
39
|
+
readonly LABEL: "LABEL";
|
|
40
|
+
readonly TARGET_BRANCH: "TARGET_BRANCH";
|
|
41
|
+
};
|
|
42
|
+
export type TriggerFilterType = (typeof TriggerFilterType)[keyof typeof TriggerFilterType];
|
|
26
43
|
export declare const CleanUpStrategy: {
|
|
27
44
|
readonly BEST_EFFORT_DELETE: "BEST_EFFORT_DELETE";
|
|
28
45
|
readonly RETAIN_ALL: "RETAIN_ALL";
|
|
@@ -42,6 +42,9 @@ import {
|
|
|
42
42
|
ThreatActor,
|
|
43
43
|
ThreatSeverity,
|
|
44
44
|
ThreatStatus,
|
|
45
|
+
TriggerEvent,
|
|
46
|
+
TriggerFilterMatchMode,
|
|
47
|
+
TriggerFilterType,
|
|
45
48
|
UserRole,
|
|
46
49
|
ValidationMode,
|
|
47
50
|
ValidationStatus,
|
|
@@ -321,7 +324,17 @@ export interface AzureDevOpsRepositoryResource {
|
|
|
321
324
|
organization: string | undefined;
|
|
322
325
|
project?: string | undefined;
|
|
323
326
|
}
|
|
327
|
+
export interface TriggerFilter {
|
|
328
|
+
type: TriggerFilterType | undefined;
|
|
329
|
+
patterns: string[] | undefined;
|
|
330
|
+
matchMode?: TriggerFilterMatchMode | undefined;
|
|
331
|
+
}
|
|
332
|
+
export interface TriggerFilterGroup {
|
|
333
|
+
events?: TriggerEvent[] | undefined;
|
|
334
|
+
filters?: TriggerFilter[] | undefined;
|
|
335
|
+
}
|
|
324
336
|
export interface AzureDevOpsResourceCapabilities {
|
|
337
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
325
338
|
leaveComments?: boolean | undefined;
|
|
326
339
|
remediateCode?: boolean | undefined;
|
|
327
340
|
}
|
|
@@ -900,6 +913,7 @@ export interface BitbucketRepositoryResource {
|
|
|
900
913
|
workspace: string | undefined;
|
|
901
914
|
}
|
|
902
915
|
export interface BitbucketResourceCapabilities {
|
|
916
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
903
917
|
leaveComments?: boolean | undefined;
|
|
904
918
|
remediateCode?: boolean | undefined;
|
|
905
919
|
}
|
|
@@ -1442,6 +1456,7 @@ export interface GitHubRepositoryResource {
|
|
|
1442
1456
|
owner: string | undefined;
|
|
1443
1457
|
}
|
|
1444
1458
|
export interface GitHubResourceCapabilities {
|
|
1459
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
1445
1460
|
leaveComments?: boolean | undefined;
|
|
1446
1461
|
remediateCode?: boolean | undefined;
|
|
1447
1462
|
}
|
|
@@ -1456,6 +1471,7 @@ export interface GitLabRepositoryResource {
|
|
|
1456
1471
|
namespace: string | undefined;
|
|
1457
1472
|
}
|
|
1458
1473
|
export interface GitLabResourceCapabilities {
|
|
1474
|
+
triggerFilterGroups?: TriggerFilterGroup[] | undefined;
|
|
1459
1475
|
leaveComments?: boolean | undefined;
|
|
1460
1476
|
remediateCode?: boolean | undefined;
|
|
1461
1477
|
}
|
|
@@ -2250,17 +2266,3 @@ export interface UpdateCodeReviewOutput {
|
|
|
2250
2266
|
reportDestination?: ReportDestination | undefined;
|
|
2251
2267
|
reportFilters?: ReportFilters | undefined;
|
|
2252
2268
|
}
|
|
2253
|
-
export interface UpdateFindingInput {
|
|
2254
|
-
findingId: string | undefined;
|
|
2255
|
-
agentSpaceId: string | undefined;
|
|
2256
|
-
name?: string | undefined;
|
|
2257
|
-
description?: string | undefined;
|
|
2258
|
-
riskType?: string | undefined;
|
|
2259
|
-
riskLevel?: RiskLevel | undefined;
|
|
2260
|
-
riskScore?: string | undefined;
|
|
2261
|
-
attackScript?: string | undefined;
|
|
2262
|
-
reasoning?: string | undefined;
|
|
2263
|
-
status?: FindingStatus | undefined;
|
|
2264
|
-
customerNote?: string | undefined;
|
|
2265
|
-
}
|
|
2266
|
-
export interface UpdateFindingOutput {}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CodeRemediationStrategy,
|
|
3
|
+
FindingStatus,
|
|
4
|
+
RiskLevel,
|
|
3
5
|
RiskType,
|
|
4
6
|
SkillType,
|
|
5
7
|
StrideCategory,
|
|
@@ -21,6 +23,20 @@ import {
|
|
|
21
23
|
ThreatEvidenceShape,
|
|
22
24
|
VpcConfig,
|
|
23
25
|
} from "./models_0";
|
|
26
|
+
export interface UpdateFindingInput {
|
|
27
|
+
findingId: string | undefined;
|
|
28
|
+
agentSpaceId: string | undefined;
|
|
29
|
+
name?: string | undefined;
|
|
30
|
+
description?: string | undefined;
|
|
31
|
+
riskType?: string | undefined;
|
|
32
|
+
riskLevel?: RiskLevel | undefined;
|
|
33
|
+
riskScore?: string | undefined;
|
|
34
|
+
attackScript?: string | undefined;
|
|
35
|
+
reasoning?: string | undefined;
|
|
36
|
+
status?: FindingStatus | undefined;
|
|
37
|
+
customerNote?: string | undefined;
|
|
38
|
+
}
|
|
39
|
+
export interface UpdateFindingOutput {}
|
|
24
40
|
export interface UpdateIntegratedResourcesInput {
|
|
25
41
|
agentSpaceId: string | undefined;
|
|
26
42
|
integrationId: string | undefined;
|
|
@@ -276,6 +276,8 @@ export declare var ThreatModelJobTask$: StaticStructureSchema;
|
|
|
276
276
|
export declare var ThreatModelJobTaskSummary$: StaticStructureSchema;
|
|
277
277
|
export declare var ThreatModelSummary$: StaticStructureSchema;
|
|
278
278
|
export declare var ThreatSummary$: StaticStructureSchema;
|
|
279
|
+
export declare var TriggerFilter$: StaticStructureSchema;
|
|
280
|
+
export declare var TriggerFilterGroup$: StaticStructureSchema;
|
|
279
281
|
export declare var TrustedCaCertificate$: StaticStructureSchema;
|
|
280
282
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
281
283
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityagent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1146.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",
|