foreman_scap_client 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ac3dde58603c42b23b155263eb87ef10b79449de
4
- data.tar.gz: 78040bcf70d96f27b95c9366521c3b50943c0b08
2
+ SHA256:
3
+ metadata.gz: 613e57e5fe5d504abb771c1924649c18d3a01869e3d75fbf33c4d2078647dcaa
4
+ data.tar.gz: f5d061fd7061174a3ce2dd92348371a9cb672781b428950ccc7add94b1fa8b69
5
5
  SHA512:
6
- metadata.gz: dd74491763062ee7c1244abb2788b6b69dfab6e4c23e81346d7db536e72231ee0aaf496acbf371966cc1d633bbe8f077f86c861a9c645c221a69c0690cb9cbfe
7
- data.tar.gz: 75a2648c4ac3212eefb14d78753214c2ede5c3df5f49bf1f9a1adfffe4d46398a346d6e94fcaf92a89c09bc0b3796f93c70ce641ecb0ed2febbe9877e0b27aaf
6
+ metadata.gz: 6e7d76224ae9440cad7ba6592a0aee99909ec7be581e1da4bc9310b74161504127b9631148bd5371bc7616718eac76b64a6565c04250c0488ac24d2db5860104
7
+ data.tar.gz: 2c6a1f7531f5a996847718255dca2e3bf4d1d5b091242402e71748450e3971ead373031217b3ce9b96d84aa568018374aacf37943786943db4becf068150d922
@@ -18,6 +18,8 @@
18
18
  :host_certificate: '/var/lib/puppet/ssl/certs/client.example.com.pem'
19
19
  # this client private key, usually the same that puppet agent use
20
20
  :host_private_key: '/var/lib/puppet/ssl/private_keys/client.example.com.pem'
21
+ # optional cipher list if endpoints are hardened
22
+ :ciphers: ["AES256-SHA:AES128-SHA:DES-CBC3-SHA"]
21
23
 
22
24
  # policy (key is id as in Foreman)
23
25
  1:
@@ -171,6 +171,7 @@ module ForemanScapClient
171
171
  def generate_https_object(uri)
172
172
  https = Net::HTTP.new(uri.host, uri.port)
173
173
  https.use_ssl = true
174
+ https.ciphers = config[:ciphers] if config[:ciphers]
174
175
  https.verify_mode = OpenSSL::SSL::VERIFY_PEER
175
176
  https.ca_file = config[:ca_file]
176
177
  begin
@@ -1,3 +1,3 @@
1
1
  module ForemanScapClient
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_scap_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marek Hulan
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-05-09 00:00:00.000000000 Z
13
+ date: 2020-07-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -78,8 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements:
80
80
  - bzip2
81
- rubyforge_project:
82
- rubygems_version: 2.6.8
81
+ rubygems_version: 3.1.2
83
82
  signing_key:
84
83
  specification_version: 4
85
84
  summary: Client script that runs openscap scan and uploads the result to foreman proxy