File tree 1 file changed +16
-1
lines changed
1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 84
84
85
85
#######################################################
86
86
# Protocol Tests #
87
- # Valid protocols are: tls1.2 #
87
+ # Valid protocols are: tls1.2, tls1.3 #
88
88
# Invalid protocols are : ssl2, ssl3, tls1.0, tls1.1 #
89
89
#######################################################
90
90
control 'ssl2' do
162
162
end
163
163
end
164
164
165
+ control 'tls1.3' do
166
+ title 'Enable TLS 1.3 on exposed ports.'
167
+ impact 0.5
168
+ only_if { sslports . length > 0 }
169
+
170
+ sslports . each do |sslport |
171
+ # create a description
172
+ proc_desc = "on node == #{ target_hostname } running #{ sslport [ :socket ] . process . inspect } (#{ sslport [ :socket ] . pid } )"
173
+ describe ssl ( sslport ) . protocols ( 'tls1.3' ) do
174
+ it ( proc_desc ) { should be_enabled }
175
+ it { should be_enabled }
176
+ end
177
+ end
178
+ end
179
+
165
180
#######################################################
166
181
# Key Exchange (Kx) Tests #
167
182
# Valid Kx(s) are: ECDHE #
You can’t perform that action at this time.
0 commit comments