nexpose_thycotic 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cfe89f9e59547499a62f7d17adf19c1a3ab78cc
4
- data.tar.gz: 84d2068ae67621f761ecc896c4deb666aa85513d
3
+ metadata.gz: 91936ef2fca59387ee24d9b0374eebb1b9278e5b
4
+ data.tar.gz: 0c86fe226bc4869f8015bfd104a810df856f9fc3
5
5
  SHA512:
6
- metadata.gz: ce4458b781b8a05ace7d0303cfd261b95d0290871b89df994cae754547b33d489fe1df6ec3ffb3bf9db6d9a3477b593b65208c6c08022e06800fd26199cc2b70
7
- data.tar.gz: ed741b2f034eabc2f0434c8040391983df6f4dd295f7d3bb7df882195e282d877b8ebf3e033c7b7a1fbfff0d711cac6d8881434ff5fe923239e7a651fe4126f0
6
+ metadata.gz: 0f12acf30c40be3738b8c8edfc4c5e0251a9a5d4fe9b5300f4c79f49de1c4408ad08ba1ead9357fbf6b12c3d5d1463eb5a200be5df039e769c7a8985e13fe511
7
+ data.tar.gz: d2df4cb83137c208d37604a1676393a7a16e36f8c2bf06f0d8d328b899265a64c8d55809c69d4b78889afe0a3237771ee525602e258373233369d708a1a845c5
@@ -27,6 +27,8 @@ GEM
27
27
  nokogiri (~> 1.6, >= 1.6.2)
28
28
  nokogiri (1.6.3.1)
29
29
  mini_portile (= 0.6.0)
30
+ nokogiri (1.6.3.1-x86-mingw32)
31
+ mini_portile (= 0.6.0)
30
32
  nori (2.4.0)
31
33
  rack (1.5.2)
32
34
  rake (0.9.2.2)
@@ -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
- thycotic_url = 'http://YOURIP/SecretServer/webservices/sswebservice.asmx?wsdl'
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 = 'nxadmin'
13
+ thycotic_username = ENV['THYCOTIC_USER']
10
14
  # Thycotic password
11
- thycotic_password = 'nxadmin'
15
+ thycotic_password = ENV['THYCOTIC_PASS']
12
16
 
13
17
 
14
18
  ### NEXPOSE CONFIGURATION ###
15
19
  # Nexpose IP Address
16
- nexpose_ip = 'your_nexpose_installation_ip'
20
+ nexpose_ip = ENV['NEXPOSE_URL']
17
21
  # Nexpose username
18
- nexpose_username = 'nxadmin'
22
+ nexpose_username = ENV['NEXPOSE_USER']
19
23
  # Nexpose password
20
- nexpose_password = 'nxadmin'
21
- # Sites to collect credentials on, separated by commas.
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)
@@ -1,5 +1,5 @@
1
1
  module NexposeThycotic
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  def self.show_version
4
4
  puts VERSION
5
5
  end
@@ -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.2
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: 2014-11-13 00:00:00.000000000 Z
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
- - lib/nexpose_thycotic.rb
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.0.14
123
+ rubygems_version: 2.4.4
123
124
  signing_key:
124
125
  specification_version: 4
125
126
  summary: Nexpose Thycotic Gem Integration