File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 8484
8585#######################################################
8686# Protocol Tests #
87- # Valid protocols are: tls1.2 #
87+ # Valid protocols are: tls1.2, tls1.3 #
8888# Invalid protocols are : ssl2, ssl3, tls1.0, tls1.1 #
8989#######################################################
9090control 'ssl2' do
162162 end
163163end
164164
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+
165180#######################################################
166181# Key Exchange (Kx) Tests #
167182# Valid Kx(s) are: ECDHE #
You can’t perform that action at this time.
0 commit comments