Skip to content

1.0.2: Tag expiry date

Compare
Choose a tag to compare
@wagner-intevation wagner-intevation released this 24 Jul 14:03
· 26 commits to master since this release
1.0.2
fba281e

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 list
  • Annotation: fix repr output syntax
  • New Annotation.expired property
  • Annotation.matches also checks the expiry
  • Context.all_annotations and Organisation.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