rspec/rules/S5332/docker/rule.adoc

39 lines
531 B
Plaintext
Raw Normal View History

include::../description.adoc[]
include::ask-yourself.adoc[]
include::recommended.adoc[]
== Sensitive Code Example
[source,docker]
----
RUN curl http://www.example.com/
----
== Compliant Solution
[source,docker]
----
RUN curl https://www.example.com/
----
include::see.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
== Message
* Make sure that using clear-text protocols is safe here.
== Highlighting
Highlight the URL.
'''
endif::env-github,rspecator-view[]