valid-custom-ruleset-id
Overview
This rule belongs to the custom-ruleset-syntax-validation
ruleset and states that:
The ruleset file's root object must specify an Id
property which can help uniquely identify the current ruleset. This Id
must only use alphanumeric characters or dashes.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Id provided for the custom ruleset is invalid. |
Code | CUSTOMRULESETSYNTAX_V002 |
Type | Validation |
Rule System | Syntax |
Broad Category | Ruleset |
Tags | custom ruleset syntax validation id |
Suggested Fixes
- Ensure that your Id is not null or empty.
- Ensure that your Id does not match A-Za-z0-9-.
- Remove any characters from your Id that are not alphanumeric characters or dashes.
- Spaces are not allowed.