@@ -59,64 +59,64 @@ ENV git_key=
59
59
Warnings : []expectedLintWarning {
60
60
{
61
61
RuleName : "SecretsUsedInArgOrEnv" ,
62
- Description : "Potentially sensitive data should not be used in the ARG or ENV commands" ,
63
- Detail : `Secrets should not be used in the ARG or ENV commands (key named "SECRET_PASSPHRASE")` ,
62
+ Description : "Sensitive data should not be used in the ARG or ENV commands" ,
63
+ Detail : `Do not use ARG or ENV instructions for sensitive data (ARG "SECRET_PASSPHRASE")` ,
64
64
URL : "https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/" ,
65
65
Level : 1 ,
66
66
Line : 3 ,
67
67
},
68
68
{
69
69
RuleName : "SecretsUsedInArgOrEnv" ,
70
- Description : "Potentially sensitive data should not be used in the ARG or ENV commands" ,
71
- Detail : `Secrets should not be used in the ARG or ENV commands (key named "SUPER_Secret")` ,
70
+ Description : "Sensitive data should not be used in the ARG or ENV commands" ,
71
+ Detail : `Do not use ARG or ENV instructions for sensitive data (ENV "SUPER_Secret")` ,
72
72
URL : "https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/" ,
73
73
Level : 1 ,
74
74
Line : 4 ,
75
75
},
76
76
{
77
77
RuleName : "SecretsUsedInArgOrEnv" ,
78
- Description : "Potentially sensitive data should not be used in the ARG or ENV commands" ,
79
- Detail : `Secrets should not be used in the ARG or ENV commands (key named "password")` ,
78
+ Description : "Sensitive data should not be used in the ARG or ENV commands" ,
79
+ Detail : `Do not use ARG or ENV instructions for sensitive data (ENV "password")` ,
80
80
URL : "https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/" ,
81
81
Level : 1 ,
82
82
Line : 5 ,
83
83
},
84
84
{
85
85
RuleName : "SecretsUsedInArgOrEnv" ,
86
- Description : "Potentially sensitive data should not be used in the ARG or ENV commands" ,
87
- Detail : `Secrets should not be used in the ARG or ENV commands (key named "secret")` ,
86
+ Description : "Sensitive data should not be used in the ARG or ENV commands" ,
87
+ Detail : `Do not use ARG or ENV instructions for sensitive data (ENV "secret")` ,
88
88
URL : "https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/" ,
89
89
Level : 1 ,
90
90
Line : 5 ,
91
91
},
92
92
{
93
93
RuleName : "SecretsUsedInArgOrEnv" ,
94
- Description : "Potentially sensitive data should not be used in the ARG or ENV commands" ,
95
- Detail : `Secrets should not be used in the ARG or ENV commands (key named "super_duper_secret_token")` ,
94
+ Description : "Sensitive data should not be used in the ARG or ENV commands" ,
95
+ Detail : `Do not use ARG or ENV instructions for sensitive data (ARG "super_duper_secret_token")` ,
96
96
URL : "https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/" ,
97
97
Level : 1 ,
98
98
Line : 6 ,
99
99
},
100
100
{
101
101
RuleName : "SecretsUsedInArgOrEnv" ,
102
- Description : "Potentially sensitive data should not be used in the ARG or ENV commands" ,
103
- Detail : `Secrets should not be used in the ARG or ENV commands (key named "auth")` ,
102
+ Description : "Sensitive data should not be used in the ARG or ENV commands" ,
103
+ Detail : `Do not use ARG or ENV instructions for sensitive data (ARG "auth")` ,
104
104
URL : "https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/" ,
105
105
Level : 1 ,
106
106
Line : 6 ,
107
107
},
108
108
{
109
109
RuleName : "SecretsUsedInArgOrEnv" ,
110
- Description : "Potentially sensitive data should not be used in the ARG or ENV commands" ,
111
- Detail : `Secrets should not be used in the ARG or ENV commands (key named "apikey")` ,
110
+ Description : "Sensitive data should not be used in the ARG or ENV commands" ,
111
+ Detail : `Do not use ARG or ENV instructions for sensitive data (ENV "apikey")` ,
112
112
URL : "https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/" ,
113
113
Level : 1 ,
114
114
Line : 7 ,
115
115
},
116
116
{
117
117
RuleName : "SecretsUsedInArgOrEnv" ,
118
- Description : "Potentially sensitive data should not be used in the ARG or ENV commands" ,
119
- Detail : `Secrets should not be used in the ARG or ENV commands (key named "git_key")` ,
118
+ Description : "Sensitive data should not be used in the ARG or ENV commands" ,
119
+ Detail : `Do not use ARG or ENV instructions for sensitive data (ENV "git_key")` ,
120
120
URL : "https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/" ,
121
121
Level : 1 ,
122
122
Line : 8 ,
0 commit comments