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 +5 -5
- data/config/config.yaml.example +2 -0
- data/lib/foreman_scap_client/client.rb +1 -0
- data/lib/foreman_scap_client/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 613e57e5fe5d504abb771c1924649c18d3a01869e3d75fbf33c4d2078647dcaa
|
4
|
+
data.tar.gz: f5d061fd7061174a3ce2dd92348371a9cb672781b428950ccc7add94b1fa8b69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e7d76224ae9440cad7ba6592a0aee99909ec7be581e1da4bc9310b74161504127b9631148bd5371bc7616718eac76b64a6565c04250c0488ac24d2db5860104
|
7
|
+
data.tar.gz: 2c6a1f7531f5a996847718255dca2e3bf4d1d5b091242402e71748450e3971ead373031217b3ce9b96d84aa568018374aacf37943786943db4becf068150d922
|
data/config/config.yaml.example
CHANGED
@@ -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
|
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.
|
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:
|
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
|
-
|
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
|