Cerbos JavaScript SDK
    Preparing search index...

    Interface PolicySourceGit

    Policies sourced from a Git repository using the git storage driver.

    interface PolicySourceGit {
        branch: string;
        kind: "git";
        repositoryUrl: string;
        subdirectory: string;
    }
    Index

    Properties

    branch: string

    Branch from which policies were cloned.

    kind: "git"

    Discriminator to mark the policy source as Git.

    repositoryUrl: string

    URL of the Git repository.

    subdirectory: string

    Subdirectory within the repository from which policies were loaded.