congress.policy_engines.base_driver module

class congress.policy_engines.base_driver.PolicyEngineDriver(*args, **kwargs)

Bases: congress.dse.deepsix.deepSix

Driver for policy engines, analogous to DataSourceDriver.

set_policy(policy)

Set the policy of this policy engine. POLICY is a datalog string.

supported_language()

Return description of the language supported by this engine.

A description is a list of permitted tables and a list of forbidden tables. Eventually we may broaden the description.