@faable/deploy-sdk 2.13.1 → 2.14.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/FaableDeployApi.d.ts.map +1 -1
- package/dist/api/generated-client.d.ts +29 -3
- package/dist/api/generated-client.d.ts.map +1 -1
- package/dist/api/types.d.ts +101 -12
- package/dist/api/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/spec/openapi.json +516 -18
package/spec/openapi.json
CHANGED
|
@@ -183,6 +183,28 @@
|
|
|
183
183
|
"type": "string"
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
|
+
"product_intent": {
|
|
187
|
+
"anyOf": [
|
|
188
|
+
{
|
|
189
|
+
"type": "string",
|
|
190
|
+
"enum": [
|
|
191
|
+
"deploy"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "string",
|
|
196
|
+
"enum": [
|
|
197
|
+
"auth"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"type": "string",
|
|
202
|
+
"enum": [
|
|
203
|
+
"undecided"
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
186
208
|
"owner_suspended": {
|
|
187
209
|
"type": "boolean"
|
|
188
210
|
},
|
|
@@ -296,6 +318,28 @@
|
|
|
296
318
|
"items": {
|
|
297
319
|
"type": "string"
|
|
298
320
|
}
|
|
321
|
+
},
|
|
322
|
+
"product_intent": {
|
|
323
|
+
"anyOf": [
|
|
324
|
+
{
|
|
325
|
+
"type": "string",
|
|
326
|
+
"enum": [
|
|
327
|
+
"deploy"
|
|
328
|
+
]
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"type": "string",
|
|
332
|
+
"enum": [
|
|
333
|
+
"auth"
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "string",
|
|
338
|
+
"enum": [
|
|
339
|
+
"undecided"
|
|
340
|
+
]
|
|
341
|
+
}
|
|
342
|
+
]
|
|
299
343
|
}
|
|
300
344
|
},
|
|
301
345
|
"additionalProperties": false
|
|
@@ -1204,6 +1248,7 @@
|
|
|
1204
1248
|
"required": [
|
|
1205
1249
|
"name",
|
|
1206
1250
|
"action",
|
|
1251
|
+
"match",
|
|
1207
1252
|
"rule_count"
|
|
1208
1253
|
],
|
|
1209
1254
|
"properties": {
|
|
@@ -1213,6 +1258,9 @@
|
|
|
1213
1258
|
"action": {
|
|
1214
1259
|
"type": "string"
|
|
1215
1260
|
},
|
|
1261
|
+
"match": {
|
|
1262
|
+
"type": "string"
|
|
1263
|
+
},
|
|
1216
1264
|
"rule_count": {
|
|
1217
1265
|
"type": "integer"
|
|
1218
1266
|
},
|
|
@@ -1227,6 +1275,12 @@
|
|
|
1227
1275
|
"pattern": {
|
|
1228
1276
|
"type": "string"
|
|
1229
1277
|
},
|
|
1278
|
+
"user_agent": {
|
|
1279
|
+
"type": "string"
|
|
1280
|
+
},
|
|
1281
|
+
"query": {
|
|
1282
|
+
"type": "string"
|
|
1283
|
+
},
|
|
1230
1284
|
"description": {
|
|
1231
1285
|
"type": "string"
|
|
1232
1286
|
}
|
|
@@ -1241,16 +1295,25 @@
|
|
|
1241
1295
|
"items": {
|
|
1242
1296
|
"type": "object",
|
|
1243
1297
|
"required": [
|
|
1244
|
-
"
|
|
1245
|
-
"
|
|
1298
|
+
"action",
|
|
1299
|
+
"match"
|
|
1246
1300
|
],
|
|
1247
1301
|
"properties": {
|
|
1248
1302
|
"pattern": {
|
|
1249
1303
|
"type": "string"
|
|
1250
1304
|
},
|
|
1305
|
+
"user_agent": {
|
|
1306
|
+
"type": "string"
|
|
1307
|
+
},
|
|
1308
|
+
"query": {
|
|
1309
|
+
"type": "string"
|
|
1310
|
+
},
|
|
1251
1311
|
"action": {
|
|
1252
1312
|
"type": "string"
|
|
1253
1313
|
},
|
|
1314
|
+
"match": {
|
|
1315
|
+
"type": "string"
|
|
1316
|
+
},
|
|
1254
1317
|
"description": {
|
|
1255
1318
|
"type": "string"
|
|
1256
1319
|
}
|
|
@@ -1740,7 +1803,8 @@
|
|
|
1740
1803
|
"dns_checked_at",
|
|
1741
1804
|
"dns_expected",
|
|
1742
1805
|
"dns_observed",
|
|
1743
|
-
"dns_message"
|
|
1806
|
+
"dns_message",
|
|
1807
|
+
"dns_warning"
|
|
1744
1808
|
],
|
|
1745
1809
|
"properties": {
|
|
1746
1810
|
"dns_state": {
|
|
@@ -1780,6 +1844,12 @@
|
|
|
1780
1844
|
"description": "Human-readable diagnostic of the DNS check",
|
|
1781
1845
|
"nullable": true,
|
|
1782
1846
|
"default": null
|
|
1847
|
+
},
|
|
1848
|
+
"dns_warning": {
|
|
1849
|
+
"type": "string",
|
|
1850
|
+
"description": "Advisory for a verified domain whose DNS is functional but not the record we publish",
|
|
1851
|
+
"nullable": true,
|
|
1852
|
+
"default": null
|
|
1783
1853
|
}
|
|
1784
1854
|
},
|
|
1785
1855
|
"additionalProperties": false
|
|
@@ -2075,6 +2145,24 @@
|
|
|
2075
2145
|
"enum": [
|
|
2076
2146
|
"user_agent"
|
|
2077
2147
|
]
|
|
2148
|
+
},
|
|
2149
|
+
{
|
|
2150
|
+
"type": "string",
|
|
2151
|
+
"enum": [
|
|
2152
|
+
"path_user_agent"
|
|
2153
|
+
]
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"type": "string",
|
|
2157
|
+
"enum": [
|
|
2158
|
+
"query"
|
|
2159
|
+
]
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
"type": "string",
|
|
2163
|
+
"enum": [
|
|
2164
|
+
"path_query"
|
|
2165
|
+
]
|
|
2078
2166
|
}
|
|
2079
2167
|
]
|
|
2080
2168
|
},
|
|
@@ -2148,7 +2236,15 @@
|
|
|
2148
2236
|
"properties": {
|
|
2149
2237
|
"pattern": {
|
|
2150
2238
|
"type": "string",
|
|
2151
|
-
"description": "RE2
|
|
2239
|
+
"description": "RE2 fragment; see the profile `match`"
|
|
2240
|
+
},
|
|
2241
|
+
"user_agent": {
|
|
2242
|
+
"type": "string",
|
|
2243
|
+
"description": "RE2 fragment matched against User-Agent. Only in `path_user_agent` profiles, where BOTH must match."
|
|
2244
|
+
},
|
|
2245
|
+
"query": {
|
|
2246
|
+
"type": "string",
|
|
2247
|
+
"description": "LITERAL query parameter name (never a regex). Only in `path_query` profiles, where BOTH must match."
|
|
2152
2248
|
},
|
|
2153
2249
|
"description": {
|
|
2154
2250
|
"type": "string",
|
|
@@ -2359,6 +2455,24 @@
|
|
|
2359
2455
|
"enum": [
|
|
2360
2456
|
"user_agent"
|
|
2361
2457
|
]
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"type": "string",
|
|
2461
|
+
"enum": [
|
|
2462
|
+
"path_user_agent"
|
|
2463
|
+
]
|
|
2464
|
+
},
|
|
2465
|
+
{
|
|
2466
|
+
"type": "string",
|
|
2467
|
+
"enum": [
|
|
2468
|
+
"query"
|
|
2469
|
+
]
|
|
2470
|
+
},
|
|
2471
|
+
{
|
|
2472
|
+
"type": "string",
|
|
2473
|
+
"enum": [
|
|
2474
|
+
"path_query"
|
|
2475
|
+
]
|
|
2362
2476
|
}
|
|
2363
2477
|
]
|
|
2364
2478
|
},
|
|
@@ -2400,7 +2514,15 @@
|
|
|
2400
2514
|
"properties": {
|
|
2401
2515
|
"pattern": {
|
|
2402
2516
|
"type": "string",
|
|
2403
|
-
"description": "RE2
|
|
2517
|
+
"description": "RE2 fragment; see the profile `match`"
|
|
2518
|
+
},
|
|
2519
|
+
"user_agent": {
|
|
2520
|
+
"type": "string",
|
|
2521
|
+
"description": "RE2 fragment matched against User-Agent. Only in `path_user_agent` profiles, where BOTH must match."
|
|
2522
|
+
},
|
|
2523
|
+
"query": {
|
|
2524
|
+
"type": "string",
|
|
2525
|
+
"description": "LITERAL query parameter name (never a regex). Only in `path_query` profiles, where BOTH must match."
|
|
2404
2526
|
},
|
|
2405
2527
|
"description": {
|
|
2406
2528
|
"type": "string",
|
|
@@ -2470,6 +2592,24 @@
|
|
|
2470
2592
|
"enum": [
|
|
2471
2593
|
"user_agent"
|
|
2472
2594
|
]
|
|
2595
|
+
},
|
|
2596
|
+
{
|
|
2597
|
+
"type": "string",
|
|
2598
|
+
"enum": [
|
|
2599
|
+
"path_user_agent"
|
|
2600
|
+
]
|
|
2601
|
+
},
|
|
2602
|
+
{
|
|
2603
|
+
"type": "string",
|
|
2604
|
+
"enum": [
|
|
2605
|
+
"query"
|
|
2606
|
+
]
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"type": "string",
|
|
2610
|
+
"enum": [
|
|
2611
|
+
"path_query"
|
|
2612
|
+
]
|
|
2473
2613
|
}
|
|
2474
2614
|
]
|
|
2475
2615
|
},
|
|
@@ -2511,7 +2651,15 @@
|
|
|
2511
2651
|
"properties": {
|
|
2512
2652
|
"pattern": {
|
|
2513
2653
|
"type": "string",
|
|
2514
|
-
"description": "RE2
|
|
2654
|
+
"description": "RE2 fragment; see the profile `match`"
|
|
2655
|
+
},
|
|
2656
|
+
"user_agent": {
|
|
2657
|
+
"type": "string",
|
|
2658
|
+
"description": "RE2 fragment matched against User-Agent. Only in `path_user_agent` profiles, where BOTH must match."
|
|
2659
|
+
},
|
|
2660
|
+
"query": {
|
|
2661
|
+
"type": "string",
|
|
2662
|
+
"description": "LITERAL query parameter name (never a regex). Only in `path_query` profiles, where BOTH must match."
|
|
2515
2663
|
},
|
|
2516
2664
|
"description": {
|
|
2517
2665
|
"type": "string",
|
|
@@ -3332,11 +3480,13 @@
|
|
|
3332
3480
|
"id",
|
|
3333
3481
|
"team",
|
|
3334
3482
|
"kind",
|
|
3483
|
+
"role",
|
|
3335
3484
|
"key",
|
|
3336
3485
|
"repository",
|
|
3337
3486
|
"current",
|
|
3338
3487
|
"min_version",
|
|
3339
3488
|
"auto_promote",
|
|
3489
|
+
"rollout",
|
|
3340
3490
|
"versions",
|
|
3341
3491
|
"metadata",
|
|
3342
3492
|
"createdAt"
|
|
@@ -3377,6 +3527,22 @@
|
|
|
3377
3527
|
}
|
|
3378
3528
|
]
|
|
3379
3529
|
},
|
|
3530
|
+
"role": {
|
|
3531
|
+
"anyOf": [
|
|
3532
|
+
{
|
|
3533
|
+
"type": "string",
|
|
3534
|
+
"enum": [
|
|
3535
|
+
"workload"
|
|
3536
|
+
]
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
"type": "string",
|
|
3540
|
+
"enum": [
|
|
3541
|
+
"cluster"
|
|
3542
|
+
]
|
|
3543
|
+
}
|
|
3544
|
+
]
|
|
3545
|
+
},
|
|
3380
3546
|
"key": {
|
|
3381
3547
|
"type": "string",
|
|
3382
3548
|
"description": "Canonical key: node:22, python:3.11, static, fetcher, buildkit"
|
|
@@ -3397,6 +3563,123 @@
|
|
|
3397
3563
|
"type": "boolean",
|
|
3398
3564
|
"description": "A CI registration of a newer release moves current"
|
|
3399
3565
|
},
|
|
3566
|
+
"rollout": {
|
|
3567
|
+
"type": "object",
|
|
3568
|
+
"required": [
|
|
3569
|
+
"mode",
|
|
3570
|
+
"target",
|
|
3571
|
+
"previous",
|
|
3572
|
+
"state",
|
|
3573
|
+
"failures",
|
|
3574
|
+
"halted_reason",
|
|
3575
|
+
"failed_version",
|
|
3576
|
+
"gate"
|
|
3577
|
+
],
|
|
3578
|
+
"properties": {
|
|
3579
|
+
"mode": {
|
|
3580
|
+
"anyOf": [
|
|
3581
|
+
{
|
|
3582
|
+
"type": "string",
|
|
3583
|
+
"enum": [
|
|
3584
|
+
"manual"
|
|
3585
|
+
]
|
|
3586
|
+
},
|
|
3587
|
+
{
|
|
3588
|
+
"type": "string",
|
|
3589
|
+
"enum": [
|
|
3590
|
+
"auto"
|
|
3591
|
+
]
|
|
3592
|
+
}
|
|
3593
|
+
]
|
|
3594
|
+
},
|
|
3595
|
+
"target": {
|
|
3596
|
+
"type": "string",
|
|
3597
|
+
"nullable": true,
|
|
3598
|
+
"default": null
|
|
3599
|
+
},
|
|
3600
|
+
"previous": {
|
|
3601
|
+
"type": "string",
|
|
3602
|
+
"nullable": true,
|
|
3603
|
+
"default": null
|
|
3604
|
+
},
|
|
3605
|
+
"state": {
|
|
3606
|
+
"anyOf": [
|
|
3607
|
+
{
|
|
3608
|
+
"type": "string",
|
|
3609
|
+
"enum": [
|
|
3610
|
+
"idle"
|
|
3611
|
+
]
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
"type": "string",
|
|
3615
|
+
"enum": [
|
|
3616
|
+
"running"
|
|
3617
|
+
]
|
|
3618
|
+
},
|
|
3619
|
+
{
|
|
3620
|
+
"type": "string",
|
|
3621
|
+
"enum": [
|
|
3622
|
+
"reverting"
|
|
3623
|
+
]
|
|
3624
|
+
},
|
|
3625
|
+
{
|
|
3626
|
+
"type": "string",
|
|
3627
|
+
"enum": [
|
|
3628
|
+
"halted"
|
|
3629
|
+
]
|
|
3630
|
+
},
|
|
3631
|
+
{
|
|
3632
|
+
"type": "string",
|
|
3633
|
+
"enum": [
|
|
3634
|
+
"done"
|
|
3635
|
+
]
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
"type": "string",
|
|
3639
|
+
"enum": [
|
|
3640
|
+
"stalled"
|
|
3641
|
+
]
|
|
3642
|
+
}
|
|
3643
|
+
]
|
|
3644
|
+
},
|
|
3645
|
+
"started_at": {
|
|
3646
|
+
"type": "string",
|
|
3647
|
+
"format": "date-time",
|
|
3648
|
+
"nullable": true,
|
|
3649
|
+
"default": null
|
|
3650
|
+
},
|
|
3651
|
+
"updated_at": {
|
|
3652
|
+
"type": "string",
|
|
3653
|
+
"format": "date-time",
|
|
3654
|
+
"nullable": true,
|
|
3655
|
+
"default": null
|
|
3656
|
+
},
|
|
3657
|
+
"deadline_at": {
|
|
3658
|
+
"type": "string",
|
|
3659
|
+
"format": "date-time",
|
|
3660
|
+
"nullable": true,
|
|
3661
|
+
"default": null
|
|
3662
|
+
},
|
|
3663
|
+
"failures": {
|
|
3664
|
+
"type": "number"
|
|
3665
|
+
},
|
|
3666
|
+
"halted_reason": {
|
|
3667
|
+
"type": "string",
|
|
3668
|
+
"nullable": true,
|
|
3669
|
+
"default": null
|
|
3670
|
+
},
|
|
3671
|
+
"failed_version": {
|
|
3672
|
+
"type": "string",
|
|
3673
|
+
"nullable": true,
|
|
3674
|
+
"default": null
|
|
3675
|
+
},
|
|
3676
|
+
"gate": {
|
|
3677
|
+
"type": "string",
|
|
3678
|
+
"nullable": true,
|
|
3679
|
+
"default": null
|
|
3680
|
+
}
|
|
3681
|
+
}
|
|
3682
|
+
},
|
|
3400
3683
|
"versions": {
|
|
3401
3684
|
"type": "array",
|
|
3402
3685
|
"items": {
|
|
@@ -3604,6 +3887,22 @@
|
|
|
3604
3887
|
"min_version": {
|
|
3605
3888
|
"type": "string"
|
|
3606
3889
|
},
|
|
3890
|
+
"role": {
|
|
3891
|
+
"anyOf": [
|
|
3892
|
+
{
|
|
3893
|
+
"type": "string",
|
|
3894
|
+
"enum": [
|
|
3895
|
+
"workload"
|
|
3896
|
+
]
|
|
3897
|
+
},
|
|
3898
|
+
{
|
|
3899
|
+
"type": "string",
|
|
3900
|
+
"enum": [
|
|
3901
|
+
"cluster"
|
|
3902
|
+
]
|
|
3903
|
+
}
|
|
3904
|
+
]
|
|
3905
|
+
},
|
|
3607
3906
|
"auto_promote": {
|
|
3608
3907
|
"type": "boolean"
|
|
3609
3908
|
},
|
|
@@ -4086,6 +4385,28 @@
|
|
|
4086
4385
|
"items": {
|
|
4087
4386
|
"type": "string"
|
|
4088
4387
|
}
|
|
4388
|
+
},
|
|
4389
|
+
"product_intent": {
|
|
4390
|
+
"anyOf": [
|
|
4391
|
+
{
|
|
4392
|
+
"type": "string",
|
|
4393
|
+
"enum": [
|
|
4394
|
+
"deploy"
|
|
4395
|
+
]
|
|
4396
|
+
},
|
|
4397
|
+
{
|
|
4398
|
+
"type": "string",
|
|
4399
|
+
"enum": [
|
|
4400
|
+
"auth"
|
|
4401
|
+
]
|
|
4402
|
+
},
|
|
4403
|
+
{
|
|
4404
|
+
"type": "string",
|
|
4405
|
+
"enum": [
|
|
4406
|
+
"undecided"
|
|
4407
|
+
]
|
|
4408
|
+
}
|
|
4409
|
+
]
|
|
4089
4410
|
}
|
|
4090
4411
|
},
|
|
4091
4412
|
"additionalProperties": false
|
|
@@ -4155,6 +4476,28 @@
|
|
|
4155
4476
|
"type": "string"
|
|
4156
4477
|
}
|
|
4157
4478
|
},
|
|
4479
|
+
"product_intent": {
|
|
4480
|
+
"anyOf": [
|
|
4481
|
+
{
|
|
4482
|
+
"type": "string",
|
|
4483
|
+
"enum": [
|
|
4484
|
+
"deploy"
|
|
4485
|
+
]
|
|
4486
|
+
},
|
|
4487
|
+
{
|
|
4488
|
+
"type": "string",
|
|
4489
|
+
"enum": [
|
|
4490
|
+
"auth"
|
|
4491
|
+
]
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
"type": "string",
|
|
4495
|
+
"enum": [
|
|
4496
|
+
"undecided"
|
|
4497
|
+
]
|
|
4498
|
+
}
|
|
4499
|
+
]
|
|
4500
|
+
},
|
|
4158
4501
|
"owner_suspended": {
|
|
4159
4502
|
"type": "boolean"
|
|
4160
4503
|
},
|
|
@@ -4259,6 +4602,28 @@
|
|
|
4259
4602
|
"type": "string"
|
|
4260
4603
|
}
|
|
4261
4604
|
},
|
|
4605
|
+
"product_intent": {
|
|
4606
|
+
"anyOf": [
|
|
4607
|
+
{
|
|
4608
|
+
"type": "string",
|
|
4609
|
+
"enum": [
|
|
4610
|
+
"deploy"
|
|
4611
|
+
]
|
|
4612
|
+
},
|
|
4613
|
+
{
|
|
4614
|
+
"type": "string",
|
|
4615
|
+
"enum": [
|
|
4616
|
+
"auth"
|
|
4617
|
+
]
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
"type": "string",
|
|
4621
|
+
"enum": [
|
|
4622
|
+
"undecided"
|
|
4623
|
+
]
|
|
4624
|
+
}
|
|
4625
|
+
]
|
|
4626
|
+
},
|
|
4262
4627
|
"owner_suspended": {
|
|
4263
4628
|
"type": "boolean"
|
|
4264
4629
|
},
|
|
@@ -4383,6 +4748,28 @@
|
|
|
4383
4748
|
"type": "string"
|
|
4384
4749
|
}
|
|
4385
4750
|
},
|
|
4751
|
+
"product_intent": {
|
|
4752
|
+
"anyOf": [
|
|
4753
|
+
{
|
|
4754
|
+
"type": "string",
|
|
4755
|
+
"enum": [
|
|
4756
|
+
"deploy"
|
|
4757
|
+
]
|
|
4758
|
+
},
|
|
4759
|
+
{
|
|
4760
|
+
"type": "string",
|
|
4761
|
+
"enum": [
|
|
4762
|
+
"auth"
|
|
4763
|
+
]
|
|
4764
|
+
},
|
|
4765
|
+
{
|
|
4766
|
+
"type": "string",
|
|
4767
|
+
"enum": [
|
|
4768
|
+
"undecided"
|
|
4769
|
+
]
|
|
4770
|
+
}
|
|
4771
|
+
]
|
|
4772
|
+
},
|
|
4386
4773
|
"owner_suspended": {
|
|
4387
4774
|
"type": "boolean"
|
|
4388
4775
|
},
|
|
@@ -4485,6 +4872,28 @@
|
|
|
4485
4872
|
"type": "string"
|
|
4486
4873
|
}
|
|
4487
4874
|
},
|
|
4875
|
+
"product_intent": {
|
|
4876
|
+
"anyOf": [
|
|
4877
|
+
{
|
|
4878
|
+
"type": "string",
|
|
4879
|
+
"enum": [
|
|
4880
|
+
"deploy"
|
|
4881
|
+
]
|
|
4882
|
+
},
|
|
4883
|
+
{
|
|
4884
|
+
"type": "string",
|
|
4885
|
+
"enum": [
|
|
4886
|
+
"auth"
|
|
4887
|
+
]
|
|
4888
|
+
},
|
|
4889
|
+
{
|
|
4890
|
+
"type": "string",
|
|
4891
|
+
"enum": [
|
|
4892
|
+
"undecided"
|
|
4893
|
+
]
|
|
4894
|
+
}
|
|
4895
|
+
]
|
|
4896
|
+
},
|
|
4488
4897
|
"owner_suspended": {
|
|
4489
4898
|
"type": "boolean"
|
|
4490
4899
|
},
|
|
@@ -7532,6 +7941,7 @@
|
|
|
7532
7941
|
"required": [
|
|
7533
7942
|
"name",
|
|
7534
7943
|
"action",
|
|
7944
|
+
"match",
|
|
7535
7945
|
"rule_count"
|
|
7536
7946
|
],
|
|
7537
7947
|
"properties": {
|
|
@@ -7541,6 +7951,9 @@
|
|
|
7541
7951
|
"action": {
|
|
7542
7952
|
"type": "string"
|
|
7543
7953
|
},
|
|
7954
|
+
"match": {
|
|
7955
|
+
"type": "string"
|
|
7956
|
+
},
|
|
7544
7957
|
"rule_count": {
|
|
7545
7958
|
"type": "integer"
|
|
7546
7959
|
},
|
|
@@ -7555,6 +7968,12 @@
|
|
|
7555
7968
|
"pattern": {
|
|
7556
7969
|
"type": "string"
|
|
7557
7970
|
},
|
|
7971
|
+
"user_agent": {
|
|
7972
|
+
"type": "string"
|
|
7973
|
+
},
|
|
7974
|
+
"query": {
|
|
7975
|
+
"type": "string"
|
|
7976
|
+
},
|
|
7558
7977
|
"description": {
|
|
7559
7978
|
"type": "string"
|
|
7560
7979
|
}
|
|
@@ -7569,16 +7988,25 @@
|
|
|
7569
7988
|
"items": {
|
|
7570
7989
|
"type": "object",
|
|
7571
7990
|
"required": [
|
|
7572
|
-
"
|
|
7573
|
-
"
|
|
7991
|
+
"action",
|
|
7992
|
+
"match"
|
|
7574
7993
|
],
|
|
7575
7994
|
"properties": {
|
|
7576
7995
|
"pattern": {
|
|
7577
7996
|
"type": "string"
|
|
7578
7997
|
},
|
|
7998
|
+
"user_agent": {
|
|
7999
|
+
"type": "string"
|
|
8000
|
+
},
|
|
8001
|
+
"query": {
|
|
8002
|
+
"type": "string"
|
|
8003
|
+
},
|
|
7579
8004
|
"action": {
|
|
7580
8005
|
"type": "string"
|
|
7581
8006
|
},
|
|
8007
|
+
"match": {
|
|
8008
|
+
"type": "string"
|
|
8009
|
+
},
|
|
7582
8010
|
"description": {
|
|
7583
8011
|
"type": "string"
|
|
7584
8012
|
}
|
|
@@ -7608,7 +8036,6 @@
|
|
|
7608
8036
|
"schema": {
|
|
7609
8037
|
"type": "object",
|
|
7610
8038
|
"required": [
|
|
7611
|
-
"pattern",
|
|
7612
8039
|
"action"
|
|
7613
8040
|
],
|
|
7614
8041
|
"properties": {
|
|
@@ -7616,6 +8043,14 @@
|
|
|
7616
8043
|
"type": "string",
|
|
7617
8044
|
"description": "RE2 path-regex fragment, e.g. ^/robots\\.txt$"
|
|
7618
8045
|
},
|
|
8046
|
+
"user_agent": {
|
|
8047
|
+
"type": "string",
|
|
8048
|
+
"description": "RE2 fragment matched against User-Agent. With `pattern`, BOTH must match."
|
|
8049
|
+
},
|
|
8050
|
+
"query": {
|
|
8051
|
+
"type": "string",
|
|
8052
|
+
"description": "LITERAL query parameter name, e.g. rest_route (never a regex). With `pattern`, BOTH must match."
|
|
8053
|
+
},
|
|
7619
8054
|
"action": {
|
|
7620
8055
|
"anyOf": [
|
|
7621
8056
|
{
|
|
@@ -7636,8 +8071,13 @@
|
|
|
7636
8071
|
"description": {
|
|
7637
8072
|
"type": "string",
|
|
7638
8073
|
"maxLength": 500
|
|
8074
|
+
},
|
|
8075
|
+
"force": {
|
|
8076
|
+
"type": "boolean",
|
|
8077
|
+
"description": "Accept a user-agent pattern that also matches a known search/AI crawler or uptime monitor, or a query parameter that carries an auth flow"
|
|
7639
8078
|
}
|
|
7640
|
-
}
|
|
8079
|
+
},
|
|
8080
|
+
"additionalProperties": false
|
|
7641
8081
|
}
|
|
7642
8082
|
}
|
|
7643
8083
|
}
|
|
@@ -7695,6 +8135,7 @@
|
|
|
7695
8135
|
"required": [
|
|
7696
8136
|
"name",
|
|
7697
8137
|
"action",
|
|
8138
|
+
"match",
|
|
7698
8139
|
"rule_count"
|
|
7699
8140
|
],
|
|
7700
8141
|
"properties": {
|
|
@@ -7704,6 +8145,9 @@
|
|
|
7704
8145
|
"action": {
|
|
7705
8146
|
"type": "string"
|
|
7706
8147
|
},
|
|
8148
|
+
"match": {
|
|
8149
|
+
"type": "string"
|
|
8150
|
+
},
|
|
7707
8151
|
"rule_count": {
|
|
7708
8152
|
"type": "integer"
|
|
7709
8153
|
},
|
|
@@ -7718,6 +8162,12 @@
|
|
|
7718
8162
|
"pattern": {
|
|
7719
8163
|
"type": "string"
|
|
7720
8164
|
},
|
|
8165
|
+
"user_agent": {
|
|
8166
|
+
"type": "string"
|
|
8167
|
+
},
|
|
8168
|
+
"query": {
|
|
8169
|
+
"type": "string"
|
|
8170
|
+
},
|
|
7721
8171
|
"description": {
|
|
7722
8172
|
"type": "string"
|
|
7723
8173
|
}
|
|
@@ -7732,16 +8182,25 @@
|
|
|
7732
8182
|
"items": {
|
|
7733
8183
|
"type": "object",
|
|
7734
8184
|
"required": [
|
|
7735
|
-
"
|
|
7736
|
-
"
|
|
8185
|
+
"action",
|
|
8186
|
+
"match"
|
|
7737
8187
|
],
|
|
7738
8188
|
"properties": {
|
|
7739
8189
|
"pattern": {
|
|
7740
8190
|
"type": "string"
|
|
7741
8191
|
},
|
|
8192
|
+
"user_agent": {
|
|
8193
|
+
"type": "string"
|
|
8194
|
+
},
|
|
8195
|
+
"query": {
|
|
8196
|
+
"type": "string"
|
|
8197
|
+
},
|
|
7742
8198
|
"action": {
|
|
7743
8199
|
"type": "string"
|
|
7744
8200
|
},
|
|
8201
|
+
"match": {
|
|
8202
|
+
"type": "string"
|
|
8203
|
+
},
|
|
7745
8204
|
"description": {
|
|
7746
8205
|
"type": "string"
|
|
7747
8206
|
}
|
|
@@ -7768,14 +8227,34 @@
|
|
|
7768
8227
|
"application/json": {
|
|
7769
8228
|
"schema": {
|
|
7770
8229
|
"type": "object",
|
|
7771
|
-
"required": [
|
|
7772
|
-
"pattern"
|
|
7773
|
-
],
|
|
7774
8230
|
"properties": {
|
|
7775
8231
|
"pattern": {
|
|
7776
8232
|
"type": "string"
|
|
8233
|
+
},
|
|
8234
|
+
"user_agent": {
|
|
8235
|
+
"type": "string"
|
|
8236
|
+
},
|
|
8237
|
+
"query": {
|
|
8238
|
+
"type": "string"
|
|
8239
|
+
},
|
|
8240
|
+
"action": {
|
|
8241
|
+
"anyOf": [
|
|
8242
|
+
{
|
|
8243
|
+
"type": "string",
|
|
8244
|
+
"enum": [
|
|
8245
|
+
"deny"
|
|
8246
|
+
]
|
|
8247
|
+
},
|
|
8248
|
+
{
|
|
8249
|
+
"type": "string",
|
|
8250
|
+
"enum": [
|
|
8251
|
+
"sink"
|
|
8252
|
+
]
|
|
8253
|
+
}
|
|
8254
|
+
]
|
|
7777
8255
|
}
|
|
7778
|
-
}
|
|
8256
|
+
},
|
|
8257
|
+
"additionalProperties": false
|
|
7779
8258
|
}
|
|
7780
8259
|
}
|
|
7781
8260
|
}
|
|
@@ -7833,6 +8312,7 @@
|
|
|
7833
8312
|
"required": [
|
|
7834
8313
|
"name",
|
|
7835
8314
|
"action",
|
|
8315
|
+
"match",
|
|
7836
8316
|
"rule_count"
|
|
7837
8317
|
],
|
|
7838
8318
|
"properties": {
|
|
@@ -7842,6 +8322,9 @@
|
|
|
7842
8322
|
"action": {
|
|
7843
8323
|
"type": "string"
|
|
7844
8324
|
},
|
|
8325
|
+
"match": {
|
|
8326
|
+
"type": "string"
|
|
8327
|
+
},
|
|
7845
8328
|
"rule_count": {
|
|
7846
8329
|
"type": "integer"
|
|
7847
8330
|
},
|
|
@@ -7856,6 +8339,12 @@
|
|
|
7856
8339
|
"pattern": {
|
|
7857
8340
|
"type": "string"
|
|
7858
8341
|
},
|
|
8342
|
+
"user_agent": {
|
|
8343
|
+
"type": "string"
|
|
8344
|
+
},
|
|
8345
|
+
"query": {
|
|
8346
|
+
"type": "string"
|
|
8347
|
+
},
|
|
7859
8348
|
"description": {
|
|
7860
8349
|
"type": "string"
|
|
7861
8350
|
}
|
|
@@ -7870,16 +8359,25 @@
|
|
|
7870
8359
|
"items": {
|
|
7871
8360
|
"type": "object",
|
|
7872
8361
|
"required": [
|
|
7873
|
-
"
|
|
7874
|
-
"
|
|
8362
|
+
"action",
|
|
8363
|
+
"match"
|
|
7875
8364
|
],
|
|
7876
8365
|
"properties": {
|
|
7877
8366
|
"pattern": {
|
|
7878
8367
|
"type": "string"
|
|
7879
8368
|
},
|
|
8369
|
+
"user_agent": {
|
|
8370
|
+
"type": "string"
|
|
8371
|
+
},
|
|
8372
|
+
"query": {
|
|
8373
|
+
"type": "string"
|
|
8374
|
+
},
|
|
7880
8375
|
"action": {
|
|
7881
8376
|
"type": "string"
|
|
7882
8377
|
},
|
|
8378
|
+
"match": {
|
|
8379
|
+
"type": "string"
|
|
8380
|
+
},
|
|
7883
8381
|
"description": {
|
|
7884
8382
|
"type": "string"
|
|
7885
8383
|
}
|