Skip to contents

Returns what an agent should read before acting: the intervention mode, the pinned ruleset (with sources and policy_digest), the rules in force, the merged vocabulary, and the custom predicate versions the rules rely on.

Usage

bg_rules(project)

Arguments

project

A bg_handle with an investigation.

Value

A named list with mode, ruleset, rules, vocabulary, and predicates. ruleset, vocabulary, and predicates are NULL when not in use.