diff --git a/controls/3.09-networking.rb b/controls/3.09-networking.rb index 583f2e6..6e74400 100644 --- a/controls/3.09-networking.rb +++ b/controls/3.09-networking.rb @@ -44,7 +44,7 @@ describe "[#{gcp_project_id}] HTTPS Proxy: #{proxy}" do subject { google_compute_target_https_proxy(project: gcp_project_id, name: proxy) } it 'should have a custom SSL policy configured' do - subject.ssl_policy.should_not cmp(nil) + expect(subject.ssl_policy).to_not cmp(nil) end end end @@ -56,7 +56,7 @@ describe "[#{gcp_project_id}] SSL Policy: #{policy}" do subject { google_compute_ssl_policy(project: gcp_project_id, name: policy) } it 'should minimally require TLS 1.2' do - subject.min_tls_version.should cmp 'TLS_1_2' + expect(subject.min_tls_version).to cmp('TLS_1_2') end end diff --git a/inspec.yml b/inspec.yml index 508b242..260e578 100644 --- a/inspec.yml +++ b/inspec.yml @@ -19,7 +19,7 @@ copyright: "(c) 2020, Google, Inc." copyright_email: "copyright@google.com" license: "Apache-2.0" summary: "Inspec Google Cloud Platform Center for Internet Security Benchmark v1.1 Profile" -version: 1.1.0-20 +version: 1.1.0-21 supports: - platform: gcp