par-tec / super-sast

A docker container with different testing tools.
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

hadolint: skip .dockerfile-security.rego because it's not a dockerfile #52

Closed ioggstream closed 9 months ago

ioggstream commented 1 year ago

I expect

Instead

super-linter_1  | 2023-06-27 10:30:41 [INFO]   File:[/tmp/lint/.dockerfile-security.rego]
super-linter_1  | 2023-06-27 10:30:42 [ERROR]   Found errors in [hadolint] linter!
super-linter_1  | 2023-06-27 10:30:42 [ERROR]   Error code: 1. Command output:
super-linter_1  | ------
super-linter_1  | /tmp/lint/.dockerfile-security.rego:1:1 unexpected 'p' expecting '#', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, or end of input 
super-linter_1  | ------
ioggstream commented 11 months ago

@DrPlumcake