We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7edd72 commit 01027f5Copy full SHA for 01027f5
1 file changed
templates/agent-conf.d/elastic.yaml.erb
@@ -42,15 +42,16 @@ instances:
42
<%- end -%>
43
<%- protocols = instance['tls_protocols_allowed'].is_a?(Array) ? instance['tls_protocols_allowed'] : [] -%>
44
<%- unless protocols.empty? -%>
45
- tls_protocols_allowed:
46
-<%- protocols.each do |protocol| -%>
47
- - <%= protocol %>
48
-<%- end -%>
+ tls_protocols_allowed:
+ <%- protocols.each do |protocol| -%>
+ - <%= protocol %>
+ <%- end -%>
49
50
+
51
<%- ciphers = instance['tls_ciphers'].is_a?(Array) ? instance['tls_ciphers'] : [] -%>
52
<%- unless ciphers.empty? -%>
- tls_ciphers:
53
-<%- ciphers.each do |cipher| -%>
54
- - <%= cipher %>
55
+ tls_ciphers:
+ <%- ciphers.each do |cipher| -%>
+ - <%= cipher %>
56
57
0 commit comments