Cerbos JavaScript SDK
    Preparing search index...

    Interface BundleMetadata

    Metadata describing an embedded policy decision point bundle.

    interface BundleMetadata {
        builtAt: Date;
        commit: string;
        policies: string[];
        sourceAttributes: Record<string, SourceAttributes>;
        url?: string;
    }
    Index

    Properties

    builtAt: Date

    The time at which the bundle was built.

    commit: string

    The commit SHA from which the bundle was built.

    policies: string[]

    The IDs of the policies included in the bundle.

    Use BundleMetadata.sourceAttributes instead.

    sourceAttributes: Record<string, SourceAttributes>

    Map of the IDs of policies included in the bundle to metadata about their sources.

    url?: string

    The URL from which the bundle was downloaded.