nexpose_thycotic 0.0.2 → 0.0.3
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/Gemfile.lock +2 -0
- data/bin/nx_thycotic.rb +11 -9
- data/lib/nexpose_thycotic/version.rb +1 -1
- data/nexpose_thycotic.gemspec +27 -0
- metadata +19 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91936ef2fca59387ee24d9b0374eebb1b9278e5b
|
|
4
|
+
data.tar.gz: 0c86fe226bc4869f8015bfd104a810df856f9fc3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f12acf30c40be3738b8c8edfc4c5e0251a9a5d4fe9b5300f4c79f49de1c4408ad08ba1ead9357fbf6b12c3d5d1463eb5a200be5df039e769c7a8985e13fe511
|
|
7
|
+
data.tar.gz: d2df4cb83137c208d37604a1676393a7a16e36f8c2bf06f0d8d328b899265a64c8d55809c69d4b78889afe0a3237771ee525602e258373233369d708a1a845c5
|
data/Gemfile.lock
CHANGED
data/bin/nx_thycotic.rb
CHANGED
|
@@ -3,27 +3,29 @@
|
|
|
3
3
|
# Do NOT run this gem without proper pre-configuration.
|
|
4
4
|
require 'nexpose_thycotic'
|
|
5
5
|
|
|
6
|
+
# Sites to collect credentials on, separated by commas.
|
|
7
|
+
sites = [ 7 ]
|
|
6
8
|
# Thycotic SecretServer URL.
|
|
7
|
-
|
|
9
|
+
# Set an Environment variable called THYCOTIC_URL to your sswebservice install
|
|
10
|
+
# IE: http://127.0.0.1/SecretServer/webservices/sswebservice.asmx?wsdl
|
|
11
|
+
thycotic_url = ENV['THYCOTIC_URL']
|
|
8
12
|
# Thycotic username.
|
|
9
|
-
thycotic_username = '
|
|
13
|
+
thycotic_username = ENV['THYCOTIC_USER']
|
|
10
14
|
# Thycotic password
|
|
11
|
-
thycotic_password = '
|
|
15
|
+
thycotic_password = ENV['THYCOTIC_PASS']
|
|
12
16
|
|
|
13
17
|
|
|
14
18
|
### NEXPOSE CONFIGURATION ###
|
|
15
19
|
# Nexpose IP Address
|
|
16
|
-
nexpose_ip = '
|
|
20
|
+
nexpose_ip = ENV['NEXPOSE_URL']
|
|
17
21
|
# Nexpose username
|
|
18
|
-
nexpose_username = '
|
|
22
|
+
nexpose_username = ENV['NEXPOSE_USER']
|
|
19
23
|
# Nexpose password
|
|
20
|
-
nexpose_password = '
|
|
21
|
-
|
|
22
|
-
sites = [ 7 ]
|
|
24
|
+
nexpose_password = ENV['NEXPOSE_PASS']
|
|
25
|
+
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
### DO NOT EDIT AFTER THIS LINE ###
|
|
26
|
-
NexposeThycotic::NxLogger.log_message('Testing', 'debug')
|
|
27
29
|
vault_options = { url: thycotic_url, username: thycotic_username, password: thycotic_password }
|
|
28
30
|
nexpose_options = { nexpose_ip: nexpose_ip, nexpose_username: nexpose_username, nexpose_password: nexpose_password, sites: sites }
|
|
29
31
|
NexposeThycotic.update_credentials(vault_options, nexpose_options)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'nexpose_thycotic/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "nexpose_thycotic"
|
|
8
|
+
spec.version = NexposeThycotic::VERSION
|
|
9
|
+
spec.authors = ["Damian Finol"]
|
|
10
|
+
spec.email = ["damian_finol@rapid7.com"]
|
|
11
|
+
spec.summary = %q{Nexpose Thycotic Gem Integration}
|
|
12
|
+
spec.description = %q{This gem allows Nexpose users to poll credentials from Thycotic SecretServer into 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
|
+
|
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
|
23
|
+
spec.add_development_dependency "rake"
|
|
24
|
+
spec.add_dependency "savon"
|
|
25
|
+
spec.add_dependency "rubyntlm"
|
|
26
|
+
spec.add_dependency 'nexpose'
|
|
27
|
+
end
|
metadata
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nexpose_thycotic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Damian Finol
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.5'
|
|
20
20
|
type: :development
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.5'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- -
|
|
31
|
+
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: '0'
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- -
|
|
38
|
+
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: savon
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '0'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rubyntlm
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- -
|
|
59
|
+
- - ">="
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- -
|
|
66
|
+
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: nexpose
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '0'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- -
|
|
80
|
+
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
description: This gem allows Nexpose users to poll credentials from Thycotic SecretServer
|
|
@@ -92,13 +92,14 @@ files:
|
|
|
92
92
|
- Gemfile
|
|
93
93
|
- Gemfile.lock
|
|
94
94
|
- LICENSE.txt
|
|
95
|
-
- Rakefile
|
|
96
95
|
- README.md
|
|
96
|
+
- Rakefile
|
|
97
|
+
- bin/nx_thycotic.rb
|
|
98
|
+
- lib/nexpose_thycotic.rb
|
|
97
99
|
- lib/nexpose_thycotic/nx_logger.rb
|
|
98
100
|
- lib/nexpose_thycotic/operations.rb
|
|
99
101
|
- lib/nexpose_thycotic/version.rb
|
|
100
|
-
-
|
|
101
|
-
- bin/nx_thycotic.rb
|
|
102
|
+
- nexpose_thycotic.gemspec
|
|
102
103
|
homepage: http://www.rapid7.com/
|
|
103
104
|
licenses:
|
|
104
105
|
- MIT
|
|
@@ -109,17 +110,17 @@ require_paths:
|
|
|
109
110
|
- lib
|
|
110
111
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
111
112
|
requirements:
|
|
112
|
-
- -
|
|
113
|
+
- - ">="
|
|
113
114
|
- !ruby/object:Gem::Version
|
|
114
115
|
version: '0'
|
|
115
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
117
|
requirements:
|
|
117
|
-
- -
|
|
118
|
+
- - ">="
|
|
118
119
|
- !ruby/object:Gem::Version
|
|
119
120
|
version: '0'
|
|
120
121
|
requirements: []
|
|
121
122
|
rubyforge_project:
|
|
122
|
-
rubygems_version: 2.
|
|
123
|
+
rubygems_version: 2.4.4
|
|
123
124
|
signing_key:
|
|
124
125
|
specification_version: 4
|
|
125
126
|
summary: Nexpose Thycotic Gem Integration
|