-
Notifications
You must be signed in to change notification settings - Fork 30
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
fix(checks): handle file:
and multi:
in AVD-DS-0011
#56
Conversation
ADD file: in
in AVD-DS-0011
I've never used rego before and I'm having trouble grokking it and I'm very confident that the tests aren't actually running when I run |
ADD file: in
in AVD-DS-0011file:
and multi:
in AVD-DS-0011
You are right, the tests are in the process of being brought over to this repo. We'll take a look at your PRs once we merge the tests in to ensure nothing breaks. |
@simar7 can you please help me progress this MR? I'm very eager to eliminate this false positive. |
@nikpivkin could you take a look? |
The reverse engineered `Dockerfile` of an image doesn't exactly match the original `Dockerfile`. For example, it doesn't have the original source files names. Instead, it uses `file:<hash> in`: `COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh` Such commands should not trigger AVD-DS-0011.
The reverse engineered
Dockerfile
of an image doesn't exactly matchthe original
Dockerfile
. For example, it doesn't have the originalsource files names. Instead, it uses
file:<hash> in
:COPY file:8b8864b3e02a33a579dc216fd51b28a6047bc8eeaa03045b258980fe0cf7fcb3 in /__cacert_entrypoint.sh
Such commands should not trigger AVD-DS-0011.