foreman_scap_client 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreman_scap_client/client.rb +1 -0
- data/lib/foreman_scap_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 716a17a02e7db595c58b52c9e9b7a5cc5e6699b8
|
4
|
+
data.tar.gz: 99a477a8685316f1869fdc33ff570de68a726ad2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4e16a9d6ae3286c84fb78df7e0f0ffdcde51d5ae3cad33cb3e6c61723fdb4012d4ca5a083d1a8b6ab7fcf3e004464529953fa1682a2086d2e78fd0eae1a28e5
|
7
|
+
data.tar.gz: cf277daeab91229474b34aa6a62ec6049c53b3eababb12716fde1ce665ab3450dc5e2d9826cf6e824fea2cd840fefefbf07b5ff231ef7d4a813f02a0270d14a6
|
@@ -56,6 +56,7 @@ module ForemanScapClient
|
|
56
56
|
def run_scan
|
57
57
|
stdout_str, error_str, result = Open3.capture3(scan_command_env_vars, scan_command)
|
58
58
|
if result.success? || result.exitstatus == 2
|
59
|
+
puts error_str.split("\n").select { |item| item.start_with? 'WARNING:' }.join("\n")
|
59
60
|
@report = results_path
|
60
61
|
else
|
61
62
|
puts 'Scan failed'
|
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.2
|
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-
|
13
|
+
date: 2019-02-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|