1.0.2: Tag expiry date
wagner-intevation
released this
24 Jul 14:03
·
26 commits
to master
since this release
Add tag expiry, plus evaluation and tests
Tags have now an optional expiry date, for example {"tag": "name", expires: "2024-07-19"}
Tags expire after the given date has passed.
Only dates are supported.
Rulesupport
Context.ensure_data_consistency
: ensure matches is type listAnnotation
: fix repr output syntax- New
Annotation.expired
property Annotation.matches
also checks the expiryContext.all_annotations
andOrganisation.all_annotations
only return non-expired annotations
Example rules
- update inhibition (whitelist) example rule
- rename 'botnet drone' to infected-system
Internal and development
- rename annotations import to prevent name clash
- setup.cfg: ignore some rules and directories
- Fix tests: import names, event syntax update
- rulesupport: remove obsolete import statements
Documentation
- Mailgen documentation: link to rendered docs
Full Changelog: 1.0.1...1.0.2