nexpose 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nexpose/connection.rb +1 -1
- data/lib/nexpose/data_table.rb +0 -15
- data/lib/nexpose/filter.rb +1 -1
- metadata +32 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ad801dadec80e96926962637c8fa6d3cf6a338f
|
4
|
+
data.tar.gz: 763a538eae968c90943ccf4d9aa463fea6cf0ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08da6caad801348db0f240fde304b5b0bd8abaa84cf3351642e8e085c23dd074075342eba8560962b901aca306505f5598d670010bcbc39937475af1f58ae96e
|
7
|
+
data.tar.gz: 1a2ae21afc4fad982028ff2fe531547743fa8d752591a2674ec7e944fa81131b11ee562dcb6e06a3570cac93dc918b1cf009dcf5cd79ca2b9395455112c8cb2d
|
data/lib/nexpose/connection.rb
CHANGED
data/lib/nexpose/data_table.rb
CHANGED
@@ -98,20 +98,5 @@ module Nexpose
|
|
98
98
|
end
|
99
99
|
record
|
100
100
|
end
|
101
|
-
|
102
|
-
# Convert a type-safe ID into a regular ID inside a hash.
|
103
|
-
#
|
104
|
-
# @param [Hash] hash Hash map containing a type-safe ID as one key.
|
105
|
-
# @param [String] id Key value of a type-safe ID to clean up.
|
106
|
-
#
|
107
|
-
def _clean_id!(hash, id)
|
108
|
-
hash.each_pair do |key, value|
|
109
|
-
if key == id
|
110
|
-
hash[key] = value['ID']
|
111
|
-
else
|
112
|
-
hash[key] = value
|
113
|
-
end
|
114
|
-
end
|
115
|
-
end
|
116
101
|
end
|
117
102
|
end
|
data/lib/nexpose/filter.rb
CHANGED
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.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HD Moore
|
@@ -10,34 +10,34 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2014-01-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: librex
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 0.0.68
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 0.0.68
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rex
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: 1.0.2
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.0.2
|
43
43
|
description: This gem provides a Ruby API to the Nexpose vulnerability management
|
@@ -53,38 +53,38 @@ extra_rdoc_files:
|
|
53
53
|
files:
|
54
54
|
- README.markdown
|
55
55
|
- Rakefile
|
56
|
+
- lib/README.md
|
56
57
|
- lib/nexpose.rb
|
57
|
-
- lib/nexpose/
|
58
|
-
- lib/nexpose/
|
59
|
-
- lib/nexpose/
|
60
|
-
- lib/nexpose/report_template.rb
|
61
|
-
- lib/nexpose/ticket.rb
|
58
|
+
- lib/nexpose/ajax.rb
|
59
|
+
- lib/nexpose/alert.rb
|
60
|
+
- lib/nexpose/api_request.rb
|
62
61
|
- lib/nexpose/common.rb
|
63
|
-
- lib/nexpose/
|
64
|
-
- lib/nexpose/dag.rb
|
62
|
+
- lib/nexpose/connection.rb
|
65
63
|
- lib/nexpose/creds.rb
|
66
|
-
- lib/nexpose/
|
67
|
-
- lib/nexpose/
|
68
|
-
- lib/nexpose/
|
64
|
+
- lib/nexpose/dag.rb
|
65
|
+
- lib/nexpose/data_table.rb
|
66
|
+
- lib/nexpose/device.rb
|
69
67
|
- lib/nexpose/engine.rb
|
68
|
+
- lib/nexpose/error.rb
|
69
|
+
- lib/nexpose/filter.rb
|
70
|
+
- lib/nexpose/group.rb
|
71
|
+
- lib/nexpose/maint.rb
|
70
72
|
- lib/nexpose/manage.rb
|
73
|
+
- lib/nexpose/pool.rb
|
74
|
+
- lib/nexpose/report.rb
|
75
|
+
- lib/nexpose/report_template.rb
|
76
|
+
- lib/nexpose/role.rb
|
71
77
|
- lib/nexpose/scan.rb
|
72
78
|
- lib/nexpose/scan_template.rb
|
73
|
-
- lib/nexpose/report.rb
|
74
|
-
- lib/nexpose/vuln.rb
|
75
|
-
- lib/nexpose/ajax.rb
|
76
|
-
- lib/nexpose/util.rb
|
77
|
-
- lib/nexpose/site.rb
|
78
|
-
- lib/nexpose/filter.rb
|
79
|
-
- lib/nexpose/alert.rb
|
80
|
-
- lib/nexpose/silo.rb
|
81
|
-
- lib/nexpose/vuln_exception.rb
|
82
79
|
- lib/nexpose/shared_cred.rb
|
83
|
-
- lib/nexpose/
|
80
|
+
- lib/nexpose/silo.rb
|
81
|
+
- lib/nexpose/site.rb
|
84
82
|
- lib/nexpose/tags
|
85
|
-
- lib/nexpose/
|
86
|
-
- lib/nexpose/
|
87
|
-
- lib/
|
83
|
+
- lib/nexpose/ticket.rb
|
84
|
+
- lib/nexpose/user.rb
|
85
|
+
- lib/nexpose/util.rb
|
86
|
+
- lib/nexpose/vuln.rb
|
87
|
+
- lib/nexpose/vuln_exception.rb
|
88
88
|
homepage: https://github.com/rapid7/nexpose-client
|
89
89
|
licenses:
|
90
90
|
- BSD
|
@@ -95,17 +95,17 @@ require_paths:
|
|
95
95
|
- lib
|
96
96
|
required_ruby_version: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
|
-
- -
|
98
|
+
- - ">="
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '1.9'
|
101
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
102
|
requirements:
|
103
|
-
- -
|
103
|
+
- - ">="
|
104
104
|
- !ruby/object:Gem::Version
|
105
105
|
version: '0'
|
106
106
|
requirements: []
|
107
107
|
rubyforge_project:
|
108
|
-
rubygems_version: 2.
|
108
|
+
rubygems_version: 2.2.0
|
109
109
|
signing_key:
|
110
110
|
specification_version: 4
|
111
111
|
summary: Ruby API for Rapid7 Nexpose
|