strongdm 3.14.0 → 3.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-41513a3360ce19248cdf32fd4d2a9cf28ab0caa8.idx → pack-f6e5d86cdaed2ee289cb0ee65c1f3fc483d1465c.idx} +0 -0
- data/.git/objects/pack/{pack-41513a3360ce19248cdf32fd4d2a9cf28ab0caa8.pack → pack-f6e5d86cdaed2ee289cb0ee65c1f3fc483d1465c.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/constants.rb +11 -5
- data/lib/grpc/accounts_pb.rb +11 -0
- data/lib/grpc/drivers_pb.rb +48 -0
- data/lib/grpc/plumbing.rb +156 -0
- data/lib/models/porcelain.rb +190 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +2 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e9d6210e206fd24163686f6640558ab65468cf63612d59aa5347517a1433877
|
4
|
+
data.tar.gz: d97ac80d397e72b2ff2a7829ef9260933afdf653b51f40373c5dd8b23d14de0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a333b36f152e565441b369703a38dd3b2d3b068dc8ae1afd4eb07fa1605c2d75bb9bfba98bb98b2c1b500c5e1777833145fc0d3e37f993d3ea5025aef2a800b
|
7
|
+
data.tar.gz: '09e21b7881b6e8206fbe6f7333fa95deab3496ef5a036ff18d745c9bc64d9d060715c48ffcab771734424c1f3fc432e7f679e3bf419d6ef478c11c4785da3bda'
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
6cd69f8e98657b0aa1c55786add9519085361ef2
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 6cd69f8e98657b0aa1c55786add9519085361ef2 root <root@dea3a5f3d225.(none)> 1685576787 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
6cd69f8e98657b0aa1c55786add9519085361ef2 6cd69f8e98657b0aa1c55786add9519085361ef2 root <root@dea3a5f3d225.(none)> 1685576787 +0000 checkout: moving from master to master
|
3
|
+
6cd69f8e98657b0aa1c55786add9519085361ef2 6e8ee132772d2663157a4263aa15ddffeac7486f root <root@dea3a5f3d225.(none)> 1685576787 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 6cd69f8e98657b0aa1c55786add9519085361ef2 root <root@dea3a5f3d225.(none)> 1685576787 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
6cd69f8e98657b0aa1c55786add9519085361ef2 6e8ee132772d2663157a4263aa15ddffeac7486f root <root@dea3a5f3d225.(none)> 1685576787 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 6cd69f8e98657b0aa1c55786add9519085361ef2 root <root@dea3a5f3d225.(none)> 1685576787 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
6e8ee132772d2663157a4263aa15ddffeac7486f refs/remotes/origin/development
|
3
|
+
6cd69f8e98657b0aa1c55786add9519085361ef2 refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -46,6 +46,8 @@ fb276eee8a0b2cc1415c25962410309b645373ed refs/tags/v3.10.0
|
|
46
46
|
a77792a22449d0029bebb3f66fc23f63e54a8e90 refs/tags/v3.11.0
|
47
47
|
f880c51210aa33186d71d9b463ddbd587ef3e4fd refs/tags/v3.12.0
|
48
48
|
9010771bf3315cb08f6421f7fd8290741d029f79 refs/tags/v3.13.0
|
49
|
+
8192d0d63f6b0357b343ee32a9e436bcaad28ebe refs/tags/v3.14.0
|
50
|
+
6cd69f8e98657b0aa1c55786add9519085361ef2 refs/tags/v3.14.2
|
49
51
|
40d185ce8d4f4375411706886f6fbbaa5493bef6 refs/tags/v3.2.0
|
50
52
|
dd6a8a74ad5675831f42e3a820208e96f7361f80 refs/tags/v3.2.1
|
51
53
|
09ee1a3be370a7b5e21709a7857d0f189f23da8b refs/tags/v3.2.2
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
6e8ee132772d2663157a4263aa15ddffeac7486f
|
data/lib/constants.rb
CHANGED
@@ -209,7 +209,7 @@ module SDM
|
|
209
209
|
ORG_SELF_REGISTRATION_DEACTIVATED = "self-registration deactivated"
|
210
210
|
ORG_NAME_UPDATED = "organization name updated"
|
211
211
|
ORG_SETTING_UPDATED = "organization setting updated"
|
212
|
-
ORG_LOG_SYNC_SETTING_UPDATED = "organization log
|
212
|
+
ORG_LOG_SYNC_SETTING_UPDATED = "organization log stream setting updated"
|
213
213
|
ORG_CREATED = "organization created"
|
214
214
|
ORG_SCIM_PROVISIONING_UPDATED = "SCIM provider set"
|
215
215
|
ORG_SCIM_PROVISIONING_DELETED = "SCIM provider deleted"
|
@@ -237,10 +237,12 @@ module SDM
|
|
237
237
|
REMOTE_IDENTITY_UPDATED = "remote identity updated"
|
238
238
|
REMOTE_IDENTITY_DELETED = "remote identity deleted"
|
239
239
|
ACCESS_REQUESTED_TO_RESOURCE = "access requested to resource"
|
240
|
-
|
240
|
+
ACCESS_REQUEST_TO_RESOURCE_APPROVAL_ADDED = "access request to resource approval added"
|
241
241
|
ACCESS_REQUEST_TO_RESOURCE_CANCELED = "access request to resource canceled"
|
242
242
|
ACCESS_REQUEST_TO_RESOURCE_DENIED = "access request to resource denied"
|
243
243
|
ACCESS_REQUEST_TO_RESOURCE_TIMED_OUT = "access request to resource timed out"
|
244
|
+
ACCESS_REQUEST_TO_RESOURCE_GRANTED = "access request to resource granted"
|
245
|
+
ACCESS_REQUEST_TO_RESOURCE_GRANTED_AUTOMATICALLY = "access request to resource granted automatically"
|
244
246
|
WORKFLOW_ADDED = "access workflow added"
|
245
247
|
WORKFLOW_DELETED = "access workflow deleted"
|
246
248
|
WORKFLOW_RESOURCE_ASSIGNED = "resource assigned to workflow"
|
@@ -248,11 +250,11 @@ module SDM
|
|
248
250
|
WORKFLOW_RESOURCE_MULTIPLE_ASSIGNED = "multiple resources assigned to workflow"
|
249
251
|
WORKFLOW_RESOURCE_MULTIPLE_UNASSIGNED = "multiple resources unassigned from workflow"
|
250
252
|
WORKFLOW_ROLES_UPDATED = "workflow roles updated"
|
251
|
-
|
252
|
-
WORKFLOW_NOTIFICATION_OPTION_REMOVED = "workflow notification type removed"
|
253
|
-
WORKFLOW_NOTIFICATION_OPTIONS_UPDATED = "workflow notification settings updated"
|
253
|
+
WORKFLOW_APPROVERS_UPDATED = "workflow approvers updated"
|
254
254
|
WORKFLOW_NAME_UPDATED = "workflow name updated"
|
255
255
|
WORKFLOW_DESCRIPTION_UPDATED = "workflow description updated"
|
256
|
+
WORKFLOW_AUTO_GRANT_UPDATED = "workflow auto grant updated"
|
257
|
+
WORKFLOW_REQUIRES_REASON_UPDATED = "workflow requires reason updated"
|
256
258
|
ORG_VNM_SUBNET_UPDATED = "organization VNM subnet updated"
|
257
259
|
ORG_VNM_RESOURCES_ALLOCATED = "organization resources allocated within VNM subnet"
|
258
260
|
DEPRECATED_ORG_ACTIVATE_DEVICE_APPROVAL = "activate device approval"
|
@@ -260,6 +262,9 @@ module SDM
|
|
260
262
|
EMULATION_MIGRATION_COMPLETED = "emulation migration completed"
|
261
263
|
ACCESS_OVERHAUL_MIGRATION_COMPLETED = "access overhaul migration completed"
|
262
264
|
ACTIVATED_SSH_PORT_FORWARDING_ALL_SERVER = "enabled SSH port forwarding on all servers"
|
265
|
+
TOTP_ENROLLMENT_ADDED = "user enrolled a totp device"
|
266
|
+
TOTP_ENROLLMENT_DELETED = "user reset their totp enrollment"
|
267
|
+
SUSPENDED_USER_ENROLL_ATTEMPT_FROM_THE_UI = "attempt to enroll by a suspended user from the Admin UI"
|
263
268
|
end
|
264
269
|
|
265
270
|
# Permissions, all permissions that may be granted to an account.
|
@@ -338,6 +343,7 @@ module SDM
|
|
338
343
|
GRANT_READ = "grant:read"
|
339
344
|
GRANT_WRITE = "grant:write"
|
340
345
|
REPORT_READ = "report:read"
|
346
|
+
BILLING_READ = "billing:read"
|
341
347
|
end
|
342
348
|
|
343
349
|
# Query Categories, all the categories of resource against which queries are logged.
|
data/lib/grpc/accounts_pb.rb
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
|
18
18
|
require "google/protobuf"
|
19
19
|
|
20
|
+
require "google/protobuf/timestamp_pb"
|
20
21
|
require "options_pb"
|
21
22
|
require "spec_pb"
|
22
23
|
require "tags_pb"
|
@@ -72,6 +73,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
72
73
|
oneof :account do
|
73
74
|
optional :user, :message, 1, "v1.User"
|
74
75
|
optional :service, :message, 2, "v1.Service"
|
76
|
+
optional :token, :message, 3, "v1.Token"
|
75
77
|
end
|
76
78
|
end
|
77
79
|
add_message "v1.User" do
|
@@ -91,6 +93,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
91
93
|
optional :suspended, :bool, 3
|
92
94
|
optional :tags, :message, 4, "v1.Tags"
|
93
95
|
end
|
96
|
+
add_message "v1.Token" do
|
97
|
+
optional :id, :string, 1
|
98
|
+
optional :name, :string, 2
|
99
|
+
optional :suspended, :bool, 3
|
100
|
+
optional :tags, :message, 4, "v1.Tags"
|
101
|
+
optional :rekeyed, :message, 5, "google.protobuf.Timestamp"
|
102
|
+
optional :deadline, :message, 6, "google.protobuf.Timestamp"
|
103
|
+
end
|
94
104
|
end
|
95
105
|
end
|
96
106
|
|
@@ -108,4 +118,5 @@ module V1
|
|
108
118
|
Account = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Account").msgclass
|
109
119
|
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.User").msgclass
|
110
120
|
Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Service").msgclass
|
121
|
+
Token = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Token").msgclass
|
111
122
|
end
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -91,6 +91,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
91
91
|
optional :redis, :message, 1600, "v1.Redis"
|
92
92
|
optional :redshift, :message, 1304, "v1.Redshift"
|
93
93
|
optional :sql_server, :message, 1800, "v1.SQLServer"
|
94
|
+
optional :sql_server_azure_ad, :message, 1805, "v1.SQLServerAzureAD"
|
95
|
+
optional :sql_server_kerberos_ad, :message, 1810, "v1.SQLServerKerberosAD"
|
94
96
|
optional :ssh, :message, 1900, "v1.SSH"
|
95
97
|
optional :ssh_cert, :message, 1901, "v1.SSHCert"
|
96
98
|
optional :ssh_customer_key, :message, 1902, "v1.SSHCustomerKey"
|
@@ -254,6 +256,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
254
256
|
optional :cluster_name, :string, 7
|
255
257
|
optional :endpoint, :string, 1
|
256
258
|
optional :healthcheck_namespace, :string, 9
|
259
|
+
optional :port_override, :int32, 15
|
257
260
|
optional :region, :string, 6
|
258
261
|
optional :remote_identity_group_id, :string, 11
|
259
262
|
optional :remote_identity_healthcheck_username, :string, 12
|
@@ -274,6 +277,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
274
277
|
optional :cluster_name, :string, 5
|
275
278
|
optional :endpoint, :string, 1
|
276
279
|
optional :healthcheck_namespace, :string, 8
|
280
|
+
optional :port_override, :int32, 15
|
277
281
|
optional :region, :string, 4
|
278
282
|
optional :remote_identity_group_id, :string, 9
|
279
283
|
optional :remote_identity_healthcheck_username, :string, 10
|
@@ -293,6 +297,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
293
297
|
optional :cluster_name, :string, 5
|
294
298
|
optional :endpoint, :string, 1
|
295
299
|
optional :healthcheck_namespace, :string, 8
|
300
|
+
optional :port_override, :int32, 15
|
296
301
|
optional :region, :string, 4
|
297
302
|
optional :remote_identity_group_id, :string, 9
|
298
303
|
optional :remote_identity_healthcheck_username, :string, 10
|
@@ -313,6 +318,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
313
318
|
optional :cluster_name, :string, 7
|
314
319
|
optional :endpoint, :string, 1
|
315
320
|
optional :healthcheck_namespace, :string, 9
|
321
|
+
optional :port_override, :int32, 15
|
316
322
|
optional :region, :string, 6
|
317
323
|
optional :role_arn, :string, 8
|
318
324
|
optional :role_external_id, :string, 10
|
@@ -1233,6 +1239,46 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1233
1239
|
optional :schema, :string, 6
|
1234
1240
|
optional :username, :string, 2
|
1235
1241
|
end
|
1242
|
+
add_message "v1.SQLServerAzureAD" do
|
1243
|
+
optional :id, :string, 32768
|
1244
|
+
optional :name, :string, 32769
|
1245
|
+
optional :healthy, :bool, 32770
|
1246
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1247
|
+
optional :secret_store_id, :string, 32772
|
1248
|
+
optional :egress_filter, :string, 32773
|
1249
|
+
optional :bind_interface, :string, 32774
|
1250
|
+
optional :subdomain, :string, 32775
|
1251
|
+
optional :client_id, :string, 2
|
1252
|
+
optional :database, :string, 4
|
1253
|
+
optional :hostname, :string, 1
|
1254
|
+
optional :override_database, :bool, 8
|
1255
|
+
optional :port, :int32, 7
|
1256
|
+
optional :port_override, :int32, 5
|
1257
|
+
optional :schema, :string, 6
|
1258
|
+
optional :secret, :string, 3
|
1259
|
+
optional :tenant_id, :string, 9
|
1260
|
+
end
|
1261
|
+
add_message "v1.SQLServerKerberosAD" do
|
1262
|
+
optional :id, :string, 32768
|
1263
|
+
optional :name, :string, 32769
|
1264
|
+
optional :healthy, :bool, 32770
|
1265
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1266
|
+
optional :secret_store_id, :string, 32772
|
1267
|
+
optional :egress_filter, :string, 32773
|
1268
|
+
optional :bind_interface, :string, 32774
|
1269
|
+
optional :subdomain, :string, 32775
|
1270
|
+
optional :database, :string, 4
|
1271
|
+
optional :hostname, :string, 1
|
1272
|
+
optional :keytab, :string, 3
|
1273
|
+
optional :krb_config, :string, 9
|
1274
|
+
optional :override_database, :bool, 8
|
1275
|
+
optional :port, :int32, 7
|
1276
|
+
optional :port_override, :int32, 5
|
1277
|
+
optional :realm, :string, 11
|
1278
|
+
optional :schema, :string, 6
|
1279
|
+
optional :server_spn, :string, 10
|
1280
|
+
optional :username, :string, 2
|
1281
|
+
end
|
1236
1282
|
add_message "v1.SSH" do
|
1237
1283
|
optional :id, :string, 32768
|
1238
1284
|
optional :name, :string, 32769
|
@@ -1466,6 +1512,8 @@ module V1
|
|
1466
1512
|
Redis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redis").msgclass
|
1467
1513
|
Redshift = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Redshift").msgclass
|
1468
1514
|
SQLServer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServer").msgclass
|
1515
|
+
SQLServerAzureAD = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServerAzureAD").msgclass
|
1516
|
+
SQLServerKerberosAD = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SQLServerKerberosAD").msgclass
|
1469
1517
|
SSH = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSH").msgclass
|
1470
1518
|
SSHCert = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCert").msgclass
|
1471
1519
|
SSHCustomerKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SSHCustomerKey").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -1611,6 +1611,7 @@ module SDM
|
|
1611
1611
|
porcelain.healthy = (plumbing.healthy)
|
1612
1612
|
porcelain.id = (plumbing.id)
|
1613
1613
|
porcelain.name = (plumbing.name)
|
1614
|
+
porcelain.port_override = (plumbing.port_override)
|
1614
1615
|
porcelain.region = (plumbing.region)
|
1615
1616
|
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
1616
1617
|
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
@@ -1638,6 +1639,7 @@ module SDM
|
|
1638
1639
|
plumbing.healthy = (porcelain.healthy)
|
1639
1640
|
plumbing.id = (porcelain.id)
|
1640
1641
|
plumbing.name = (porcelain.name)
|
1642
|
+
plumbing.port_override = (porcelain.port_override)
|
1641
1643
|
plumbing.region = (porcelain.region)
|
1642
1644
|
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
1643
1645
|
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
@@ -1680,6 +1682,7 @@ module SDM
|
|
1680
1682
|
porcelain.healthy = (plumbing.healthy)
|
1681
1683
|
porcelain.id = (plumbing.id)
|
1682
1684
|
porcelain.name = (plumbing.name)
|
1685
|
+
porcelain.port_override = (plumbing.port_override)
|
1683
1686
|
porcelain.region = (plumbing.region)
|
1684
1687
|
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
1685
1688
|
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
@@ -1705,6 +1708,7 @@ module SDM
|
|
1705
1708
|
plumbing.healthy = (porcelain.healthy)
|
1706
1709
|
plumbing.id = (porcelain.id)
|
1707
1710
|
plumbing.name = (porcelain.name)
|
1711
|
+
plumbing.port_override = (porcelain.port_override)
|
1708
1712
|
plumbing.region = (porcelain.region)
|
1709
1713
|
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
1710
1714
|
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
@@ -1746,6 +1750,7 @@ module SDM
|
|
1746
1750
|
porcelain.healthy = (plumbing.healthy)
|
1747
1751
|
porcelain.id = (plumbing.id)
|
1748
1752
|
porcelain.name = (plumbing.name)
|
1753
|
+
porcelain.port_override = (plumbing.port_override)
|
1749
1754
|
porcelain.region = (plumbing.region)
|
1750
1755
|
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
1751
1756
|
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
@@ -1771,6 +1776,7 @@ module SDM
|
|
1771
1776
|
plumbing.healthy = (porcelain.healthy)
|
1772
1777
|
plumbing.id = (porcelain.id)
|
1773
1778
|
plumbing.name = (porcelain.name)
|
1779
|
+
plumbing.port_override = (porcelain.port_override)
|
1774
1780
|
plumbing.region = (porcelain.region)
|
1775
1781
|
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
1776
1782
|
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
@@ -1813,6 +1819,7 @@ module SDM
|
|
1813
1819
|
porcelain.healthy = (plumbing.healthy)
|
1814
1820
|
porcelain.id = (plumbing.id)
|
1815
1821
|
porcelain.name = (plumbing.name)
|
1822
|
+
porcelain.port_override = (plumbing.port_override)
|
1816
1823
|
porcelain.region = (plumbing.region)
|
1817
1824
|
porcelain.role_arn = (plumbing.role_arn)
|
1818
1825
|
porcelain.role_external_id = (plumbing.role_external_id)
|
@@ -1838,6 +1845,7 @@ module SDM
|
|
1838
1845
|
plumbing.healthy = (porcelain.healthy)
|
1839
1846
|
plumbing.id = (porcelain.id)
|
1840
1847
|
plumbing.name = (porcelain.name)
|
1848
|
+
plumbing.port_override = (porcelain.port_override)
|
1841
1849
|
plumbing.region = (porcelain.region)
|
1842
1850
|
plumbing.role_arn = (porcelain.role_arn)
|
1843
1851
|
plumbing.role_external_id = (porcelain.role_external_id)
|
@@ -6875,6 +6883,12 @@ module SDM
|
|
6875
6883
|
if porcelain.instance_of? SQLServer
|
6876
6884
|
plumbing.sql_server = convert_sql_server_to_plumbing(porcelain)
|
6877
6885
|
end
|
6886
|
+
if porcelain.instance_of? SQLServerAzureAD
|
6887
|
+
plumbing.sql_server_azure_ad = convert_sql_server_azure_ad_to_plumbing(porcelain)
|
6888
|
+
end
|
6889
|
+
if porcelain.instance_of? SQLServerKerberosAD
|
6890
|
+
plumbing.sql_server_kerberos_ad = convert_sql_server_kerberos_ad_to_plumbing(porcelain)
|
6891
|
+
end
|
6878
6892
|
if porcelain.instance_of? SSH
|
6879
6893
|
plumbing.ssh = convert_ssh_to_plumbing(porcelain)
|
6880
6894
|
end
|
@@ -7116,6 +7130,12 @@ module SDM
|
|
7116
7130
|
if plumbing.sql_server != nil
|
7117
7131
|
return convert_sql_server_to_porcelain(plumbing.sql_server)
|
7118
7132
|
end
|
7133
|
+
if plumbing.sql_server_azure_ad != nil
|
7134
|
+
return convert_sql_server_azure_ad_to_porcelain(plumbing.sql_server_azure_ad)
|
7135
|
+
end
|
7136
|
+
if plumbing.sql_server_kerberos_ad != nil
|
7137
|
+
return convert_sql_server_kerberos_ad_to_porcelain(plumbing.sql_server_kerberos_ad)
|
7138
|
+
end
|
7119
7139
|
if plumbing.ssh != nil
|
7120
7140
|
return convert_ssh_to_porcelain(plumbing.ssh)
|
7121
7141
|
end
|
@@ -7720,6 +7740,142 @@ module SDM
|
|
7720
7740
|
end
|
7721
7741
|
items
|
7722
7742
|
end
|
7743
|
+
def self.convert_sql_server_azure_ad_to_porcelain(plumbing)
|
7744
|
+
if plumbing == nil
|
7745
|
+
return nil
|
7746
|
+
end
|
7747
|
+
porcelain = SQLServerAzureAD.new()
|
7748
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
7749
|
+
porcelain.client_id = (plumbing.client_id)
|
7750
|
+
porcelain.database = (plumbing.database)
|
7751
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
7752
|
+
porcelain.healthy = (plumbing.healthy)
|
7753
|
+
porcelain.hostname = (plumbing.hostname)
|
7754
|
+
porcelain.id = (plumbing.id)
|
7755
|
+
porcelain.name = (plumbing.name)
|
7756
|
+
porcelain.override_database = (plumbing.override_database)
|
7757
|
+
porcelain.port = (plumbing.port)
|
7758
|
+
porcelain.port_override = (plumbing.port_override)
|
7759
|
+
porcelain.schema = (plumbing.schema)
|
7760
|
+
porcelain.secret = (plumbing.secret)
|
7761
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
7762
|
+
porcelain.subdomain = (plumbing.subdomain)
|
7763
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
7764
|
+
porcelain.tenant_id = (plumbing.tenant_id)
|
7765
|
+
porcelain
|
7766
|
+
end
|
7767
|
+
|
7768
|
+
def self.convert_sql_server_azure_ad_to_plumbing(porcelain)
|
7769
|
+
if porcelain == nil
|
7770
|
+
return nil
|
7771
|
+
end
|
7772
|
+
plumbing = V1::SQLServerAzureAD.new()
|
7773
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
7774
|
+
plumbing.client_id = (porcelain.client_id)
|
7775
|
+
plumbing.database = (porcelain.database)
|
7776
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
7777
|
+
plumbing.healthy = (porcelain.healthy)
|
7778
|
+
plumbing.hostname = (porcelain.hostname)
|
7779
|
+
plumbing.id = (porcelain.id)
|
7780
|
+
plumbing.name = (porcelain.name)
|
7781
|
+
plumbing.override_database = (porcelain.override_database)
|
7782
|
+
plumbing.port = (porcelain.port)
|
7783
|
+
plumbing.port_override = (porcelain.port_override)
|
7784
|
+
plumbing.schema = (porcelain.schema)
|
7785
|
+
plumbing.secret = (porcelain.secret)
|
7786
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
7787
|
+
plumbing.subdomain = (porcelain.subdomain)
|
7788
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
7789
|
+
plumbing.tenant_id = (porcelain.tenant_id)
|
7790
|
+
plumbing
|
7791
|
+
end
|
7792
|
+
def self.convert_repeated_sql_server_azure_ad_to_plumbing(porcelains)
|
7793
|
+
items = Array.new
|
7794
|
+
porcelains.each do |porcelain|
|
7795
|
+
plumbing = convert_sql_server_azure_ad_to_plumbing(porcelain)
|
7796
|
+
items.append(plumbing)
|
7797
|
+
end
|
7798
|
+
items
|
7799
|
+
end
|
7800
|
+
|
7801
|
+
def self.convert_repeated_sql_server_azure_ad_to_porcelain(plumbings)
|
7802
|
+
items = Array.new
|
7803
|
+
plumbings.each do |plumbing|
|
7804
|
+
porcelain = convert_sql_server_azure_ad_to_porcelain(plumbing)
|
7805
|
+
items.append(porcelain)
|
7806
|
+
end
|
7807
|
+
items
|
7808
|
+
end
|
7809
|
+
def self.convert_sql_server_kerberos_ad_to_porcelain(plumbing)
|
7810
|
+
if plumbing == nil
|
7811
|
+
return nil
|
7812
|
+
end
|
7813
|
+
porcelain = SQLServerKerberosAD.new()
|
7814
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
7815
|
+
porcelain.database = (plumbing.database)
|
7816
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
7817
|
+
porcelain.healthy = (plumbing.healthy)
|
7818
|
+
porcelain.hostname = (plumbing.hostname)
|
7819
|
+
porcelain.id = (plumbing.id)
|
7820
|
+
porcelain.keytab = (plumbing.keytab)
|
7821
|
+
porcelain.krb_config = (plumbing.krb_config)
|
7822
|
+
porcelain.name = (plumbing.name)
|
7823
|
+
porcelain.override_database = (plumbing.override_database)
|
7824
|
+
porcelain.port = (plumbing.port)
|
7825
|
+
porcelain.port_override = (plumbing.port_override)
|
7826
|
+
porcelain.realm = (plumbing.realm)
|
7827
|
+
porcelain.schema = (plumbing.schema)
|
7828
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
7829
|
+
porcelain.server_spn = (plumbing.server_spn)
|
7830
|
+
porcelain.subdomain = (plumbing.subdomain)
|
7831
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
7832
|
+
porcelain.username = (plumbing.username)
|
7833
|
+
porcelain
|
7834
|
+
end
|
7835
|
+
|
7836
|
+
def self.convert_sql_server_kerberos_ad_to_plumbing(porcelain)
|
7837
|
+
if porcelain == nil
|
7838
|
+
return nil
|
7839
|
+
end
|
7840
|
+
plumbing = V1::SQLServerKerberosAD.new()
|
7841
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
7842
|
+
plumbing.database = (porcelain.database)
|
7843
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
7844
|
+
plumbing.healthy = (porcelain.healthy)
|
7845
|
+
plumbing.hostname = (porcelain.hostname)
|
7846
|
+
plumbing.id = (porcelain.id)
|
7847
|
+
plumbing.keytab = (porcelain.keytab)
|
7848
|
+
plumbing.krb_config = (porcelain.krb_config)
|
7849
|
+
plumbing.name = (porcelain.name)
|
7850
|
+
plumbing.override_database = (porcelain.override_database)
|
7851
|
+
plumbing.port = (porcelain.port)
|
7852
|
+
plumbing.port_override = (porcelain.port_override)
|
7853
|
+
plumbing.realm = (porcelain.realm)
|
7854
|
+
plumbing.schema = (porcelain.schema)
|
7855
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
7856
|
+
plumbing.server_spn = (porcelain.server_spn)
|
7857
|
+
plumbing.subdomain = (porcelain.subdomain)
|
7858
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
7859
|
+
plumbing.username = (porcelain.username)
|
7860
|
+
plumbing
|
7861
|
+
end
|
7862
|
+
def self.convert_repeated_sql_server_kerberos_ad_to_plumbing(porcelains)
|
7863
|
+
items = Array.new
|
7864
|
+
porcelains.each do |porcelain|
|
7865
|
+
plumbing = convert_sql_server_kerberos_ad_to_plumbing(porcelain)
|
7866
|
+
items.append(plumbing)
|
7867
|
+
end
|
7868
|
+
items
|
7869
|
+
end
|
7870
|
+
|
7871
|
+
def self.convert_repeated_sql_server_kerberos_ad_to_porcelain(plumbings)
|
7872
|
+
items = Array.new
|
7873
|
+
plumbings.each do |plumbing|
|
7874
|
+
porcelain = convert_sql_server_kerberos_ad_to_porcelain(plumbing)
|
7875
|
+
items.append(porcelain)
|
7876
|
+
end
|
7877
|
+
items
|
7878
|
+
end
|
7723
7879
|
def self.convert_ssh_to_porcelain(plumbing)
|
7724
7880
|
if plumbing == nil
|
7725
7881
|
return nil
|
data/lib/models/porcelain.rb
CHANGED
@@ -1388,6 +1388,8 @@ module SDM
|
|
1388
1388
|
# Unique human-readable name of the Resource.
|
1389
1389
|
attr_accessor :name
|
1390
1390
|
|
1391
|
+
attr_accessor :port_override
|
1392
|
+
|
1391
1393
|
attr_accessor :region
|
1392
1394
|
|
1393
1395
|
attr_accessor :remote_identity_group_id
|
@@ -1417,6 +1419,7 @@ module SDM
|
|
1417
1419
|
healthy: nil,
|
1418
1420
|
id: nil,
|
1419
1421
|
name: nil,
|
1422
|
+
port_override: nil,
|
1420
1423
|
region: nil,
|
1421
1424
|
remote_identity_group_id: nil,
|
1422
1425
|
remote_identity_healthcheck_username: nil,
|
@@ -1437,6 +1440,7 @@ module SDM
|
|
1437
1440
|
@healthy = healthy == nil ? false : healthy
|
1438
1441
|
@id = id == nil ? "" : id
|
1439
1442
|
@name = name == nil ? "" : name
|
1443
|
+
@port_override = port_override == nil ? 0 : port_override
|
1440
1444
|
@region = region == nil ? "" : region
|
1441
1445
|
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
1442
1446
|
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
@@ -1477,6 +1481,8 @@ module SDM
|
|
1477
1481
|
# Unique human-readable name of the Resource.
|
1478
1482
|
attr_accessor :name
|
1479
1483
|
|
1484
|
+
attr_accessor :port_override
|
1485
|
+
|
1480
1486
|
attr_accessor :region
|
1481
1487
|
|
1482
1488
|
attr_accessor :remote_identity_group_id
|
@@ -1503,6 +1509,7 @@ module SDM
|
|
1503
1509
|
healthy: nil,
|
1504
1510
|
id: nil,
|
1505
1511
|
name: nil,
|
1512
|
+
port_override: nil,
|
1506
1513
|
region: nil,
|
1507
1514
|
remote_identity_group_id: nil,
|
1508
1515
|
remote_identity_healthcheck_username: nil,
|
@@ -1521,6 +1528,7 @@ module SDM
|
|
1521
1528
|
@healthy = healthy == nil ? false : healthy
|
1522
1529
|
@id = id == nil ? "" : id
|
1523
1530
|
@name = name == nil ? "" : name
|
1531
|
+
@port_override = port_override == nil ? 0 : port_override
|
1524
1532
|
@region = region == nil ? "" : region
|
1525
1533
|
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
1526
1534
|
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
@@ -1560,6 +1568,8 @@ module SDM
|
|
1560
1568
|
# Unique human-readable name of the Resource.
|
1561
1569
|
attr_accessor :name
|
1562
1570
|
|
1571
|
+
attr_accessor :port_override
|
1572
|
+
|
1563
1573
|
attr_accessor :region
|
1564
1574
|
|
1565
1575
|
attr_accessor :remote_identity_group_id
|
@@ -1586,6 +1596,7 @@ module SDM
|
|
1586
1596
|
healthy: nil,
|
1587
1597
|
id: nil,
|
1588
1598
|
name: nil,
|
1599
|
+
port_override: nil,
|
1589
1600
|
region: nil,
|
1590
1601
|
remote_identity_group_id: nil,
|
1591
1602
|
remote_identity_healthcheck_username: nil,
|
@@ -1604,6 +1615,7 @@ module SDM
|
|
1604
1615
|
@healthy = healthy == nil ? false : healthy
|
1605
1616
|
@id = id == nil ? "" : id
|
1606
1617
|
@name = name == nil ? "" : name
|
1618
|
+
@port_override = port_override == nil ? 0 : port_override
|
1607
1619
|
@region = region == nil ? "" : region
|
1608
1620
|
@remote_identity_group_id = remote_identity_group_id == nil ? "" : remote_identity_group_id
|
1609
1621
|
@remote_identity_healthcheck_username = remote_identity_healthcheck_username == nil ? "" : remote_identity_healthcheck_username
|
@@ -1644,6 +1656,8 @@ module SDM
|
|
1644
1656
|
# Unique human-readable name of the Resource.
|
1645
1657
|
attr_accessor :name
|
1646
1658
|
|
1659
|
+
attr_accessor :port_override
|
1660
|
+
|
1647
1661
|
attr_accessor :region
|
1648
1662
|
|
1649
1663
|
attr_accessor :role_arn
|
@@ -1669,6 +1683,7 @@ module SDM
|
|
1669
1683
|
healthy: nil,
|
1670
1684
|
id: nil,
|
1671
1685
|
name: nil,
|
1686
|
+
port_override: nil,
|
1672
1687
|
region: nil,
|
1673
1688
|
role_arn: nil,
|
1674
1689
|
role_external_id: nil,
|
@@ -1687,6 +1702,7 @@ module SDM
|
|
1687
1702
|
@healthy = healthy == nil ? false : healthy
|
1688
1703
|
@id = id == nil ? "" : id
|
1689
1704
|
@name = name == nil ? "" : name
|
1705
|
+
@port_override = port_override == nil ? 0 : port_override
|
1690
1706
|
@region = region == nil ? "" : region
|
1691
1707
|
@role_arn = role_arn == nil ? "" : role_arn
|
1692
1708
|
@role_external_id = role_external_id == nil ? "" : role_external_id
|
@@ -7373,6 +7389,180 @@ module SDM
|
|
7373
7389
|
end
|
7374
7390
|
end
|
7375
7391
|
|
7392
|
+
class SQLServerAzureAD
|
7393
|
+
# Bind interface
|
7394
|
+
attr_accessor :bind_interface
|
7395
|
+
|
7396
|
+
attr_accessor :client_id
|
7397
|
+
|
7398
|
+
attr_accessor :database
|
7399
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
7400
|
+
attr_accessor :egress_filter
|
7401
|
+
# True if the datasource is reachable and the credentials are valid.
|
7402
|
+
attr_accessor :healthy
|
7403
|
+
|
7404
|
+
attr_accessor :hostname
|
7405
|
+
# Unique identifier of the Resource.
|
7406
|
+
attr_accessor :id
|
7407
|
+
# Unique human-readable name of the Resource.
|
7408
|
+
attr_accessor :name
|
7409
|
+
|
7410
|
+
attr_accessor :override_database
|
7411
|
+
|
7412
|
+
attr_accessor :port
|
7413
|
+
|
7414
|
+
attr_accessor :port_override
|
7415
|
+
|
7416
|
+
attr_accessor :schema
|
7417
|
+
|
7418
|
+
attr_accessor :secret
|
7419
|
+
# ID of the secret store containing credentials for this resource, if any.
|
7420
|
+
attr_accessor :secret_store_id
|
7421
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
7422
|
+
attr_accessor :subdomain
|
7423
|
+
# Tags is a map of key, value pairs.
|
7424
|
+
attr_accessor :tags
|
7425
|
+
|
7426
|
+
attr_accessor :tenant_id
|
7427
|
+
|
7428
|
+
def initialize(
|
7429
|
+
bind_interface: nil,
|
7430
|
+
client_id: nil,
|
7431
|
+
database: nil,
|
7432
|
+
egress_filter: nil,
|
7433
|
+
healthy: nil,
|
7434
|
+
hostname: nil,
|
7435
|
+
id: nil,
|
7436
|
+
name: nil,
|
7437
|
+
override_database: nil,
|
7438
|
+
port: nil,
|
7439
|
+
port_override: nil,
|
7440
|
+
schema: nil,
|
7441
|
+
secret: nil,
|
7442
|
+
secret_store_id: nil,
|
7443
|
+
subdomain: nil,
|
7444
|
+
tags: nil,
|
7445
|
+
tenant_id: nil
|
7446
|
+
)
|
7447
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
7448
|
+
@client_id = client_id == nil ? "" : client_id
|
7449
|
+
@database = database == nil ? "" : database
|
7450
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
7451
|
+
@healthy = healthy == nil ? false : healthy
|
7452
|
+
@hostname = hostname == nil ? "" : hostname
|
7453
|
+
@id = id == nil ? "" : id
|
7454
|
+
@name = name == nil ? "" : name
|
7455
|
+
@override_database = override_database == nil ? false : override_database
|
7456
|
+
@port = port == nil ? 0 : port
|
7457
|
+
@port_override = port_override == nil ? 0 : port_override
|
7458
|
+
@schema = schema == nil ? "" : schema
|
7459
|
+
@secret = secret == nil ? "" : secret
|
7460
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
7461
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
7462
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
7463
|
+
@tenant_id = tenant_id == nil ? "" : tenant_id
|
7464
|
+
end
|
7465
|
+
|
7466
|
+
def to_json(options = {})
|
7467
|
+
hash = {}
|
7468
|
+
self.instance_variables.each do |var|
|
7469
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
7470
|
+
end
|
7471
|
+
hash.to_json
|
7472
|
+
end
|
7473
|
+
end
|
7474
|
+
|
7475
|
+
class SQLServerKerberosAD
|
7476
|
+
# Bind interface
|
7477
|
+
attr_accessor :bind_interface
|
7478
|
+
|
7479
|
+
attr_accessor :database
|
7480
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
7481
|
+
attr_accessor :egress_filter
|
7482
|
+
# True if the datasource is reachable and the credentials are valid.
|
7483
|
+
attr_accessor :healthy
|
7484
|
+
|
7485
|
+
attr_accessor :hostname
|
7486
|
+
# Unique identifier of the Resource.
|
7487
|
+
attr_accessor :id
|
7488
|
+
|
7489
|
+
attr_accessor :keytab
|
7490
|
+
|
7491
|
+
attr_accessor :krb_config
|
7492
|
+
# Unique human-readable name of the Resource.
|
7493
|
+
attr_accessor :name
|
7494
|
+
|
7495
|
+
attr_accessor :override_database
|
7496
|
+
|
7497
|
+
attr_accessor :port
|
7498
|
+
|
7499
|
+
attr_accessor :port_override
|
7500
|
+
|
7501
|
+
attr_accessor :realm
|
7502
|
+
|
7503
|
+
attr_accessor :schema
|
7504
|
+
# ID of the secret store containing credentials for this resource, if any.
|
7505
|
+
attr_accessor :secret_store_id
|
7506
|
+
|
7507
|
+
attr_accessor :server_spn
|
7508
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
7509
|
+
attr_accessor :subdomain
|
7510
|
+
# Tags is a map of key, value pairs.
|
7511
|
+
attr_accessor :tags
|
7512
|
+
|
7513
|
+
attr_accessor :username
|
7514
|
+
|
7515
|
+
def initialize(
|
7516
|
+
bind_interface: nil,
|
7517
|
+
database: nil,
|
7518
|
+
egress_filter: nil,
|
7519
|
+
healthy: nil,
|
7520
|
+
hostname: nil,
|
7521
|
+
id: nil,
|
7522
|
+
keytab: nil,
|
7523
|
+
krb_config: nil,
|
7524
|
+
name: nil,
|
7525
|
+
override_database: nil,
|
7526
|
+
port: nil,
|
7527
|
+
port_override: nil,
|
7528
|
+
realm: nil,
|
7529
|
+
schema: nil,
|
7530
|
+
secret_store_id: nil,
|
7531
|
+
server_spn: nil,
|
7532
|
+
subdomain: nil,
|
7533
|
+
tags: nil,
|
7534
|
+
username: nil
|
7535
|
+
)
|
7536
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
7537
|
+
@database = database == nil ? "" : database
|
7538
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
7539
|
+
@healthy = healthy == nil ? false : healthy
|
7540
|
+
@hostname = hostname == nil ? "" : hostname
|
7541
|
+
@id = id == nil ? "" : id
|
7542
|
+
@keytab = keytab == nil ? "" : keytab
|
7543
|
+
@krb_config = krb_config == nil ? "" : krb_config
|
7544
|
+
@name = name == nil ? "" : name
|
7545
|
+
@override_database = override_database == nil ? false : override_database
|
7546
|
+
@port = port == nil ? 0 : port
|
7547
|
+
@port_override = port_override == nil ? 0 : port_override
|
7548
|
+
@realm = realm == nil ? "" : realm
|
7549
|
+
@schema = schema == nil ? "" : schema
|
7550
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
7551
|
+
@server_spn = server_spn == nil ? "" : server_spn
|
7552
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
7553
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
7554
|
+
@username = username == nil ? "" : username
|
7555
|
+
end
|
7556
|
+
|
7557
|
+
def to_json(options = {})
|
7558
|
+
hash = {}
|
7559
|
+
self.instance_variables.each do |var|
|
7560
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
7561
|
+
end
|
7562
|
+
hash.to_json
|
7563
|
+
end
|
7564
|
+
end
|
7565
|
+
|
7376
7566
|
class SSH
|
7377
7567
|
attr_accessor :allow_deprecated_key_exchanges
|
7378
7568
|
# Bind interface
|
data/lib/strongdm.rb
CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
31
31
|
API_VERSION = "2021-08-23"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/3.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/3.15.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -81,8 +81,8 @@ files:
|
|
81
81
|
- "./.git/logs/HEAD"
|
82
82
|
- "./.git/logs/refs/heads/master"
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
84
|
-
- "./.git/objects/pack/pack-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-f6e5d86cdaed2ee289cb0ee65c1f3fc483d1465c.idx"
|
85
|
+
- "./.git/objects/pack/pack-f6e5d86cdaed2ee289cb0ee65c1f3fc483d1465c.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|