this PR - adds a helper function to amend `.codexpolicy` files with new prefix rules - adds a utility to `Policy` allowing prefix rules to be added to existing `Policy` structs both additions will be helpful as we thread codexpolicy into the TUI workflow
20 lines
469 B
Rust
20 lines
469 B
Rust
pub mod amend;
|
|
pub mod decision;
|
|
pub mod error;
|
|
pub mod execpolicycheck;
|
|
pub mod parser;
|
|
pub mod policy;
|
|
pub mod rule;
|
|
|
|
pub use amend::AmendError;
|
|
pub use amend::blocking_append_allow_prefix_rule;
|
|
pub use decision::Decision;
|
|
pub use error::Error;
|
|
pub use error::Result;
|
|
pub use execpolicycheck::ExecPolicyCheckCommand;
|
|
pub use parser::PolicyParser;
|
|
pub use policy::Evaluation;
|
|
pub use policy::Policy;
|
|
pub use rule::Rule;
|
|
pub use rule::RuleMatch;
|
|
pub use rule::RuleRef;
|