Replies: 1 comment
-
Track: #8277 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
If the instruction uses build arguments, the analyzer does not cut the
|1 NAME= /bin/sh -c
prefix, and the value passed to Rego has the following form:|1 NAME= /bin/sh -c echo $NAME
.Example for the RUN instruction:
Desired Behavior
Instructions must be exported without the prefix
|1 NAME= /bin/sh -c
.Actual Behavior
Instructions are exported in full
Reproduction Steps
Target
None
Scanner
None
Output Format
None
Mode
None
Debug Output
Operating System
m1
Version
Checklist
trivy clean --all
Beta Was this translation helpful? Give feedback.
All reactions