nexpose 0.0.97 → 0.0.98
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nexpose/scan.rb +5 -0
- data/nexpose.gemspec +1 -1
- metadata +5 -5
data/lib/nexpose/scan.rb
CHANGED
@@ -12,6 +12,11 @@ module Nexpose
|
|
12
12
|
r.success ? r.attributes['status'] : nil
|
13
13
|
end
|
14
14
|
|
15
|
+
def scan_resume(scan_id)
|
16
|
+
r = execute(make_xml('ScanResumeRequest', {'scan-id' => scan_id}))
|
17
|
+
r.success ? r.attributes['status'] : nil
|
18
|
+
end
|
19
|
+
|
15
20
|
def scan_activity
|
16
21
|
r = execute(make_xml('ScanActivityRequest', {}))
|
17
22
|
if (r.success)
|
data/nexpose.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "nexpose"
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.98"
|
6
6
|
s.homepage = "https://github.com/rapid7/nexpose-client"
|
7
7
|
s.summary = "Ruby API for Rapid7 NeXpose"
|
8
8
|
s.description = "This gem provides a Ruby API to the NeXpose vulnerability management product by Rapid7."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexpose
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.98
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ date: 2012-07-13 00:00:00.000000000Z
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: librex
|
17
|
-
requirement: &
|
17
|
+
requirement: &20950272 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 0.0.32
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *20950272
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rex
|
28
|
-
requirement: &
|
28
|
+
requirement: &20949996 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: 1.0.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *20949996
|
37
37
|
description: This gem provides a Ruby API to the NeXpose vulnerability management
|
38
38
|
product by Rapid7.
|
39
39
|
email:
|