Ansible-rulebook

Latest version: v1.1.2

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

Scan your dependencies

Page 2 of 5

1.0.1

Added
- Add source plugins best practices to the documentation

Fixed
- Minor documentation fixes
- Fix an issue where rule_run_at field is not send to the websocket
- Don't try to connect with AWX when no run_job_template action is used
- Limits the number of simultaneously open connections to controller to 30
- Fixes a wrong 401 response from AWX when 443 port is present in CONTROLLER_URL (<https://github.com/ansible/ansible-rulebook/issues/554>)


Removed
- Remove official support for Python 3.8

1.0.0

Added
- Sending heartbeat to the server with the session stats
- Added command line option --execution-strategy
- Rulesets in rulebook can have execution_strategy attribute

Fixed
- In a collection look for playbook in playbooks directory
- Support .yaml and .yml extension for playbooks
- Retract fact for partial and complete matches
- Checking of controller url and token at startup
- rule_uuid and ruleset_uuid provided even when an action fails
- Drools intermittently misses firing of rules
- Resend events lost during websocket disconnect

Removed

0.13.0

Added
- Support for default_events_ttl at ruleset level and globally
- Added --websocket-ssl-verify

Fixed
- Support singular event_source and event_filter in collections
- Find job template by name

0.12.0

Added
- Support all file formats for static inventories as ansible does.
- Support for controller url via env var EDA_CONTROLLER_URL
- Support for controller token via env var EDA_CONTROLLER_TOKEN
- Support for controller token ssl verify via env var EDA_CONTROLLER_SSL_VERIFY
- Support for bulitin filter eda.builtin.insert_meta_info added to every source

Fixed
- actions in different rules to run in parallel
- actions within a single rule to execute sequentially
- comparing 2 different attributes in the same event
- select with search option on delayed evaluation

0.11.0

Added

- Scheduled workflow and split long-run tests
- Ansible_eda top key in variables
- Temporal use cases and handle async responses from Drools
- Time constraints in rules schema
- group_by_attributes
- Support multiple actions for a rule
- Support for search/match/regex
- Support for graceful shutdown, timeout to allow actions to complete
- Removed the echo command in favor of debug with msg
- Support for null type in conditions
- Support Jinja2 substitution in rule names
- Support booleans in lists, which can contain mixed data types
- Support for identifiers in select and selectattr

Fixed

- get_java_version, add compatibility with macs and tests for check_jvm
- selectattr operator with negation using greater/less than operators
- select operator and comparing ints and floats
- Preserve native types when doing jinja substitution
- Inventory argument to the CLI is optional
- select works with null
- a race condition between threads in drools rule engine

Removed

- Redis and durability
- envvar for rules_engine

0.10.1

Added

- Support for vars namespace
- Support for negation
- Support for Floats
- Log format and set the log stream for debug/verbose
- A builtin action : echo
- Cmdline option --print_events
- New action: run_job_template
- Support for in and contains in condition
- Add more info to --version flag
- Add EDA prefix to environment variables
- Enable drools for python 3.11
- Combine hosts when running a module
- Combine the same playbook on multiple hosts

Fixed

- Schema validation for empty additionalProperties
- Drools dependency for python3.11
- Remove the temporary directory

Changed

- Configure controller API access
- Switch the default rules engine back to drools
- Print help if run without arguments

Removed

- Removed durable rules
- Remove call_action
- Removes get_facts

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.