strongdm 15.37.0 → 15.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a05d95fd17d172d3cf442530f73e5a4f038450aa3ed3f8bebe25fb0abb228c5f
4
- data.tar.gz: 7f415c092053b59ca1437397941e8a2815fb6574126222f55ae813deb08875ab
3
+ metadata.gz: df977ca5d3481e8abe3f2eb32fbe511ce0837b7af222e7775a89ad23623d1e59
4
+ data.tar.gz: 066606613c73e91d210c70336929d9f9bd58b3cc59c3e57b7198ab57ad75e207
5
5
  SHA512:
6
- metadata.gz: 96a37c119717ac42caf760c77fd2b36276a868e30e70f0d3c9cc2d0c36a723f20d8fc507f7a5026b43870753a223c8b0f79b01e0e4f607175256595fddcc525c
7
- data.tar.gz: ef2f905b353ac7bcfb2cb3fb1bc10a9aedf9bb14af664207a2aaf93e722540881bf741810a6fbc078f4bcec960a6c1d6639b6d4c6377f4ef5b79d462ebcae95c
6
+ metadata.gz: 16a2dede8112181c139b1a5cecf731bac27d459bd63fe43f5f5ab65acb49c53c3d989950eb37997cf0423c1b13bcf1aeccb6238b38faecafaa22f8fd4e2f8ca8
7
+ data.tar.gz: 45781d64a70535e86e9a2b998cde84349beb2086e3eb09030760468b1eef38a0a2271e4e4bfb0ab0cc135c4976e6418085c8aa45a17050bd88dcd40142bef725
data/.git/ORIG_HEAD CHANGED
@@ -1 +1 @@
1
- e2a4215bd3bbfb822423e11e81b9ad47bef03840
1
+ 740f705c286a25c2abae5a44b52fe330cc4e3e71
data/.git/index CHANGED
Binary file
data/.git/logs/HEAD CHANGED
@@ -1,3 +1,3 @@
1
- 0000000000000000000000000000000000000000 e2a4215bd3bbfb822423e11e81b9ad47bef03840 root <root@cecb6ffc6ee9.(none)> 1764680880 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- e2a4215bd3bbfb822423e11e81b9ad47bef03840 e2a4215bd3bbfb822423e11e81b9ad47bef03840 root <root@cecb6ffc6ee9.(none)> 1764680880 +0000 checkout: moving from master to master
3
- e2a4215bd3bbfb822423e11e81b9ad47bef03840 6b720eb84b5b501adf7adbf58f6be078888619e9 root <root@cecb6ffc6ee9.(none)> 1764680880 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 740f705c286a25c2abae5a44b52fe330cc4e3e71 root <root@3304dca81eb3.(none)> 1765583830 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 740f705c286a25c2abae5a44b52fe330cc4e3e71 740f705c286a25c2abae5a44b52fe330cc4e3e71 root <root@3304dca81eb3.(none)> 1765583830 +0000 checkout: moving from master to master
3
+ 740f705c286a25c2abae5a44b52fe330cc4e3e71 b20e3c16d138fc17c80e82311c7613a915bc3569 root <root@3304dca81eb3.(none)> 1765583830 +0000 merge origin/development: Fast-forward
@@ -1,2 +1,2 @@
1
- 0000000000000000000000000000000000000000 e2a4215bd3bbfb822423e11e81b9ad47bef03840 root <root@cecb6ffc6ee9.(none)> 1764680880 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
- e2a4215bd3bbfb822423e11e81b9ad47bef03840 6b720eb84b5b501adf7adbf58f6be078888619e9 root <root@cecb6ffc6ee9.(none)> 1764680880 +0000 merge origin/development: Fast-forward
1
+ 0000000000000000000000000000000000000000 740f705c286a25c2abae5a44b52fe330cc4e3e71 root <root@3304dca81eb3.(none)> 1765583830 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
2
+ 740f705c286a25c2abae5a44b52fe330cc4e3e71 b20e3c16d138fc17c80e82311c7613a915bc3569 root <root@3304dca81eb3.(none)> 1765583830 +0000 merge origin/development: Fast-forward
@@ -1 +1 @@
1
- 0000000000000000000000000000000000000000 e2a4215bd3bbfb822423e11e81b9ad47bef03840 root <root@cecb6ffc6ee9.(none)> 1764680880 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
1
+ 0000000000000000000000000000000000000000 740f705c286a25c2abae5a44b52fe330cc4e3e71 root <root@3304dca81eb3.(none)> 1765583830 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
data/.git/packed-refs CHANGED
@@ -1,6 +1,6 @@
1
1
  # pack-refs with: peeled fully-peeled sorted
2
- 6b720eb84b5b501adf7adbf58f6be078888619e9 refs/remotes/origin/development
3
- e2a4215bd3bbfb822423e11e81b9ad47bef03840 refs/remotes/origin/master
2
+ b20e3c16d138fc17c80e82311c7613a915bc3569 refs/remotes/origin/development
3
+ 740f705c286a25c2abae5a44b52fe330cc4e3e71 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
@@ -124,6 +124,8 @@ dd0e56c1b216e4c5828c092bc1bdc5c763804def refs/tags/v15.29.0
124
124
  cd129de1d73e1ab24098a9be54f50fc78cfd31b7 refs/tags/v15.33.0
125
125
  b35d0e5ff63bf46264f4b6310ce05e2238917cef refs/tags/v15.35.0
126
126
  e2a4215bd3bbfb822423e11e81b9ad47bef03840 refs/tags/v15.36.0
127
+ 6b720eb84b5b501adf7adbf58f6be078888619e9 refs/tags/v15.37.0
128
+ 740f705c286a25c2abae5a44b52fe330cc4e3e71 refs/tags/v15.39.0
127
129
  cf3b15b82cb0c4229609c07c870c6cb4fd38ef75 refs/tags/v15.4.0
128
130
  0be2c5e7f7a90c49077548cb3a9bce234219b9f0 refs/tags/v15.5.0
129
131
  4b9cd43c5dda3f369b82b6a56132a5470ff9ff53 refs/tags/v15.6.0
@@ -1 +1 @@
1
- 6b720eb84b5b501adf7adbf58f6be078888619e9
1
+ b20e3c16d138fc17c80e82311c7613a915bc3569
data/lib/constants.rb CHANGED
@@ -456,6 +456,8 @@ module SDM
456
456
  CREDENTIAL_WRITE = "credential:write"
457
457
  POLICY_READ = "policy:read"
458
458
  POLICY_WRITE = "policy:write"
459
+ DISCOVERY_CONNECTOR_READ = "discoveryconnector:read"
460
+ DISCOVERY_CONNECTOR_WRITE = "discoveryconnector:write"
459
461
  MANAGED_SECRET_CREATE = "managedsecret:create"
460
462
  MANAGED_SECRET_LIST = "managedsecret:list"
461
463
  MANAGED_SECRET_DELETE = "managedsecret:delete"
@@ -0,0 +1,132 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # source: discovery_connectors.proto
17
+
18
+ require "google/protobuf"
19
+
20
+ require "options_pb"
21
+ require "spec_pb"
22
+ require "tags_pb"
23
+
24
+ Google::Protobuf::DescriptorPool.generated_pool.build do
25
+ add_file("discovery_connectors.proto", :syntax => :proto3) do
26
+ add_message "v1.ConnectorCreateRequest" do
27
+ optional :meta, :message, 1, "v1.CreateRequestMetadata"
28
+ optional :connector, :message, 2, "v1.Connector"
29
+ end
30
+ add_message "v1.ConnectorCreateResponse" do
31
+ optional :meta, :message, 1, "v1.CreateResponseMetadata"
32
+ optional :connector, :message, 2, "v1.Connector"
33
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
34
+ end
35
+ add_message "v1.ConnectorGetRequest" do
36
+ optional :meta, :message, 1, "v1.GetRequestMetadata"
37
+ optional :id, :string, 2
38
+ end
39
+ add_message "v1.ConnectorGetResponse" do
40
+ optional :meta, :message, 1, "v1.GetResponseMetadata"
41
+ optional :connector, :message, 2, "v1.Connector"
42
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
43
+ end
44
+ add_message "v1.ConnectorUpdateRequest" do
45
+ optional :meta, :message, 1, "v1.UpdateRequestMetadata"
46
+ optional :id, :string, 2
47
+ optional :connector, :message, 3, "v1.Connector"
48
+ end
49
+ add_message "v1.ConnectorUpdateResponse" do
50
+ optional :meta, :message, 1, "v1.UpdateResponseMetadata"
51
+ optional :connector, :message, 2, "v1.Connector"
52
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
53
+ end
54
+ add_message "v1.ConnectorDeleteRequest" do
55
+ optional :meta, :message, 1, "v1.DeleteRequestMetadata"
56
+ optional :id, :string, 2
57
+ end
58
+ add_message "v1.ConnectorDeleteResponse" do
59
+ optional :meta, :message, 1, "v1.DeleteResponseMetadata"
60
+ optional :rate_limit, :message, 2, "v1.RateLimitMetadata"
61
+ end
62
+ add_message "v1.ConnectorListRequest" do
63
+ optional :meta, :message, 1, "v1.ListRequestMetadata"
64
+ optional :filter, :string, 2
65
+ end
66
+ add_message "v1.ConnectorListResponse" do
67
+ optional :meta, :message, 1, "v1.ListResponseMetadata"
68
+ repeated :connectors, :message, 2, "v1.Connector"
69
+ optional :rate_limit, :message, 3, "v1.RateLimitMetadata"
70
+ end
71
+ add_message "v1.Connector" do
72
+ oneof :cloud do
73
+ optional :aws, :message, 100, "v1.AWSConnector"
74
+ optional :azure, :message, 101, "v1.AzureConnector"
75
+ optional :gcp, :message, 102, "v1.GCPConnector"
76
+ end
77
+ end
78
+ add_message "v1.AWSConnector" do
79
+ optional :id, :string, 1
80
+ optional :name, :string, 2
81
+ optional :description, :string, 3
82
+ optional :scan_period, :string, 4
83
+ repeated :services, :string, 5
84
+ repeated :include_tags, :message, 6, "v1.Tag"
85
+ repeated :exclude_tags, :message, 7, "v1.Tag"
86
+ optional :role_name, :string, 20
87
+ repeated :account_ids, :string, 21
88
+ end
89
+ add_message "v1.AzureConnector" do
90
+ optional :id, :string, 1
91
+ optional :name, :string, 2
92
+ optional :description, :string, 3
93
+ optional :scan_period, :string, 4
94
+ repeated :services, :string, 5
95
+ repeated :include_tags, :message, 6, "v1.Tag"
96
+ repeated :exclude_tags, :message, 7, "v1.Tag"
97
+ optional :tenant_id, :string, 20
98
+ optional :client_id, :string, 21
99
+ repeated :subscription_ids, :string, 22
100
+ end
101
+ add_message "v1.GCPConnector" do
102
+ optional :id, :string, 1
103
+ optional :name, :string, 2
104
+ optional :description, :string, 3
105
+ optional :scan_period, :string, 4
106
+ repeated :services, :string, 5
107
+ repeated :include_tags, :message, 6, "v1.Tag"
108
+ repeated :exclude_tags, :message, 7, "v1.Tag"
109
+ optional :project_number, :string, 20
110
+ optional :provider_id, :string, 21
111
+ optional :pool_id, :string, 22
112
+ repeated :project_ids, :string, 23
113
+ end
114
+ end
115
+ end
116
+
117
+ module V1
118
+ ConnectorCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorCreateRequest").msgclass
119
+ ConnectorCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorCreateResponse").msgclass
120
+ ConnectorGetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorGetRequest").msgclass
121
+ ConnectorGetResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorGetResponse").msgclass
122
+ ConnectorUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorUpdateRequest").msgclass
123
+ ConnectorUpdateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorUpdateResponse").msgclass
124
+ ConnectorDeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorDeleteRequest").msgclass
125
+ ConnectorDeleteResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorDeleteResponse").msgclass
126
+ ConnectorListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorListRequest").msgclass
127
+ ConnectorListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.ConnectorListResponse").msgclass
128
+ Connector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Connector").msgclass
129
+ AWSConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AWSConnector").msgclass
130
+ AzureConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.AzureConnector").msgclass
131
+ GCPConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.GCPConnector").msgclass
132
+ end
@@ -0,0 +1,46 @@
1
+ # Copyright 2020 StrongDM Inc
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
16
+ # Source: discovery_connectors.proto for package 'v1'
17
+
18
+ require "grpc"
19
+ require "discovery_connectors_pb"
20
+
21
+ module V1
22
+ module DiscoveryConnectors
23
+ # A Discovery Connector is a configuration object for performing Resource
24
+ # Scans in remote systems such as AWS, GCP, Azure, and other systems.
25
+ class Service
26
+ include ::GRPC::GenericService
27
+
28
+ self.marshal_class_method = :encode
29
+ self.unmarshal_class_method = :decode
30
+ self.service_name = "v1.DiscoveryConnectors"
31
+
32
+ # Create adds a new Connector.
33
+ rpc :Create, ::V1::ConnectorCreateRequest, ::V1::ConnectorCreateResponse
34
+ # Get reads one Connector by ID
35
+ rpc :Get, ::V1::ConnectorGetRequest, ::V1::ConnectorGetResponse
36
+ # Update replaces all the fields of a Connector by ID.
37
+ rpc :Update, ::V1::ConnectorUpdateRequest, ::V1::ConnectorUpdateResponse
38
+ # Delete removes a Connector by ID.
39
+ rpc :Delete, ::V1::ConnectorDeleteRequest, ::V1::ConnectorDeleteResponse
40
+ # List gets a list of Connectors matching a given set of criteria.
41
+ rpc :List, ::V1::ConnectorListRequest, ::V1::ConnectorListResponse
42
+ end
43
+
44
+ Stub = Service.rpc_stub_class
45
+ end
46
+ end
@@ -106,6 +106,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
106
106
  optional :mysql, :message, 1100, "v1.Mysql"
107
107
  optional :neptune, :message, 2250, "v1.Neptune"
108
108
  optional :neptune_iam, :message, 2201, "v1.NeptuneIAM"
109
+ optional :okta_groups, :message, 3500, "v1.OktaGroups"
109
110
  optional :oracle, :message, 1200, "v1.Oracle"
110
111
  optional :oracle_nne, :message, 1201, "v1.OracleNNE"
111
112
  optional :postgres, :message, 1300, "v1.Postgres"
@@ -1617,6 +1618,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
1617
1618
  optional :role_external_id, :string, 8
1618
1619
  optional :secret_access_key, :string, 5
1619
1620
  end
1621
+ add_message "v1.OktaGroups" do
1622
+ optional :id, :string, 32768
1623
+ optional :name, :string, 32769
1624
+ optional :healthy, :bool, 32770
1625
+ optional :tags, :message, 32771, "v1.Tags"
1626
+ optional :secret_store_id, :string, 32772
1627
+ optional :egress_filter, :string, 32773
1628
+ optional :bind_interface, :string, 32774
1629
+ optional :proxy_cluster_id, :string, 32776
1630
+ optional :subdomain, :string, 32775
1631
+ optional :domain, :string, 1
1632
+ optional :identity_set_id, :string, 3
1633
+ optional :privilege_levels, :string, 2
1634
+ end
1620
1635
  add_message "v1.Oracle" do
1621
1636
  optional :id, :string, 32768
1622
1637
  optional :name, :string, 32769
@@ -2232,6 +2247,7 @@ module V1
2232
2247
  Mysql = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Mysql").msgclass
2233
2248
  Neptune = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Neptune").msgclass
2234
2249
  NeptuneIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.NeptuneIAM").msgclass
2250
+ OktaGroups = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OktaGroups").msgclass
2235
2251
  Oracle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Oracle").msgclass
2236
2252
  OracleNNE = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OracleNNE").msgclass
2237
2253
  Postgres = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Postgres").msgclass
@@ -49,6 +49,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
49
49
  end
50
50
  add_message "v1.OneofOptions" do
51
51
  repeated :common_fields, :string, 1941381
52
+ optional :filter_name, :string, 1941382
52
53
  end
53
54
  add_message "v1.FieldOptions" do
54
55
  optional :porcelain, :bool, 1941302
@@ -68,6 +69,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
68
69
  repeated :conditions, :string, 1941325
69
70
  optional :expect_file, :bool, 1941324
70
71
  end
72
+ add_message "v1.EnumOptions" do
73
+ repeated :targets, :string, 1941330
74
+ optional :custom, :message, 1941305, "v1.CustomOptions"
75
+ end
71
76
  add_message "v1.CustomOptions" do
72
77
  optional :converter, :string, 1941309
73
78
  map :porcelain_type_override, :string, :string, 1941310
@@ -91,6 +96,7 @@ module V1
91
96
  MessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MessageOptions").msgclass
92
97
  OneofOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.OneofOptions").msgclass
93
98
  FieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.FieldOptions").msgclass
99
+ EnumOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.EnumOptions").msgclass
94
100
  CustomOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CustomOptions").msgclass
95
101
  TerraformDocs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.TerraformDocs").msgclass
96
102
  end