Skip to content

Docker

gitlab-compliance

A pre-built, distroless Wolfi image (Python 3.14, nonroot), published by MaturityBuilder. The image is assembled with melange and apko from locked Poetry dependencies.

gitlab-compliance is published on Docker Hub as maturitybuilder/gitlab-compliance.

docker run -it -v $PWD:/src -w /src -e GITLAB_TOKEN=$GITLAB_TOKEN \
maturitybuilder/gitlab-compliance check -f example-policies --include-nested \
--project <my gitlab project path>

Audit Pipeline Yaml

gitlab-compliance:
    image: maturitybuilder/gitlab-compliance
    script:
        - gitlab-compliance check -f example-policies --include-nested --project
          <my gitlab project path>

Depending on your workflow and security policy the pipeline can potentially auto resolve includes and image updates by passing --fix (alias: --fix-supply-chain). Next: Usage.