nexpose_pxgrid 0.1.2-java → 0.1.4-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +22 -6
- data/lib/pxnx_jruby/version.rb +1 -1
- data/pxnx.gemspec +2 -2
- metadata +4 -5
- data/releases/pxnx-0.1.0-java.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 559f9d7dfc2d8ce64039b4106e985629950c6aa1
|
|
4
|
+
data.tar.gz: 617ec01f58471af86831030578d210383562183e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9fed3967f1a6f21a8da545ccfc8b8c13e2aa5fc24f660bd56a81335f5028af997e6fe1a5783defd36cfd0b65e7505a01ad1c72f930984c65ff7c3c5947eaa93
|
|
7
|
+
data.tar.gz: fa64263ae1183e1433de07ef557436068d856c35857015f2e69fb398426280f18285ef664278a976408027ae094a9ca5000844b0290fa2d0a5418d2bf76962fa
|
data/README.md
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
# PxnxJruby
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This is the official gem package for the Nexpose Cisco PxGrid Integration.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
For assistance with using the gem please email the Rapid7 integrations support team at integrations_support@rapid7.com.
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
|
+
Please follow the Cisco ISE documentation for instructions on installing Cisco ISE, enabling PxGrid and setting up certificates on the pxGrid client and target node(s).
|
|
10
|
+
|
|
11
|
+
The script was created using JRuby: as such, a JRuby interpreter must be installed on the system where it’s going to run.
|
|
12
|
+
The following link shows the different options for installing Ruby in several platforms:
|
|
13
|
+
|
|
14
|
+
http://jruby.org/
|
|
15
|
+
|
|
9
16
|
Add this line to your application's Gemfile:
|
|
10
17
|
|
|
11
18
|
```ruby
|
|
12
|
-
gem '
|
|
19
|
+
gem 'nexpose_pxgrid'
|
|
13
20
|
```
|
|
14
21
|
|
|
15
22
|
And then execute:
|
|
@@ -18,7 +25,7 @@ And then execute:
|
|
|
18
25
|
|
|
19
26
|
Or install it yourself as:
|
|
20
27
|
|
|
21
|
-
$ gem install
|
|
28
|
+
$ gem install nexpose_pxgrid
|
|
22
29
|
|
|
23
30
|
## From Cisco Docs
|
|
24
31
|
If the client is connecting to the pxGrid Controller for the first time, an account is established on the pxGrid Controller.
|
|
@@ -30,7 +37,17 @@ Also, the user must be part of the EPS group.
|
|
|
30
37
|
|
|
31
38
|
## Usage
|
|
32
39
|
|
|
33
|
-
|
|
40
|
+
To use the PxGrid integration after installing the gem and configuring the Cisco ISE:
|
|
41
|
+
* Edit the pxnx.config file under the gem config folder and add the necessary data.
|
|
42
|
+
* Setup the necessary Environment variables, containing information on the ISE instance, listed in the documentation.
|
|
43
|
+
* Run the pxnx.rb file under the bin folder. If installed with Gem the command `console> jruby pxnx.rb` should suffice.
|
|
44
|
+
|
|
45
|
+
Note: Gem is usually installed under
|
|
46
|
+
* Windows: C:\Ruby\<version\>\lib\ruby\gems\version\gems
|
|
47
|
+
* Linux: /var/lib/gems/\<version\>/gems/
|
|
48
|
+
Please refer to your particular Ruby documentation for actual installation folder.
|
|
49
|
+
|
|
50
|
+
A logger is also implemented by default, and the log can be found under `/var/lib/logs/`; please refer to the log file in case of an error.
|
|
34
51
|
|
|
35
52
|
## Development
|
|
36
53
|
|
|
@@ -42,7 +59,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
42
59
|
|
|
43
60
|
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pxnx_jruby.
|
|
44
61
|
|
|
45
|
-
|
|
46
62
|
## License
|
|
47
63
|
|
|
48
64
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/lib/pxnx_jruby/version.rb
CHANGED
data/pxnx.gemspec
CHANGED
|
@@ -6,13 +6,13 @@ require 'pxnx_jruby/version'
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = 'nexpose_pxgrid'
|
|
8
8
|
spec.version = PxnxJruby::VERSION
|
|
9
|
-
spec.authors = ['Damian Finol', 'JJ Cassidy']
|
|
9
|
+
spec.authors = ['Damian Finol', 'JJ Cassidy', 'Gary Robinson']
|
|
10
10
|
spec.email = ['integrations@rapid7.com']
|
|
11
11
|
spec.summary = %q{Nexpose - pxGrid Node implementation.}
|
|
12
12
|
spec.description = %q{This JRuby Gem allows Nexpose to scan IPs detected by Cisco pxGrid and apply quarantines.}
|
|
13
13
|
spec.homepage = 'http://www.rapid7.com'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|logs)/}) }
|
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|logs|releases)/}) }
|
|
16
16
|
spec.bindir = 'bin'
|
|
17
17
|
spec.platform = 'java'
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
metadata
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nexpose_pxgrid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Damian Finol
|
|
8
8
|
- JJ Cassidy
|
|
9
|
+
- Gary Robinson
|
|
9
10
|
autorequire:
|
|
10
11
|
bindir: bin
|
|
11
12
|
cert_chain: []
|
|
12
|
-
date:
|
|
13
|
+
date: 2017-01-16 00:00:00.000000000 Z
|
|
13
14
|
dependencies:
|
|
14
15
|
- !ruby/object:Gem::Dependency
|
|
15
16
|
name: bundler
|
|
@@ -190,7 +191,6 @@ files:
|
|
|
190
191
|
- lib/pxnx_jruby/spoon/pxnx_runner.rb
|
|
191
192
|
- lib/pxnx_jruby/version.rb
|
|
192
193
|
- pxnx.gemspec
|
|
193
|
-
- releases/pxnx-0.1.0-java.gem
|
|
194
194
|
- truststore.jks
|
|
195
195
|
homepage: http://www.rapid7.com
|
|
196
196
|
licenses:
|
|
@@ -212,9 +212,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
212
212
|
version: '0'
|
|
213
213
|
requirements: []
|
|
214
214
|
rubyforge_project:
|
|
215
|
-
rubygems_version: 2.
|
|
215
|
+
rubygems_version: 2.5.1
|
|
216
216
|
signing_key:
|
|
217
217
|
specification_version: 4
|
|
218
218
|
summary: Nexpose - pxGrid Node implementation.
|
|
219
219
|
test_files: []
|
|
220
|
-
has_rdoc:
|
|
Binary file
|