Prometheus-alert-model

Latest version: v1.0.0

Safety actively analyzes 641221 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.0

Added

- Automatic creation of specific labels and annotations by using Pydantic
validator during creation of `AlertGroup`.
- Method `update_specific` that updates specific labels and annotations in case
something is changed in the alert.
- Action `remve` allows you to remove labels and annotations by name.
- Action `remove_re` allows you to remove labels and annotations that match
regex expressions. Different types of parameters are supported.
- Action `add` allows you to add missing labels and annoations. If a label or
annotation already exists it will not be overriden.
- Action `override` allows you to add and override labels and annotations.
This makes it different from `add`.
- Action `add_prefix` allows to add prefixes to annotations and labels.
- Util that intersects list of dicts by key value.
- Methods `update_common` that update common annotations and common labels.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.