strongdm 12.9.0 → 12.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.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-f9970a881c8083bdae4628a3e56b1082d8941438.idx → pack-c4a30fc0885629d8c57a031b83bea66c4b44c7e3.idx} +0 -0
- data/.git/objects/pack/{pack-f9970a881c8083bdae4628a3e56b1082d8941438.pack → pack-c4a30fc0885629d8c57a031b83bea66c4b44c7e3.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/access_requests_pb.rb +10 -0
- data/lib/grpc/drivers_pb.rb +19 -0
- data/lib/grpc/plumbing.rb +87 -0
- data/lib/grpc/spec_pb.rb +24 -0
- data/lib/models/porcelain.rb +84 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -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: 3fb453325774d0a2f44a82d34dd01ca63f978420cf69d272ac2de04029ac6c92
|
4
|
+
data.tar.gz: ca6c6441b711ffe18bfada9853b8065a781906594635b7407b8c695bbb404a61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a4b0188e52dfe6a2396880376b3055aab7d2eaf17be9e4bf4c2cd30c98d70e755022908d4d1bec796a97cca1151538eca1496a847701c6b84c1cf9ff410d581
|
7
|
+
data.tar.gz: aff28663dccaf3d4853ed5aa615cbb75e76d568d4e526ce918b9229a434af831d04bc7f00ad6da3219d26cd51571059d2b4a7459d45b5a8dc138fd094248cf78
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
76b1957fe731ca91ce70123ec943bde26ea9e0ec
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 76b1957fe731ca91ce70123ec943bde26ea9e0ec root <root@ccd487f6e61e.(none)> 1739395282 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
76b1957fe731ca91ce70123ec943bde26ea9e0ec 76b1957fe731ca91ce70123ec943bde26ea9e0ec root <root@ccd487f6e61e.(none)> 1739395282 +0000 checkout: moving from master to master
|
3
|
+
76b1957fe731ca91ce70123ec943bde26ea9e0ec e3f4328684ecbb0461100f1954c2b33a81537499 root <root@ccd487f6e61e.(none)> 1739395282 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 76b1957fe731ca91ce70123ec943bde26ea9e0ec root <root@ccd487f6e61e.(none)> 1739395282 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
76b1957fe731ca91ce70123ec943bde26ea9e0ec e3f4328684ecbb0461100f1954c2b33a81537499 root <root@ccd487f6e61e.(none)> 1739395282 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 76b1957fe731ca91ce70123ec943bde26ea9e0ec root <root@ccd487f6e61e.(none)> 1739395282 +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
|
+
e3f4328684ecbb0461100f1954c2b33a81537499 refs/remotes/origin/development
|
3
|
+
76b1957fe731ca91ce70123ec943bde26ea9e0ec 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
|
@@ -65,6 +65,8 @@ d2362ed882a935fc6d6a52abace4e581be82507d refs/tags/v12.4.0
|
|
65
65
|
2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9 refs/tags/v12.5.0
|
66
66
|
9b1252fecc0db33645ced8adcbc49512187943e6 refs/tags/v12.6.0
|
67
67
|
b68a30b7513dbbdada47704bd34510560b4ee8ca refs/tags/v12.8.0
|
68
|
+
8fd657047e6c4668fb718fa296a6901e0b2d9188 refs/tags/v12.9.0
|
69
|
+
76b1957fe731ca91ce70123ec943bde26ea9e0ec refs/tags/v12.9.1
|
68
70
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
69
71
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
70
72
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e3f4328684ecbb0461100f1954c2b33a81537499
|
@@ -66,6 +66,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
66
66
|
optional :authentication, :string, 5
|
67
67
|
optional :tags, :message, 6, "v1.Tags"
|
68
68
|
optional :access, :string, 7
|
69
|
+
optional :privileges, :message, 8, "v1.PrivilegesMessage"
|
70
|
+
optional :privileges_requirement_status, :string, 9
|
71
|
+
end
|
72
|
+
add_message "v1.PrivilegesMessage" do
|
73
|
+
optional :kubernetes, :message, 1, "v1.KubernetesPrivileges"
|
74
|
+
end
|
75
|
+
add_message "v1.KubernetesPrivileges" do
|
76
|
+
repeated :groups, :string, 1
|
69
77
|
end
|
70
78
|
add_message "v1.AccessRequestConfig" do
|
71
79
|
optional :resource_id, :string, 1
|
@@ -89,6 +97,8 @@ module V1
|
|
89
97
|
AccessRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequest").msgclass
|
90
98
|
AccessRequestEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestEvent").msgclass
|
91
99
|
RequestableResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RequestableResource").msgclass
|
100
|
+
PrivilegesMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.PrivilegesMessage").msgclass
|
101
|
+
KubernetesPrivileges = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.KubernetesPrivileges").msgclass
|
92
102
|
AccessRequestConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AccessRequestConfig").msgclass
|
93
103
|
RequestAccessRequestConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RequestAccessRequestConfig").msgclass
|
94
104
|
end
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -38,6 +38,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
38
38
|
optional :amazon_eks_instance_profile_user_impersonation, :message, 813, "v1.AmazonEKSInstanceProfileUserImpersonation"
|
39
39
|
optional :amazon_eks_user_impersonation, :message, 818, "v1.AmazonEKSUserImpersonation"
|
40
40
|
optional :amazon_es, :message, 600, "v1.AmazonES"
|
41
|
+
optional :amazon_esiam, :message, 602, "v1.AmazonESIAM"
|
41
42
|
optional :amazon_mqamqp_091, :message, 2501, "v1.AmazonMQAMQP091"
|
42
43
|
optional :athena, :message, 100, "v1.Athena"
|
43
44
|
optional :athena_iam, :message, 3400, "v1.AthenaIAM"
|
@@ -398,6 +399,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
398
399
|
optional :role_external_id, :string, 7
|
399
400
|
optional :secret_access_key, :string, 2
|
400
401
|
end
|
402
|
+
add_message "v1.AmazonESIAM" do
|
403
|
+
optional :id, :string, 32768
|
404
|
+
optional :name, :string, 32769
|
405
|
+
optional :healthy, :bool, 32770
|
406
|
+
optional :tags, :message, 32771, "v1.Tags"
|
407
|
+
optional :secret_store_id, :string, 32772
|
408
|
+
optional :egress_filter, :string, 32773
|
409
|
+
optional :bind_interface, :string, 32774
|
410
|
+
optional :proxy_cluster_id, :string, 32776
|
411
|
+
optional :subdomain, :string, 32775
|
412
|
+
optional :endpoint, :string, 1
|
413
|
+
optional :port_override, :int32, 3
|
414
|
+
optional :region, :string, 2
|
415
|
+
optional :role_arn, :string, 5
|
416
|
+
optional :role_external_id, :string, 6
|
417
|
+
optional :tlsRequired, :bool, 4
|
418
|
+
end
|
401
419
|
add_message "v1.AmazonMQAMQP091" do
|
402
420
|
optional :id, :string, 32768
|
403
421
|
optional :name, :string, 32769
|
@@ -1890,6 +1908,7 @@ module V1
|
|
1890
1908
|
AmazonEKSInstanceProfileUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSInstanceProfileUserImpersonation").msgclass
|
1891
1909
|
AmazonEKSUserImpersonation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonEKSUserImpersonation").msgclass
|
1892
1910
|
AmazonES = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonES").msgclass
|
1911
|
+
AmazonESIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonESIAM").msgclass
|
1893
1912
|
AmazonMQAMQP091 = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AmazonMQAMQP091").msgclass
|
1894
1913
|
Athena = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Athena").msgclass
|
1895
1914
|
AthenaIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AthenaIAM").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -173,6 +173,23 @@ module SDM
|
|
173
173
|
end
|
174
174
|
JSON.dump(access_rules)
|
175
175
|
end
|
176
|
+
|
177
|
+
def self.convert_access_rule_to_porcelain(access_rule_json)
|
178
|
+
if access_rule_json == nil
|
179
|
+
return nil
|
180
|
+
end
|
181
|
+
if access_rule_json == ""
|
182
|
+
return nil
|
183
|
+
end
|
184
|
+
JSON.parse(access_rule_json)
|
185
|
+
end
|
186
|
+
|
187
|
+
def self.convert_access_rule_to_plumbing(access_rule)
|
188
|
+
if access_rule == nil
|
189
|
+
return nil
|
190
|
+
end
|
191
|
+
JSON.dump(access_rule)
|
192
|
+
end
|
176
193
|
def self.convert_aks_to_porcelain(plumbing)
|
177
194
|
if plumbing == nil
|
178
195
|
return nil
|
@@ -1497,6 +1514,7 @@ module SDM
|
|
1497
1514
|
return nil
|
1498
1515
|
end
|
1499
1516
|
porcelain = AccountGrant.new()
|
1517
|
+
porcelain.access_rule = convert_access_rule_to_porcelain(plumbing.access_rule)
|
1500
1518
|
porcelain.account_id = (plumbing.account_id)
|
1501
1519
|
porcelain.id = (plumbing.id)
|
1502
1520
|
porcelain.resource_id = (plumbing.resource_id)
|
@@ -1510,6 +1528,7 @@ module SDM
|
|
1510
1528
|
return nil
|
1511
1529
|
end
|
1512
1530
|
plumbing = V1::AccountGrant.new()
|
1531
|
+
plumbing.access_rule = convert_access_rule_to_plumbing(porcelain.access_rule)
|
1513
1532
|
plumbing.account_id = (porcelain.account_id)
|
1514
1533
|
plumbing.id = (porcelain.id)
|
1515
1534
|
plumbing.resource_id = (porcelain.resource_id)
|
@@ -2458,6 +2477,68 @@ module SDM
|
|
2458
2477
|
end
|
2459
2478
|
items
|
2460
2479
|
end
|
2480
|
+
def self.convert_amazon_esiam_to_porcelain(plumbing)
|
2481
|
+
if plumbing == nil
|
2482
|
+
return nil
|
2483
|
+
end
|
2484
|
+
porcelain = AmazonESIAM.new()
|
2485
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
2486
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
2487
|
+
porcelain.endpoint = (plumbing.endpoint)
|
2488
|
+
porcelain.healthy = (plumbing.healthy)
|
2489
|
+
porcelain.id = (plumbing.id)
|
2490
|
+
porcelain.name = (plumbing.name)
|
2491
|
+
porcelain.port_override = (plumbing.port_override)
|
2492
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
2493
|
+
porcelain.region = (plumbing.region)
|
2494
|
+
porcelain.role_arn = (plumbing.role_arn)
|
2495
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
2496
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2497
|
+
porcelain.subdomain = (plumbing.subdomain)
|
2498
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2499
|
+
porcelain.tlsrequired = (plumbing.tlsRequired)
|
2500
|
+
porcelain
|
2501
|
+
end
|
2502
|
+
|
2503
|
+
def self.convert_amazon_esiam_to_plumbing(porcelain)
|
2504
|
+
if porcelain == nil
|
2505
|
+
return nil
|
2506
|
+
end
|
2507
|
+
plumbing = V1::AmazonESIAM.new()
|
2508
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
2509
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
2510
|
+
plumbing.endpoint = (porcelain.endpoint)
|
2511
|
+
plumbing.healthy = (porcelain.healthy)
|
2512
|
+
plumbing.id = (porcelain.id)
|
2513
|
+
plumbing.name = (porcelain.name)
|
2514
|
+
plumbing.port_override = (porcelain.port_override)
|
2515
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
2516
|
+
plumbing.region = (porcelain.region)
|
2517
|
+
plumbing.role_arn = (porcelain.role_arn)
|
2518
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
2519
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
2520
|
+
plumbing.subdomain = (porcelain.subdomain)
|
2521
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2522
|
+
plumbing.tlsRequired = (porcelain.tlsrequired)
|
2523
|
+
plumbing
|
2524
|
+
end
|
2525
|
+
def self.convert_repeated_amazon_esiam_to_plumbing(porcelains)
|
2526
|
+
items = Array.new
|
2527
|
+
porcelains.each do |porcelain|
|
2528
|
+
plumbing = convert_amazon_esiam_to_plumbing(porcelain)
|
2529
|
+
items.append(plumbing)
|
2530
|
+
end
|
2531
|
+
items
|
2532
|
+
end
|
2533
|
+
|
2534
|
+
def self.convert_repeated_amazon_esiam_to_porcelain(plumbings)
|
2535
|
+
items = Array.new
|
2536
|
+
plumbings.each do |plumbing|
|
2537
|
+
porcelain = convert_amazon_esiam_to_porcelain(plumbing)
|
2538
|
+
items.append(porcelain)
|
2539
|
+
end
|
2540
|
+
items
|
2541
|
+
end
|
2461
2542
|
def self.convert_amazon_mqamqp_091_to_porcelain(plumbing)
|
2462
2543
|
if plumbing == nil
|
2463
2544
|
return nil
|
@@ -10966,6 +11047,9 @@ module SDM
|
|
10966
11047
|
if porcelain.instance_of? AmazonES
|
10967
11048
|
plumbing.amazon_es = convert_amazon_es_to_plumbing(porcelain)
|
10968
11049
|
end
|
11050
|
+
if porcelain.instance_of? AmazonESIAM
|
11051
|
+
plumbing.amazon_esiam = convert_amazon_esiam_to_plumbing(porcelain)
|
11052
|
+
end
|
10969
11053
|
if porcelain.instance_of? AmazonMQAMQP091
|
10970
11054
|
plumbing.amazon_mqamqp_091 = convert_amazon_mqamqp_091_to_plumbing(porcelain)
|
10971
11055
|
end
|
@@ -11264,6 +11348,9 @@ module SDM
|
|
11264
11348
|
if plumbing.amazon_es != nil
|
11265
11349
|
return convert_amazon_es_to_porcelain(plumbing.amazon_es)
|
11266
11350
|
end
|
11351
|
+
if plumbing.amazon_esiam != nil
|
11352
|
+
return convert_amazon_esiam_to_porcelain(plumbing.amazon_esiam)
|
11353
|
+
end
|
11267
11354
|
if plumbing.amazon_mqamqp_091 != nil
|
11268
11355
|
return convert_amazon_mqamqp_091_to_porcelain(plumbing.amazon_mqamqp_091)
|
11269
11356
|
end
|
data/lib/grpc/spec_pb.rb
CHANGED
@@ -40,19 +40,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
40
|
optional :rate_limit, :message, 1, "v1.RateLimitMetadata"
|
41
41
|
end
|
42
42
|
add_message "v1.CreateRequestMetadata" do
|
43
|
+
optional :fulfillments, :message, 1, "v1.FulfillmentsMetadata"
|
43
44
|
end
|
44
45
|
add_message "v1.CreateResponseMetadata" do
|
45
46
|
end
|
46
47
|
add_message "v1.GetRequestMetadata" do
|
47
48
|
optional :snapshot_at, :message, 1, "google.protobuf.Timestamp"
|
49
|
+
optional :fulfillments, :message, 2, "v1.FulfillmentsMetadata"
|
48
50
|
end
|
49
51
|
add_message "v1.GetResponseMetadata" do
|
50
52
|
end
|
51
53
|
add_message "v1.UpdateRequestMetadata" do
|
54
|
+
optional :fulfillments, :message, 1, "v1.FulfillmentsMetadata"
|
52
55
|
end
|
53
56
|
add_message "v1.UpdateResponseMetadata" do
|
54
57
|
end
|
55
58
|
add_message "v1.DeleteRequestMetadata" do
|
59
|
+
optional :fulfillments, :message, 1, "v1.FulfillmentsMetadata"
|
56
60
|
end
|
57
61
|
add_message "v1.DeleteResponseMetadata" do
|
58
62
|
end
|
@@ -62,6 +66,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
66
|
optional :limit, :int32, 3
|
63
67
|
optional :order_by, :string, 4
|
64
68
|
optional :snapshot_at, :message, 5, "google.protobuf.Timestamp"
|
69
|
+
optional :fulfillments, :message, 6, "v1.FulfillmentsMetadata"
|
65
70
|
end
|
66
71
|
add_message "v1.ListResponseMetadata" do
|
67
72
|
optional :next_cursor, :string, 1
|
@@ -74,9 +79,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
74
79
|
optional :bucket, :string, 4
|
75
80
|
end
|
76
81
|
add_message "v1.GenericRequestMetadata" do
|
82
|
+
optional :fulfillments, :message, 1, "v1.FulfillmentsMetadata"
|
77
83
|
end
|
78
84
|
add_message "v1.GenericResponseMetadata" do
|
79
85
|
end
|
86
|
+
add_message "v1.RequirementsMetadata" do
|
87
|
+
repeated :requirements, :message, 1, "v1.Requirement"
|
88
|
+
end
|
89
|
+
add_message "v1.FulfillmentsMetadata" do
|
90
|
+
repeated :fulfillments, :message, 1, "v1.Fulfillment"
|
91
|
+
end
|
92
|
+
add_message "v1.Requirement" do
|
93
|
+
optional :type, :string, 1
|
94
|
+
optional :value, :string, 2
|
95
|
+
end
|
96
|
+
add_message "v1.Fulfillment" do
|
97
|
+
optional :requirement, :message, 1, "v1.Requirement"
|
98
|
+
optional :value, :string, 2
|
99
|
+
end
|
80
100
|
end
|
81
101
|
end
|
82
102
|
|
@@ -101,4 +121,8 @@ module V1
|
|
101
121
|
RateLimitMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RateLimitMetadata").msgclass
|
102
122
|
GenericRequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GenericRequestMetadata").msgclass
|
103
123
|
GenericResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GenericResponseMetadata").msgclass
|
124
|
+
RequirementsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.RequirementsMetadata").msgclass
|
125
|
+
FulfillmentsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.FulfillmentsMetadata").msgclass
|
126
|
+
Requirement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Requirement").msgclass
|
127
|
+
Fulfillment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Fulfillment").msgclass
|
104
128
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -1319,6 +1319,8 @@ module SDM
|
|
1319
1319
|
|
1320
1320
|
# AccountGrants connect a resource directly to an account, giving the account the permission to connect to that resource.
|
1321
1321
|
class AccountGrant
|
1322
|
+
# The access rule associated with this AccountGrant.
|
1323
|
+
attr_accessor :access_rule
|
1322
1324
|
# The account ID of this AccountGrant.
|
1323
1325
|
attr_accessor :account_id
|
1324
1326
|
# Unique identifier of the AccountGrant.
|
@@ -1331,12 +1333,14 @@ module SDM
|
|
1331
1333
|
attr_accessor :valid_until
|
1332
1334
|
|
1333
1335
|
def initialize(
|
1336
|
+
access_rule: nil,
|
1334
1337
|
account_id: nil,
|
1335
1338
|
id: nil,
|
1336
1339
|
resource_id: nil,
|
1337
1340
|
start_from: nil,
|
1338
1341
|
valid_until: nil
|
1339
1342
|
)
|
1343
|
+
@access_rule = access_rule == nil ? SDM::_porcelain_zero_value_access_rule() : access_rule
|
1340
1344
|
@account_id = account_id == nil ? "" : account_id
|
1341
1345
|
@id = id == nil ? "" : id
|
1342
1346
|
@resource_id = resource_id == nil ? "" : resource_id
|
@@ -2312,6 +2316,82 @@ module SDM
|
|
2312
2316
|
end
|
2313
2317
|
end
|
2314
2318
|
|
2319
|
+
# AmazonESIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
2320
|
+
class AmazonESIAM
|
2321
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
2322
|
+
attr_accessor :bind_interface
|
2323
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
2324
|
+
attr_accessor :egress_filter
|
2325
|
+
# The endpoint to dial e.g. search-?.region.es.amazonaws.com"
|
2326
|
+
attr_accessor :endpoint
|
2327
|
+
# True if the datasource is reachable and the credentials are valid.
|
2328
|
+
attr_accessor :healthy
|
2329
|
+
# Unique identifier of the Resource.
|
2330
|
+
attr_accessor :id
|
2331
|
+
# Unique human-readable name of the Resource.
|
2332
|
+
attr_accessor :name
|
2333
|
+
# The local port used by clients to connect to this resource.
|
2334
|
+
attr_accessor :port_override
|
2335
|
+
# ID of the proxy cluster for this resource, if any.
|
2336
|
+
attr_accessor :proxy_cluster_id
|
2337
|
+
# The AWS region to connect to.
|
2338
|
+
attr_accessor :region
|
2339
|
+
# The role to assume after logging in.
|
2340
|
+
attr_accessor :role_arn
|
2341
|
+
# The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
|
2342
|
+
attr_accessor :role_external_id
|
2343
|
+
# ID of the secret store containing credentials for this resource, if any.
|
2344
|
+
attr_accessor :secret_store_id
|
2345
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
2346
|
+
attr_accessor :subdomain
|
2347
|
+
# Tags is a map of key, value pairs.
|
2348
|
+
attr_accessor :tags
|
2349
|
+
# Use TLS to connect to the OpenSearch server
|
2350
|
+
attr_accessor :tlsrequired
|
2351
|
+
|
2352
|
+
def initialize(
|
2353
|
+
bind_interface: nil,
|
2354
|
+
egress_filter: nil,
|
2355
|
+
endpoint: nil,
|
2356
|
+
healthy: nil,
|
2357
|
+
id: nil,
|
2358
|
+
name: nil,
|
2359
|
+
port_override: nil,
|
2360
|
+
proxy_cluster_id: nil,
|
2361
|
+
region: nil,
|
2362
|
+
role_arn: nil,
|
2363
|
+
role_external_id: nil,
|
2364
|
+
secret_store_id: nil,
|
2365
|
+
subdomain: nil,
|
2366
|
+
tags: nil,
|
2367
|
+
tlsrequired: nil
|
2368
|
+
)
|
2369
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
2370
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
2371
|
+
@endpoint = endpoint == nil ? "" : endpoint
|
2372
|
+
@healthy = healthy == nil ? false : healthy
|
2373
|
+
@id = id == nil ? "" : id
|
2374
|
+
@name = name == nil ? "" : name
|
2375
|
+
@port_override = port_override == nil ? 0 : port_override
|
2376
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
2377
|
+
@region = region == nil ? "" : region
|
2378
|
+
@role_arn = role_arn == nil ? "" : role_arn
|
2379
|
+
@role_external_id = role_external_id == nil ? "" : role_external_id
|
2380
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
2381
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
2382
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
2383
|
+
@tlsrequired = tlsrequired == nil ? false : tlsrequired
|
2384
|
+
end
|
2385
|
+
|
2386
|
+
def to_json(options = {})
|
2387
|
+
hash = {}
|
2388
|
+
self.instance_variables.each do |var|
|
2389
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
2390
|
+
end
|
2391
|
+
hash.to_json
|
2392
|
+
end
|
2393
|
+
end
|
2394
|
+
|
2315
2395
|
class AmazonMQAMQP091
|
2316
2396
|
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
2317
2397
|
attr_accessor :bind_interface
|
@@ -14245,4 +14325,8 @@ module SDM
|
|
14245
14325
|
def self._porcelain_zero_value_access_rules()
|
14246
14326
|
[]
|
14247
14327
|
end
|
14328
|
+
# @private
|
14329
|
+
def self._porcelain_zero_value_access_rule()
|
14330
|
+
{}
|
14331
|
+
end
|
14248
14332
|
end
|
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 = "2024-03-28"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/12.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/12.10.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: 12.
|
4
|
+
version: 12.10.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: 2025-
|
11
|
+
date: 2025-02-12 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-c4a30fc0885629d8c57a031b83bea66c4b44c7e3.idx"
|
85
|
+
- "./.git/objects/pack/pack-c4a30fc0885629d8c57a031b83bea66c4b44c7e3.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|