Expand description
Zift — static analysis for embedded authorization logic.
This crate is published as both a binary (zift) and a library.
§Stable public API
The types below form the semver-committed surface. Everything else is
internal or opt-in via --features unstable.
cli— CLI argument types (Cli,ScanArgs, …)error—ZiftErrorandResult<T>types— core data types (Finding,Language,AuthCategory, …)rules— rule loading (read-only)policy— engine-agnosticpolicy::PolicyGeneratortrait and dispatchrego— Rego/OPA policy generation;rego::validatoris the stable surfacecedar— Cedar policy generation;cedar::validatoris the stable surfacerun— binary entry point
Modules§
- cedar
- cli
- error
- policy
- Engine-agnostic policy generation. The
PolicyGeneratortrait collapses the parallel Rego/Cedar pipelines that grew out of Phase A (#27) into a single dispatch surface keyed offPolicyEngine. - rego
- rules
- types
Functions§
- run
- Entry point used by the
ziftbinary.