openvas 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -8
- data/lib/openvas/scan.rb +2 -2
- data/lib/openvas/version.rb +1 -1
- data/openvas.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80a7f3832386bc9e36fabc31ef0c184422ef0761b0fbe4b9ebcea722b47a0067
|
4
|
+
data.tar.gz: 9c7ad8173b4137a3cdecd6cac33ad2204fb55f81ccf48eb5039d94bfa8eb1179
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 387b75992aaa6326829ec8ae40314a6df8314a1e053d7139c6989325f015a0c4a5665fa09c3bbe1c5505c430e8ad271f01d1e8febfdc28b54cd644dddeb1efa1
|
7
|
+
data.tar.gz: d31c4156b3cdd0924b506cf2b395de9309fc1a69058216e2ee334deb59a9c17f36e98a1cb085e098c71e4f5e04704d76ba2d059215815b72dd82d946585aec1d
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
openvas (1.0.
|
4
|
+
openvas (1.0.4)
|
5
5
|
nokogiri (~> 1.8)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
ast (2.
|
10
|
+
ast (2.4.0)
|
11
11
|
coveralls (0.8.21)
|
12
12
|
json (>= 1.8, < 3)
|
13
13
|
simplecov (~> 0.14.1)
|
@@ -18,11 +18,11 @@ GEM
|
|
18
18
|
docile (1.1.5)
|
19
19
|
json (2.1.0)
|
20
20
|
mini_portile2 (2.3.0)
|
21
|
-
nokogiri (1.8.
|
21
|
+
nokogiri (1.8.2)
|
22
22
|
mini_portile2 (~> 2.3.0)
|
23
23
|
parallel (1.12.1)
|
24
|
-
parser (2.
|
25
|
-
ast (~> 2.
|
24
|
+
parser (2.5.0.3)
|
25
|
+
ast (~> 2.4.0)
|
26
26
|
powerpack (0.1.1)
|
27
27
|
rainbow (3.0.0)
|
28
28
|
rake (12.3.0)
|
@@ -38,10 +38,10 @@ GEM
|
|
38
38
|
rspec-mocks (3.7.0)
|
39
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
40
|
rspec-support (~> 3.7.0)
|
41
|
-
rspec-support (3.7.
|
42
|
-
rubocop (0.
|
41
|
+
rspec-support (3.7.1)
|
42
|
+
rubocop (0.53.0)
|
43
43
|
parallel (~> 1.10)
|
44
|
-
parser (>= 2.
|
44
|
+
parser (>= 2.5)
|
45
45
|
powerpack (~> 0.1)
|
46
46
|
rainbow (>= 2.2.2, < 4.0)
|
47
47
|
ruby-progressbar (~> 1.7)
|
data/lib/openvas/scan.rb
CHANGED
@@ -5,14 +5,14 @@ require 'time'
|
|
5
5
|
module Openvas
|
6
6
|
# Class used to interact with OpenVAS' scans
|
7
7
|
class Scan < Client
|
8
|
-
attr_accessor :id, :name, :comment, :status, :target, :user, :created_at, :updated_at
|
8
|
+
attr_accessor :id, :name, :comment, :status, :target, :user, :created_at, :updated_at, :trend
|
9
9
|
|
10
10
|
def initialize(scan)
|
11
11
|
@id = scan.at_xpath('@id').value
|
12
12
|
@name = scan.at_xpath('name').text
|
13
13
|
@comment = scan.at_xpath('comment').text
|
14
14
|
@user = scan.at_xpath('owner/name').text
|
15
|
-
|
15
|
+
@trend = scan.at_xpath('trend').text
|
16
16
|
@status = scan.at_xpath('status').text
|
17
17
|
@target = scan.at_xpath('target')&.first_element_child&.text
|
18
18
|
|
data/lib/openvas/version.rb
CHANGED
data/openvas.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Wininger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|