Remove stale announcements¶
The remove stale announcements package deletes announcements erroneously left behind by an earlier version of the alert-propagation package.
Configuration¶
- Alerts Custom Metadata Set Name: Name of the Custom Metadata set to be used to check if announcements need to be retained.
What it does¶
- Searches for assets that:
- Have an announcement with the text "An upstream asset has an alert that potentially impacts this asset. Check the alert badges and tags for more detail."
- Aren't tagged with the Alert:DQ tag
- Aren't tagged with the Alert:Pipeline tag
- Don't have the Upstream Pipeline Alert of the specified Alerts Custom Metadata Set that's set to 'YES'
- Don't have the Upstream DQ Alert of the specified Alerts Custom Metadata Set that's set to 'YES'
- Deletes the announcement
- Prints out a count of the announcements removed