strongdm 15.14.0 → 15.15.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-c39a8f7546865b040c99432a08429c454ebf5eaf.idx → pack-22b85a8bfbae54b5ff56d876ba546055c5068835.idx} +0 -0
- data/.git/objects/pack/{pack-c39a8f7546865b040c99432a08429c454ebf5eaf.pack → pack-22b85a8bfbae54b5ff56d876ba546055c5068835.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/accounts_groups_history_pb.rb +49 -0
- data/lib/grpc/accounts_groups_history_services_pb.rb +37 -0
- data/lib/grpc/accounts_groups_pb.rb +78 -0
- data/lib/grpc/accounts_groups_services_pb.rb +43 -0
- data/lib/grpc/drivers_pb.rb +18 -0
- data/lib/grpc/groups_history_pb.rb +49 -0
- data/lib/grpc/groups_history_services_pb.rb +37 -0
- data/lib/grpc/groups_pb.rb +116 -0
- data/lib/grpc/groups_roles_history_pb.rb +49 -0
- data/lib/grpc/groups_roles_history_services_pb.rb +37 -0
- data/lib/grpc/groups_roles_pb.rb +81 -0
- data/lib/grpc/groups_roles_services_pb.rb +43 -0
- data/lib/grpc/groups_services_pb.rb +46 -0
- data/lib/grpc/plumbing.rb +3476 -2138
- data/lib/models/porcelain.rb +990 -56
- data/lib/strongdm.rb +52 -1
- data/lib/svc.rb +769 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +16 -4
data/lib/strongdm.rb
CHANGED
@@ -30,7 +30,7 @@ module SDM #:nodoc:
|
|
30
30
|
DEFAULT_RETRY_FACTOR = 1.6
|
31
31
|
DEFAULT_RETRY_JITTER = 0.2
|
32
32
|
API_VERSION = "2025-04-14"
|
33
|
-
USER_AGENT = "strongdm-sdk-ruby/15.
|
33
|
+
USER_AGENT = "strongdm-sdk-ruby/15.15.0"
|
34
34
|
private_constant :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :DEFAULT_RETRY_FACTOR, :DEFAULT_RETRY_JITTER, :API_VERSION, :USER_AGENT
|
35
35
|
|
36
36
|
# Creates a new strongDM API client.
|
@@ -68,6 +68,8 @@ module SDM #:nodoc:
|
|
68
68
|
@account_resources = AccountResources.new(@channel, self)
|
69
69
|
@account_resources_history = AccountResourcesHistory.new(@channel, self)
|
70
70
|
@accounts = Accounts.new(@channel, self)
|
71
|
+
@accounts_groups = AccountsGroups.new(@channel, self)
|
72
|
+
@accounts_groups_history = AccountsGroupsHistory.new(@channel, self)
|
71
73
|
@accounts_history = AccountsHistory.new(@channel, self)
|
72
74
|
@activities = Activities.new(@channel, self)
|
73
75
|
@approval_workflow_approvers = ApprovalWorkflowApprovers.new(@channel, self)
|
@@ -78,6 +80,10 @@ module SDM #:nodoc:
|
|
78
80
|
@approval_workflows_history = ApprovalWorkflowsHistory.new(@channel, self)
|
79
81
|
@control_panel = ControlPanel.new(@channel, self)
|
80
82
|
@roles = Roles.new(@channel, self)
|
83
|
+
@groups = Groups.new(@channel, self)
|
84
|
+
@groups_history = GroupsHistory.new(@channel, self)
|
85
|
+
@groups_roles = GroupsRoles.new(@channel, self)
|
86
|
+
@groups_roles_history = GroupsRolesHistory.new(@channel, self)
|
81
87
|
@health_checks = HealthChecks.new(@channel, self)
|
82
88
|
@identity_aliases = IdentityAliases.new(@channel, self)
|
83
89
|
@identity_aliases_history = IdentityAliasesHistory.new(@channel, self)
|
@@ -276,6 +282,14 @@ module SDM #:nodoc:
|
|
276
282
|
#
|
277
283
|
# See {Accounts}.
|
278
284
|
attr_reader :accounts
|
285
|
+
# An AccountGroup links an account and a group.
|
286
|
+
#
|
287
|
+
# See {AccountsGroups}.
|
288
|
+
attr_reader :accounts_groups
|
289
|
+
# AccountsGroupsHistory records all changes to the state of an AccountGroup.
|
290
|
+
#
|
291
|
+
# See {AccountsGroupsHistory}.
|
292
|
+
attr_reader :accounts_groups_history
|
279
293
|
# AccountsHistory records all changes to the state of an Account.
|
280
294
|
#
|
281
295
|
# See {AccountsHistory}.
|
@@ -321,6 +335,22 @@ module SDM #:nodoc:
|
|
321
335
|
#
|
322
336
|
# See {Roles}.
|
323
337
|
attr_reader :roles
|
338
|
+
# A Group is a set of principals.
|
339
|
+
#
|
340
|
+
# See {Groups}.
|
341
|
+
attr_reader :groups
|
342
|
+
# GroupsHistory records all changes to the state of a Group.
|
343
|
+
#
|
344
|
+
# See {GroupsHistory}.
|
345
|
+
attr_reader :groups_history
|
346
|
+
# A GroupRole is an assignment of a Group to a Role.
|
347
|
+
#
|
348
|
+
# See {GroupsRoles}.
|
349
|
+
attr_reader :groups_roles
|
350
|
+
# GroupsRolesHistory records all changes to the state of a GroupRole.
|
351
|
+
#
|
352
|
+
# See {GroupsRolesHistory}.
|
353
|
+
attr_reader :groups_roles_history
|
324
354
|
# HealthChecks lists the last healthcheck between each node and resource.
|
325
355
|
# Note the unconventional capitalization here is to prevent having a collision with GRPC
|
326
356
|
#
|
@@ -507,6 +537,8 @@ module SDM #:nodoc:
|
|
507
537
|
@account_resources = AccountResources.new(@channel, self)
|
508
538
|
@account_resources_history = AccountResourcesHistory.new(@channel, self)
|
509
539
|
@accounts = Accounts.new(@channel, self)
|
540
|
+
@accounts_groups = AccountsGroups.new(@channel, self)
|
541
|
+
@accounts_groups_history = AccountsGroupsHistory.new(@channel, self)
|
510
542
|
@accounts_history = AccountsHistory.new(@channel, self)
|
511
543
|
@activities = Activities.new(@channel, self)
|
512
544
|
@approval_workflow_approvers = ApprovalWorkflowApprovers.new(@channel, self)
|
@@ -517,6 +549,10 @@ module SDM #:nodoc:
|
|
517
549
|
@approval_workflows_history = ApprovalWorkflowsHistory.new(@channel, self)
|
518
550
|
@control_panel = ControlPanel.new(@channel, self)
|
519
551
|
@roles = Roles.new(@channel, self)
|
552
|
+
@groups = Groups.new(@channel, self)
|
553
|
+
@groups_history = GroupsHistory.new(@channel, self)
|
554
|
+
@groups_roles = GroupsRoles.new(@channel, self)
|
555
|
+
@groups_roles_history = GroupsRolesHistory.new(@channel, self)
|
520
556
|
@health_checks = HealthChecks.new(@channel, self)
|
521
557
|
@identity_aliases = IdentityAliases.new(@channel, self)
|
522
558
|
@identity_aliases_history = IdentityAliasesHistory.new(@channel, self)
|
@@ -566,10 +602,13 @@ module SDM #:nodoc:
|
|
566
602
|
@account_permissions = SnapshotAccountPermissions.new(client.account_permissions)
|
567
603
|
@account_resources = SnapshotAccountResources.new(client.account_resources)
|
568
604
|
@accounts = SnapshotAccounts.new(client.accounts)
|
605
|
+
@accounts_groups = SnapshotAccountsGroups.new(client.accounts_groups)
|
569
606
|
@approval_workflow_approvers = SnapshotApprovalWorkflowApprovers.new(client.approval_workflow_approvers)
|
570
607
|
@approval_workflow_steps = SnapshotApprovalWorkflowSteps.new(client.approval_workflow_steps)
|
571
608
|
@approval_workflows = SnapshotApprovalWorkflows.new(client.approval_workflows)
|
572
609
|
@roles = SnapshotRoles.new(client.roles)
|
610
|
+
@groups = SnapshotGroups.new(client.groups)
|
611
|
+
@groups_roles = SnapshotGroupsRoles.new(client.groups_roles)
|
573
612
|
@identity_aliases = SnapshotIdentityAliases.new(client.identity_aliases)
|
574
613
|
@identity_sets = SnapshotIdentitySets.new(client.identity_sets)
|
575
614
|
@nodes = SnapshotNodes.new(client.nodes)
|
@@ -614,6 +653,10 @@ module SDM #:nodoc:
|
|
614
653
|
#
|
615
654
|
# See {SnapshotAccounts}.
|
616
655
|
attr_reader :accounts
|
656
|
+
# An AccountGroup links an account and a group.
|
657
|
+
#
|
658
|
+
# See {SnapshotAccountsGroups}.
|
659
|
+
attr_reader :accounts_groups
|
617
660
|
# ApprovalWorkflowApprovers link approval workflow approvers to an ApprovalWorkflowStep
|
618
661
|
#
|
619
662
|
# See {SnapshotApprovalWorkflowApprovers}.
|
@@ -633,6 +676,14 @@ module SDM #:nodoc:
|
|
633
676
|
#
|
634
677
|
# See {SnapshotRoles}.
|
635
678
|
attr_reader :roles
|
679
|
+
# A Group is a set of principals.
|
680
|
+
#
|
681
|
+
# See {SnapshotGroups}.
|
682
|
+
attr_reader :groups
|
683
|
+
# A GroupRole is an assignment of a Group to a Role.
|
684
|
+
#
|
685
|
+
# See {SnapshotGroupsRoles}.
|
686
|
+
attr_reader :groups_roles
|
636
687
|
# IdentityAliases assign an alias to an account within an IdentitySet.
|
637
688
|
# The alias is used as the username when connecting to a identity supported resource.
|
638
689
|
#
|