[P9] Audit pipeline volume mounts after privilege model change #100
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
After resolving #99 (adding
WOODPECKER_PLUGINS_PRIVILEGED), audit whether the currentvolumes:bind mounts on buildx/trivy steps are still needed or redundant.Currently every buildx and trivy step mounts the Docker socket:
With the privileged plugin model, the plugin container may already get Docker socket access through the agent. If so, these explicit mounts are redundant and should be removed to reduce the attack surface.
Steps
volumes:from all 15 buildx and 7 trivy steps