nexpose_cyberark 0.0.2-java → 0.0.3-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YWY4OThlN2EyYjczN2E5ZmU4ZTMxYWZhZGYxNzA2NjI0NzBhOGNmMA==
5
- data.tar.gz: !binary |-
6
- NmNjNjUzYjM5MzYyYmRmZWRlNWExODExOTllZDg2NzllZGYyZGRlOQ==
2
+ SHA1:
3
+ metadata.gz: 1899f8e2194833267739bd6ddd12983ec4e50ee6
4
+ data.tar.gz: d7a62299a004fa3d821925e31d5f2c13a0c0af87
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- Y2RhN2UwY2ZjNWIwNjQyNGNmYzJlZjAxMTgyNjI0Y2E5N2Q0ZWU5YjIwZGIz
10
- NjZlZmVmYjQ3MzFlMmNhZWI4Mjc3YzNhM2E3OTY4NjIyMmEyZGIxNjk4Yjgw
11
- NzVhODI5MmQzMTJmOGZmNDRkM2QzZDI3MDUzMjVjYzhjNDY1Mzg=
12
- data.tar.gz: !binary |-
13
- MDZiODIzYTk3MWU4YzIxYmM5YjgyZGFkNmUyYWQxNmU0ZGY5NGY1MTAzYjU2
14
- ZDUzNWQ2OWZhNzgxZjM3YzA4N2YwZTAzODkwMzEyMWU1MTgzZmIxOTBmOWJm
15
- YzljMGQ3ZGE3YWUzZjNlYzAwYzRjNTY5N2NlMjdkYjkwZWIwMTk=
6
+ metadata.gz: a758cb461d581340a8441b402fc61d77ba6cc0f0793b72aa997da34e8f62bd2b9eba64d01b7adc686ea0da06e3d5bbca8055e0d1227bfc611ec62c18028dff82
7
+ data.tar.gz: c01555c02a38d103ccf2e6e42a82c72e55ab473d36591b6a3a66abfaeb96e538bb905e6881f65bcb40110fa0b07ab0d94c5fb42f33df51eab8faa6c344701051
data/Gemfile.lock CHANGED
@@ -2,36 +2,29 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  nexpose_cyberark (0.0.2-java)
5
- nexpose (>= 0.6.0)
5
+ nexpose (~> 0.6.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  diff-lcs (1.2.5)
11
- librex (0.0.68)
12
- nexpose (0.7.6)
11
+ librex (0.0.999)
12
+ nexpose (0.6.5)
13
13
  librex (~> 0.0, >= 0.0.68)
14
14
  rex (~> 1.0, >= 1.0.2)
15
- rake (10.3.2)
16
15
  rex (1.0.2)
17
- rspec (3.0.0)
18
- rspec-core (~> 3.0.0)
19
- rspec-expectations (~> 3.0.0)
20
- rspec-mocks (~> 3.0.0)
21
- rspec-core (3.0.2)
22
- rspec-support (~> 3.0.0)
23
- rspec-expectations (3.0.2)
24
- diff-lcs (>= 1.2.0, < 2.0)
25
- rspec-support (~> 3.0.0)
26
- rspec-mocks (3.0.2)
27
- rspec-support (~> 3.0.0)
28
- rspec-support (3.0.2)
16
+ rspec (2.99.0)
17
+ rspec-core (~> 2.99.0)
18
+ rspec-expectations (~> 2.99.0)
19
+ rspec-mocks (~> 2.99.0)
20
+ rspec-core (2.99.2)
21
+ rspec-expectations (2.99.2)
22
+ diff-lcs (>= 1.1.3, < 2.0)
23
+ rspec-mocks (2.99.3)
29
24
 
30
25
  PLATFORMS
31
26
  java
32
27
 
33
28
  DEPENDENCIES
34
- bundler (~> 1.6)
35
29
  nexpose_cyberark!
36
- rake
37
- rspec
30
+ rspec (~> 2.1)
data/bin/nx_cyberark.rb CHANGED
@@ -7,11 +7,11 @@ require 'nexpose_cyberark'
7
7
  # ---- CyberArk Configuration ---- #
8
8
  # Vault Options
9
9
  # App ID
10
- app_id = 'Rapid7'
10
+ app_id = ''
11
11
  # Safe
12
- safe = 'Rapid 7 Accounts'
12
+ safe = ''
13
13
  # Folder
14
- folder = 'Root'
14
+ folder = ''
15
15
  # Objects should have the same name as their counterparts in Nexpose
16
16
  # IE: 'serverx01.mydomain.com' in both Cyberark and Nexpose.
17
17
  # Individual IP's will be queried and should also correspond to Object names.
@@ -16,7 +16,7 @@ module NexposeCyberark
16
16
  host = ''
17
17
  host = asset.host if asset.is_a?(HostName)
18
18
  host = asset.from if asset.is_a?(IPRange)
19
- range_scenario = false
19
+ range_scenario = falseq2 ]
20
20
  if asset.is_a?(IPRange) then range_scenario = true unless asset.from.nil? end
21
21
  vault_options[:object] = host
22
22
  asset_data = PasswordOps::get_password(vault_options)
@@ -1,3 +1,3 @@
1
1
  module NexposeCyberark
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,73 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexpose_cyberark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Damian Finol
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-30 00:00:00.000000000 Z
11
+ date: 2015-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
- requirement: !ruby/object:Gem::Requirement
15
+ version_requirements: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
20
+ requirement: !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - ~>
25
23
  - !ruby/object:Gem::Version
26
24
  version: '1.6'
25
+ prerelease: false
26
+ type: :development
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ! '>='
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
29
  version_requirements: !ruby/object:Gem::Requirement
37
30
  requirements:
38
- - - ! '>='
31
+ - - '>='
39
32
  - !ruby/object:Gem::Version
40
33
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
34
  requirement: !ruby/object:Gem::Requirement
44
35
  requirements:
45
- - - ! '>='
36
+ - - '>='
46
37
  - !ruby/object:Gem::Version
47
38
  version: '0'
48
- type: :development
49
39
  prerelease: false
40
+ type: :development
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
50
43
  version_requirements: !ruby/object:Gem::Requirement
51
44
  requirements:
52
- - - ! '>='
45
+ - - ~>
53
46
  - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: nexpose
47
+ version: '2.1'
57
48
  requirement: !ruby/object:Gem::Requirement
58
49
  requirements:
59
- - - ! '>='
50
+ - - ~>
60
51
  - !ruby/object:Gem::Version
61
- version: 0.6.0
62
- type: :runtime
52
+ version: '2.1'
63
53
  prerelease: false
54
+ type: :development
55
+ - !ruby/object:Gem::Dependency
56
+ name: nexpose
64
57
  version_requirements: !ruby/object:Gem::Requirement
65
58
  requirements:
66
- - - ! '>='
59
+ - - ~>
67
60
  - !ruby/object:Gem::Version
68
61
  version: 0.6.0
69
- description: Nexpose Cyberark integration provides credentials for authenticated scans
70
- in Nexpose.
62
+ requirement: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: 0.6.0
67
+ prerelease: false
68
+ type: :runtime
69
+ description: Nexpose Cyberark integration provides credentials for authenticated scans in Nexpose.
71
70
  email:
72
71
  - damian_finol@rapid7.com
73
72
  executables:
@@ -86,29 +85,28 @@ files:
86
85
  - lib/nexpose_cyberark/nexpose_ops.rb
87
86
  - lib/nexpose_cyberark/password_ops.rb
88
87
  - lib/nexpose_cyberark/version.rb
89
- - nexpose_cyberark.gemspec
90
88
  homepage: http://www.rapid7.com/
91
89
  licenses:
92
90
  - MIT
93
91
  metadata: {}
94
- post_install_message:
92
+ post_install_message:
95
93
  rdoc_options: []
96
94
  require_paths:
97
95
  - lib
98
96
  required_ruby_version: !ruby/object:Gem::Requirement
99
97
  requirements:
100
- - - ! '>='
98
+ - - '>='
101
99
  - !ruby/object:Gem::Version
102
100
  version: '0'
103
101
  required_rubygems_version: !ruby/object:Gem::Requirement
104
102
  requirements:
105
- - - ! '>='
103
+ - - '>='
106
104
  - !ruby/object:Gem::Version
107
105
  version: '0'
108
106
  requirements: []
109
- rubyforge_project:
110
- rubygems_version: 2.2.2
111
- signing_key:
107
+ rubyforge_project:
108
+ rubygems_version: 2.4.6
109
+ signing_key:
112
110
  specification_version: 4
113
111
  summary: Nexpose Cyberark integration.
114
112
  test_files: []
@@ -1,27 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'nexpose_cyberark/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = 'nexpose_cyberark'
8
- spec.version = NexposeCyberark::VERSION
9
- spec.authors = ['Damian Finol']
10
- spec.email = ['damian_finol@rapid7.com']
11
- spec.summary = %q{Nexpose Cyberark integration.}
12
- spec.description = %q{Nexpose Cyberark integration provides credentials for authenticated scans in Nexpose.}
13
- spec.homepage = 'http://www.rapid7.com/'
14
- spec.license = 'MIT'
15
-
16
- spec.files = Dir['[A-Z]*'] + Dir['lib/**/*'] + Dir['bin/**']
17
- spec.files.reject! { |fn| fn.include? "CVS" }
18
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
- spec.require_paths = ['lib']
21
- spec.platform = 'java'
22
-
23
- spec.add_development_dependency 'bundler', '~> 1.6'
24
- spec.add_development_dependency 'rake'
25
- spec.add_development_dependency 'rspec'
26
- spec.add_dependency('nexpose', '>= 0.6.0')
27
- end