Open verboEse opened 3 months ago
When scanning a Dockerfile I get this error:
{ "id": "AC_DOCKER_0020", "name": "shellusingshell", "shortDescription": { "text": "Ensure the command SHELL to override the default shell instead of the RUN command." }, "properties": { "category": "Infrastructure Security", "severity": "MEDIUM" } }
I could not find documentation for "AC_DOCKER_0020". So I'm not sure what to do. I already have
SHELL ["/bin/bash", "-o", "pipefail"]
in the Dockerfile. What else am I supposed to configure?
terrascan scan -i docker --iac-file VSTS/Dockerfile --output sarif
Description
When scanning a Dockerfile I get this error:
I could not find documentation for "AC_DOCKER_0020". So I'm not sure what to do. I already have
in the Dockerfile. What else am I supposed to configure?
What I Did