strongdm 2.6.4 → 3.2.1
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-9605cb63890b5fed001c49e509929945ac427bf0.idx → pack-cff8d23303f23ddc9aaecebd2f8583a0433ef442.idx} +0 -0
- data/.git/objects/pack/{pack-9605cb63890b5fed001c49e509929945ac427bf0.pack → pack-cff8d23303f23ddc9aaecebd2f8583a0433ef442.pack} +0 -0
- data/.git/packed-refs +5 -2
- data/.git/refs/heads/master +1 -1
- data/.yardopts +1 -0
- data/README.md +13 -10
- data/lib/grpc/drivers_pb.rb +41 -0
- data/lib/grpc/options_pb.rb +1 -0
- data/lib/grpc/plumbing.rb +283 -305
- data/lib/grpc/roles_pb.rb +0 -1
- data/lib/grpc/secret_store_types_pb.rb +25 -0
- data/lib/models/porcelain.rb +272 -245
- data/lib/strongdm.rb +5 -21
- data/lib/svc.rb +5 -330
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -8
- data/lib/grpc/role_attachments_pb.rb +0 -77
- data/lib/grpc/role_attachments_services_pb.rb +0 -56
- data/lib/grpc/role_grants_pb.rb +0 -77
- data/lib/grpc/role_grants_services_pb.rb +0 -56
data/lib/grpc/plumbing.rb
CHANGED
@@ -20,9 +20,9 @@ require "google/protobuf/well_known_types"
|
|
20
20
|
require "json"
|
21
21
|
require_relative "./options_pb"
|
22
22
|
require_relative "./spec_pb"
|
23
|
-
require_relative "./tags_pb"
|
24
23
|
require_relative "./account_attachments_pb"
|
25
24
|
require_relative "./account_grants_pb"
|
25
|
+
require_relative "./tags_pb"
|
26
26
|
require_relative "./accounts_pb"
|
27
27
|
require_relative "./control_panel_pb"
|
28
28
|
require_relative "./drivers_pb"
|
@@ -30,8 +30,6 @@ require_relative "./nodes_pb"
|
|
30
30
|
require_relative "./remote_identities_pb"
|
31
31
|
require_relative "./remote_identity_groups_pb"
|
32
32
|
require_relative "./resources_pb"
|
33
|
-
require_relative "./role_attachments_pb"
|
34
|
-
require_relative "./role_grants_pb"
|
35
33
|
require_relative "./roles_pb"
|
36
34
|
require_relative "./secret_store_types_pb"
|
37
35
|
require_relative "./secret_stores_pb"
|
@@ -466,6 +464,136 @@ module SDM
|
|
466
464
|
end
|
467
465
|
items
|
468
466
|
end
|
467
|
+
def self.convert_aws_console_to_porcelain(plumbing)
|
468
|
+
if plumbing == nil
|
469
|
+
return nil
|
470
|
+
end
|
471
|
+
porcelain = AWSConsole.new()
|
472
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
473
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
474
|
+
porcelain.enable_env_variables = (plumbing.enable_env_variables)
|
475
|
+
porcelain.healthy = (plumbing.healthy)
|
476
|
+
porcelain.id = (plumbing.id)
|
477
|
+
porcelain.name = (plumbing.name)
|
478
|
+
porcelain.port_override = (plumbing.port_override)
|
479
|
+
porcelain.region = (plumbing.region)
|
480
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
481
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
482
|
+
porcelain.role_arn = (plumbing.role_arn)
|
483
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
484
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
485
|
+
porcelain.session_expiry = (plumbing.session_expiry)
|
486
|
+
porcelain.subdomain = (plumbing.subdomain)
|
487
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
488
|
+
porcelain
|
489
|
+
end
|
490
|
+
|
491
|
+
def self.convert_aws_console_to_plumbing(porcelain)
|
492
|
+
if porcelain == nil
|
493
|
+
return nil
|
494
|
+
end
|
495
|
+
plumbing = V1::AWSConsole.new()
|
496
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
497
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
498
|
+
plumbing.enable_env_variables = (porcelain.enable_env_variables)
|
499
|
+
plumbing.healthy = (porcelain.healthy)
|
500
|
+
plumbing.id = (porcelain.id)
|
501
|
+
plumbing.name = (porcelain.name)
|
502
|
+
plumbing.port_override = (porcelain.port_override)
|
503
|
+
plumbing.region = (porcelain.region)
|
504
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
505
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
506
|
+
plumbing.role_arn = (porcelain.role_arn)
|
507
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
508
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
509
|
+
plumbing.session_expiry = (porcelain.session_expiry)
|
510
|
+
plumbing.subdomain = (porcelain.subdomain)
|
511
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
512
|
+
plumbing
|
513
|
+
end
|
514
|
+
def self.convert_repeated_aws_console_to_plumbing(porcelains)
|
515
|
+
items = Array.new
|
516
|
+
porcelains.each do |porcelain|
|
517
|
+
plumbing = convert_aws_console_to_plumbing(porcelain)
|
518
|
+
items.append(plumbing)
|
519
|
+
end
|
520
|
+
items
|
521
|
+
end
|
522
|
+
|
523
|
+
def self.convert_repeated_aws_console_to_porcelain(plumbings)
|
524
|
+
items = Array.new
|
525
|
+
plumbings.each do |plumbing|
|
526
|
+
porcelain = convert_aws_console_to_porcelain(plumbing)
|
527
|
+
items.append(porcelain)
|
528
|
+
end
|
529
|
+
items
|
530
|
+
end
|
531
|
+
def self.convert_aws_console_static_key_pair_to_porcelain(plumbing)
|
532
|
+
if plumbing == nil
|
533
|
+
return nil
|
534
|
+
end
|
535
|
+
porcelain = AWSConsoleStaticKeyPair.new()
|
536
|
+
porcelain.access_key = (plumbing.access_key)
|
537
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
538
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
539
|
+
porcelain.healthy = (plumbing.healthy)
|
540
|
+
porcelain.id = (plumbing.id)
|
541
|
+
porcelain.name = (plumbing.name)
|
542
|
+
porcelain.port_override = (plumbing.port_override)
|
543
|
+
porcelain.region = (plumbing.region)
|
544
|
+
porcelain.remote_identity_group_id = (plumbing.remote_identity_group_id)
|
545
|
+
porcelain.remote_identity_healthcheck_username = (plumbing.remote_identity_healthcheck_username)
|
546
|
+
porcelain.role_arn = (plumbing.role_arn)
|
547
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
548
|
+
porcelain.secret_access_key = (plumbing.secret_access_key)
|
549
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
550
|
+
porcelain.session_expiry = (plumbing.session_expiry)
|
551
|
+
porcelain.subdomain = (plumbing.subdomain)
|
552
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
553
|
+
porcelain
|
554
|
+
end
|
555
|
+
|
556
|
+
def self.convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
557
|
+
if porcelain == nil
|
558
|
+
return nil
|
559
|
+
end
|
560
|
+
plumbing = V1::AWSConsoleStaticKeyPair.new()
|
561
|
+
plumbing.access_key = (porcelain.access_key)
|
562
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
563
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
564
|
+
plumbing.healthy = (porcelain.healthy)
|
565
|
+
plumbing.id = (porcelain.id)
|
566
|
+
plumbing.name = (porcelain.name)
|
567
|
+
plumbing.port_override = (porcelain.port_override)
|
568
|
+
plumbing.region = (porcelain.region)
|
569
|
+
plumbing.remote_identity_group_id = (porcelain.remote_identity_group_id)
|
570
|
+
plumbing.remote_identity_healthcheck_username = (porcelain.remote_identity_healthcheck_username)
|
571
|
+
plumbing.role_arn = (porcelain.role_arn)
|
572
|
+
plumbing.role_external_id = (porcelain.role_external_id)
|
573
|
+
plumbing.secret_access_key = (porcelain.secret_access_key)
|
574
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
575
|
+
plumbing.session_expiry = (porcelain.session_expiry)
|
576
|
+
plumbing.subdomain = (porcelain.subdomain)
|
577
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
578
|
+
plumbing
|
579
|
+
end
|
580
|
+
def self.convert_repeated_aws_console_static_key_pair_to_plumbing(porcelains)
|
581
|
+
items = Array.new
|
582
|
+
porcelains.each do |porcelain|
|
583
|
+
plumbing = convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
584
|
+
items.append(plumbing)
|
585
|
+
end
|
586
|
+
items
|
587
|
+
end
|
588
|
+
|
589
|
+
def self.convert_repeated_aws_console_static_key_pair_to_porcelain(plumbings)
|
590
|
+
items = Array.new
|
591
|
+
plumbings.each do |plumbing|
|
592
|
+
porcelain = convert_aws_console_static_key_pair_to_porcelain(plumbing)
|
593
|
+
items.append(porcelain)
|
594
|
+
end
|
595
|
+
items
|
596
|
+
end
|
469
597
|
def self.convert_aws_store_to_porcelain(plumbing)
|
470
598
|
if plumbing == nil
|
471
599
|
return nil
|
@@ -2036,6 +2164,86 @@ module SDM
|
|
2036
2164
|
end
|
2037
2165
|
items
|
2038
2166
|
end
|
2167
|
+
def self.convert_cyberark_conjur_store_to_porcelain(plumbing)
|
2168
|
+
if plumbing == nil
|
2169
|
+
return nil
|
2170
|
+
end
|
2171
|
+
porcelain = CyberarkConjurStore.new()
|
2172
|
+
porcelain.appurl = (plumbing.appURL)
|
2173
|
+
porcelain.id = (plumbing.id)
|
2174
|
+
porcelain.name = (plumbing.name)
|
2175
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2176
|
+
porcelain
|
2177
|
+
end
|
2178
|
+
|
2179
|
+
def self.convert_cyberark_conjur_store_to_plumbing(porcelain)
|
2180
|
+
if porcelain == nil
|
2181
|
+
return nil
|
2182
|
+
end
|
2183
|
+
plumbing = V1::CyberarkConjurStore.new()
|
2184
|
+
plumbing.appURL = (porcelain.appurl)
|
2185
|
+
plumbing.id = (porcelain.id)
|
2186
|
+
plumbing.name = (porcelain.name)
|
2187
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2188
|
+
plumbing
|
2189
|
+
end
|
2190
|
+
def self.convert_repeated_cyberark_conjur_store_to_plumbing(porcelains)
|
2191
|
+
items = Array.new
|
2192
|
+
porcelains.each do |porcelain|
|
2193
|
+
plumbing = convert_cyberark_conjur_store_to_plumbing(porcelain)
|
2194
|
+
items.append(plumbing)
|
2195
|
+
end
|
2196
|
+
items
|
2197
|
+
end
|
2198
|
+
|
2199
|
+
def self.convert_repeated_cyberark_conjur_store_to_porcelain(plumbings)
|
2200
|
+
items = Array.new
|
2201
|
+
plumbings.each do |plumbing|
|
2202
|
+
porcelain = convert_cyberark_conjur_store_to_porcelain(plumbing)
|
2203
|
+
items.append(porcelain)
|
2204
|
+
end
|
2205
|
+
items
|
2206
|
+
end
|
2207
|
+
def self.convert_cyberark_pam_experimental_store_to_porcelain(plumbing)
|
2208
|
+
if plumbing == nil
|
2209
|
+
return nil
|
2210
|
+
end
|
2211
|
+
porcelain = CyberarkPAMExperimentalStore.new()
|
2212
|
+
porcelain.appurl = (plumbing.appURL)
|
2213
|
+
porcelain.id = (plumbing.id)
|
2214
|
+
porcelain.name = (plumbing.name)
|
2215
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2216
|
+
porcelain
|
2217
|
+
end
|
2218
|
+
|
2219
|
+
def self.convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
2220
|
+
if porcelain == nil
|
2221
|
+
return nil
|
2222
|
+
end
|
2223
|
+
plumbing = V1::CyberarkPAMExperimentalStore.new()
|
2224
|
+
plumbing.appURL = (porcelain.appurl)
|
2225
|
+
plumbing.id = (porcelain.id)
|
2226
|
+
plumbing.name = (porcelain.name)
|
2227
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2228
|
+
plumbing
|
2229
|
+
end
|
2230
|
+
def self.convert_repeated_cyberark_pam_experimental_store_to_plumbing(porcelains)
|
2231
|
+
items = Array.new
|
2232
|
+
porcelains.each do |porcelain|
|
2233
|
+
plumbing = convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
2234
|
+
items.append(plumbing)
|
2235
|
+
end
|
2236
|
+
items
|
2237
|
+
end
|
2238
|
+
|
2239
|
+
def self.convert_repeated_cyberark_pam_experimental_store_to_porcelain(plumbings)
|
2240
|
+
items = Array.new
|
2241
|
+
plumbings.each do |plumbing|
|
2242
|
+
porcelain = convert_cyberark_pam_experimental_store_to_porcelain(plumbing)
|
2243
|
+
items.append(porcelain)
|
2244
|
+
end
|
2245
|
+
items
|
2246
|
+
end
|
2039
2247
|
def self.convert_db_2_i_to_porcelain(plumbing)
|
2040
2248
|
if plumbing == nil
|
2041
2249
|
return nil
|
@@ -2184,6 +2392,48 @@ module SDM
|
|
2184
2392
|
end
|
2185
2393
|
items
|
2186
2394
|
end
|
2395
|
+
def self.convert_delinea_store_to_porcelain(plumbing)
|
2396
|
+
if plumbing == nil
|
2397
|
+
return nil
|
2398
|
+
end
|
2399
|
+
porcelain = DelineaStore.new()
|
2400
|
+
porcelain.id = (plumbing.id)
|
2401
|
+
porcelain.name = (plumbing.name)
|
2402
|
+
porcelain.server_url = (plumbing.server_url)
|
2403
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2404
|
+
porcelain.tenant_name = (plumbing.tenant_name)
|
2405
|
+
porcelain
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
def self.convert_delinea_store_to_plumbing(porcelain)
|
2409
|
+
if porcelain == nil
|
2410
|
+
return nil
|
2411
|
+
end
|
2412
|
+
plumbing = V1::DelineaStore.new()
|
2413
|
+
plumbing.id = (porcelain.id)
|
2414
|
+
plumbing.name = (porcelain.name)
|
2415
|
+
plumbing.server_url = (porcelain.server_url)
|
2416
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
2417
|
+
plumbing.tenant_name = (porcelain.tenant_name)
|
2418
|
+
plumbing
|
2419
|
+
end
|
2420
|
+
def self.convert_repeated_delinea_store_to_plumbing(porcelains)
|
2421
|
+
items = Array.new
|
2422
|
+
porcelains.each do |porcelain|
|
2423
|
+
plumbing = convert_delinea_store_to_plumbing(porcelain)
|
2424
|
+
items.append(plumbing)
|
2425
|
+
end
|
2426
|
+
items
|
2427
|
+
end
|
2428
|
+
|
2429
|
+
def self.convert_repeated_delinea_store_to_porcelain(plumbings)
|
2430
|
+
items = Array.new
|
2431
|
+
plumbings.each do |plumbing|
|
2432
|
+
porcelain = convert_delinea_store_to_porcelain(plumbing)
|
2433
|
+
items.append(porcelain)
|
2434
|
+
end
|
2435
|
+
items
|
2436
|
+
end
|
2187
2437
|
def self.convert_document_db_host_to_porcelain(plumbing)
|
2188
2438
|
if plumbing == nil
|
2189
2439
|
return nil
|
@@ -5172,6 +5422,12 @@ module SDM
|
|
5172
5422
|
if porcelain.instance_of? AWS
|
5173
5423
|
plumbing.aws = convert_aws_to_plumbing(porcelain)
|
5174
5424
|
end
|
5425
|
+
if porcelain.instance_of? AWSConsole
|
5426
|
+
plumbing.aws_console = convert_aws_console_to_plumbing(porcelain)
|
5427
|
+
end
|
5428
|
+
if porcelain.instance_of? AWSConsoleStaticKeyPair
|
5429
|
+
plumbing.aws_console_static_key_pair = convert_aws_console_static_key_pair_to_plumbing(porcelain)
|
5430
|
+
end
|
5175
5431
|
if porcelain.instance_of? Azure
|
5176
5432
|
plumbing.azure = convert_azure_to_plumbing(porcelain)
|
5177
5433
|
end
|
@@ -5392,6 +5648,12 @@ module SDM
|
|
5392
5648
|
if plumbing.aws != nil
|
5393
5649
|
return convert_aws_to_porcelain(plumbing.aws)
|
5394
5650
|
end
|
5651
|
+
if plumbing.aws_console != nil
|
5652
|
+
return convert_aws_console_to_porcelain(plumbing.aws_console)
|
5653
|
+
end
|
5654
|
+
if plumbing.aws_console_static_key_pair != nil
|
5655
|
+
return convert_aws_console_static_key_pair_to_porcelain(plumbing.aws_console_static_key_pair)
|
5656
|
+
end
|
5395
5657
|
if plumbing.azure != nil
|
5396
5658
|
return convert_azure_to_porcelain(plumbing.azure)
|
5397
5659
|
end
|
@@ -5740,7 +6002,6 @@ module SDM
|
|
5740
6002
|
end
|
5741
6003
|
porcelain = Role.new()
|
5742
6004
|
porcelain.access_rules = convert_access_rules_to_porcelain(plumbing.access_rules)
|
5743
|
-
porcelain.composite = (plumbing.composite)
|
5744
6005
|
porcelain.id = (plumbing.id)
|
5745
6006
|
porcelain.name = (plumbing.name)
|
5746
6007
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
@@ -5753,7 +6014,6 @@ module SDM
|
|
5753
6014
|
end
|
5754
6015
|
plumbing = V1::Role.new()
|
5755
6016
|
plumbing.access_rules = convert_access_rules_to_plumbing(porcelain.access_rules)
|
5756
|
-
plumbing.composite = (porcelain.composite)
|
5757
6017
|
plumbing.id = (porcelain.id)
|
5758
6018
|
plumbing.name = (porcelain.name)
|
5759
6019
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
@@ -5776,156 +6036,6 @@ module SDM
|
|
5776
6036
|
end
|
5777
6037
|
items
|
5778
6038
|
end
|
5779
|
-
def self.convert_role_attachment_to_porcelain(plumbing)
|
5780
|
-
if plumbing == nil
|
5781
|
-
return nil
|
5782
|
-
end
|
5783
|
-
porcelain = RoleAttachment.new()
|
5784
|
-
porcelain.attached_role_id = (plumbing.attached_role_id)
|
5785
|
-
porcelain.composite_role_id = (plumbing.composite_role_id)
|
5786
|
-
porcelain.id = (plumbing.id)
|
5787
|
-
porcelain
|
5788
|
-
end
|
5789
|
-
|
5790
|
-
def self.convert_role_attachment_to_plumbing(porcelain)
|
5791
|
-
if porcelain == nil
|
5792
|
-
return nil
|
5793
|
-
end
|
5794
|
-
plumbing = V1::RoleAttachment.new()
|
5795
|
-
plumbing.attached_role_id = (porcelain.attached_role_id)
|
5796
|
-
plumbing.composite_role_id = (porcelain.composite_role_id)
|
5797
|
-
plumbing.id = (porcelain.id)
|
5798
|
-
plumbing
|
5799
|
-
end
|
5800
|
-
def self.convert_repeated_role_attachment_to_plumbing(porcelains)
|
5801
|
-
items = Array.new
|
5802
|
-
porcelains.each do |porcelain|
|
5803
|
-
plumbing = convert_role_attachment_to_plumbing(porcelain)
|
5804
|
-
items.append(plumbing)
|
5805
|
-
end
|
5806
|
-
items
|
5807
|
-
end
|
5808
|
-
|
5809
|
-
def self.convert_repeated_role_attachment_to_porcelain(plumbings)
|
5810
|
-
items = Array.new
|
5811
|
-
plumbings.each do |plumbing|
|
5812
|
-
porcelain = convert_role_attachment_to_porcelain(plumbing)
|
5813
|
-
items.append(porcelain)
|
5814
|
-
end
|
5815
|
-
items
|
5816
|
-
end
|
5817
|
-
def self.convert_role_attachment_create_response_to_porcelain(plumbing)
|
5818
|
-
if plumbing == nil
|
5819
|
-
return nil
|
5820
|
-
end
|
5821
|
-
porcelain = RoleAttachmentCreateResponse.new()
|
5822
|
-
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
5823
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5824
|
-
porcelain.role_attachment = convert_role_attachment_to_porcelain(plumbing.role_attachment)
|
5825
|
-
porcelain
|
5826
|
-
end
|
5827
|
-
|
5828
|
-
def self.convert_role_attachment_create_response_to_plumbing(porcelain)
|
5829
|
-
if porcelain == nil
|
5830
|
-
return nil
|
5831
|
-
end
|
5832
|
-
plumbing = V1::RoleAttachmentCreateResponse.new()
|
5833
|
-
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
5834
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
5835
|
-
plumbing.role_attachment = convert_role_attachment_to_plumbing(porcelain.role_attachment)
|
5836
|
-
plumbing
|
5837
|
-
end
|
5838
|
-
def self.convert_repeated_role_attachment_create_response_to_plumbing(porcelains)
|
5839
|
-
items = Array.new
|
5840
|
-
porcelains.each do |porcelain|
|
5841
|
-
plumbing = convert_role_attachment_create_response_to_plumbing(porcelain)
|
5842
|
-
items.append(plumbing)
|
5843
|
-
end
|
5844
|
-
items
|
5845
|
-
end
|
5846
|
-
|
5847
|
-
def self.convert_repeated_role_attachment_create_response_to_porcelain(plumbings)
|
5848
|
-
items = Array.new
|
5849
|
-
plumbings.each do |plumbing|
|
5850
|
-
porcelain = convert_role_attachment_create_response_to_porcelain(plumbing)
|
5851
|
-
items.append(porcelain)
|
5852
|
-
end
|
5853
|
-
items
|
5854
|
-
end
|
5855
|
-
def self.convert_role_attachment_delete_response_to_porcelain(plumbing)
|
5856
|
-
if plumbing == nil
|
5857
|
-
return nil
|
5858
|
-
end
|
5859
|
-
porcelain = RoleAttachmentDeleteResponse.new()
|
5860
|
-
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
5861
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5862
|
-
porcelain
|
5863
|
-
end
|
5864
|
-
|
5865
|
-
def self.convert_role_attachment_delete_response_to_plumbing(porcelain)
|
5866
|
-
if porcelain == nil
|
5867
|
-
return nil
|
5868
|
-
end
|
5869
|
-
plumbing = V1::RoleAttachmentDeleteResponse.new()
|
5870
|
-
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
|
5871
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
5872
|
-
plumbing
|
5873
|
-
end
|
5874
|
-
def self.convert_repeated_role_attachment_delete_response_to_plumbing(porcelains)
|
5875
|
-
items = Array.new
|
5876
|
-
porcelains.each do |porcelain|
|
5877
|
-
plumbing = convert_role_attachment_delete_response_to_plumbing(porcelain)
|
5878
|
-
items.append(plumbing)
|
5879
|
-
end
|
5880
|
-
items
|
5881
|
-
end
|
5882
|
-
|
5883
|
-
def self.convert_repeated_role_attachment_delete_response_to_porcelain(plumbings)
|
5884
|
-
items = Array.new
|
5885
|
-
plumbings.each do |plumbing|
|
5886
|
-
porcelain = convert_role_attachment_delete_response_to_porcelain(plumbing)
|
5887
|
-
items.append(porcelain)
|
5888
|
-
end
|
5889
|
-
items
|
5890
|
-
end
|
5891
|
-
def self.convert_role_attachment_get_response_to_porcelain(plumbing)
|
5892
|
-
if plumbing == nil
|
5893
|
-
return nil
|
5894
|
-
end
|
5895
|
-
porcelain = RoleAttachmentGetResponse.new()
|
5896
|
-
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
5897
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5898
|
-
porcelain.role_attachment = convert_role_attachment_to_porcelain(plumbing.role_attachment)
|
5899
|
-
porcelain
|
5900
|
-
end
|
5901
|
-
|
5902
|
-
def self.convert_role_attachment_get_response_to_plumbing(porcelain)
|
5903
|
-
if porcelain == nil
|
5904
|
-
return nil
|
5905
|
-
end
|
5906
|
-
plumbing = V1::RoleAttachmentGetResponse.new()
|
5907
|
-
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
5908
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
5909
|
-
plumbing.role_attachment = convert_role_attachment_to_plumbing(porcelain.role_attachment)
|
5910
|
-
plumbing
|
5911
|
-
end
|
5912
|
-
def self.convert_repeated_role_attachment_get_response_to_plumbing(porcelains)
|
5913
|
-
items = Array.new
|
5914
|
-
porcelains.each do |porcelain|
|
5915
|
-
plumbing = convert_role_attachment_get_response_to_plumbing(porcelain)
|
5916
|
-
items.append(plumbing)
|
5917
|
-
end
|
5918
|
-
items
|
5919
|
-
end
|
5920
|
-
|
5921
|
-
def self.convert_repeated_role_attachment_get_response_to_porcelain(plumbings)
|
5922
|
-
items = Array.new
|
5923
|
-
plumbings.each do |plumbing|
|
5924
|
-
porcelain = convert_role_attachment_get_response_to_porcelain(plumbing)
|
5925
|
-
items.append(porcelain)
|
5926
|
-
end
|
5927
|
-
items
|
5928
|
-
end
|
5929
6039
|
def self.convert_role_create_response_to_porcelain(plumbing)
|
5930
6040
|
if plumbing == nil
|
5931
6041
|
return nil
|
@@ -6038,156 +6148,6 @@ module SDM
|
|
6038
6148
|
end
|
6039
6149
|
items
|
6040
6150
|
end
|
6041
|
-
def self.convert_role_grant_to_porcelain(plumbing)
|
6042
|
-
if plumbing == nil
|
6043
|
-
return nil
|
6044
|
-
end
|
6045
|
-
porcelain = RoleGrant.new()
|
6046
|
-
porcelain.id = (plumbing.id)
|
6047
|
-
porcelain.resource_id = (plumbing.resource_id)
|
6048
|
-
porcelain.role_id = (plumbing.role_id)
|
6049
|
-
porcelain
|
6050
|
-
end
|
6051
|
-
|
6052
|
-
def self.convert_role_grant_to_plumbing(porcelain)
|
6053
|
-
if porcelain == nil
|
6054
|
-
return nil
|
6055
|
-
end
|
6056
|
-
plumbing = V1::RoleGrant.new()
|
6057
|
-
plumbing.id = (porcelain.id)
|
6058
|
-
plumbing.resource_id = (porcelain.resource_id)
|
6059
|
-
plumbing.role_id = (porcelain.role_id)
|
6060
|
-
plumbing
|
6061
|
-
end
|
6062
|
-
def self.convert_repeated_role_grant_to_plumbing(porcelains)
|
6063
|
-
items = Array.new
|
6064
|
-
porcelains.each do |porcelain|
|
6065
|
-
plumbing = convert_role_grant_to_plumbing(porcelain)
|
6066
|
-
items.append(plumbing)
|
6067
|
-
end
|
6068
|
-
items
|
6069
|
-
end
|
6070
|
-
|
6071
|
-
def self.convert_repeated_role_grant_to_porcelain(plumbings)
|
6072
|
-
items = Array.new
|
6073
|
-
plumbings.each do |plumbing|
|
6074
|
-
porcelain = convert_role_grant_to_porcelain(plumbing)
|
6075
|
-
items.append(porcelain)
|
6076
|
-
end
|
6077
|
-
items
|
6078
|
-
end
|
6079
|
-
def self.convert_role_grant_create_response_to_porcelain(plumbing)
|
6080
|
-
if plumbing == nil
|
6081
|
-
return nil
|
6082
|
-
end
|
6083
|
-
porcelain = RoleGrantCreateResponse.new()
|
6084
|
-
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
6085
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
6086
|
-
porcelain.role_grant = convert_role_grant_to_porcelain(plumbing.role_grant)
|
6087
|
-
porcelain
|
6088
|
-
end
|
6089
|
-
|
6090
|
-
def self.convert_role_grant_create_response_to_plumbing(porcelain)
|
6091
|
-
if porcelain == nil
|
6092
|
-
return nil
|
6093
|
-
end
|
6094
|
-
plumbing = V1::RoleGrantCreateResponse.new()
|
6095
|
-
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta)
|
6096
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
6097
|
-
plumbing.role_grant = convert_role_grant_to_plumbing(porcelain.role_grant)
|
6098
|
-
plumbing
|
6099
|
-
end
|
6100
|
-
def self.convert_repeated_role_grant_create_response_to_plumbing(porcelains)
|
6101
|
-
items = Array.new
|
6102
|
-
porcelains.each do |porcelain|
|
6103
|
-
plumbing = convert_role_grant_create_response_to_plumbing(porcelain)
|
6104
|
-
items.append(plumbing)
|
6105
|
-
end
|
6106
|
-
items
|
6107
|
-
end
|
6108
|
-
|
6109
|
-
def self.convert_repeated_role_grant_create_response_to_porcelain(plumbings)
|
6110
|
-
items = Array.new
|
6111
|
-
plumbings.each do |plumbing|
|
6112
|
-
porcelain = convert_role_grant_create_response_to_porcelain(plumbing)
|
6113
|
-
items.append(porcelain)
|
6114
|
-
end
|
6115
|
-
items
|
6116
|
-
end
|
6117
|
-
def self.convert_role_grant_delete_response_to_porcelain(plumbing)
|
6118
|
-
if plumbing == nil
|
6119
|
-
return nil
|
6120
|
-
end
|
6121
|
-
porcelain = RoleGrantDeleteResponse.new()
|
6122
|
-
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
6123
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
6124
|
-
porcelain
|
6125
|
-
end
|
6126
|
-
|
6127
|
-
def self.convert_role_grant_delete_response_to_plumbing(porcelain)
|
6128
|
-
if porcelain == nil
|
6129
|
-
return nil
|
6130
|
-
end
|
6131
|
-
plumbing = V1::RoleGrantDeleteResponse.new()
|
6132
|
-
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta)
|
6133
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
6134
|
-
plumbing
|
6135
|
-
end
|
6136
|
-
def self.convert_repeated_role_grant_delete_response_to_plumbing(porcelains)
|
6137
|
-
items = Array.new
|
6138
|
-
porcelains.each do |porcelain|
|
6139
|
-
plumbing = convert_role_grant_delete_response_to_plumbing(porcelain)
|
6140
|
-
items.append(plumbing)
|
6141
|
-
end
|
6142
|
-
items
|
6143
|
-
end
|
6144
|
-
|
6145
|
-
def self.convert_repeated_role_grant_delete_response_to_porcelain(plumbings)
|
6146
|
-
items = Array.new
|
6147
|
-
plumbings.each do |plumbing|
|
6148
|
-
porcelain = convert_role_grant_delete_response_to_porcelain(plumbing)
|
6149
|
-
items.append(porcelain)
|
6150
|
-
end
|
6151
|
-
items
|
6152
|
-
end
|
6153
|
-
def self.convert_role_grant_get_response_to_porcelain(plumbing)
|
6154
|
-
if plumbing == nil
|
6155
|
-
return nil
|
6156
|
-
end
|
6157
|
-
porcelain = RoleGrantGetResponse.new()
|
6158
|
-
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
6159
|
-
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
6160
|
-
porcelain.role_grant = convert_role_grant_to_porcelain(plumbing.role_grant)
|
6161
|
-
porcelain
|
6162
|
-
end
|
6163
|
-
|
6164
|
-
def self.convert_role_grant_get_response_to_plumbing(porcelain)
|
6165
|
-
if porcelain == nil
|
6166
|
-
return nil
|
6167
|
-
end
|
6168
|
-
plumbing = V1::RoleGrantGetResponse.new()
|
6169
|
-
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta)
|
6170
|
-
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit)
|
6171
|
-
plumbing.role_grant = convert_role_grant_to_plumbing(porcelain.role_grant)
|
6172
|
-
plumbing
|
6173
|
-
end
|
6174
|
-
def self.convert_repeated_role_grant_get_response_to_plumbing(porcelains)
|
6175
|
-
items = Array.new
|
6176
|
-
porcelains.each do |porcelain|
|
6177
|
-
plumbing = convert_role_grant_get_response_to_plumbing(porcelain)
|
6178
|
-
items.append(plumbing)
|
6179
|
-
end
|
6180
|
-
items
|
6181
|
-
end
|
6182
|
-
|
6183
|
-
def self.convert_repeated_role_grant_get_response_to_porcelain(plumbings)
|
6184
|
-
items = Array.new
|
6185
|
-
plumbings.each do |plumbing|
|
6186
|
-
porcelain = convert_role_grant_get_response_to_porcelain(plumbing)
|
6187
|
-
items.append(porcelain)
|
6188
|
-
end
|
6189
|
-
items
|
6190
|
-
end
|
6191
6151
|
def self.convert_role_update_response_to_porcelain(plumbing)
|
6192
6152
|
if plumbing == nil
|
6193
6153
|
return nil
|
@@ -6485,6 +6445,15 @@ module SDM
|
|
6485
6445
|
if porcelain.instance_of? AzureStore
|
6486
6446
|
plumbing.azure = convert_azure_store_to_plumbing(porcelain)
|
6487
6447
|
end
|
6448
|
+
if porcelain.instance_of? CyberarkConjurStore
|
6449
|
+
plumbing.cyberark_conjur = convert_cyberark_conjur_store_to_plumbing(porcelain)
|
6450
|
+
end
|
6451
|
+
if porcelain.instance_of? CyberarkPAMExperimentalStore
|
6452
|
+
plumbing.cyberark_pam_experimental = convert_cyberark_pam_experimental_store_to_plumbing(porcelain)
|
6453
|
+
end
|
6454
|
+
if porcelain.instance_of? DelineaStore
|
6455
|
+
plumbing.delinea = convert_delinea_store_to_plumbing(porcelain)
|
6456
|
+
end
|
6488
6457
|
if porcelain.instance_of? GCPStore
|
6489
6458
|
plumbing.gcp = convert_gcp_store_to_plumbing(porcelain)
|
6490
6459
|
end
|
@@ -6510,6 +6479,15 @@ module SDM
|
|
6510
6479
|
if plumbing.azure != nil
|
6511
6480
|
return convert_azure_store_to_porcelain(plumbing.azure)
|
6512
6481
|
end
|
6482
|
+
if plumbing.cyberark_conjur != nil
|
6483
|
+
return convert_cyberark_conjur_store_to_porcelain(plumbing.cyberark_conjur)
|
6484
|
+
end
|
6485
|
+
if plumbing.cyberark_pam_experimental != nil
|
6486
|
+
return convert_cyberark_pam_experimental_store_to_porcelain(plumbing.cyberark_pam_experimental)
|
6487
|
+
end
|
6488
|
+
if plumbing.delinea != nil
|
6489
|
+
return convert_delinea_store_to_porcelain(plumbing.delinea)
|
6490
|
+
end
|
6513
6491
|
if plumbing.gcp != nil
|
6514
6492
|
return convert_gcp_store_to_porcelain(plumbing.gcp)
|
6515
6493
|
end
|
data/lib/grpc/roles_pb.rb
CHANGED