foreman_scap_client 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/foreman_scap_client +1 -0
- data/lib/foreman_scap_client/client.rb +1 -1
- data/lib/foreman_scap_client/version.rb +1 -1
- metadata +12 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e23a2ecbafdd6597b0167e901bc54f60f049054
|
|
4
|
+
data.tar.gz: 161507898d4e5e0eb99d2c3e72237f14b52ceaa0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f5eabe0c7a1602294b48678af7fee1d7b06a9204a1f210cb0f421507a4094624eaeb4db11763b7a78a5ab750754c48af4481f1fc3f031df2566c6c53eb3de4d
|
|
7
|
+
data.tar.gz: 01247d77ebd83839056e1e062f2fd1269316816220fb22f2fa5d71094f76d1124bbb177b9d15a32da4d78989da06523121253b8696c4642ec9cfd7d5bc8a08ea
|
data/bin/foreman_scap_client
CHANGED
|
@@ -77,7 +77,7 @@ module ForemanScapClient
|
|
|
77
77
|
uri = URI.parse(upload_uri)
|
|
78
78
|
puts "Uploading results to #{uri}"
|
|
79
79
|
https = generate_https_object(uri)
|
|
80
|
-
request = Net::HTTP::
|
|
80
|
+
request = Net::HTTP::Post.new uri.path
|
|
81
81
|
request.body = File.read(results_bzip_path)
|
|
82
82
|
request['Content-Type'] = 'text/xml'
|
|
83
83
|
request['Content-Encoding'] = 'x-bzip2'
|
metadata
CHANGED
|
@@ -1,42 +1,43 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_scap_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marek Hulan
|
|
8
|
-
-
|
|
8
|
+
- Šimon Lukašík
|
|
9
|
+
- Shlomi Zadok
|
|
9
10
|
autorequire:
|
|
10
11
|
bindir: bin
|
|
11
12
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
13
|
+
date: 2015-11-01 00:00:00.000000000 Z
|
|
13
14
|
dependencies:
|
|
14
15
|
- !ruby/object:Gem::Dependency
|
|
15
16
|
name: bundler
|
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
|
17
18
|
requirements:
|
|
18
|
-
- -
|
|
19
|
+
- - ~>
|
|
19
20
|
- !ruby/object:Gem::Version
|
|
20
21
|
version: '1.7'
|
|
21
22
|
type: :development
|
|
22
23
|
prerelease: false
|
|
23
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
25
|
requirements:
|
|
25
|
-
- -
|
|
26
|
+
- - ~>
|
|
26
27
|
- !ruby/object:Gem::Version
|
|
27
28
|
version: '1.7'
|
|
28
29
|
- !ruby/object:Gem::Dependency
|
|
29
30
|
name: rake
|
|
30
31
|
requirement: !ruby/object:Gem::Requirement
|
|
31
32
|
requirements:
|
|
32
|
-
- -
|
|
33
|
+
- - ~>
|
|
33
34
|
- !ruby/object:Gem::Version
|
|
34
35
|
version: '10.0'
|
|
35
36
|
type: :development
|
|
36
37
|
prerelease: false
|
|
37
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
38
39
|
requirements:
|
|
39
|
-
- -
|
|
40
|
+
- - ~>
|
|
40
41
|
- !ruby/object:Gem::Version
|
|
41
42
|
version: '10.0'
|
|
42
43
|
description: Client script that runs openscap scan and uploads the result to foreman
|
|
@@ -44,6 +45,7 @@ description: Client script that runs openscap scan and uploads the result to for
|
|
|
44
45
|
email:
|
|
45
46
|
- mhulan@redhat.com
|
|
46
47
|
- slukasik@redhat.com
|
|
48
|
+
- szadok@redhat.com
|
|
47
49
|
executables:
|
|
48
50
|
- foreman_scap_client
|
|
49
51
|
extensions: []
|
|
@@ -66,20 +68,19 @@ require_paths:
|
|
|
66
68
|
- lib
|
|
67
69
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
70
|
requirements:
|
|
69
|
-
- -
|
|
71
|
+
- - '>='
|
|
70
72
|
- !ruby/object:Gem::Version
|
|
71
73
|
version: '0'
|
|
72
74
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
75
|
requirements:
|
|
74
|
-
- -
|
|
76
|
+
- - '>='
|
|
75
77
|
- !ruby/object:Gem::Version
|
|
76
78
|
version: '0'
|
|
77
79
|
requirements:
|
|
78
|
-
-
|
|
80
|
+
- /usr/bin/bzip2
|
|
79
81
|
rubyforge_project:
|
|
80
82
|
rubygems_version: 2.2.2
|
|
81
83
|
signing_key:
|
|
82
84
|
specification_version: 4
|
|
83
85
|
summary: Client script that runs openscap scan and uploads the result to foreman proxy
|
|
84
86
|
test_files: []
|
|
85
|
-
has_rdoc:
|