diff --git a/scripts/rule_schema.jsonc b/scripts/rule_schema.jsonc index b3f2b88c1..7cdefb614 100644 --- a/scripts/rule_schema.jsonc +++ b/scripts/rule_schema.jsonc @@ -130,6 +130,8 @@ }, "cwe_id": { "type": "array", + "minItems": 1, + "maxItems": 1, "items": { "type": "integer" }