...
Here’s an example of a rule definition which incorporates some Tags.
Code Block |
---|
# Rule attributes package datamigrators # Rule tags (effectively user-defined, free-form attributes) @Tag("security") # This rule identifies a potential security vulnerability @Tag("portability") # This rule identifies a issues with assets' portability between environments @Tag("maintainability") # This rule identifies a potential maintainability issue @Tag("CorpDataWarehouse") # This rule is specific to the 'CorpDataWarehouse' team @Tag("fail-ci") # This rule is mandatory and so should fail continuous integration if breached # Rule attributes @AssetType("data_intg_flow") package datamigrators # Rule definition <blah blah blah> |
...
The MettleCI Workbench permits you to specify which include and exclude tags will be used when testing your Job’s Compliance interactively from within the Workbench interface.