Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undocumented error #1694

Open
verboEse opened this issue Aug 22, 2024 · 0 comments
Open

undocumented error #1694

verboEse opened this issue Aug 22, 2024 · 0 comments

Comments

@verboEse
Copy link

  • terrascan version: v1.19.1
  • Operating System: MacOS 14.6.1

Description

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?

What I Did

terrascan scan -i docker --iac-file VSTS/Dockerfile --output sarif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant