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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e1d9a1c7773947e69aa15ba2d18c1a41ce91497
4
- data.tar.gz: 570dac9c4894772bd88aded4a18904162a3a5cd5
3
+ metadata.gz: 716a17a02e7db595c58b52c9e9b7a5cc5e6699b8
4
+ data.tar.gz: 99a477a8685316f1869fdc33ff570de68a726ad2
5
5
  SHA512:
6
- metadata.gz: 5f6caeccc03830952518b504013a010415907cbcf9596988e344a251f60478804a90652a4b0844fc0bceef9aa209dbf8c41f87c93ff8fe9c4e3192ead1edb03c
7
- data.tar.gz: bc5b475cda32769f35cc91e612074d4854e83fb78d0eb6cf4d06af5ce97fa4b568ad1eb8952786f206a57b994464f284e6c6856efb39fe5a9384fd9e9fb36ed9
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'
@@ -1,3 +1,3 @@
1
1
  module ForemanScapClient
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
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.1
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-01-29 00:00:00.000000000 Z
13
+ date: 2019-02-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler