strongdm 3.6.1__zip → 3.7.0__zip

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.
Files changed (83) hide show
  1. {strongdm-3.6.1 → strongdm-3.7.0}/PKG-INFO +2 -2
  2. {strongdm-3.6.1 → strongdm-3.7.0}/setup.py +2 -2
  3. strongdm-3.7.0/strongdm/account_attachments_history_pb2.py +96 -0
  4. strongdm-3.7.0/strongdm/account_attachments_history_pb2_grpc.py +84 -0
  5. strongdm-3.7.0/strongdm/account_grants_history_pb2.py +96 -0
  6. strongdm-3.7.0/strongdm/account_grants_history_pb2_grpc.py +84 -0
  7. strongdm-3.7.0/strongdm/account_permissions_pb2.py +97 -0
  8. strongdm-3.7.0/strongdm/account_permissions_pb2_grpc.py +87 -0
  9. strongdm-3.7.0/strongdm/account_resources_pb2.py +99 -0
  10. strongdm-3.7.0/strongdm/account_resources_pb2_grpc.py +87 -0
  11. strongdm-3.7.0/strongdm/accounts_history_pb2.py +96 -0
  12. strongdm-3.7.0/strongdm/accounts_history_pb2_grpc.py +84 -0
  13. strongdm-3.7.0/strongdm/activities_pb2.py +177 -0
  14. strongdm-3.7.0/strongdm/activities_pb2_grpc.py +124 -0
  15. strongdm-3.7.0/strongdm/client.py +432 -0
  16. strongdm-3.7.0/strongdm/constants.py +377 -0
  17. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/drivers_pb2.py +6 -6
  18. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/models.py +1872 -132
  19. strongdm-3.7.0/strongdm/nodes_history_pb2.py +96 -0
  20. strongdm-3.7.0/strongdm/nodes_history_pb2_grpc.py +84 -0
  21. strongdm-3.7.0/strongdm/organization_history_pb2.py +154 -0
  22. strongdm-3.7.0/strongdm/organization_history_pb2_grpc.py +84 -0
  23. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/plumbing.py +935 -0
  24. strongdm-3.7.0/strongdm/queries_pb2.py +133 -0
  25. strongdm-3.7.0/strongdm/queries_pb2_grpc.py +90 -0
  26. strongdm-3.7.0/strongdm/remote_identities_history_pb2.py +96 -0
  27. strongdm-3.7.0/strongdm/remote_identities_history_pb2_grpc.py +84 -0
  28. strongdm-3.7.0/strongdm/remote_identity_groups_history_pb2.py +96 -0
  29. strongdm-3.7.0/strongdm/remote_identity_groups_history_pb2_grpc.py +84 -0
  30. strongdm-3.7.0/strongdm/replays_pb2.py +107 -0
  31. strongdm-3.7.0/strongdm/replays_pb2_grpc.py +87 -0
  32. strongdm-3.7.0/strongdm/resources_history_pb2.py +96 -0
  33. strongdm-3.7.0/strongdm/resources_history_pb2_grpc.py +84 -0
  34. strongdm-3.7.0/strongdm/role_resources_history_pb2.py +96 -0
  35. strongdm-3.7.0/strongdm/role_resources_history_pb2_grpc.py +84 -0
  36. strongdm-3.7.0/strongdm/role_resources_pb2.py +93 -0
  37. strongdm-3.7.0/strongdm/role_resources_pb2_grpc.py +87 -0
  38. strongdm-3.7.0/strongdm/roles_history_pb2.py +96 -0
  39. strongdm-3.7.0/strongdm/roles_history_pb2_grpc.py +84 -0
  40. strongdm-3.7.0/strongdm/secret_stores_history_pb2.py +96 -0
  41. strongdm-3.7.0/strongdm/secret_stores_history_pb2_grpc.py +84 -0
  42. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/svc.py +1199 -12
  43. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm.egg-info/PKG-INFO +2 -2
  44. strongdm-3.7.0/strongdm.egg-info/SOURCES.txt +78 -0
  45. strongdm-3.6.1/strongdm/client.py +0 -199
  46. strongdm-3.6.1/strongdm/constants.py +0 -66
  47. strongdm-3.6.1/strongdm.egg-info/SOURCES.txt +0 -44
  48. {strongdm-3.6.1 → strongdm-3.7.0}/README.md +0 -0
  49. {strongdm-3.6.1 → strongdm-3.7.0}/setup.cfg +0 -0
  50. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/__init__.py +0 -0
  51. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/account_attachments_pb2.py +0 -0
  52. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
  53. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/account_grants_pb2.py +0 -0
  54. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/account_grants_pb2_grpc.py +0 -0
  55. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/accounts_pb2.py +0 -0
  56. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/accounts_pb2_grpc.py +0 -0
  57. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/control_panel_pb2.py +0 -0
  58. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/control_panel_pb2_grpc.py +0 -0
  59. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/drivers_pb2_grpc.py +0 -0
  60. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/errors.py +0 -0
  61. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/nodes_pb2.py +0 -0
  62. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/nodes_pb2_grpc.py +0 -0
  63. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/options_pb2.py +0 -0
  64. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/options_pb2_grpc.py +0 -0
  65. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/remote_identities_pb2.py +0 -0
  66. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
  67. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/remote_identity_groups_pb2.py +0 -0
  68. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
  69. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/resources_pb2.py +0 -0
  70. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/resources_pb2_grpc.py +0 -0
  71. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/roles_pb2.py +0 -0
  72. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/roles_pb2_grpc.py +0 -0
  73. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/secret_store_types_pb2.py +0 -0
  74. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
  75. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/secret_stores_pb2.py +0 -0
  76. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
  77. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/spec_pb2.py +0 -0
  78. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/spec_pb2_grpc.py +0 -0
  79. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/tags_pb2.py +0 -0
  80. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm/tags_pb2_grpc.py +0 -0
  81. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm.egg-info/dependency_links.txt +0 -0
  82. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm.egg-info/requires.txt +0 -0
  83. {strongdm-3.6.1 → strongdm-3.7.0}/strongdm.egg-info/top_level.txt +0 -0
@@ -0,0 +1,133 @@
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
+ # -*- coding: utf-8 -*-
16
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
17
+ # source: queries.proto
18
+ """Generated protocol buffer code."""
19
+ from google.protobuf import descriptor as _descriptor
20
+ from google.protobuf import descriptor_pool as _descriptor_pool
21
+ from google.protobuf import message as _message
22
+ from google.protobuf import reflection as _reflection
23
+ from google.protobuf import symbol_database as _symbol_database
24
+ # @@protoc_insertion_point(imports)
25
+
26
+ _sym_db = _symbol_database.Default()
27
+
28
+
29
+ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
30
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
31
+ from . import options_pb2 as options__pb2
32
+ from . import spec_pb2 as spec__pb2
33
+ from . import tags_pb2 as tags__pb2
34
+
35
+
36
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rqueries.proto\x12\x02v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\roptions.proto\x1a\nspec.proto\x1a\ntags.proto\"U\n\x10QueryListRequest\x12%\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.ListRequestMetadata\x12\x1a\n\x06\x66ilter\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xbc\x01\n\x11QueryListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12&\n\x07queries\x18\x02 \x03(\x0b\x32\t.v1.QueryB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway\"\xd8\x06\n\x05Query\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1e\n\naccount_id\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1f\n\x0bresource_id\x18\x03 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1e\n\nquery_body\x18\x04 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x37\n\x08\x64uration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1d\n\tencrypted\x18\x06 \x01(\x08\x42\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1e\n\nquery_hash\x18\x07 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12,\n\x18remote_identity_username\x18\x08 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x39\n\ttimestamp\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\"\n\x0e\x65gress_node_id\x18\n \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1e\n\nreplayable\x18\x0b \x01(\x08\x42\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12 \n\x0crecord_count\x18\x0c \x01(\x03\x42\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12!\n\rresource_type\x18\r \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\"\n\x0equery_category\x18\x0e \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1d\n\tquery_key\x18\x0f \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12!\n\rresource_name\x18\x10 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12+\n\rresource_tags\x18\x11 \x01(\x0b\x32\x08.v1.TagsB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12&\n\x12\x61\x63\x63ount_first_name\x18\x12 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12%\n\x11\x61\x63\x63ount_last_name\x18\x13 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12!\n\raccount_email\x18\x14 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12*\n\x0c\x61\x63\x63ount_tags\x18\x15 \x01(\x0b\x32\x08.v1.TagsB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12/\n\x0cquery_key_id\x18\x16 \x01(\tB\x19\xf2\xf8\xb3\x07\x14\xb0\xf3\xb3\x07\x01\xb2\xf4\xb3\x07\ngo_private:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\x32}\n\x07Queries\x12W\n\x04List\x12\x14.v1.QueryListRequest\x1a\x15.v1.QueryListResponse\"\"\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x10\xaa\xf3\xb3\x07\x0b/v1/queries\x1a\x19\xca\xf9\xb3\x07\n\xc2\xf9\xb3\x07\x05Query\xca\xf9\xb3\x07\x05\xd8\xf9\xb3\x07\x01\x42\x63\n\x19\x63om.strongdm.api.plumbingB\x0fQueriesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
37
+
38
+
39
+
40
+ _QUERYLISTREQUEST = DESCRIPTOR.message_types_by_name['QueryListRequest']
41
+ _QUERYLISTRESPONSE = DESCRIPTOR.message_types_by_name['QueryListResponse']
42
+ _QUERY = DESCRIPTOR.message_types_by_name['Query']
43
+ QueryListRequest = _reflection.GeneratedProtocolMessageType('QueryListRequest', (_message.Message,), {
44
+ 'DESCRIPTOR' : _QUERYLISTREQUEST,
45
+ '__module__' : 'queries_pb2'
46
+ # @@protoc_insertion_point(class_scope:v1.QueryListRequest)
47
+ })
48
+ _sym_db.RegisterMessage(QueryListRequest)
49
+
50
+ QueryListResponse = _reflection.GeneratedProtocolMessageType('QueryListResponse', (_message.Message,), {
51
+ 'DESCRIPTOR' : _QUERYLISTRESPONSE,
52
+ '__module__' : 'queries_pb2'
53
+ # @@protoc_insertion_point(class_scope:v1.QueryListResponse)
54
+ })
55
+ _sym_db.RegisterMessage(QueryListResponse)
56
+
57
+ Query = _reflection.GeneratedProtocolMessageType('Query', (_message.Message,), {
58
+ 'DESCRIPTOR' : _QUERY,
59
+ '__module__' : 'queries_pb2'
60
+ # @@protoc_insertion_point(class_scope:v1.Query)
61
+ })
62
+ _sym_db.RegisterMessage(Query)
63
+
64
+ _QUERIES = DESCRIPTOR.services_by_name['Queries']
65
+ if _descriptor._USE_C_DESCRIPTORS == False:
66
+
67
+ DESCRIPTOR._options = None
68
+ DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\017QueriesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
69
+ _QUERYLISTREQUEST.fields_by_name['filter']._options = None
70
+ _QUERYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
71
+ _QUERYLISTRESPONSE.fields_by_name['queries']._options = None
72
+ _QUERYLISTRESPONSE.fields_by_name['queries']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
73
+ _QUERYLISTRESPONSE.fields_by_name['rate_limit']._options = None
74
+ _QUERYLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
75
+ _QUERY.fields_by_name['id']._options = None
76
+ _QUERY.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
77
+ _QUERY.fields_by_name['account_id']._options = None
78
+ _QUERY.fields_by_name['account_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
79
+ _QUERY.fields_by_name['resource_id']._options = None
80
+ _QUERY.fields_by_name['resource_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
81
+ _QUERY.fields_by_name['query_body']._options = None
82
+ _QUERY.fields_by_name['query_body']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
83
+ _QUERY.fields_by_name['duration']._options = None
84
+ _QUERY.fields_by_name['duration']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
85
+ _QUERY.fields_by_name['encrypted']._options = None
86
+ _QUERY.fields_by_name['encrypted']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
87
+ _QUERY.fields_by_name['query_hash']._options = None
88
+ _QUERY.fields_by_name['query_hash']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
89
+ _QUERY.fields_by_name['remote_identity_username']._options = None
90
+ _QUERY.fields_by_name['remote_identity_username']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
91
+ _QUERY.fields_by_name['timestamp']._options = None
92
+ _QUERY.fields_by_name['timestamp']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
93
+ _QUERY.fields_by_name['egress_node_id']._options = None
94
+ _QUERY.fields_by_name['egress_node_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
95
+ _QUERY.fields_by_name['replayable']._options = None
96
+ _QUERY.fields_by_name['replayable']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
97
+ _QUERY.fields_by_name['record_count']._options = None
98
+ _QUERY.fields_by_name['record_count']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
99
+ _QUERY.fields_by_name['resource_type']._options = None
100
+ _QUERY.fields_by_name['resource_type']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
101
+ _QUERY.fields_by_name['query_category']._options = None
102
+ _QUERY.fields_by_name['query_category']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
103
+ _QUERY.fields_by_name['query_key']._options = None
104
+ _QUERY.fields_by_name['query_key']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
105
+ _QUERY.fields_by_name['resource_name']._options = None
106
+ _QUERY.fields_by_name['resource_name']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
107
+ _QUERY.fields_by_name['resource_tags']._options = None
108
+ _QUERY.fields_by_name['resource_tags']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
109
+ _QUERY.fields_by_name['account_first_name']._options = None
110
+ _QUERY.fields_by_name['account_first_name']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
111
+ _QUERY.fields_by_name['account_last_name']._options = None
112
+ _QUERY.fields_by_name['account_last_name']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
113
+ _QUERY.fields_by_name['account_email']._options = None
114
+ _QUERY.fields_by_name['account_email']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
115
+ _QUERY.fields_by_name['account_tags']._options = None
116
+ _QUERY.fields_by_name['account_tags']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
117
+ _QUERY.fields_by_name['query_key_id']._options = None
118
+ _QUERY.fields_by_name['query_key_id']._serialized_options = b'\362\370\263\007\024\260\363\263\007\001\262\364\263\007\ngo_private'
119
+ _QUERY._options = None
120
+ _QUERY._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
121
+ _QUERIES._options = None
122
+ _QUERIES._serialized_options = b'\312\371\263\007\n\302\371\263\007\005Query\312\371\263\007\005\330\371\263\007\001'
123
+ _QUERIES.methods_by_name['List']._options = None
124
+ _QUERIES.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\020\252\363\263\007\013/v1/queries'
125
+ _QUERYLISTREQUEST._serialized_start=125
126
+ _QUERYLISTREQUEST._serialized_end=210
127
+ _QUERYLISTRESPONSE._serialized_start=213
128
+ _QUERYLISTRESPONSE._serialized_end=401
129
+ _QUERY._serialized_start=404
130
+ _QUERY._serialized_end=1260
131
+ _QUERIES._serialized_start=1262
132
+ _QUERIES._serialized_end=1387
133
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,90 @@
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 gRPC Python protocol compiler plugin. DO NOT EDIT!
16
+ """Client and server classes corresponding to protobuf-defined services."""
17
+ import grpc
18
+
19
+ from . import queries_pb2 as queries__pb2
20
+
21
+
22
+ class QueriesStub(object):
23
+ """A Query is a record of a single client request to a resource, such as an SQL query.
24
+ Long-running SSH, RDP, or Kubernetes interactive sessions also count as queries.
25
+ The Queries service is read-only.
26
+ """
27
+
28
+ def __init__(self, channel):
29
+ """Constructor.
30
+
31
+ Args:
32
+ channel: A grpc.Channel.
33
+ """
34
+ self.List = channel.unary_unary(
35
+ '/v1.Queries/List',
36
+ request_serializer=queries__pb2.QueryListRequest.SerializeToString,
37
+ response_deserializer=queries__pb2.QueryListResponse.FromString,
38
+ )
39
+
40
+
41
+ class QueriesServicer(object):
42
+ """A Query is a record of a single client request to a resource, such as an SQL query.
43
+ Long-running SSH, RDP, or Kubernetes interactive sessions also count as queries.
44
+ The Queries service is read-only.
45
+ """
46
+
47
+ def List(self, request, context):
48
+ """List gets a list of Queries matching a given set of criteria.
49
+ """
50
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
51
+ context.set_details('Method not implemented!')
52
+ raise NotImplementedError('Method not implemented!')
53
+
54
+
55
+ def add_QueriesServicer_to_server(servicer, server):
56
+ rpc_method_handlers = {
57
+ 'List': grpc.unary_unary_rpc_method_handler(
58
+ servicer.List,
59
+ request_deserializer=queries__pb2.QueryListRequest.FromString,
60
+ response_serializer=queries__pb2.QueryListResponse.SerializeToString,
61
+ ),
62
+ }
63
+ generic_handler = grpc.method_handlers_generic_handler(
64
+ 'v1.Queries', rpc_method_handlers)
65
+ server.add_generic_rpc_handlers((generic_handler,))
66
+
67
+
68
+ # This class is part of an EXPERIMENTAL API.
69
+ class Queries(object):
70
+ """A Query is a record of a single client request to a resource, such as an SQL query.
71
+ Long-running SSH, RDP, or Kubernetes interactive sessions also count as queries.
72
+ The Queries service is read-only.
73
+ """
74
+
75
+ @staticmethod
76
+ def List(request,
77
+ target,
78
+ options=(),
79
+ channel_credentials=None,
80
+ call_credentials=None,
81
+ insecure=False,
82
+ compression=None,
83
+ wait_for_ready=None,
84
+ timeout=None,
85
+ metadata=None):
86
+ return grpc.experimental.unary_unary(request, target, '/v1.Queries/List',
87
+ queries__pb2.QueryListRequest.SerializeToString,
88
+ queries__pb2.QueryListResponse.FromString,
89
+ options, channel_credentials,
90
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,96 @@
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
+ # -*- coding: utf-8 -*-
16
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
17
+ # source: remote_identities_history.proto
18
+ """Generated protocol buffer code."""
19
+ from google.protobuf import descriptor as _descriptor
20
+ from google.protobuf import descriptor_pool as _descriptor_pool
21
+ from google.protobuf import message as _message
22
+ from google.protobuf import reflection as _reflection
23
+ from google.protobuf import symbol_database as _symbol_database
24
+ # @@protoc_insertion_point(imports)
25
+
26
+ _sym_db = _symbol_database.Default()
27
+
28
+
29
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
30
+ from . import remote_identities_pb2 as remote__identities__pb2
31
+ from . import options_pb2 as options__pb2
32
+ from . import spec_pb2 as spec__pb2
33
+
34
+
35
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fremote_identities_history.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17remote_identities.proto\x1a\roptions.proto\x1a\nspec.proto\"e\n RemoteIdentityHistoryListRequest\x12%\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.ListRequestMetadata\x12\x1a\n\x06\x66ilter\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xdc\x01\n!RemoteIdentityHistoryListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12\x36\n\x07history\x18\x02 \x03(\x0b\x32\x19.v1.RemoteIdentityHistoryB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway\"\xf4\x01\n\x15RemoteIdentityHistory\x12\x1f\n\x0b\x61\x63tivity_id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x39\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x37\n\x0fremote_identity\x18\x03 \x01(\x0b\x32\x12.v1.RemoteIdentityB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12:\n\ndeleted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\x32\xd0\x01\n\x17RemoteIdentitiesHistory\x12\x89\x01\n\x04List\x12$.v1.RemoteIdentityHistoryListRequest\x1a%.v1.RemoteIdentityHistoryListResponse\"4\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\"\xaa\xf3\xb3\x07\x1d/v1/remote-identities-history\x1a)\xca\xf9\xb3\x07\x1a\xc2\xf9\xb3\x07\x15RemoteIdentityHistory\xca\xf9\xb3\x07\x05\xd8\xf9\xb3\x07\x01\x42s\n\x19\x63om.strongdm.api.plumbingB\x1fRemoteIdentitiesHistoryPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
36
+
37
+
38
+
39
+ _REMOTEIDENTITYHISTORYLISTREQUEST = DESCRIPTOR.message_types_by_name['RemoteIdentityHistoryListRequest']
40
+ _REMOTEIDENTITYHISTORYLISTRESPONSE = DESCRIPTOR.message_types_by_name['RemoteIdentityHistoryListResponse']
41
+ _REMOTEIDENTITYHISTORY = DESCRIPTOR.message_types_by_name['RemoteIdentityHistory']
42
+ RemoteIdentityHistoryListRequest = _reflection.GeneratedProtocolMessageType('RemoteIdentityHistoryListRequest', (_message.Message,), {
43
+ 'DESCRIPTOR' : _REMOTEIDENTITYHISTORYLISTREQUEST,
44
+ '__module__' : 'remote_identities_history_pb2'
45
+ # @@protoc_insertion_point(class_scope:v1.RemoteIdentityHistoryListRequest)
46
+ })
47
+ _sym_db.RegisterMessage(RemoteIdentityHistoryListRequest)
48
+
49
+ RemoteIdentityHistoryListResponse = _reflection.GeneratedProtocolMessageType('RemoteIdentityHistoryListResponse', (_message.Message,), {
50
+ 'DESCRIPTOR' : _REMOTEIDENTITYHISTORYLISTRESPONSE,
51
+ '__module__' : 'remote_identities_history_pb2'
52
+ # @@protoc_insertion_point(class_scope:v1.RemoteIdentityHistoryListResponse)
53
+ })
54
+ _sym_db.RegisterMessage(RemoteIdentityHistoryListResponse)
55
+
56
+ RemoteIdentityHistory = _reflection.GeneratedProtocolMessageType('RemoteIdentityHistory', (_message.Message,), {
57
+ 'DESCRIPTOR' : _REMOTEIDENTITYHISTORY,
58
+ '__module__' : 'remote_identities_history_pb2'
59
+ # @@protoc_insertion_point(class_scope:v1.RemoteIdentityHistory)
60
+ })
61
+ _sym_db.RegisterMessage(RemoteIdentityHistory)
62
+
63
+ _REMOTEIDENTITIESHISTORY = DESCRIPTOR.services_by_name['RemoteIdentitiesHistory']
64
+ if _descriptor._USE_C_DESCRIPTORS == False:
65
+
66
+ DESCRIPTOR._options = None
67
+ DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\037RemoteIdentitiesHistoryPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
68
+ _REMOTEIDENTITYHISTORYLISTREQUEST.fields_by_name['filter']._options = None
69
+ _REMOTEIDENTITYHISTORYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
70
+ _REMOTEIDENTITYHISTORYLISTRESPONSE.fields_by_name['history']._options = None
71
+ _REMOTEIDENTITYHISTORYLISTRESPONSE.fields_by_name['history']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
72
+ _REMOTEIDENTITYHISTORYLISTRESPONSE.fields_by_name['rate_limit']._options = None
73
+ _REMOTEIDENTITYHISTORYLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
74
+ _REMOTEIDENTITYHISTORY.fields_by_name['activity_id']._options = None
75
+ _REMOTEIDENTITYHISTORY.fields_by_name['activity_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
76
+ _REMOTEIDENTITYHISTORY.fields_by_name['timestamp']._options = None
77
+ _REMOTEIDENTITYHISTORY.fields_by_name['timestamp']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
78
+ _REMOTEIDENTITYHISTORY.fields_by_name['remote_identity']._options = None
79
+ _REMOTEIDENTITYHISTORY.fields_by_name['remote_identity']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
80
+ _REMOTEIDENTITYHISTORY.fields_by_name['deleted_at']._options = None
81
+ _REMOTEIDENTITYHISTORY.fields_by_name['deleted_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
82
+ _REMOTEIDENTITYHISTORY._options = None
83
+ _REMOTEIDENTITYHISTORY._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
84
+ _REMOTEIDENTITIESHISTORY._options = None
85
+ _REMOTEIDENTITIESHISTORY._serialized_options = b'\312\371\263\007\032\302\371\263\007\025RemoteIdentityHistory\312\371\263\007\005\330\371\263\007\001'
86
+ _REMOTEIDENTITIESHISTORY.methods_by_name['List']._options = None
87
+ _REMOTEIDENTITIESHISTORY.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\"\252\363\263\007\035/v1/remote-identities-history'
88
+ _REMOTEIDENTITYHISTORYLISTREQUEST._serialized_start=124
89
+ _REMOTEIDENTITYHISTORYLISTREQUEST._serialized_end=225
90
+ _REMOTEIDENTITYHISTORYLISTRESPONSE._serialized_start=228
91
+ _REMOTEIDENTITYHISTORYLISTRESPONSE._serialized_end=448
92
+ _REMOTEIDENTITYHISTORY._serialized_start=451
93
+ _REMOTEIDENTITYHISTORY._serialized_end=695
94
+ _REMOTEIDENTITIESHISTORY._serialized_start=698
95
+ _REMOTEIDENTITIESHISTORY._serialized_end=906
96
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,84 @@
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 gRPC Python protocol compiler plugin. DO NOT EDIT!
16
+ """Client and server classes corresponding to protobuf-defined services."""
17
+ import grpc
18
+
19
+ from . import remote_identities_history_pb2 as remote__identities__history__pb2
20
+
21
+
22
+ class RemoteIdentitiesHistoryStub(object):
23
+ """RemoteIdentitiesHistory records all changes to the state of a RemoteIdentity.
24
+ """
25
+
26
+ def __init__(self, channel):
27
+ """Constructor.
28
+
29
+ Args:
30
+ channel: A grpc.Channel.
31
+ """
32
+ self.List = channel.unary_unary(
33
+ '/v1.RemoteIdentitiesHistory/List',
34
+ request_serializer=remote__identities__history__pb2.RemoteIdentityHistoryListRequest.SerializeToString,
35
+ response_deserializer=remote__identities__history__pb2.RemoteIdentityHistoryListResponse.FromString,
36
+ )
37
+
38
+
39
+ class RemoteIdentitiesHistoryServicer(object):
40
+ """RemoteIdentitiesHistory records all changes to the state of a RemoteIdentity.
41
+ """
42
+
43
+ def List(self, request, context):
44
+ """List gets a list of RemoteIdentityHistory records matching a given set of criteria.
45
+ """
46
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
47
+ context.set_details('Method not implemented!')
48
+ raise NotImplementedError('Method not implemented!')
49
+
50
+
51
+ def add_RemoteIdentitiesHistoryServicer_to_server(servicer, server):
52
+ rpc_method_handlers = {
53
+ 'List': grpc.unary_unary_rpc_method_handler(
54
+ servicer.List,
55
+ request_deserializer=remote__identities__history__pb2.RemoteIdentityHistoryListRequest.FromString,
56
+ response_serializer=remote__identities__history__pb2.RemoteIdentityHistoryListResponse.SerializeToString,
57
+ ),
58
+ }
59
+ generic_handler = grpc.method_handlers_generic_handler(
60
+ 'v1.RemoteIdentitiesHistory', rpc_method_handlers)
61
+ server.add_generic_rpc_handlers((generic_handler,))
62
+
63
+
64
+ # This class is part of an EXPERIMENTAL API.
65
+ class RemoteIdentitiesHistory(object):
66
+ """RemoteIdentitiesHistory records all changes to the state of a RemoteIdentity.
67
+ """
68
+
69
+ @staticmethod
70
+ def List(request,
71
+ target,
72
+ options=(),
73
+ channel_credentials=None,
74
+ call_credentials=None,
75
+ insecure=False,
76
+ compression=None,
77
+ wait_for_ready=None,
78
+ timeout=None,
79
+ metadata=None):
80
+ return grpc.experimental.unary_unary(request, target, '/v1.RemoteIdentitiesHistory/List',
81
+ remote__identities__history__pb2.RemoteIdentityHistoryListRequest.SerializeToString,
82
+ remote__identities__history__pb2.RemoteIdentityHistoryListResponse.FromString,
83
+ options, channel_credentials,
84
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,96 @@
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
+ # -*- coding: utf-8 -*-
16
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
17
+ # source: remote_identity_groups_history.proto
18
+ """Generated protocol buffer code."""
19
+ from google.protobuf import descriptor as _descriptor
20
+ from google.protobuf import descriptor_pool as _descriptor_pool
21
+ from google.protobuf import message as _message
22
+ from google.protobuf import reflection as _reflection
23
+ from google.protobuf import symbol_database as _symbol_database
24
+ # @@protoc_insertion_point(imports)
25
+
26
+ _sym_db = _symbol_database.Default()
27
+
28
+
29
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
30
+ from . import remote_identity_groups_pb2 as remote__identity__groups__pb2
31
+ from . import options_pb2 as options__pb2
32
+ from . import spec_pb2 as spec__pb2
33
+
34
+
35
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$remote_identity_groups_history.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cremote_identity_groups.proto\x1a\roptions.proto\x1a\nspec.proto\"j\n%RemoteIdentityGroupHistoryListRequest\x12%\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.ListRequestMetadata\x12\x1a\n\x06\x66ilter\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xe6\x01\n&RemoteIdentityGroupHistoryListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12;\n\x07history\x18\x02 \x03(\x0b\x32\x1e.v1.RemoteIdentityGroupHistoryB\n\xf2\xf8\xb3\x07\x05\xb8\xf3\xb3\x07\x01\x12W\n\nrate_limit\x18\x03 \x01(\x0b\x32\x15.v1.RateLimitMetadataB,\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\xf2\xf8\xb3\x07\x06\xb2\xf4\xb3\x07\x01*\xf2\xf8\xb3\x07\x12\xb2\xf4\xb3\x07\r!json_gateway\"\x84\x02\n\x1aRemoteIdentityGroupHistory\x12\x1f\n\x0b\x61\x63tivity_id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x39\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x42\n\x15remote_identity_group\x18\x03 \x01(\x0b\x32\x17.v1.RemoteIdentityGroupB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12:\n\ndeleted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\x32\xe8\x01\n\x1bRemoteIdentityGroupsHistory\x12\x98\x01\n\x04List\x12).v1.RemoteIdentityGroupHistoryListRequest\x1a*.v1.RemoteIdentityGroupHistoryListResponse\"9\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\'\xaa\xf3\xb3\x07\"/v1/remote-identity_groups-history\x1a.\xca\xf9\xb3\x07\x1f\xc2\xf9\xb3\x07\x1aRemoteIdentityGroupHistory\xca\xf9\xb3\x07\x05\xd8\xf9\xb3\x07\x01\x42w\n\x19\x63om.strongdm.api.plumbingB#RemoteIdentityGroupsHistoryPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
36
+
37
+
38
+
39
+ _REMOTEIDENTITYGROUPHISTORYLISTREQUEST = DESCRIPTOR.message_types_by_name['RemoteIdentityGroupHistoryListRequest']
40
+ _REMOTEIDENTITYGROUPHISTORYLISTRESPONSE = DESCRIPTOR.message_types_by_name['RemoteIdentityGroupHistoryListResponse']
41
+ _REMOTEIDENTITYGROUPHISTORY = DESCRIPTOR.message_types_by_name['RemoteIdentityGroupHistory']
42
+ RemoteIdentityGroupHistoryListRequest = _reflection.GeneratedProtocolMessageType('RemoteIdentityGroupHistoryListRequest', (_message.Message,), {
43
+ 'DESCRIPTOR' : _REMOTEIDENTITYGROUPHISTORYLISTREQUEST,
44
+ '__module__' : 'remote_identity_groups_history_pb2'
45
+ # @@protoc_insertion_point(class_scope:v1.RemoteIdentityGroupHistoryListRequest)
46
+ })
47
+ _sym_db.RegisterMessage(RemoteIdentityGroupHistoryListRequest)
48
+
49
+ RemoteIdentityGroupHistoryListResponse = _reflection.GeneratedProtocolMessageType('RemoteIdentityGroupHistoryListResponse', (_message.Message,), {
50
+ 'DESCRIPTOR' : _REMOTEIDENTITYGROUPHISTORYLISTRESPONSE,
51
+ '__module__' : 'remote_identity_groups_history_pb2'
52
+ # @@protoc_insertion_point(class_scope:v1.RemoteIdentityGroupHistoryListResponse)
53
+ })
54
+ _sym_db.RegisterMessage(RemoteIdentityGroupHistoryListResponse)
55
+
56
+ RemoteIdentityGroupHistory = _reflection.GeneratedProtocolMessageType('RemoteIdentityGroupHistory', (_message.Message,), {
57
+ 'DESCRIPTOR' : _REMOTEIDENTITYGROUPHISTORY,
58
+ '__module__' : 'remote_identity_groups_history_pb2'
59
+ # @@protoc_insertion_point(class_scope:v1.RemoteIdentityGroupHistory)
60
+ })
61
+ _sym_db.RegisterMessage(RemoteIdentityGroupHistory)
62
+
63
+ _REMOTEIDENTITYGROUPSHISTORY = DESCRIPTOR.services_by_name['RemoteIdentityGroupsHistory']
64
+ if _descriptor._USE_C_DESCRIPTORS == False:
65
+
66
+ DESCRIPTOR._options = None
67
+ DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB#RemoteIdentityGroupsHistoryPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
68
+ _REMOTEIDENTITYGROUPHISTORYLISTREQUEST.fields_by_name['filter']._options = None
69
+ _REMOTEIDENTITYGROUPHISTORYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
70
+ _REMOTEIDENTITYGROUPHISTORYLISTRESPONSE.fields_by_name['history']._options = None
71
+ _REMOTEIDENTITYGROUPHISTORYLISTRESPONSE.fields_by_name['history']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
72
+ _REMOTEIDENTITYGROUPHISTORYLISTRESPONSE.fields_by_name['rate_limit']._options = None
73
+ _REMOTEIDENTITYGROUPHISTORYLISTRESPONSE.fields_by_name['rate_limit']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001\362\370\263\007\006\262\364\263\007\001*\362\370\263\007\022\262\364\263\007\r!json_gateway'
74
+ _REMOTEIDENTITYGROUPHISTORY.fields_by_name['activity_id']._options = None
75
+ _REMOTEIDENTITYGROUPHISTORY.fields_by_name['activity_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
76
+ _REMOTEIDENTITYGROUPHISTORY.fields_by_name['timestamp']._options = None
77
+ _REMOTEIDENTITYGROUPHISTORY.fields_by_name['timestamp']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
78
+ _REMOTEIDENTITYGROUPHISTORY.fields_by_name['remote_identity_group']._options = None
79
+ _REMOTEIDENTITYGROUPHISTORY.fields_by_name['remote_identity_group']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
80
+ _REMOTEIDENTITYGROUPHISTORY.fields_by_name['deleted_at']._options = None
81
+ _REMOTEIDENTITYGROUPHISTORY.fields_by_name['deleted_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
82
+ _REMOTEIDENTITYGROUPHISTORY._options = None
83
+ _REMOTEIDENTITYGROUPHISTORY._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
84
+ _REMOTEIDENTITYGROUPSHISTORY._options = None
85
+ _REMOTEIDENTITYGROUPSHISTORY._serialized_options = b'\312\371\263\007\037\302\371\263\007\032RemoteIdentityGroupHistory\312\371\263\007\005\330\371\263\007\001'
86
+ _REMOTEIDENTITYGROUPSHISTORY.methods_by_name['List']._options = None
87
+ _REMOTEIDENTITYGROUPSHISTORY.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\'\252\363\263\007\"/v1/remote-identity_groups-history'
88
+ _REMOTEIDENTITYGROUPHISTORYLISTREQUEST._serialized_start=134
89
+ _REMOTEIDENTITYGROUPHISTORYLISTREQUEST._serialized_end=240
90
+ _REMOTEIDENTITYGROUPHISTORYLISTRESPONSE._serialized_start=243
91
+ _REMOTEIDENTITYGROUPHISTORYLISTRESPONSE._serialized_end=473
92
+ _REMOTEIDENTITYGROUPHISTORY._serialized_start=476
93
+ _REMOTEIDENTITYGROUPHISTORY._serialized_end=736
94
+ _REMOTEIDENTITYGROUPSHISTORY._serialized_start=739
95
+ _REMOTEIDENTITYGROUPSHISTORY._serialized_end=971
96
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,84 @@
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 gRPC Python protocol compiler plugin. DO NOT EDIT!
16
+ """Client and server classes corresponding to protobuf-defined services."""
17
+ import grpc
18
+
19
+ from . import remote_identity_groups_history_pb2 as remote__identity__groups__history__pb2
20
+
21
+
22
+ class RemoteIdentityGroupsHistoryStub(object):
23
+ """RemoteIdentityGroupsHistory records all changes to the state of a RemoteIdentityGroup.
24
+ """
25
+
26
+ def __init__(self, channel):
27
+ """Constructor.
28
+
29
+ Args:
30
+ channel: A grpc.Channel.
31
+ """
32
+ self.List = channel.unary_unary(
33
+ '/v1.RemoteIdentityGroupsHistory/List',
34
+ request_serializer=remote__identity__groups__history__pb2.RemoteIdentityGroupHistoryListRequest.SerializeToString,
35
+ response_deserializer=remote__identity__groups__history__pb2.RemoteIdentityGroupHistoryListResponse.FromString,
36
+ )
37
+
38
+
39
+ class RemoteIdentityGroupsHistoryServicer(object):
40
+ """RemoteIdentityGroupsHistory records all changes to the state of a RemoteIdentityGroup.
41
+ """
42
+
43
+ def List(self, request, context):
44
+ """List gets a list of RemoteIdentityGroupHistory records matching a given set of criteria.
45
+ """
46
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
47
+ context.set_details('Method not implemented!')
48
+ raise NotImplementedError('Method not implemented!')
49
+
50
+
51
+ def add_RemoteIdentityGroupsHistoryServicer_to_server(servicer, server):
52
+ rpc_method_handlers = {
53
+ 'List': grpc.unary_unary_rpc_method_handler(
54
+ servicer.List,
55
+ request_deserializer=remote__identity__groups__history__pb2.RemoteIdentityGroupHistoryListRequest.FromString,
56
+ response_serializer=remote__identity__groups__history__pb2.RemoteIdentityGroupHistoryListResponse.SerializeToString,
57
+ ),
58
+ }
59
+ generic_handler = grpc.method_handlers_generic_handler(
60
+ 'v1.RemoteIdentityGroupsHistory', rpc_method_handlers)
61
+ server.add_generic_rpc_handlers((generic_handler,))
62
+
63
+
64
+ # This class is part of an EXPERIMENTAL API.
65
+ class RemoteIdentityGroupsHistory(object):
66
+ """RemoteIdentityGroupsHistory records all changes to the state of a RemoteIdentityGroup.
67
+ """
68
+
69
+ @staticmethod
70
+ def List(request,
71
+ target,
72
+ options=(),
73
+ channel_credentials=None,
74
+ call_credentials=None,
75
+ insecure=False,
76
+ compression=None,
77
+ wait_for_ready=None,
78
+ timeout=None,
79
+ metadata=None):
80
+ return grpc.experimental.unary_unary(request, target, '/v1.RemoteIdentityGroupsHistory/List',
81
+ remote__identity__groups__history__pb2.RemoteIdentityGroupHistoryListRequest.SerializeToString,
82
+ remote__identity__groups__history__pb2.RemoteIdentityGroupHistoryListResponse.FromString,
83
+ options, channel_credentials,
84
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)