Ansible-rulebook

Latest version: v1.1.3

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

Scan your dependencies

Page 5 of 5

0.4.0

Added

- Websocket event log

Changed

- Converts actions to async functions

0.3.0

Added

- Error message for missing rules
- Collection support
- Schema for the ruleset files

0.2.0

Added

- Support for multiple sources
- Back plan
- Variable substitution to list args
- Greater than operator to conditions
- Copy files and fixes post\_events
- Support for comparing events and facts
- Booleans to condition parser
- Lists\_to\_dicts
- Event\_filters

Fixed

- Log scraper
- Multiple hosts tests

Changed

- Rules to a optional argument

0.1.2

Fixed

- Flushes standard output

0.1.1

Added

- Project structure
- Initial version of rule engine
- Tests for multiple and statements
- Support for enabled flag on rules
- Event source filters
- Fact as synonym for event in conditions
- Fact assignment in conditions
- Dpath to value access
- Check for size of dictionaries due to durable rules limitation
- Support for multiple conditions
- Support for 'is defined'
- Docopt to test requirements
- Dpath to requirements
- Rule parsing test
- Asserting facts from ansible facts
- Assert\_facts option to run\_playbook
- Pass by value in substitute\_variables
- Support substituting variables in dictionaries
- Support for matching all to inventory
- Performance tests
- Variables and facts to actions
- Support for host-specific rulesets
- Example rules
- Cli
- Requirements

Fixed

- Filters with no args
- Typing
- URL on pypi
- Types

Changed

- Fact to event in conditions
- Glob to var\_root
- Host\_ruleset to ruleset in ActionContext
- Generate\_rulesets to generate\_host\_rulesets

Page 5 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.