You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message: "Consider using 'COPY ./foo.txt /foo.txt' command instead of 'ADD ./foo.txt /foo.txt'",
149
+
PolicyMetadata: types.PolicyMetadata{
150
+
ID: "DS005",
151
+
AVDID: "AVD-DS-0005",
152
+
Type: "Dockerfile Security Check",
153
+
Title: "ADD instead of COPY",
154
+
Description: "You should use COPY instead of ADD unless you want to extract a tar file. Note that an ADD command will extract a tar file, which adds the risk of Zip-based vulnerabilities. Accordingly, it is advised to use a COPY command, which does not extract tar files.",
0 commit comments