Skip to content

policies push

Push a compliance policy bundle to an OCI registry (Conftest-style).

See it in action

Push/pull against an OCI registry (DEMO_OCI_REF required):

export DEMO_OCI_REF=registry.example.com/org/demo-policies:demo
bash scripts/record-demos.sh live

See demos README.

Usage

Usage: gitlab-compliance policies push [OPTIONS] TARGET

Options

  • features_dir (REQUIRED):
  • Type: STRING
  • Default: sentinel.unset
  • Usage: --features -f

Directory containing compliance policy .feature files to publish.

  • target (REQUIRED) [argument]:
  • Type: STRING
  • Default: sentinel.unset
  • Usage: target

  • help:

  • Type: BOOL
  • Default: false
  • Usage: --help

Show this message and exit.

CLI Help

Usage: gitlab-compliance policies push [OPTIONS] TARGET

  Push a compliance policy bundle to an OCI registry (Conftest-style).

Options:
  -f, --features TEXT  Directory containing compliance policy .feature files
                       to publish.  [required]
  --help               Show this message and exit.