strongdm 1.0.34 → 2.2.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/config +0 -3
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -4
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/pack-ae9c31d15ecb69c51d515e053295673b38840788.idx +0 -0
- data/.git/objects/pack/{pack-802051e74a1de9449b3bc69f695b0b5e55e448e5.pack → pack-ae9c31d15ecb69c51d515e053295673b38840788.pack} +0 -0
- data/.git/packed-refs +5 -2
- data/.git/refs/heads/master +1 -1
- data/.yardopts +9 -0
- data/README.md +18 -6
- data/lib/errors/errors.rb +1 -1
- data/lib/grpc/account_attachments_services_pb.rb +1 -1
- data/lib/grpc/accounts_services_pb.rb +2 -2
- data/lib/grpc/drivers_pb.rb +41 -0
- data/lib/grpc/nodes_services_pb.rb +1 -1
- data/lib/grpc/options_pb.rb +35 -41
- data/lib/grpc/plumbing.rb +1235 -982
- data/lib/grpc/resources_services_pb.rb +3 -1
- data/lib/grpc/role_attachments_services_pb.rb +10 -0
- data/lib/grpc/role_grants_services_pb.rb +10 -0
- data/lib/grpc/roles_services_pb.rb +4 -6
- data/lib/grpc/secret_store_types_pb.rb +17 -0
- data/lib/grpc/secret_stores_services_pb.rb +1 -1
- data/lib/models/porcelain.rb +1255 -2961
- data/lib/strongdm.rb +53 -16
- data/lib/svc.rb +163 -14
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +5 -224
- data/.git/FETCH_HEAD +0 -2
- data/.git/logs/refs/heads/development +0 -1
- data/.git/objects/pack/pack-802051e74a1de9449b3bc69f695b0b5e55e448e5.idx +0 -0
- data/.git/refs/heads/development +0 -1
- data/doc/LICENSE.html +0 -187
- data/doc/Object.html +0 -114
- data/doc/README_md.html +0 -146
- data/doc/SDM/AKS.html +0 -352
- data/doc/SDM/AKSBasicAuth.html +0 -337
- data/doc/SDM/AKSServiceAccount.html +0 -322
- data/doc/SDM/AKSServiceAccountUserImpersonation.html +0 -322
- data/doc/SDM/AKSUserImpersonation.html +0 -352
- data/doc/SDM/AWS.html +0 -337
- data/doc/SDM/AWSStore.html +0 -232
- data/doc/SDM/AccountAttachment.html +0 -219
- data/doc/SDM/AccountAttachmentCreateResponse.html +0 -219
- data/doc/SDM/AccountAttachmentDeleteResponse.html +0 -204
- data/doc/SDM/AccountAttachmentGetResponse.html +0 -219
- data/doc/SDM/AccountAttachments.html +0 -354
- data/doc/SDM/AccountCreateResponse.html +0 -234
- data/doc/SDM/AccountDeleteResponse.html +0 -204
- data/doc/SDM/AccountGetResponse.html +0 -219
- data/doc/SDM/AccountGrant.html +0 -249
- data/doc/SDM/AccountGrantCreateResponse.html +0 -219
- data/doc/SDM/AccountGrantDeleteResponse.html +0 -204
- data/doc/SDM/AccountGrantGetResponse.html +0 -219
- data/doc/SDM/AccountGrants.html +0 -354
- data/doc/SDM/AccountUpdateResponse.html +0 -219
- data/doc/SDM/Accounts.html +0 -409
- data/doc/SDM/AlreadyExistsError.html +0 -140
- data/doc/SDM/AmazonEKS.html +0 -397
- data/doc/SDM/AmazonEKSUserImpersonation.html +0 -397
- data/doc/SDM/AmazonES.html +0 -367
- data/doc/SDM/AmazonMQAMQP091.html +0 -352
- data/doc/SDM/Athena.html +0 -367
- data/doc/SDM/AuroraMysql.html +0 -352
- data/doc/SDM/AuroraPostgres.html +0 -367
- data/doc/SDM/AuthenticationError.html +0 -140
- data/doc/SDM/Azure.html +0 -307
- data/doc/SDM/AzureCertificate.html +0 -307
- data/doc/SDM/AzurePostgres.html +0 -367
- data/doc/SDM/AzureStore.html +0 -232
- data/doc/SDM/BadRequestError.html +0 -140
- data/doc/SDM/BigQuery.html +0 -337
- data/doc/SDM/Cassandra.html +0 -352
- data/doc/SDM/Citus.html +0 -367
- data/doc/SDM/Client.html +0 -443
- data/doc/SDM/Clustrix.html +0 -352
- data/doc/SDM/Cockroach.html +0 -367
- data/doc/SDM/ControlPanel.html +0 -248
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +0 -219
- data/doc/SDM/ControlPanelVerifyJWTResponse.html +0 -219
- data/doc/SDM/CreateResponseMetadata.html +0 -169
- data/doc/SDM/DB2LUW.html +0 -352
- data/doc/SDM/DB2i.html +0 -352
- data/doc/SDM/DeadlineExceededError.html +0 -140
- data/doc/SDM/DeleteResponseMetadata.html +0 -169
- data/doc/SDM/DocumentDBHost.html +0 -352
- data/doc/SDM/DocumentDBReplicaSet.html +0 -367
- data/doc/SDM/Druid.html +0 -337
- data/doc/SDM/DynamoDB.html +0 -367
- data/doc/SDM/Elastic.html +0 -352
- data/doc/SDM/ElasticacheRedis.html +0 -337
- data/doc/SDM/GCP.html +0 -292
- data/doc/SDM/Gateway.html +0 -279
- data/doc/SDM/GetResponseMetadata.html +0 -169
- data/doc/SDM/GoogleGKE.html +0 -322
- data/doc/SDM/GoogleGKEUserImpersonation.html +0 -322
- data/doc/SDM/Greenplum.html +0 -367
- data/doc/SDM/HTTPAuth.html +0 -352
- data/doc/SDM/HTTPBasicAuth.html +0 -367
- data/doc/SDM/HTTPNoAuth.html +0 -337
- data/doc/SDM/InternalError.html +0 -140
- data/doc/SDM/Kubernetes.html +0 -352
- data/doc/SDM/KubernetesBasicAuth.html +0 -337
- data/doc/SDM/KubernetesServiceAccount.html +0 -322
- data/doc/SDM/KubernetesServiceAccountUserImpersonation.html +0 -322
- data/doc/SDM/KubernetesUserImpersonation.html +0 -352
- data/doc/SDM/Maria.html +0 -352
- data/doc/SDM/Memcached.html +0 -307
- data/doc/SDM/Memsql.html +0 -352
- data/doc/SDM/MongoHost.html +0 -367
- data/doc/SDM/MongoLegacyHost.html +0 -382
- data/doc/SDM/MongoLegacyReplicaset.html +0 -397
- data/doc/SDM/MongoReplicaSet.html +0 -397
- data/doc/SDM/MongoShardedCluster.html +0 -352
- data/doc/SDM/Mysql.html +0 -352
- data/doc/SDM/Neptune.html +0 -307
- data/doc/SDM/NeptuneIAM.html +0 -382
- data/doc/SDM/NodeCreateResponse.html +0 -234
- data/doc/SDM/NodeDeleteResponse.html +0 -204
- data/doc/SDM/NodeGetResponse.html +0 -219
- data/doc/SDM/NodeUpdateResponse.html +0 -219
- data/doc/SDM/Nodes.html +0 -409
- data/doc/SDM/NotFoundError.html +0 -140
- data/doc/SDM/Oracle.html +0 -367
- data/doc/SDM/PermissionError.html +0 -140
- data/doc/SDM/Plumbing.html +0 -16086
- data/doc/SDM/Postgres.html +0 -367
- data/doc/SDM/Presto.html +0 -367
- data/doc/SDM/RDP.html +0 -352
- data/doc/SDM/RPCError.html +0 -157
- data/doc/SDM/RabbitMQAMQP091.html +0 -352
- data/doc/SDM/RateLimitError.html +0 -157
- data/doc/SDM/RateLimitMetadata.html +0 -234
- data/doc/SDM/RawTCP.html +0 -307
- data/doc/SDM/Redis.html +0 -322
- data/doc/SDM/Redshift.html +0 -367
- data/doc/SDM/Relay.html +0 -249
- data/doc/SDM/ResourceCreateResponse.html +0 -219
- data/doc/SDM/ResourceDeleteResponse.html +0 -204
- data/doc/SDM/ResourceGetResponse.html +0 -219
- data/doc/SDM/ResourceUpdateResponse.html +0 -219
- data/doc/SDM/Resources.html +0 -456
- data/doc/SDM/Role.html +0 -249
- data/doc/SDM/RoleAttachment.html +0 -219
- data/doc/SDM/RoleAttachmentCreateResponse.html +0 -219
- data/doc/SDM/RoleAttachmentDeleteResponse.html +0 -204
- data/doc/SDM/RoleAttachmentGetResponse.html +0 -219
- data/doc/SDM/RoleAttachments.html +0 -354
- data/doc/SDM/RoleCreateResponse.html +0 -219
- data/doc/SDM/RoleDeleteResponse.html +0 -204
- data/doc/SDM/RoleGetResponse.html +0 -219
- data/doc/SDM/RoleGrant.html +0 -219
- data/doc/SDM/RoleGrantCreateResponse.html +0 -219
- data/doc/SDM/RoleGrantDeleteResponse.html +0 -204
- data/doc/SDM/RoleGrantGetResponse.html +0 -219
- data/doc/SDM/RoleGrants.html +0 -354
- data/doc/SDM/RoleUpdateResponse.html +0 -219
- data/doc/SDM/Roles.html +0 -403
- data/doc/SDM/SQLServer.html +0 -382
- data/doc/SDM/SSH.html +0 -352
- data/doc/SDM/SSHCert.html +0 -337
- data/doc/SDM/SSHCustomerKey.html +0 -352
- data/doc/SDM/SecretStoreCreateResponse.html +0 -219
- data/doc/SDM/SecretStoreDeleteResponse.html +0 -204
- data/doc/SDM/SecretStoreGetResponse.html +0 -219
- data/doc/SDM/SecretStoreUpdateResponse.html +0 -219
- data/doc/SDM/SecretStores.html +0 -403
- data/doc/SDM/Service.html +0 -234
- data/doc/SDM/SingleStore.html +0 -352
- data/doc/SDM/Snowflake.html +0 -352
- data/doc/SDM/Sybase.html +0 -337
- data/doc/SDM/SybaseIQ.html +0 -337
- data/doc/SDM/Tag.html +0 -202
- data/doc/SDM/Teradata.html +0 -337
- data/doc/SDM/UpdateResponseMetadata.html +0 -169
- data/doc/SDM/User.html +0 -264
- data/doc/SDM/VaultTLSStore.html +0 -292
- data/doc/SDM/VaultTokenStore.html +0 -247
- data/doc/SDM.html +0 -122
- data/doc/V1/AccountAttachments/Service.html +0 -107
- data/doc/V1/AccountAttachments.html +0 -100
- data/doc/V1/AccountGrants/Service.html +0 -107
- data/doc/V1/AccountGrants.html +0 -100
- data/doc/V1/Accounts/Service.html +0 -112
- data/doc/V1/Accounts.html +0 -100
- data/doc/V1/ControlPanel/Service.html +0 -107
- data/doc/V1/ControlPanel.html +0 -100
- data/doc/V1/Nodes/Service.html +0 -112
- data/doc/V1/Nodes.html +0 -100
- data/doc/V1/Resources/Service.html +0 -105
- data/doc/V1/Resources.html +0 -100
- data/doc/V1/RoleAttachments/Service.html +0 -107
- data/doc/V1/RoleAttachments.html +0 -100
- data/doc/V1/RoleGrants/Service.html +0 -107
- data/doc/V1/RoleGrants.html +0 -100
- data/doc/V1/Roles/Service.html +0 -107
- data/doc/V1/Roles.html +0 -100
- data/doc/V1/SecretStores/Service.html +0 -107
- data/doc/V1/SecretStores.html +0 -100
- data/doc/V1/Tags.html +0 -100
- data/doc/V1.html +0 -506
- data/doc/created.rid +0 -37
- data/doc/css/fonts.css +0 -167
- data/doc/css/rdoc.css +0 -639
- data/doc/examples/Gemfile.html +0 -89
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -257
- data/doc/js/darkfish.js +0 -84
- data/doc/js/navigation.js +0 -105
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +0 -110
- data/doc/js/search_index.js +0 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +0 -229
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +0 -92
- data/doc/table_of_contents.html +0 -4680
- data/examples/Gemfile +0 -3
- data/examples/listUsers.rb +0 -21
@@ -20,6 +20,8 @@ require "resources_pb"
|
|
20
20
|
|
21
21
|
module V1
|
22
22
|
module Resources
|
23
|
+
# Resources are databases, servers, clusters, websites, or clouds that strongDM
|
24
|
+
# delegates access to.
|
23
25
|
class Service
|
24
26
|
include ::GRPC::GenericService
|
25
27
|
|
@@ -33,7 +35,7 @@ module V1
|
|
33
35
|
rpc :Create, ::V1::ResourceCreateRequest, ::V1::ResourceCreateResponse
|
34
36
|
# Get reads one Resource by ID.
|
35
37
|
rpc :Get, ::V1::ResourceGetRequest, ::V1::ResourceGetResponse
|
36
|
-
# Update
|
38
|
+
# Update replaces all the fields of a Resource by ID.
|
37
39
|
rpc :Update, ::V1::ResourceUpdateRequest, ::V1::ResourceUpdateResponse
|
38
40
|
# Delete removes a Resource by ID.
|
39
41
|
rpc :Delete, ::V1::ResourceDeleteRequest, ::V1::ResourceDeleteResponse
|
@@ -24,6 +24,8 @@ module V1
|
|
24
24
|
# that make up those composite roles. When a composite role is attached to another
|
25
25
|
# role, the permissions granted to members of the composite role are augmented to
|
26
26
|
# include the permissions granted to members of the attached role.
|
27
|
+
#
|
28
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
27
29
|
class Service
|
28
30
|
include ::GRPC::GenericService
|
29
31
|
|
@@ -32,12 +34,20 @@ module V1
|
|
32
34
|
self.service_name = "v1.RoleAttachments"
|
33
35
|
|
34
36
|
# Create registers a new RoleAttachment.
|
37
|
+
#
|
38
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
35
39
|
rpc :Create, ::V1::RoleAttachmentCreateRequest, ::V1::RoleAttachmentCreateResponse
|
36
40
|
# Get reads one RoleAttachment by ID.
|
41
|
+
#
|
42
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
37
43
|
rpc :Get, ::V1::RoleAttachmentGetRequest, ::V1::RoleAttachmentGetResponse
|
38
44
|
# Delete removes a RoleAttachment by ID.
|
45
|
+
#
|
46
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
39
47
|
rpc :Delete, ::V1::RoleAttachmentDeleteRequest, ::V1::RoleAttachmentDeleteResponse
|
40
48
|
# List gets a list of RoleAttachments matching a given set of criteria.
|
49
|
+
#
|
50
|
+
# Deprecated: use multi-role via AccountAttachments instead.
|
41
51
|
rpc :List, ::V1::RoleAttachmentListRequest, ::V1::RoleAttachmentListResponse
|
42
52
|
end
|
43
53
|
|
@@ -24,6 +24,8 @@ module V1
|
|
24
24
|
# that make up those composite roles. When a composite role is attached to another
|
25
25
|
# role, the permissions granted to members of the composite role are augmented to
|
26
26
|
# include the permissions granted to members of the attached role.
|
27
|
+
#
|
28
|
+
# Deprecated: use Role access rules instead.
|
27
29
|
class Service
|
28
30
|
include ::GRPC::GenericService
|
29
31
|
|
@@ -32,12 +34,20 @@ module V1
|
|
32
34
|
self.service_name = "v1.RoleGrants"
|
33
35
|
|
34
36
|
# Create registers a new RoleGrant.
|
37
|
+
#
|
38
|
+
# Deprecated: use Role access rules instead.
|
35
39
|
rpc :Create, ::V1::RoleGrantCreateRequest, ::V1::RoleGrantCreateResponse
|
36
40
|
# Get reads one RoleGrant by ID.
|
41
|
+
#
|
42
|
+
# Deprecated: use Role access rules instead.
|
37
43
|
rpc :Get, ::V1::RoleGrantGetRequest, ::V1::RoleGrantGetResponse
|
38
44
|
# Delete removes a RoleGrant by ID.
|
45
|
+
#
|
46
|
+
# Deprecated: use Role access rules instead.
|
39
47
|
rpc :Delete, ::V1::RoleGrantDeleteRequest, ::V1::RoleGrantDeleteResponse
|
40
48
|
# List gets a list of RoleGrants matching a given set of criteria.
|
49
|
+
#
|
50
|
+
# Deprecated: use Role access rules instead.
|
41
51
|
rpc :List, ::V1::RoleGrantListRequest, ::V1::RoleGrantListResponse
|
42
52
|
end
|
43
53
|
|
@@ -20,11 +20,9 @@ require "roles_pb"
|
|
20
20
|
|
21
21
|
module V1
|
22
22
|
module Roles
|
23
|
-
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
# grant access to the combined resources associated with a set of child roles.
|
27
|
-
# Each user can be a member of one Role or composite role.
|
23
|
+
# A Role has a list of access rules which determine which Resources the members
|
24
|
+
# of the Role have access to. An Account can be a member of multiple Roles via
|
25
|
+
# AccountAttachments.
|
28
26
|
class Service
|
29
27
|
include ::GRPC::GenericService
|
30
28
|
|
@@ -36,7 +34,7 @@ module V1
|
|
36
34
|
rpc :Create, ::V1::RoleCreateRequest, ::V1::RoleCreateResponse
|
37
35
|
# Get reads one Role by ID.
|
38
36
|
rpc :Get, ::V1::RoleGetRequest, ::V1::RoleGetResponse
|
39
|
-
# Update
|
37
|
+
# Update replaces all the fields of a Role by ID.
|
40
38
|
rpc :Update, ::V1::RoleUpdateRequest, ::V1::RoleUpdateResponse
|
41
39
|
# Delete removes a Role by ID.
|
42
40
|
rpc :Delete, ::V1::RoleDeleteRequest, ::V1::RoleDeleteResponse
|
@@ -25,6 +25,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
25
25
|
oneof :secret_store do
|
26
26
|
optional :aws, :message, 3, "v1.AWSStore"
|
27
27
|
optional :azure, :message, 101, "v1.AzureStore"
|
28
|
+
optional :gcp, :message, 201, "v1.GCPStore"
|
29
|
+
optional :vault_app_role, :message, 4, "v1.VaultAppRoleStore"
|
28
30
|
optional :vault_tls, :message, 1, "v1.VaultTLSStore"
|
29
31
|
optional :vault_token, :message, 2, "v1.VaultTokenStore"
|
30
32
|
end
|
@@ -41,6 +43,19 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
41
43
|
optional :vault_uri, :string, 3
|
42
44
|
optional :tags, :message, 32771, "v1.Tags"
|
43
45
|
end
|
46
|
+
add_message "v1.GCPStore" do
|
47
|
+
optional :id, :string, 1
|
48
|
+
optional :name, :string, 2
|
49
|
+
optional :projectID, :string, 3
|
50
|
+
optional :tags, :message, 32771, "v1.Tags"
|
51
|
+
end
|
52
|
+
add_message "v1.VaultAppRoleStore" do
|
53
|
+
optional :id, :string, 1
|
54
|
+
optional :name, :string, 2
|
55
|
+
optional :namespace, :string, 5
|
56
|
+
optional :server_address, :string, 3
|
57
|
+
optional :tags, :message, 8, "v1.Tags"
|
58
|
+
end
|
44
59
|
add_message "v1.VaultTLSStore" do
|
45
60
|
optional :id, :string, 1
|
46
61
|
optional :name, :string, 2
|
@@ -65,6 +80,8 @@ module V1
|
|
65
80
|
SecretStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SecretStore").msgclass
|
66
81
|
AWSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSStore").msgclass
|
67
82
|
AzureStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureStore").msgclass
|
83
|
+
GCPStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPStore").msgclass
|
84
|
+
VaultAppRoleStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultAppRoleStore").msgclass
|
68
85
|
VaultTLSStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTLSStore").msgclass
|
69
86
|
VaultTokenStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.VaultTokenStore").msgclass
|
70
87
|
end
|
@@ -31,7 +31,7 @@ module V1
|
|
31
31
|
rpc :Create, ::V1::SecretStoreCreateRequest, ::V1::SecretStoreCreateResponse
|
32
32
|
# Get reads one SecretStore by ID.
|
33
33
|
rpc :Get, ::V1::SecretStoreGetRequest, ::V1::SecretStoreGetResponse
|
34
|
-
# Update
|
34
|
+
# Update replaces all the fields of a SecretStore by ID.
|
35
35
|
rpc :Update, ::V1::SecretStoreUpdateRequest, ::V1::SecretStoreUpdateResponse
|
36
36
|
# Delete removes a SecretStore by ID.
|
37
37
|
rpc :Delete, ::V1::SecretStoreDeleteRequest, ::V1::SecretStoreDeleteResponse
|