pub struct PolicyLinter {}Expand description
Policy linting engine.
Performs static analysis of policy sets to detect misconfigurations, shadowed rules, and security anti-patterns.
Implementations§
Source§impl PolicyLinter
impl PolicyLinter
Sourcepub fn lint(&self, policies: &[Policy]) -> LintReport
pub fn lint(&self, policies: &[Policy]) -> LintReport
Lint a set of policies and return a report.
Sourcepub fn lint_single(&self, policy: &Policy) -> Vec<LintFinding>
pub fn lint_single(&self, policy: &Policy) -> Vec<LintFinding>
Lint a single policy (subset of rules that apply to one policy).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PolicyLinter
impl RefUnwindSafe for PolicyLinter
impl Send for PolicyLinter
impl Sync for PolicyLinter
impl Unpin for PolicyLinter
impl UnsafeUnpin for PolicyLinter
impl UnwindSafe for PolicyLinter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more