Skip to content

How to append rules, customTags? #427

Description

@CarlSjoeholmMyob

"cfnLint.appendRules": [ { "customTags": ["xxxx:system", "xxxx:data-classification"], "rules": { "xxxx:system": { "type": "string", "pattern": "^[a-zA-Z0-9-:]+$", "maxLength": 50 }, "xxxx:data-classification": { "type": "string", "enum": ["public", "restricted", "general"] } }, } ]

This setting still alerts the linter of tagging errors:
image

How do I extend the rules to accept the format of the tags?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions