file:
  # Checks basic filesystem and binary related to registry management exists
  /var/lib/registry:
    exists: true
    filetype: directory
    mode: "0775"
    owner: root
    group: root
  /storage:
    exists: true
    filetype: directory
    mode: "2775"
    owner: root
  /opt/bitnami/harbor-registry/bin/registry:
    exists: true
    filetype: file
    mode: "0755"
    owner: root
    group: root
command:
  # Checks the user running the container is non-root
  user-id-test:
    exec: id -u
    exit-status: 0
    stdout:
      - 1001
    stderr: []
