nautobot-app-data-validation-engine
nautobot-app-data-validation-engine copied to clipboard
Create the ability to validate Tags via DataComplianceRule
Environment
- Nautobot version: >2.2
- nautobot-data-validation-engine version: >3.1
Proposed Functionality
I want to be able to create a DataComplianceRule that can enforce the presence of Tags on an object. Right now, if the tag is missing the rule can raise an alert and fail. If the tag is present, the rule can see that and not raise and error. If the tag is missing, and you're trying to add it, via the webUI, the Tag won't yet have been applied yet when the rule is run against the object and thus it fails even though you're trying to fix the issue.
Use Case
My example use cases include:
- Have locations of type site to have a tag from a list that identifies site ownership
- Attached a tag to an interface that identifies a level of criticality that can be passed to a downstream network monitoring system.