Skip to main content

verify_bundle

Function verify_bundle 

Source
pub fn verify_bundle(
    raw: &Value,
    keyset: &CloudKeySetV1,
    previous: &PolicyState,
    now: UtcDateTime,
) -> Result<(PolicyState, FilterSet), String>
Expand description

Verify a whole bundle against the key set, and against the last accepted state (filter pack versions only move forward). Returns the state it establishes and the verified filter packs. The bundle’s TOML org policy fields are not read.