2023-02-07 15:04:20 +01:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
|
|
|
|
== Sensitive Code Example
|
|
|
|
|
|
|
|
[source,docker]
|
|
|
|
----
|
|
|
|
FROM example
|
|
|
|
# Sensitive
|
|
|
|
ENV APP_DEBUG=true
|
|
|
|
# Sensitive
|
|
|
|
ENV ENV=development
|
|
|
|
CMD /run.sh
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
|
|
|
|
[source,docker]
|
|
|
|
----
|
|
|
|
FROM example
|
|
|
|
ENV APP_DEBUG=false
|
|
|
|
ENV ENV=production
|
|
|
|
CMD /run.sh
|
|
|
|
----
|
|
|
|
|
|
|
|
include::../see.adoc[]
|
|
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
|
|
|
|
'''
|
|
|
|
== Implementation Specification
|
|
|
|
(visible only on this page)
|
|
|
|
|
|
|
|
include::../message.adoc[]
|
|
|
|
|
2023-05-25 14:18:12 +02:00
|
|
|
=== Highlighting
|
|
|
|
|
|
|
|
The environment variable name and its associated value.
|
|
|
|
|
2023-02-07 15:04:20 +01:00
|
|
|
|
|
|
|
'''
|
|
|
|
== Comments And Links
|
|
|
|
(visible only on this page)
|
|
|
|
|
|
|
|
include::../comments-and-links.adoc[]
|
2023-06-22 10:38:01 +02:00
|
|
|
|
2023-02-07 15:04:20 +01:00
|
|
|
endif::env-github,rspecator-view[]
|