...
Each Compliance rule can be augmented with additional rule metadata through the use of Attributes and Tags, each of which is described here.
Rule Tags
Each MettleCI Compliance rule can include extra metadata using a set of user-specified values which are referred to as ‘tags’. Each Compliance rule may specify zero or more ‘tags’ which are free-form text labels associated with each rule.
...
The example CI/CD build pipelines that ship with MettleCI demonstrate the use of tags to identify which rules inhibit the successful completion of CI.
Rule Attributes
Here’s an example of a rule definition which incorporates some Tags.
...
Info |
---|
If you add a |
Include and Exclude options for Compliance operations
The various MettleCI tools which use the Compliance Rule library permit the filtering of the rules which they use by ‘positive’ and 'negative' tag inclusion.
...