@zuplo/lint-linux-x64 7.15.9 → 7.15.11
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/bin/schemas/zuplo-lint.schema.json +30 -10
- package/bin/version.txt +1 -1
- package/bin/zuplo-lint +2 -2
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"requiredPolicies": {
|
|
46
|
-
"description": "Policies every route must include. Replaces the defaults from zuplo:strict and zuplo:security.",
|
|
46
|
+
"description": "Policies every route must include, by name. Replaces the defaults from zuplo:strict and zuplo:security.",
|
|
47
47
|
"type": "array",
|
|
48
48
|
"items": {
|
|
49
49
|
"$ref": "#/$defs/requiredPolicy"
|
|
@@ -104,6 +104,11 @@
|
|
|
104
104
|
"then": {
|
|
105
105
|
"properties": {
|
|
106
106
|
"breakingChanges": {
|
|
107
|
+
"properties": {
|
|
108
|
+
"enabled": true,
|
|
109
|
+
"baseline": true,
|
|
110
|
+
"severity": true
|
|
111
|
+
},
|
|
107
112
|
"additionalProperties": false
|
|
108
113
|
},
|
|
109
114
|
"ignorePaths": {
|
|
@@ -115,10 +120,11 @@
|
|
|
115
120
|
"items": {
|
|
116
121
|
"properties": {
|
|
117
122
|
"id": true,
|
|
118
|
-
"
|
|
123
|
+
"policyName": true,
|
|
119
124
|
"direction": true,
|
|
120
125
|
"severity": true,
|
|
121
|
-
"message": true
|
|
126
|
+
"message": true,
|
|
127
|
+
"policyTypes": true
|
|
122
128
|
},
|
|
123
129
|
"additionalProperties": false
|
|
124
130
|
}
|
|
@@ -275,7 +281,7 @@
|
|
|
275
281
|
"type": "string"
|
|
276
282
|
},
|
|
277
283
|
"functionOptions": {
|
|
278
|
-
"description": "Options for the function. zuplo:requirePolicy takes
|
|
284
|
+
"description": "Options for the function. zuplo:requirePolicy takes policyName and direction.",
|
|
279
285
|
"type": "object"
|
|
280
286
|
}
|
|
281
287
|
},
|
|
@@ -326,18 +332,25 @@
|
|
|
326
332
|
"description": "A name for the requirement.",
|
|
327
333
|
"type": "string"
|
|
328
334
|
},
|
|
335
|
+
"policyName": {
|
|
336
|
+
"description": "The policy's name in config/policies.json. A route satisfies the requirement when its policy list for direction contains this name.",
|
|
337
|
+
"type": "string",
|
|
338
|
+
"minLength": 1
|
|
339
|
+
},
|
|
340
|
+
"direction": {
|
|
341
|
+
"description": "The route policy list to check.",
|
|
342
|
+
"enum": ["inbound", "outbound"],
|
|
343
|
+
"default": "inbound"
|
|
344
|
+
},
|
|
329
345
|
"policyTypes": {
|
|
330
|
-
"description": "
|
|
346
|
+
"description": "Deprecated: use policyName. Will be removed in an upcoming release.",
|
|
347
|
+
"deprecated": true,
|
|
331
348
|
"type": "array",
|
|
332
349
|
"items": {
|
|
333
350
|
"type": "string"
|
|
334
351
|
},
|
|
335
352
|
"minItems": 1
|
|
336
353
|
},
|
|
337
|
-
"direction": {
|
|
338
|
-
"enum": ["inbound", "outbound"],
|
|
339
|
-
"default": "inbound"
|
|
340
|
-
},
|
|
341
354
|
"severity": {
|
|
342
355
|
"enum": ["error", "warn"],
|
|
343
356
|
"default": "error"
|
|
@@ -347,7 +360,14 @@
|
|
|
347
360
|
"type": "string"
|
|
348
361
|
}
|
|
349
362
|
},
|
|
350
|
-
"
|
|
363
|
+
"oneOf": [
|
|
364
|
+
{
|
|
365
|
+
"required": ["policyName"]
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"required": ["policyTypes"]
|
|
369
|
+
}
|
|
370
|
+
]
|
|
351
371
|
}
|
|
352
372
|
}
|
|
353
373
|
}
|
package/bin/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.15.
|
|
1
|
+
7.15.11
|
package/bin/zuplo-lint
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/bin/zuplo-lint
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 61206688 bytes
|
|
4
|
+
sha256: 728c322f86bcf894d5d6a1d688f0247604165463ca213cd35fa463e526bfbc70
|
package/package.json
CHANGED