nexpose_thycotic 0.2.0 → 0.3.0

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
- SHA1:
3
- metadata.gz: def1949052dd9744a7b1803cf32153ca840c3e04
4
- data.tar.gz: 616f386251fa0515e8d0df1a4b6a67b88eaa7a0b
2
+ SHA256:
3
+ metadata.gz: 2da0264e53ab0a24f72b3ccd8e71df0d1904cf86579b543a8ed54389e90e5f94
4
+ data.tar.gz: d292d4a7e58563feba4c9120b91cfb2b19ad7f7d8c2a074e136d55bd5d370360
5
5
  SHA512:
6
- metadata.gz: cb7b619bf897b98bc5910ee284711366dc3be9cbe4dde8653c9e23fc981d9373cd54c0fb96bf43f04ece34f5e2fd76f1bccafdeddc9979fe73a8044996686ce6
7
- data.tar.gz: 4922dcd8ee3930d85c0ddffb277fb38251c943bce86d906b6e54093e8b14cbfe9090a7357b13786fb98f2707ccbf64cbfe56273099b77ab89185ab660fee3b57
6
+ metadata.gz: c49fcfb4ed1f4676f077235966b4bb745ce6543a05eec46c1c8fa2b360c69e8ef646ee9f174ff5b206d71893136023e102ee55ea618b19ea00de4e60b639ffee
7
+ data.tar.gz: a074ba8f21f6b66c7a46d46ee8448b91fe7e63f497bc3ed5cbc66f6d19d634053b85d0674210e91a0afe3961375e2fa29ac926217b13e302f13637f00e0c440f
@@ -1,47 +1,45 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nexpose_thycotic (0.0.5)
5
- nexpose (~> 0.8.0)
6
- rubyntlm
4
+ nexpose_thycotic (0.3.0)
5
+ nexpose (~> 7.2)
7
6
  savon
7
+ symmetric-encryption (~> 3.9, >= 3.9.0)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- akami (1.3.0)
12
+ akami (1.3.1)
13
13
  gyoku (>= 0.4.0)
14
14
  nokogiri
15
- builder (3.2.2)
15
+ builder (3.2.3)
16
+ coercible (1.0.0)
17
+ descendants_tracker (~> 0.0.1)
18
+ descendants_tracker (0.0.4)
19
+ thread_safe (~> 0.3, >= 0.3.1)
16
20
  gyoku (1.3.1)
17
21
  builder (>= 2.1.2)
18
- httpi (2.4.0)
22
+ httpi (2.4.4)
19
23
  rack
20
- macaddr (1.7.1)
21
- systemu (~> 2.6.2)
22
- mini_portile (0.6.2)
23
- nexpose (0.8.18)
24
- nokogiri (~> 1.6, >= 1.6.2)
25
- rex (~> 2.0.4, >= 2.0.4)
26
- nokogiri (1.6.6.2)
27
- mini_portile (~> 0.6.0)
24
+ socksify
25
+ mini_portile2 (2.4.0)
26
+ nexpose (7.2.1)
27
+ nokogiri (1.10.1)
28
+ mini_portile2 (~> 2.4.0)
28
29
  nori (2.6.0)
29
- rack (1.6.1)
30
- rake (10.4.2)
31
- rex (2.0.8)
32
- rubyntlm (0.5.0)
33
- savon (2.11.0)
30
+ rack (2.0.6)
31
+ savon (2.12.0)
34
32
  akami (~> 1.2)
35
33
  builder (>= 2.1.2)
36
34
  gyoku (~> 1.2)
37
35
  httpi (~> 2.3)
38
- nokogiri (>= 1.4.0)
36
+ nokogiri (>= 1.8.1)
39
37
  nori (~> 2.4)
40
- uuid (~> 2.3.7)
41
38
  wasabi (~> 3.4)
42
- systemu (2.6.5)
43
- uuid (2.3.7)
44
- macaddr (~> 1.0)
39
+ socksify (1.7.1)
40
+ symmetric-encryption (3.9.1)
41
+ coercible (~> 1.0)
42
+ thread_safe (0.3.6)
45
43
  wasabi (3.5.0)
46
44
  httpi (~> 2.0)
47
45
  nokogiri (>= 1.4.2)
@@ -51,6 +49,7 @@ PLATFORMS
51
49
  x86-mingw32
52
50
 
53
51
  DEPENDENCIES
54
- bundler (~> 1.5)
55
52
  nexpose_thycotic!
56
- rake
53
+
54
+ BUNDLED WITH
55
+ 1.16.4
data/README.md CHANGED
@@ -63,6 +63,11 @@ The gem is available as open source under the terms of the [MIT License](http://
63
63
 
64
64
  ## Changelog
65
65
 
66
+ ### 0.3.0
67
+ - Bugfix to avoid removing Site Schedule name on save of credentials
68
+ - Bugfix to avoid removing Site Schedule Sub Asset configuration on save of credentials
69
+ - Optional settings to disable fetching of deleted and restricted credentials
70
+
66
71
  ### 0.2.0
67
72
  - User may configure the gem to delete or preserve existing credentials.
68
73
  - A customisable comment is now attached to password retrieval requests.
@@ -25,7 +25,9 @@ options = settings[:options]
25
25
  vault_options = { url: thycotic_options[:thycotic_url],
26
26
  username: thycotic_options[:thycotic_username],
27
27
  password: thycotic_options[:thycotic_password],
28
- comment: thycotic_options[:comment] }
28
+ comment: thycotic_options[:comment],
29
+ show_deleted: thycotic_options[:show_deleted],
30
+ show_restricted: thycotic_options[:show_restricted],}
29
31
 
30
32
  nexpose_options = { nexpose_ip: nexpose_options[:nexpose_url],
31
33
  nexpose_username: nexpose_options[:nexpose_username],
@@ -15,7 +15,10 @@ module NexposeThycotic
15
15
  nexpose_options[:log_console])
16
16
  log.info('Starting integration.')
17
17
 
18
- ss = ThycoticOperations.new(vault_options[:url], vault_options[:comment])
18
+ ss = ThycoticOperations.new(vault_options[:url],
19
+ vault_options[:comment],
20
+ vault_options[:show_deleted],
21
+ vault_options[:show_restricted])
19
22
  log.info("Logging into Thycotic at #{vault_options[:url]}")
20
23
  token = ss.authenticate(vault_options[:username], vault_options[:password])
21
24
 
@@ -29,13 +32,12 @@ module NexposeThycotic
29
32
  log.log_debug_message("Processing site #{site_id}")
30
33
  addresses = @nx.get_device_addresses(site_id)
31
34
 
32
- site_credentials = []
33
35
  if nexpose_options[:clear_creds]
34
- log.debug('Clearing existing credentials.')
36
+ log.info('Credentials not found in Thycotic will be removed.')
35
37
  else
36
- log.debug('Preserving existing credentials.')
37
- site_credentials = @nx.get_existing_credentials(site_id)
38
+ log.info('Preserving existing credentials.')
38
39
  end
40
+ site_credentials = @nx.get_existing_credentials(site_id)
39
41
 
40
42
  addresses.each do |addr|
41
43
  log.debug("Getting credentials for #{addr}")
@@ -47,16 +49,22 @@ module NexposeThycotic
47
49
  summaries.each do |summary|
48
50
  cred = self.create_credential(ss, token, summary, addr)
49
51
 
50
- site_credentials.reject! do |c|
51
- c.host_restriction == cred.host_restriction &&
52
- c.user_name == cred.user_name && c.service == cred.service
52
+ # Delete credsentials from site_credentials array that meet criteria and then pull one of the cred IDs
53
+ # that DO match. This allows us to perform an update on credential instead of creating from scratch.
54
+ removed_creds = []
55
+ site_credentials.delete_if{|c| removed_creds << c if c.host_restriction == cred.host_restriction &&
56
+ c.user_name == cred.user_name && c.service == cred.service}
57
+
58
+ # If matched, use ID of first in list to ensure update of credential
59
+ if removed_creds.length > 0
60
+ cred.id = removed_creds[0].id
53
61
  end
54
62
 
55
63
  site_credentials.push(cred)
56
64
  end
57
65
  end
58
66
 
59
- @nx.save_site(site_id, site_credentials)
67
+ @nx.save_site(site_id, site_credentials, nexpose_options[:clear_creds]) # Update or create site credentials depending on clear_creds
60
68
  log.info("Finished processing #{site_id}")
61
69
  end
62
70
  end
@@ -33,6 +33,10 @@
33
33
  :thycotic_password: password
34
34
  # (M) The comment used when retrieving each password
35
35
  :comment: 'Retrieved via Thycotic gem.'
36
+ # Show deleted Thycotic credentials; this should usually be set to false
37
+ :show_deleted: false
38
+ # Show restricted Thycotic credentials
39
+ :show_restricted: true
36
40
  :encryption_options:
37
41
  # (M) Path to the encryption.config file
38
42
  :directory: ../../config/encryption.config
@@ -0,0 +1,159 @@
1
+ I, [2020-01-28T17:17:07.171022 #86969] INFO -- : Logging enabled at level <info>
2
+ I, [2020-01-28T17:22:32.019437 #87777] INFO -- : Logging enabled at level <info>
3
+ I, [2020-01-28T17:25:43.599828 #88164] INFO -- : Logging enabled at level <info>
4
+ I, [2020-01-28T17:29:01.274120 #88556] INFO -- : Logging enabled at level <info>
5
+ I, [2020-01-28T17:45:14.721970 #89734] INFO -- : Logging enabled at level <info>
6
+ I, [2020-01-28T17:47:14.773667 #91325] INFO -- : Logging enabled at level <info>
7
+ I, [2020-01-28T17:50:06.604704 #91907] INFO -- : Logging enabled at level <info>
8
+ I, [2020-01-28T18:02:12.110454 #92848] INFO -- : Logging enabled at level <info>
9
+ I, [2020-01-28T18:03:59.617487 #93156] INFO -- : Logging enabled at level <info>
10
+ I, [2020-01-28T22:51:21.451110 #12229] INFO -- : Logging enabled at level <info>
11
+ I, [2020-01-28T22:54:58.928185 #12639] INFO -- : Logging enabled at level <info>
12
+ I, [2020-01-28T22:59:29.923145 #13110] INFO -- : Logging enabled at level <info>
13
+ I, [2020-02-03T17:06:31.651932 #41968] INFO -- : Logging enabled at level <info>
14
+ I, [2020-02-03T17:07:16.856133 #42209] INFO -- : Logging enabled at level <info>
15
+ I, [2020-02-03T17:09:56.003350 #42563] INFO -- : Logging enabled at level <info>
16
+ I, [2020-02-03T17:14:38.942136 #43040] INFO -- : Logging enabled at level <info>
17
+ I, [2020-02-03T17:15:56.231509 #43312] INFO -- : Logging enabled at level <info>
18
+ I, [2020-02-03T17:18:36.192994 #43688] INFO -- : Logging enabled at level <info>
19
+ I, [2020-02-03T17:20:35.656454 #44032] INFO -- : Logging enabled at level <info>
20
+ I, [2020-02-03T17:21:25.224339 #44289] INFO -- : Logging enabled at level <info>
21
+ I, [2020-02-03T17:23:45.429680 #44663] INFO -- : Logging enabled at level <info>
22
+ I, [2020-02-03T17:25:30.100470 #44978] INFO -- : Logging enabled at level <info>
23
+ I, [2020-02-03T19:44:59.434177 #53583] INFO -- : Logging enabled at level <info>
24
+ E, [2020-02-03T19:45:00.767608 #53583] ERROR -- : Site 6 failed to update; error code: 200, message: OK
25
+ I, [2020-02-03T19:45:52.892178 #53829] INFO -- : Logging enabled at level <info>
26
+ E, [2020-02-03T19:45:54.793921 #53829] ERROR -- : Site 6 failed to update; error code: 200, message: OK
27
+ I, [2020-02-03T19:47:27.978586 #54136] INFO -- : Logging enabled at level <info>
28
+ I, [2020-02-03T19:47:29.931220 #54136] INFO -- : Site 6 updated successfully with 0 credentials
29
+ I, [2020-02-04T09:09:28.845033 #68696] INFO -- : Logging enabled at level <info>
30
+ I, [2020-02-04T09:09:58.508817 #68933] INFO -- : Logging enabled at level <info>
31
+ I, [2020-02-04T09:10:40.628002 #69278] INFO -- : Logging enabled at level <info>
32
+ I, [2020-02-04T09:16:05.704169 #69860] INFO -- : Logging enabled at level <info>
33
+ I, [2020-02-04T09:18:43.237038 #70223] INFO -- : Logging enabled at level <info>
34
+ I, [2020-02-04T09:19:22.995050 #70458] INFO -- : Logging enabled at level <info>
35
+ I, [2020-02-04T09:20:56.786946 #70748] INFO -- : Logging enabled at level <info>
36
+ I, [2020-02-04T09:21:52.545596 #71013] INFO -- : Logging enabled at level <info>
37
+ I, [2020-02-04T09:22:43.368568 #71256] INFO -- : Logging enabled at level <info>
38
+ I, [2020-02-04T09:23:15.008786 #71481] INFO -- : Logging enabled at level <info>
39
+ I, [2020-02-04T09:23:25.732426 #71690] INFO -- : Logging enabled at level <info>
40
+ I, [2020-02-04T09:25:39.814922 #72026] INFO -- : Logging enabled at level <info>
41
+ I, [2020-02-04T09:27:54.003921 #72359] INFO -- : Logging enabled at level <info>
42
+ I, [2020-02-04T09:28:20.763454 #72582] INFO -- : Logging enabled at level <info>
43
+ I, [2020-02-04T09:28:47.887368 #72805] INFO -- : Logging enabled at level <info>
44
+ I, [2020-02-04T10:35:04.789882 #77798] INFO -- : Logging enabled at level <info>
45
+ I, [2020-02-04T10:38:22.795594 #78199] INFO -- : Logging enabled at level <info>
46
+ I, [2020-02-04T10:38:52.072126 #78421] INFO -- : Logging enabled at level <info>
47
+ I, [2020-02-04T11:03:26.109822 #80220] INFO -- : Logging enabled at level <info>
48
+ I, [2020-02-04T11:05:18.348750 #80546] INFO -- : Logging enabled at level <info>
49
+ I, [2020-02-04T11:05:22.001130 #80546] INFO -- : Site 6 credentials removed successfully
50
+ I, [2020-02-04T11:11:32.287275 #81153] INFO -- : Logging enabled at level <info>
51
+ I, [2020-02-04T11:11:34.950558 #81153] INFO -- : Site 6 credentials removed successfully
52
+ I, [2020-02-04T11:12:24.923712 #81599] INFO -- : Logging enabled at level <info>
53
+ E, [2020-02-04T11:12:26.355655 #81599] ERROR -- : Failed to remove Site 100 credentials; NexposeAPI: DELETE request to /api/3/sites/100/site_credentials failed. response body: {
54
+ "status" : 404,
55
+ "message" : "The resource does not exist or access is prohibited.",
56
+ "links" : [ {
57
+ "href" : "https://integrations-ivm-console.vuln.lax.rapid7.com:3780/api/3/sites/100/site_credentials",
58
+ "rel" : "self"
59
+ } ]
60
+ }
61
+ I, [2020-02-04T11:13:01.173524 #81827] INFO -- : Logging enabled at level <info>
62
+ I, [2020-02-04T11:13:02.809951 #81827] INFO -- : Site 6 credentials removed successfully
63
+ I, [2020-02-04T11:20:21.767800 #82778] INFO -- : Logging enabled at level <info>
64
+ I, [2020-02-04T11:20:22.420561 #82778] INFO -- : Site 6 credentials removed successfully
65
+ I, [2020-02-04T11:23:17.062479 #83177] INFO -- : Logging enabled at level <info>
66
+ I, [2020-02-04T11:23:17.463990 #83177] INFO -- : Site 6 credentials removed successfully
67
+ I, [2020-02-04T11:24:17.050129 #83443] INFO -- : Logging enabled at level <info>
68
+ I, [2020-02-04T11:24:18.094794 #83443] INFO -- : Site 6 credentials removed successfully
69
+ I, [2020-02-04T13:10:21.183864 #90513] INFO -- : Logging enabled at level <info>
70
+ I, [2020-02-04T13:12:14.027387 #90828] INFO -- : Logging enabled at level <info>
71
+ I, [2020-02-04T13:13:06.166113 #91077] INFO -- : Logging enabled at level <info>
72
+ I, [2020-02-04T13:14:36.385435 #91370] INFO -- : Logging enabled at level <info>
73
+ I, [2020-02-04T13:19:43.084523 #91889] INFO -- : Logging enabled at level <info>
74
+ I, [2020-02-04T13:22:34.814254 #92253] INFO -- : Logging enabled at level <info>
75
+ I, [2020-02-04T13:43:07.283340 #93806] INFO -- : Logging enabled at level <info>
76
+ I, [2020-02-04T13:44:37.175651 #94138] INFO -- : Logging enabled at level <info>
77
+ I, [2020-02-04T13:45:33.791526 #94397] INFO -- : Logging enabled at level <info>
78
+ I, [2020-02-04T13:47:51.828372 #94744] INFO -- : Logging enabled at level <info>
79
+ I, [2020-02-04T13:50:15.133888 #95077] INFO -- : Logging enabled at level <info>
80
+ I, [2020-02-04T13:51:12.349595 #95328] INFO -- : Logging enabled at level <info>
81
+ I, [2020-02-04T14:15:31.537874 #97088] INFO -- : Logging enabled at level <info>
82
+ I, [2020-02-04T14:15:47.547393 #97313] INFO -- : Logging enabled at level <info>
83
+ I, [2020-02-04T14:16:02.678081 #97531] INFO -- : Logging enabled at level <info>
84
+ I, [2020-02-04T14:16:02.678206 #97531] INFO -- : No configuration value found for thycotic_username
85
+ I, [2020-02-04T14:16:02.678233 #97531] INFO -- : No configuration value found for thycotic_password
86
+ I, [2020-02-04T14:16:02.678261 #97531] INFO -- : No configuration value found for nexpose_username
87
+ I, [2020-02-04T14:16:02.678284 #97531] INFO -- : No configuration value found for nexpose_password
88
+ I, [2020-02-04T14:16:50.958809 #97778] INFO -- : Logging enabled at level <info>
89
+ I, [2020-02-04T14:18:24.502592 #98066] INFO -- : Logging enabled at level <info>
90
+ I, [2020-02-04T14:19:54.202299 #98357] INFO -- : Logging enabled at level <info>
91
+ I, [2020-02-04T14:20:15.874197 #98578] INFO -- : Logging enabled at level <info>
92
+ I, [2020-02-04T14:22:11.079631 #98882] INFO -- : Logging enabled at level <info>
93
+ I, [2020-02-04T14:23:30.174417 #99156] INFO -- : Logging enabled at level <info>
94
+ I, [2020-02-04T15:15:53.343204 #3105] INFO -- : Logging enabled at level <info>
95
+ I, [2020-02-04T15:17:06.372872 #3385] INFO -- : Logging enabled at level <info>
96
+ I, [2020-02-04T15:17:31.662678 #3603] INFO -- : Logging enabled at level <info>
97
+ I, [2020-02-04T16:58:47.929883 #10304] INFO -- : Logging enabled at level <info>
98
+ I, [2020-02-04T17:00:22.498418 #10598] INFO -- : Logging enabled at level <info>
99
+ I, [2020-02-04T17:01:06.128661 #10836] INFO -- : Logging enabled at level <info>
100
+ I, [2020-02-04T17:03:29.688942 #11172] INFO -- : Logging enabled at level <info>
101
+ I, [2020-02-04T17:04:27.478284 #11430] INFO -- : Logging enabled at level <info>
102
+ I, [2020-02-04T17:24:04.355184 #12922] INFO -- : Logging enabled at level <info>
103
+ I, [2020-02-04T17:30:56.963800 #13540] INFO -- : Logging enabled at level <info>
104
+ I, [2020-02-04T17:31:38.354508 #13781] INFO -- : Logging enabled at level <info>
105
+ I, [2020-02-04T17:32:28.919182 #14028] INFO -- : Logging enabled at level <info>
106
+ I, [2020-02-04T17:32:58.943174 #14251] INFO -- : Logging enabled at level <info>
107
+ I, [2020-02-04T17:34:24.916227 #14532] INFO -- : Logging enabled at level <info>
108
+ I, [2020-02-04T17:35:02.229715 #14768] INFO -- : Logging enabled at level <info>
109
+ I, [2020-02-04T17:36:32.322504 #15052] INFO -- : Logging enabled at level <info>
110
+ I, [2020-02-04T17:38:24.599967 #15369] INFO -- : Logging enabled at level <info>
111
+ I, [2020-02-04T17:38:38.348444 #15574] INFO -- : Logging enabled at level <info>
112
+ I, [2020-02-04T17:39:42.978982 #15838] INFO -- : Logging enabled at level <info>
113
+ I, [2020-02-04T17:40:50.864418 #16105] INFO -- : Logging enabled at level <info>
114
+ I, [2020-02-04T17:42:11.741901 #16379] INFO -- : Logging enabled at level <info>
115
+ I, [2020-02-04T17:42:36.432387 #16605] INFO -- : Logging enabled at level <info>
116
+ I, [2020-02-04T17:53:03.991793 #17439] INFO -- : Logging enabled at level <info>
117
+ I, [2020-02-04T17:57:59.848474 #17965] INFO -- : Logging enabled at level <info>
118
+ I, [2020-02-04T17:59:38.363941 #18265] INFO -- : Logging enabled at level <info>
119
+ I, [2020-02-04T18:01:05.310478 #18538] INFO -- : Logging enabled at level <info>
120
+ I, [2020-02-04T18:02:29.657635 #18824] INFO -- : Logging enabled at level <info>
121
+ I, [2020-02-04T18:02:49.567268 #19034] INFO -- : Logging enabled at level <info>
122
+ I, [2020-02-04T18:06:04.036954 #19464] INFO -- : Logging enabled at level <info>
123
+ I, [2020-02-04T18:07:00.308675 #19710] INFO -- : Logging enabled at level <info>
124
+ I, [2020-02-04T18:07:57.254905 #19968] INFO -- : Logging enabled at level <info>
125
+ I, [2020-02-04T18:08:28.784199 #20190] INFO -- : Logging enabled at level <info>
126
+ I, [2020-02-04T18:22:58.220765 #21291] INFO -- : Logging enabled at level <info>
127
+ I, [2020-02-05T13:42:19.177646 #69772] INFO -- : Logging enabled at level <info>
128
+ I, [2020-02-07T16:52:38.440140 #68430] INFO -- : Logging enabled at level <info>
129
+ I, [2020-02-07T16:55:57.315935 #68836] INFO -- : Logging enabled at level <info>
130
+ I, [2020-02-07T16:56:39.682300 #69077] INFO -- : Logging enabled at level <info>
131
+ I, [2020-02-07T16:59:06.162567 #69419] INFO -- : Logging enabled at level <info>
132
+ I, [2020-02-07T17:00:31.360007 #69733] INFO -- : Logging enabled at level <info>
133
+ I, [2020-02-07T17:01:40.039288 #70011] INFO -- : Logging enabled at level <info>
134
+ I, [2020-02-07T17:03:08.754560 #70295] INFO -- : Logging enabled at level <info>
135
+ I, [2020-02-07T17:03:50.470162 #70535] INFO -- : Logging enabled at level <info>
136
+ I, [2020-02-07T17:06:52.209639 #70911] INFO -- : Logging enabled at level <info>
137
+ I, [2020-02-07T17:08:38.022617 #71221] INFO -- : Logging enabled at level <info>
138
+ I, [2020-02-07T17:10:52.389625 #71554] INFO -- : Logging enabled at level <info>
139
+ I, [2020-02-07T17:12:18.017517 #71836] INFO -- : Logging enabled at level <info>
140
+ I, [2020-02-07T17:14:11.686336 #72152] INFO -- : Logging enabled at level <info>
141
+ I, [2020-02-07T17:16:09.443074 #72463] INFO -- : Logging enabled at level <info>
142
+ I, [2020-02-07T17:20:31.281109 #72927] INFO -- : Logging enabled at level <info>
143
+ I, [2020-02-07T17:21:36.460273 #73193] INFO -- : Logging enabled at level <info>
144
+ I, [2020-02-07T17:30:25.280547 #73937] INFO -- : Logging enabled at level <info>
145
+ I, [2020-02-07T17:31:38.595928 #74219] INFO -- : Logging enabled at level <info>
146
+ I, [2020-02-07T17:32:13.213286 #74450] INFO -- : Logging enabled at level <info>
147
+ I, [2020-02-07T17:32:40.403099 #74671] INFO -- : Logging enabled at level <info>
148
+ I, [2020-02-07T17:33:03.050543 #74889] INFO -- : Logging enabled at level <info>
149
+ I, [2020-02-07T17:33:41.507769 #75126] INFO -- : Logging enabled at level <info>
150
+ I, [2020-02-07T17:34:39.334311 #75380] INFO -- : Logging enabled at level <info>
151
+ I, [2020-02-07T17:35:53.448526 #75654] INFO -- : Logging enabled at level <info>
152
+ I, [2020-02-07T17:36:49.907320 #75905] INFO -- : Logging enabled at level <info>
153
+ I, [2020-02-07T17:37:19.342511 #76135] INFO -- : Logging enabled at level <info>
154
+ I, [2020-02-07T17:37:45.745043 #76354] INFO -- : Logging enabled at level <info>
155
+ I, [2020-02-07T17:40:49.523083 #76735] INFO -- : Logging enabled at level <info>
156
+ I, [2020-02-07T17:43:17.485042 #77084] INFO -- : Logging enabled at level <info>
157
+ I, [2020-02-07T17:43:34.075479 #77300] INFO -- : Logging enabled at level <info>
158
+ I, [2020-02-07T17:44:08.851001 #77527] INFO -- : Logging enabled at level <info>
159
+ I, [2020-02-07T17:45:03.491608 #77780] INFO -- : Logging enabled at level <info>
@@ -0,0 +1,260 @@
1
+ I, [2020-02-04T18:22:58.221273 #21291] INFO -- : Logging enabled at level <info>
2
+ I, [2020-02-04T18:22:58.221353 #21291] INFO -- : Starting integration.
3
+ I, [2020-02-04T18:22:58.221557 #21291] INFO -- : Logging into Thycotic at https://127.0.0.1/SecretServer/webservices/sswebservice.asmx?wsdl
4
+ I, [2020-02-05T13:42:19.178122 #69772] INFO -- : Logging enabled at level <info>
5
+ I, [2020-02-05T13:42:19.178369 #69772] INFO -- : Starting integration.
6
+ I, [2020-02-05T13:42:19.178534 #69772] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
7
+ I, [2020-02-05T13:42:21.555842 #69772] INFO -- : Processing sites
8
+ I, [2020-02-05T13:42:29.935165 #69772] INFO -- : Site 6 credentials removed successfully
9
+ I, [2020-02-05T13:42:30.959184 #69772] INFO -- : Site 6 updated successfully with 3 credentials
10
+ I, [2020-02-05T13:42:30.959269 #69772] INFO -- : Finished processing 6
11
+ I, [2020-02-07T16:52:38.440587 #68430] INFO -- : Logging enabled at level <info>
12
+ I, [2020-02-07T16:52:38.440784 #68430] INFO -- : Starting integration.
13
+ I, [2020-02-07T16:52:38.440921 #68430] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
14
+ I, [2020-02-07T16:52:40.406158 #68430] INFO -- : Processing sites
15
+ I, [2020-02-07T16:52:46.114192 #68430] INFO -- : Site 6 updated successfully with 3 credentials
16
+ I, [2020-02-07T16:52:46.114454 #68430] INFO -- : Finished processing 6
17
+ I, [2020-02-07T16:55:57.316177 #68836] INFO -- : Logging enabled at level <info>
18
+ I, [2020-02-07T16:55:57.316400 #68836] INFO -- : Starting integration.
19
+ I, [2020-02-07T16:55:57.316561 #68836] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
20
+ I, [2020-02-07T16:55:59.431006 #68836] INFO -- : Processing sites
21
+ I, [2020-02-07T16:56:05.386645 #68836] INFO -- : Site 6 updated successfully with 3 credentials
22
+ I, [2020-02-07T16:56:05.386753 #68836] INFO -- : Finished processing 6
23
+ I, [2020-02-07T16:56:39.682796 #69077] INFO -- : Logging enabled at level <info>
24
+ I, [2020-02-07T16:56:39.682980 #69077] INFO -- : Starting integration.
25
+ I, [2020-02-07T16:56:39.683113 #69077] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
26
+ I, [2020-02-07T16:56:41.816290 #69077] INFO -- : Processing sites
27
+ I, [2020-02-07T16:56:47.961484 #69077] INFO -- : Site 6 updated successfully with 3 credentials
28
+ I, [2020-02-07T16:56:47.961580 #69077] INFO -- : Finished processing 6
29
+ I, [2020-02-07T16:59:06.162962 #69419] INFO -- : Logging enabled at level <info>
30
+ I, [2020-02-07T16:59:06.163132 #69419] INFO -- : Starting integration.
31
+ I, [2020-02-07T16:59:06.163296 #69419] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
32
+ I, [2020-02-07T16:59:08.041482 #69419] INFO -- : Processing sites
33
+ I, [2020-02-07T16:59:14.011643 #69419] INFO -- : Site 6 updated successfully with 3 credentials
34
+ I, [2020-02-07T16:59:14.012772 #69419] INFO -- : Finished processing 6
35
+ I, [2020-02-07T17:00:31.360265 #69733] INFO -- : Logging enabled at level <info>
36
+ I, [2020-02-07T17:00:31.360305 #69733] INFO -- : Starting integration.
37
+ I, [2020-02-07T17:00:31.360412 #69733] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
38
+ I, [2020-02-07T17:00:33.407456 #69733] INFO -- : Processing sites
39
+ I, [2020-02-07T17:00:39.636147 #69733] INFO -- : Site 6 updated successfully with 3 credentials
40
+ I, [2020-02-07T17:00:39.636368 #69733] INFO -- : Finished processing 6
41
+ I, [2020-02-07T17:01:40.039571 #70011] INFO -- : Logging enabled at level <info>
42
+ I, [2020-02-07T17:01:40.039609 #70011] INFO -- : Starting integration.
43
+ I, [2020-02-07T17:01:40.039708 #70011] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
44
+ I, [2020-02-07T17:01:42.154609 #70011] INFO -- : Processing sites
45
+ I, [2020-02-07T17:01:47.881379 #70011] INFO -- : Site 6 credential successfully created
46
+ I, [2020-02-07T17:01:48.404217 #70011] INFO -- : Site 6 credential successfully created
47
+ I, [2020-02-07T17:01:49.021886 #70011] INFO -- : Site 6 credential successfully created
48
+ I, [2020-02-07T17:01:49.513052 #70011] INFO -- : Site 6 updated successfully with 0 credentials
49
+ I, [2020-02-07T17:01:49.513143 #70011] INFO -- : Finished processing 6
50
+ I, [2020-02-07T17:03:08.755431 #70295] INFO -- : Logging enabled at level <info>
51
+ I, [2020-02-07T17:03:08.755814 #70295] INFO -- : Starting integration.
52
+ I, [2020-02-07T17:03:08.756200 #70295] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
53
+ I, [2020-02-07T17:03:10.561823 #70295] INFO -- : Processing sites
54
+ I, [2020-02-07T17:03:16.461332 #70295] INFO -- : Site 6 updated successfully with 3 credentials
55
+ I, [2020-02-07T17:03:16.462342 #70295] INFO -- : Finished processing 6
56
+ I, [2020-02-07T17:03:50.470402 #70535] INFO -- : Logging enabled at level <info>
57
+ I, [2020-02-07T17:03:50.470444 #70535] INFO -- : Starting integration.
58
+ I, [2020-02-07T17:03:50.470559 #70535] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
59
+ I, [2020-02-07T17:03:52.531778 #70535] INFO -- : Processing sites
60
+ I, [2020-02-07T17:03:59.105529 #70535] INFO -- : Site 6 credential successfully created
61
+ I, [2020-02-07T17:04:00.332724 #70535] INFO -- : Site 6 credential successfully created
62
+ I, [2020-02-07T17:04:01.562951 #70535] INFO -- : Site 6 credential successfully created
63
+ I, [2020-02-07T17:04:02.350956 #70535] INFO -- : Site 6 updated successfully with 0 credentials
64
+ I, [2020-02-07T17:04:02.351058 #70535] INFO -- : Finished processing 6
65
+ I, [2020-02-07T17:06:52.210058 #70911] INFO -- : Logging enabled at level <info>
66
+ I, [2020-02-07T17:06:52.210248 #70911] INFO -- : Starting integration.
67
+ I, [2020-02-07T17:06:52.210379 #70911] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
68
+ I, [2020-02-07T17:06:55.226497 #70911] INFO -- : Processing sites
69
+ I, [2020-02-07T17:07:02.197780 #70911] INFO -- : Site 6 credential successfully created
70
+ I, [2020-02-07T17:07:03.200827 #70911] INFO -- : Site 6 credential successfully created
71
+ I, [2020-02-07T17:07:04.273336 #70911] INFO -- : Site 6 credential successfully created
72
+ I, [2020-02-07T17:07:04.942419 #70911] INFO -- : Site 6 updated successfully with 0 credentials
73
+ I, [2020-02-07T17:07:04.942539 #70911] INFO -- : Finished processing 6
74
+ I, [2020-02-07T17:08:38.023122 #71221] INFO -- : Logging enabled at level <info>
75
+ I, [2020-02-07T17:08:38.023301 #71221] INFO -- : Starting integration.
76
+ I, [2020-02-07T17:08:38.023427 #71221] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
77
+ I, [2020-02-07T17:08:40.085299 #71221] INFO -- : Processing sites
78
+ I, [2020-02-07T17:08:45.419420 #71221] INFO -- : Site 6 credential successfully created
79
+ I, [2020-02-07T17:08:46.563276 #71221] INFO -- : Site 6 credential successfully created
80
+ I, [2020-02-07T17:08:47.610646 #71221] INFO -- : Site 6 credential successfully created
81
+ I, [2020-02-07T17:08:48.697129 #71221] INFO -- : Site 6 updated successfully with 0 credentials
82
+ I, [2020-02-07T17:08:48.697244 #71221] INFO -- : Finished processing 6
83
+ I, [2020-02-07T17:10:52.390120 #71554] INFO -- : Logging enabled at level <info>
84
+ I, [2020-02-07T17:10:52.390478 #71554] INFO -- : Starting integration.
85
+ I, [2020-02-07T17:10:52.390592 #71554] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
86
+ I, [2020-02-07T17:10:54.178978 #71554] INFO -- : Processing sites
87
+ I, [2020-02-07T17:10:59.971403 #71554] INFO -- : Site 6 credential successfully created
88
+ I, [2020-02-07T17:11:00.793725 #71554] INFO -- : Site 6 credential successfully created
89
+ I, [2020-02-07T17:11:01.818486 #71554] INFO -- : Site 6 credential successfully created
90
+ I, [2020-02-07T17:11:02.680982 #71554] INFO -- : Site 6 updated successfully with 0 credentials
91
+ I, [2020-02-07T17:11:02.681262 #71554] INFO -- : Finished processing 6
92
+ I, [2020-02-07T17:12:18.017972 #71836] INFO -- : Logging enabled at level <info>
93
+ I, [2020-02-07T17:12:18.018173 #71836] INFO -- : Starting integration.
94
+ I, [2020-02-07T17:12:18.018338 #71836] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
95
+ I, [2020-02-07T17:12:20.241820 #71836] INFO -- : Processing sites
96
+ I, [2020-02-07T17:12:31.877129 #71836] INFO -- : Site 6 credential successfully created
97
+ I, [2020-02-07T17:12:32.674221 #71836] INFO -- : Site 6 credential successfully created
98
+ I, [2020-02-07T17:12:33.630019 #71836] INFO -- : Site 6 credential successfully created
99
+ I, [2020-02-07T17:12:34.387989 #71836] INFO -- : Site 6 updated successfully with 0 credentials
100
+ I, [2020-02-07T17:12:34.388066 #71836] INFO -- : Finished processing 6
101
+ I, [2020-02-07T17:14:11.686771 #72152] INFO -- : Logging enabled at level <info>
102
+ I, [2020-02-07T17:14:11.686952 #72152] INFO -- : Starting integration.
103
+ I, [2020-02-07T17:14:11.687088 #72152] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
104
+ I, [2020-02-07T17:14:13.954332 #72152] INFO -- : Processing sites
105
+ I, [2020-02-07T17:14:19.997344 #72152] INFO -- : Site 6 credential successfully created
106
+ I, [2020-02-07T17:14:21.168649 #72152] INFO -- : Site 6 credential successfully created
107
+ I, [2020-02-07T17:14:22.319734 #72152] INFO -- : Site 6 credential successfully created
108
+ I, [2020-02-07T17:14:23.142474 #72152] INFO -- : Site 6 updated successfully with 0 credentials
109
+ I, [2020-02-07T17:14:23.142587 #72152] INFO -- : Finished processing 6
110
+ I, [2020-02-07T17:16:09.443523 #72463] INFO -- : Logging enabled at level <info>
111
+ I, [2020-02-07T17:16:09.443710 #72463] INFO -- : Starting integration.
112
+ I, [2020-02-07T17:16:09.443834 #72463] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
113
+ I, [2020-02-07T17:16:11.549314 #72463] INFO -- : Processing sites
114
+ I, [2020-02-07T17:16:12.143686 #72463] INFO -- : Credentials not found in Thycotic will be removed.
115
+ I, [2020-02-07T17:16:17.525802 #72463] INFO -- : Site 6 credential 41 removed successfully
116
+ I, [2020-02-07T17:16:18.290053 #72463] INFO -- : Site 6 credential 36 removed successfully
117
+ I, [2020-02-07T17:16:18.810905 #72463] INFO -- : Site 6 credential 37 removed successfully
118
+ I, [2020-02-07T17:16:19.283842 #72463] INFO -- : Site 6 credential 35 removed successfully
119
+ I, [2020-02-07T17:16:19.668488 #72463] INFO -- : Site 6 updated successfully with 3 credentials
120
+ I, [2020-02-07T17:16:19.668607 #72463] INFO -- : Finished processing 6
121
+ I, [2020-02-07T17:20:31.281599 #72927] INFO -- : Logging enabled at level <info>
122
+ I, [2020-02-07T17:20:31.281789 #72927] INFO -- : Starting integration.
123
+ I, [2020-02-07T17:20:31.281935 #72927] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
124
+ I, [2020-02-07T17:20:33.375350 #72927] INFO -- : Processing sites
125
+ I, [2020-02-07T17:20:34.136610 #72927] INFO -- : Credentials not found in Thycotic will be removed.
126
+ I, [2020-02-07T17:20:39.624383 #72927] INFO -- : Site 6 credential successfully created
127
+ I, [2020-02-07T17:20:40.767512 #72927] INFO -- : Site 6 credential successfully created
128
+ I, [2020-02-07T17:20:41.638096 #72927] INFO -- : Site 6 credential successfully created
129
+ I, [2020-02-07T17:20:42.101802 #72927] INFO -- : Site 6 updated successfully with 0 credentials
130
+ I, [2020-02-07T17:20:42.101950 #72927] INFO -- : Finished processing 6
131
+ I, [2020-02-07T17:21:36.460754 #73193] INFO -- : Logging enabled at level <info>
132
+ I, [2020-02-07T17:21:36.460966 #73193] INFO -- : Starting integration.
133
+ I, [2020-02-07T17:21:36.461105 #73193] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
134
+ I, [2020-02-07T17:21:38.286534 #73193] INFO -- : Processing sites
135
+ I, [2020-02-07T17:21:39.159200 #73193] INFO -- : Credentials not found in Thycotic will be removed.
136
+ I, [2020-02-07T17:21:44.540078 #73193] INFO -- : Site 6 credential 54 removed successfully
137
+ I, [2020-02-07T17:21:45.312553 #73193] INFO -- : Site 6 credential 57 removed successfully
138
+ I, [2020-02-07T17:21:46.141187 #73193] INFO -- : Site 6 credential 55 removed successfully
139
+ I, [2020-02-07T17:21:46.931896 #73193] INFO -- : Site 6 credential 56 removed successfully
140
+ I, [2020-02-07T17:21:47.669358 #73193] INFO -- : Site 6 updated successfully with 3 credentials
141
+ I, [2020-02-07T17:21:47.669433 #73193] INFO -- : Finished processing 6
142
+ I, [2020-02-07T17:30:25.281018 #73937] INFO -- : Logging enabled at level <info>
143
+ I, [2020-02-07T17:30:25.281243 #73937] INFO -- : Starting integration.
144
+ I, [2020-02-07T17:30:25.281365 #73937] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
145
+ I, [2020-02-07T17:30:27.408470 #73937] INFO -- : Processing sites
146
+ I, [2020-02-07T17:30:27.962063 #73937] INFO -- : Credentials not found in Thycotic will be removed.
147
+ I, [2020-02-07T17:31:38.596219 #74219] INFO -- : Logging enabled at level <info>
148
+ I, [2020-02-07T17:31:38.596269 #74219] INFO -- : Starting integration.
149
+ I, [2020-02-07T17:31:38.596400 #74219] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
150
+ I, [2020-02-07T17:31:40.589157 #74219] INFO -- : Processing sites
151
+ I, [2020-02-07T17:31:41.201440 #74219] INFO -- : Credentials not found in Thycotic will be removed.
152
+ I, [2020-02-07T17:32:13.213545 #74450] INFO -- : Logging enabled at level <info>
153
+ I, [2020-02-07T17:32:13.213595 #74450] INFO -- : Starting integration.
154
+ I, [2020-02-07T17:32:13.213720 #74450] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
155
+ I, [2020-02-07T17:32:15.299880 #74450] INFO -- : Processing sites
156
+ I, [2020-02-07T17:32:15.988553 #74450] INFO -- : Credentials not found in Thycotic will be removed.
157
+ I, [2020-02-07T17:32:20.720502 #74450] INFO -- : Site 6 credential successfully created
158
+ I, [2020-02-07T17:32:21.222964 #74450] INFO -- : Site 6 credential successfully created
159
+ I, [2020-02-07T17:32:21.854986 #74450] INFO -- : Site 6 credential successfully created
160
+ I, [2020-02-07T17:32:21.855116 #74450] INFO -- : Finished processing 6
161
+ I, [2020-02-07T17:32:40.403377 #74671] INFO -- : Logging enabled at level <info>
162
+ I, [2020-02-07T17:32:40.403427 #74671] INFO -- : Starting integration.
163
+ I, [2020-02-07T17:32:40.403541 #74671] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
164
+ I, [2020-02-07T17:32:42.416858 #74671] INFO -- : Processing sites
165
+ I, [2020-02-07T17:32:43.001807 #74671] INFO -- : Credentials not found in Thycotic will be removed.
166
+ I, [2020-02-07T17:33:03.051118 #74889] INFO -- : Logging enabled at level <info>
167
+ I, [2020-02-07T17:33:03.051260 #74889] INFO -- : Starting integration.
168
+ I, [2020-02-07T17:33:03.051673 #74889] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
169
+ I, [2020-02-07T17:33:04.904349 #74889] INFO -- : Processing sites
170
+ I, [2020-02-07T17:33:05.524828 #74889] INFO -- : Credentials not found in Thycotic will be removed.
171
+ I, [2020-02-07T17:33:11.811031 #74889] INFO -- : Site 6 updated successfully with 3 credentials
172
+ I, [2020-02-07T17:33:11.811190 #74889] INFO -- : Finished processing 6
173
+ I, [2020-02-07T17:33:41.508286 #75126] INFO -- : Logging enabled at level <info>
174
+ I, [2020-02-07T17:33:41.508514 #75126] INFO -- : Starting integration.
175
+ I, [2020-02-07T17:33:41.508643 #75126] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
176
+ I, [2020-02-07T17:33:43.454810 #75126] INFO -- : Processing sites
177
+ I, [2020-02-07T17:33:44.016545 #75126] INFO -- : Credentials not found in Thycotic will be removed.
178
+ I, [2020-02-07T17:33:50.898036 #75126] INFO -- : Site 6 updated successfully with 3 credentials
179
+ I, [2020-02-07T17:33:50.898159 #75126] INFO -- : Finished processing 6
180
+ I, [2020-02-07T17:34:39.334640 #75380] INFO -- : Logging enabled at level <info>
181
+ I, [2020-02-07T17:34:39.334708 #75380] INFO -- : Starting integration.
182
+ I, [2020-02-07T17:34:39.334850 #75380] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
183
+ I, [2020-02-07T17:34:42.308884 #75380] INFO -- : Processing sites
184
+ I, [2020-02-07T17:34:42.897317 #75380] INFO -- : Credentials not found in Thycotic will be removed.
185
+ I, [2020-02-07T17:34:51.558413 #75380] INFO -- : Site 6 credential 61 removed successfully
186
+ I, [2020-02-07T17:34:52.265167 #75380] INFO -- : Site 6 updated successfully with 3 credentials
187
+ I, [2020-02-07T17:34:52.265248 #75380] INFO -- : Finished processing 6
188
+ I, [2020-02-07T17:35:53.448993 #75654] INFO -- : Logging enabled at level <info>
189
+ I, [2020-02-07T17:35:53.449315 #75654] INFO -- : Starting integration.
190
+ I, [2020-02-07T17:35:53.449452 #75654] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
191
+ I, [2020-02-07T17:35:55.411176 #75654] INFO -- : Processing sites
192
+ I, [2020-02-07T17:35:56.018294 #75654] INFO -- : Credentials not found in Thycotic will be removed.
193
+ I, [2020-02-07T17:36:00.900805 #75654] INFO -- : Site 6 credential removed successfully
194
+ I, [2020-02-07T17:36:01.400560 #75654] INFO -- : Site 6 credential successfully created
195
+ I, [2020-02-07T17:36:01.963910 #75654] INFO -- : Site 6 credential successfully created
196
+ I, [2020-02-07T17:36:02.471995 #75654] INFO -- : Site 6 updated successfully with 1 credentials
197
+ I, [2020-02-07T17:36:02.472121 #75654] INFO -- : Finished processing 6
198
+ I, [2020-02-07T17:36:49.907559 #75905] INFO -- : Logging enabled at level <info>
199
+ I, [2020-02-07T17:36:49.907609 #75905] INFO -- : Starting integration.
200
+ I, [2020-02-07T17:36:49.907752 #75905] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
201
+ I, [2020-02-07T17:36:52.147350 #75905] INFO -- : Processing sites
202
+ I, [2020-02-07T17:36:52.810577 #75905] INFO -- : Preserving existing credentials.
203
+ I, [2020-02-07T17:36:58.500748 #75905] INFO -- : Site 6 updated successfully with 3 credentials
204
+ I, [2020-02-07T17:36:58.500860 #75905] INFO -- : Finished processing 6
205
+ I, [2020-02-07T17:37:19.343066 #76135] INFO -- : Logging enabled at level <info>
206
+ I, [2020-02-07T17:37:19.343253 #76135] INFO -- : Starting integration.
207
+ I, [2020-02-07T17:37:19.343398 #76135] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
208
+ I, [2020-02-07T17:37:21.196344 #76135] INFO -- : Processing sites
209
+ I, [2020-02-07T17:37:21.786543 #76135] INFO -- : Preserving existing credentials.
210
+ I, [2020-02-07T17:37:27.205577 #76135] INFO -- : Site 6 credential successfully created
211
+ I, [2020-02-07T17:37:27.777203 #76135] INFO -- : Site 6 credential successfully created
212
+ I, [2020-02-07T17:37:28.409581 #76135] INFO -- : Site 6 credential successfully created
213
+ I, [2020-02-07T17:37:28.409717 #76135] INFO -- : Finished processing 6
214
+ I, [2020-02-07T17:37:45.745450 #76354] INFO -- : Logging enabled at level <info>
215
+ I, [2020-02-07T17:37:45.745657 #76354] INFO -- : Starting integration.
216
+ I, [2020-02-07T17:37:45.745787 #76354] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
217
+ I, [2020-02-07T17:37:47.852479 #76354] INFO -- : Processing sites
218
+ I, [2020-02-07T17:37:48.420667 #76354] INFO -- : Preserving existing credentials.
219
+ I, [2020-02-07T17:37:54.481152 #76354] INFO -- : Site 6 credential successfully created
220
+ I, [2020-02-07T17:37:55.265100 #76354] INFO -- : Site 6 updated successfully with 2 credentials
221
+ I, [2020-02-07T17:37:55.265273 #76354] INFO -- : Finished processing 6
222
+ I, [2020-02-07T17:40:49.523566 #76735] INFO -- : Logging enabled at level <info>
223
+ I, [2020-02-07T17:40:49.523749 #76735] INFO -- : Starting integration.
224
+ I, [2020-02-07T17:40:49.523881 #76735] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
225
+ I, [2020-02-07T17:40:51.543639 #76735] INFO -- : Processing sites
226
+ I, [2020-02-07T17:40:52.129879 #76735] INFO -- : Preserving existing credentials.
227
+ I, [2020-02-07T17:40:59.223953 #76735] INFO -- : Site 6 credential successfully created
228
+ I, [2020-02-07T17:40:59.994436 #76735] INFO -- : Site 6 updated successfully with 2 credentials
229
+ I, [2020-02-07T17:40:59.994512 #76735] INFO -- : Finished processing 6
230
+ I, [2020-02-07T17:43:17.485626 #77084] INFO -- : Logging enabled at level <info>
231
+ I, [2020-02-07T17:43:17.485867 #77084] INFO -- : Starting integration.
232
+ I, [2020-02-07T17:43:17.485989 #77084] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
233
+ I, [2020-02-07T17:43:19.441668 #77084] INFO -- : Processing sites
234
+ I, [2020-02-07T17:43:20.007055 #77084] INFO -- : Credentials not found in Thycotic will be removed.
235
+ I, [2020-02-07T17:43:25.110824 #77084] INFO -- : Site 6 credential removed successfully
236
+ I, [2020-02-07T17:43:25.662178 #77084] INFO -- : Site 6 credential removed successfully
237
+ I, [2020-02-07T17:43:26.434020 #77084] INFO -- : Site 6 updated successfully with 3 credentials
238
+ I, [2020-02-07T17:43:26.434107 #77084] INFO -- : Finished processing 6
239
+ I, [2020-02-07T17:43:34.075787 #77300] INFO -- : Logging enabled at level <info>
240
+ I, [2020-02-07T17:43:34.075835 #77300] INFO -- : Starting integration.
241
+ I, [2020-02-07T17:43:34.075937 #77300] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
242
+ I, [2020-02-07T17:43:36.101054 #77300] INFO -- : Processing sites
243
+ I, [2020-02-07T17:43:36.681739 #77300] INFO -- : Credentials not found in Thycotic will be removed.
244
+ I, [2020-02-07T17:43:41.984106 #77300] INFO -- : Site 6 updated successfully with 3 credentials
245
+ I, [2020-02-07T17:43:41.984286 #77300] INFO -- : Finished processing 6
246
+ I, [2020-02-07T17:44:08.851310 #77527] INFO -- : Logging enabled at level <info>
247
+ I, [2020-02-07T17:44:08.851369 #77527] INFO -- : Starting integration.
248
+ I, [2020-02-07T17:44:08.851466 #77527] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
249
+ I, [2020-02-07T17:44:10.870146 #77527] INFO -- : Processing sites
250
+ I, [2020-02-07T17:44:11.544803 #77527] INFO -- : Credentials not found in Thycotic will be removed.
251
+ I, [2020-02-07T17:44:18.851762 #77527] INFO -- : Site 6 credential successfully created
252
+ I, [2020-02-07T17:44:19.649280 #77527] INFO -- : Site 6 updated successfully with 3 credentials
253
+ I, [2020-02-07T17:44:19.649392 #77527] INFO -- : Finished processing 6
254
+ I, [2020-02-07T17:45:03.492056 #77780] INFO -- : Logging enabled at level <info>
255
+ I, [2020-02-07T17:45:03.492437 #77780] INFO -- : Starting integration.
256
+ I, [2020-02-07T17:45:03.492603 #77780] INFO -- : Logging into Thycotic at http://10.3.23.207/SecretServer/webservices/sswebservice.asmx?wsdl
257
+ I, [2020-02-07T17:45:05.326260 #77780] INFO -- : Processing sites
258
+ I, [2020-02-07T17:45:06.000650 #77780] INFO -- : Credentials not found in Thycotic will be removed.
259
+ I, [2020-02-07T17:45:12.937830 #77780] INFO -- : Site 6 updated successfully with 4 credentials
260
+ I, [2020-02-07T17:45:12.937940 #77780] INFO -- : Finished processing 6
@@ -1,5 +1,9 @@
1
1
  require 'nexpose_thycotic/utilities/nx_logger'
2
2
  require 'set'
3
+ # Required for use of v3 endpoints for patch
4
+ require 'base64'
5
+ require 'net/http'
6
+ require 'json'
3
7
 
4
8
  module NexposeThycotic
5
9
  class NexposeOperations
@@ -13,6 +17,8 @@ module NexposeThycotic
13
17
 
14
18
  @logger = NexposeThycotic::NxLogger.instance
15
19
  @logger.on_connect(ip, port, @nsc.session_id, '{}')
20
+
21
+ @insightvm_client = InsightvmClient.new(ip, port, user, pass, @logger)
16
22
  end
17
23
 
18
24
  def get_site(site_id)
@@ -46,14 +52,40 @@ module NexposeThycotic
46
52
  end
47
53
 
48
54
  def get_existing_credentials(site_id)
55
+ # @insightvm_client.get_site_credentials(site_id)
49
56
  site = get_site(site_id)
50
57
  site.site_credentials
51
58
  end
52
59
 
53
- def save_site(site_id, credentials)
54
- site = get_site(site_id)
55
- site.site_credentials = credentials
56
- site.save(@nsc)
60
+ def save_site(site_id, credentials, overwrite=true)
61
+ creds_bulk_update = []
62
+ credentials.each do |cred|
63
+ # Skipping or deleting credential as no password exists; this could occur due to no password returned by
64
+ # Thycotic or because the credential was returned as an existing credential for the site
65
+ if cred.password.nil?
66
+ # Credentials to delete (in overwrite mode); those with no password and an id
67
+ if overwrite && cred.id != -1
68
+ @insightvm_client.delete_site_credential(site_id, cred.id)
69
+ end
70
+
71
+ # Move on to next credential
72
+ next
73
+ end
74
+
75
+ # Convert nexpose cred to v3 json payload
76
+ c = to_v3_credential(cred)
77
+
78
+ if c["id"] == -1
79
+ # Add individual if new
80
+ @insightvm_client.create_site_credential(site_id, c)
81
+ @logger.debug("Creating Site #{site_id} credential #{c["name"]}")
82
+ else
83
+ creds_bulk_update.push(c)
84
+ end
85
+ end
86
+
87
+ # Bulk update any credentials that already exist to be more efficient
88
+ @insightvm_client.update_site_credentials(site_id, creds_bulk_update) unless creds_bulk_update.empty?
57
89
  end
58
90
 
59
91
  def delete_site_credentials(site_id)
@@ -68,17 +100,155 @@ module NexposeThycotic
68
100
  def scan_status(scan_id)
69
101
  @nsc.scan_status(scan_id)
70
102
  end
103
+
104
+ private
105
+
106
+ # Convert Nexpose client Site Credential to v3 Credential
107
+ def to_v3_credential(credential)
108
+ cred = {
109
+ "account": {
110
+ "service": credential.service,
111
+ "username": credential.user_name,
112
+ "password": credential.password
113
+ },
114
+ "name": credential.name,
115
+ "description": credential.description,
116
+ "enabled": true,
117
+ "hostRestriction": credential.host_restriction,
118
+ }
119
+ # Set credential ID so it can be updated instead of a new one created
120
+ unless credential.id.nil?
121
+ cred["id"] = credential.id
122
+ end
123
+ cred
124
+ end
125
+ end
126
+
127
+ class InsightvmClient
128
+ def initialize(host, port, user, pass, logger)
129
+ @host = host
130
+ @port = port
131
+ @auth_header = {'Authorization': "Basic #{Base64.strict_encode64("#{user}:#{pass}")}"}
132
+ @logger = logger
133
+ end
134
+
135
+ def request(uri, request)
136
+ # Set up http client
137
+ http = Net::HTTP.new(uri.host, uri.port)
138
+
139
+ # Ignore certificate verification if using https; this is consistent with the rest of the integration
140
+ if uri.scheme == "https"
141
+ http.use_ssl = true
142
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE
143
+ end
144
+
145
+ response = http.request(request)
146
+ case response
147
+ when Net::HTTPOK, Net::HTTPCreated, Net::HTTPNoContent
148
+ response.body
149
+ else
150
+ raise Nexpose::AJAX.get_api_error(request, response)
151
+ end
152
+ end
153
+
154
+ def get(uri, content_type = 'application/json')
155
+ request = Net::HTTP::Get.new(uri.request_uri, @auth_header)
156
+ request.set_content_type(content_type)
157
+
158
+ request(uri, request)
159
+ end
160
+
161
+ def post(uri, payload = nil, content_type = 'application/json')
162
+ request = Net::HTTP::Post.new(uri.request_uri, @auth_header)
163
+ request.set_content_type(content_type)
164
+ request.body = payload.to_json if payload
165
+
166
+ request(uri, request)
167
+ end
168
+
169
+ def put(uri, payload = nil, content_type = 'application/json')
170
+ request = Net::HTTP::Put.new(uri.request_uri, @auth_header)
171
+ request.set_content_type(content_type)
172
+ request.body = payload.to_json if payload
173
+
174
+ request(uri, request)
175
+ end
176
+
177
+ def delete(uri, content_type = 'application/json')
178
+ request = Net::HTTP::Delete.new(uri.request_uri, @auth_header)
179
+ request.set_content_type(content_type)
180
+
181
+ request(uri, request)
182
+ end
183
+
184
+ def get_site_credentials(site_id)
185
+ uri = URI("https://#{@host}:#{@port}/api/3/sites/#{site_id}/site_credentials")
186
+ begin
187
+ credentials = get(uri)
188
+ creds = JSON.parse(credentials)
189
+
190
+ return creds["resources"]
191
+ rescue Exception => e
192
+ @logger.error("Failed to retrieve Site #{site_id} credentials; #{e}")
193
+ end
194
+ end
195
+
196
+ def delete_site_credential(site_id, credential_id)
197
+ uri = URI("https://#{@host}:#{@port}/api/3/sites/#{site_id}/site_credentials/#{credential_id}")
198
+
199
+ begin
200
+ delete(uri)
201
+ @logger.info("Site #{site_id} credential removed successfully")
202
+ rescue Exception => e
203
+ @logger.error("Failed to remove Site #{site_id} credential; #{e}")
204
+ end
205
+ end
206
+
207
+ def delete_site_credentials(site_id)
208
+ uri = URI("https://#{@host}:#{@port}/api/3/sites/#{site_id}/site_credentials")
209
+
210
+ begin
211
+ delete(uri)
212
+ @logger.info("Site #{site_id} credentials removed successfully")
213
+ rescue Exception => e
214
+ @logger.error("Failed to remove Site #{site_id} credentials; #{e}")
215
+ end
216
+ end
217
+
218
+ def update_site_credentials(site_id, credentials=[])
219
+ uri = URI("https://#{@host}:#{@port}/api/3/sites/#{site_id}/site_credentials")
220
+
221
+ begin
222
+ put(uri, credentials)
223
+ @logger.info("Site #{site_id} updated successfully with #{credentials.length} credentials")
224
+ rescue Exception => e
225
+ @logger.error("Failed to update Site #{site_id} credentials; #{e}")
226
+ end
227
+ end
228
+
229
+ def create_site_credential(site_id, credential)
230
+ uri = URI("https://#{@host}:#{@port}/api/3/sites/#{site_id}/site_credentials")
231
+
232
+ begin
233
+ post(uri, credential)
234
+ @logger.info("Site #{site_id} credential successfully created")
235
+ rescue Exception => e
236
+ @logger.error("Failed to create Site #{site_id} credential #{credential[:name]}; #{e}")
237
+ end
238
+ end
71
239
  end
72
240
 
73
241
  class ThycoticOperations
74
242
  require 'savon'
75
243
  attr_accessor :client
76
- def initialize(url = nil, comment = '')
244
+ def initialize(url = nil, comment = '', show_deleted = false, show_restricted = true)
77
245
  # log: true, log_level: :info
78
246
  @client = Savon.client(wsdl: url, ssl_verify_mode: :none)
79
247
 
80
248
  # Comment used when retrieving passwords
81
249
  @comment = comment
250
+ @show_deleted = show_deleted
251
+ @show_restricted = show_restricted
82
252
  end
83
253
 
84
254
  def operations
@@ -129,8 +299,8 @@ module NexposeThycotic
129
299
  token: token,
130
300
  fieldName: 'machine',
131
301
  searchTerm: ip,
132
- showDeleted: true,
133
- showRestricted: true
302
+ showDeleted: @show_deleted,
303
+ showRestricted: @show_restricted
134
304
  }
135
305
  secret_result = get_secret_result(operation, message)
136
306
 
@@ -1,5 +1,5 @@
1
1
  module NexposeThycotic
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  VENDOR = "Thycotic"
4
4
  PRODUCT = "Secret Server"
5
5
  def self.show_version
@@ -0,0 +1,25 @@
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, Adam Robinson", "David Valente"]
10
+ spec.email = ["support@rapid7.com"]
11
+ spec.summary = %q{Nexpose Thycotic Gem Integration}
12
+ spec.description = %q{This gem allows Nexpose users to pull 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_runtime_dependency 'savon'
23
+ spec.add_runtime_dependency 'nexpose', '~> 7.2'
24
+ spec.add_runtime_dependency 'symmetric-encryption', '~> 3.9', '>= 3.9.0'
25
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexpose_thycotic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damian Finol, Adam Robinson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-06 00:00:00.000000000 Z
12
+ date: 2020-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -77,11 +77,14 @@ files:
77
77
  - lib/nexpose_thycotic.rb
78
78
  - lib/nexpose_thycotic/config/encryption.config
79
79
  - lib/nexpose_thycotic/config/nexpose_thycotic.config
80
+ - lib/nexpose_thycotic/logs/rapid7_integration.log
81
+ - lib/nexpose_thycotic/logs/rapid7_secretserver_0.3.0.log
80
82
  - lib/nexpose_thycotic/operations.rb
81
83
  - lib/nexpose_thycotic/utilities/config_parser.rb
82
84
  - lib/nexpose_thycotic/utilities/gem_options.rb
83
85
  - lib/nexpose_thycotic/utilities/nx_logger.rb
84
86
  - lib/nexpose_thycotic/version.rb
87
+ - nexpose_thycotic.gemspec
85
88
  homepage: http://www.rapid7.com/
86
89
  licenses:
87
90
  - MIT
@@ -102,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
105
  version: '0'
103
106
  requirements: []
104
107
  rubyforge_project:
105
- rubygems_version: 2.6.14
108
+ rubygems_version: 2.7.7
106
109
  signing_key:
107
110
  specification_version: 4
108
111
  summary: Nexpose Thycotic Gem Integration