2025-11-09 14:15:50 -05:00
|
|
|
name: "compose file parser"
|
|
|
|
|
description: "security checks for docker compose files"
|
|
|
|
|
inputs:
|
|
|
|
|
path:
|
|
|
|
|
description: "path to docker compose file"
|
|
|
|
|
required: true
|
|
|
|
|
default: "compose.yaml"
|
2025-11-11 16:27:26 -05:00
|
|
|
show:
|
|
|
|
|
description: "what level of issues to show (all|fatal)"
|
2025-11-10 16:37:49 -05:00
|
|
|
required: false
|
2025-11-11 16:27:26 -05:00
|
|
|
default: "all"
|
2025-11-11 18:04:21 -05:00
|
|
|
fail:
|
|
|
|
|
description: "determines whether or not the workflow fails upon finding fatal issues (yes(default)|no)"
|
|
|
|
|
required: false
|
|
|
|
|
default: "yes"
|
2025-11-09 14:15:50 -05:00
|
|
|
runs:
|
|
|
|
|
using: docker
|
|
|
|
|
image: Dockerfile
|
|
|
|
|
env:
|
2025-11-09 14:20:34 -05:00
|
|
|
COMPOSE_FILE_PATH: ${{ inputs.path }}
|
2025-11-11 16:27:26 -05:00
|
|
|
LOG_LEVEL: ${{ inputs.show }}
|
2025-11-11 18:04:21 -05:00
|
|
|
FAIL_ON_FATAL: ${{ inputs.fail }}
|