File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ jobs:
137137 echo ${{ toJSON(steps.sysdig.outputs.violation_report) }} | \
138138 jq -r .
139139 echo ${{ toJSON(steps.sysdig.outputs.violation_report) }} | \
140- jq -r '.cis_docker_benchmark_violation_report[] | select(.rule!="CIS 4.1 Create a user for the container" ) | .violations[]' | \
140+ jq -r '.cis_docker_benchmark_violation_report[] | select(true ) | .violations[]' | \
141141 wc -l | \
142142 xargs -I% test 0 -eq %
143143
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ COPY --from=builder /etc/passwd /etc/passwd
5353COPY --from=builder /usr/bin/${APP_NAME} /go/bin/${APP_NAME}
5454# Copy user
5555COPY --from=builder /etc/passwd /etc/passwd
56+ USER ${APP_NAME}
5657
5758HEALTHCHECK NONE
5859ENTRYPOINT ["/go/bin/garm" ]
You can’t perform that action at this time.
0 commit comments