strongdm 3.6.0__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.
- {strongdm-3.6.0 → strongdm-3.7.0}/PKG-INFO +2 -2
- {strongdm-3.6.0 → strongdm-3.7.0}/setup.py +2 -2
- strongdm-3.7.0/strongdm/account_attachments_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/account_attachments_history_pb2_grpc.py +84 -0
- strongdm-3.7.0/strongdm/account_grants_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/account_grants_history_pb2_grpc.py +84 -0
- strongdm-3.7.0/strongdm/account_permissions_pb2.py +97 -0
- strongdm-3.7.0/strongdm/account_permissions_pb2_grpc.py +87 -0
- strongdm-3.7.0/strongdm/account_resources_pb2.py +99 -0
- strongdm-3.7.0/strongdm/account_resources_pb2_grpc.py +87 -0
- strongdm-3.7.0/strongdm/accounts_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/accounts_history_pb2_grpc.py +84 -0
- strongdm-3.7.0/strongdm/activities_pb2.py +177 -0
- strongdm-3.7.0/strongdm/activities_pb2_grpc.py +124 -0
- strongdm-3.7.0/strongdm/client.py +432 -0
- strongdm-3.7.0/strongdm/constants.py +377 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/drivers_pb2.py +172 -172
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/models.py +1868 -132
- strongdm-3.7.0/strongdm/nodes_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/nodes_history_pb2_grpc.py +84 -0
- strongdm-3.7.0/strongdm/organization_history_pb2.py +154 -0
- strongdm-3.7.0/strongdm/organization_history_pb2_grpc.py +84 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/plumbing.py +947 -0
- strongdm-3.7.0/strongdm/queries_pb2.py +133 -0
- strongdm-3.7.0/strongdm/queries_pb2_grpc.py +90 -0
- strongdm-3.7.0/strongdm/remote_identities_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/remote_identities_history_pb2_grpc.py +84 -0
- strongdm-3.7.0/strongdm/remote_identity_groups_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/remote_identity_groups_history_pb2_grpc.py +84 -0
- strongdm-3.7.0/strongdm/replays_pb2.py +107 -0
- strongdm-3.7.0/strongdm/replays_pb2_grpc.py +87 -0
- strongdm-3.7.0/strongdm/resources_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/resources_history_pb2_grpc.py +84 -0
- strongdm-3.7.0/strongdm/role_resources_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/role_resources_history_pb2_grpc.py +84 -0
- strongdm-3.7.0/strongdm/role_resources_pb2.py +93 -0
- strongdm-3.7.0/strongdm/role_resources_pb2_grpc.py +87 -0
- strongdm-3.7.0/strongdm/roles_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/roles_history_pb2_grpc.py +84 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/secret_store_types_pb2.py +11 -11
- strongdm-3.7.0/strongdm/secret_stores_history_pb2.py +96 -0
- strongdm-3.7.0/strongdm/secret_stores_history_pb2_grpc.py +84 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/svc.py +1199 -12
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm.egg-info/PKG-INFO +2 -2
- strongdm-3.7.0/strongdm.egg-info/SOURCES.txt +78 -0
- strongdm-3.6.0/strongdm/client.py +0 -199
- strongdm-3.6.0/strongdm/constants.py +0 -53
- strongdm-3.6.0/strongdm.egg-info/SOURCES.txt +0 -44
- {strongdm-3.6.0 → strongdm-3.7.0}/README.md +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/setup.cfg +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/__init__.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/account_attachments_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/account_attachments_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/account_grants_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/account_grants_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/accounts_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/accounts_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/control_panel_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/control_panel_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/drivers_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/errors.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/nodes_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/nodes_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/options_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/options_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/remote_identities_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/remote_identities_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/remote_identity_groups_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/remote_identity_groups_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/resources_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/resources_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/roles_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/roles_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/secret_store_types_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/secret_stores_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/secret_stores_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/spec_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/spec_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/tags_pb2.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm/tags_pb2_grpc.py +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm.egg-info/dependency_links.txt +0 -0
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm.egg-info/requires.txt +1 -1
- {strongdm-3.6.0 → strongdm-3.7.0}/strongdm.egg-info/top_level.txt +0 -0
@@ -0,0 +1,99 @@
|
|
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: account_resources.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 options_pb2 as options__pb2
|
31
|
+
from . import spec_pb2 as spec__pb2
|
32
|
+
|
33
|
+
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17\x61\x63\x63ount_resources.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\roptions.proto\x1a\nspec.proto\"_\n\x1a\x41\x63\x63ountResourceListRequest\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\"\xda\x01\n\x1b\x41\x63\x63ountResourceListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12:\n\x11\x61\x63\x63ount_resources\x18\x02 \x03(\x0b\x32\x13.v1.AccountResourceB\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\"\x99\x02\n\x0f\x41\x63\x63ountResource\x12\x1e\n\naccount_id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1f\n\x0bresource_id\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12:\n\ngranted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12:\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1b\n\x07role_id\x18\x05 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12$\n\x10\x61\x63\x63ount_grant_id\x18\x06 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\x32\xa4\x01\n\x10\x41\x63\x63ountResources\x12u\n\x04List\x12\x1e.v1.AccountResourceListRequest\x1a\x1f.v1.AccountResourceListResponse\",\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x1a\xaa\xf3\xb3\x07\x15/v1/account-resources\x1a\x19\xca\xf9\xb3\x07\x14\xc2\xf9\xb3\x07\x0f\x41\x63\x63ountResourceBl\n\x19\x63om.strongdm.api.plumbingB\x18\x41\x63\x63ountResourcesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
_ACCOUNTRESOURCELISTREQUEST = DESCRIPTOR.message_types_by_name['AccountResourceListRequest']
|
39
|
+
_ACCOUNTRESOURCELISTRESPONSE = DESCRIPTOR.message_types_by_name['AccountResourceListResponse']
|
40
|
+
_ACCOUNTRESOURCE = DESCRIPTOR.message_types_by_name['AccountResource']
|
41
|
+
AccountResourceListRequest = _reflection.GeneratedProtocolMessageType('AccountResourceListRequest', (_message.Message,), {
|
42
|
+
'DESCRIPTOR' : _ACCOUNTRESOURCELISTREQUEST,
|
43
|
+
'__module__' : 'account_resources_pb2'
|
44
|
+
# @@protoc_insertion_point(class_scope:v1.AccountResourceListRequest)
|
45
|
+
})
|
46
|
+
_sym_db.RegisterMessage(AccountResourceListRequest)
|
47
|
+
|
48
|
+
AccountResourceListResponse = _reflection.GeneratedProtocolMessageType('AccountResourceListResponse', (_message.Message,), {
|
49
|
+
'DESCRIPTOR' : _ACCOUNTRESOURCELISTRESPONSE,
|
50
|
+
'__module__' : 'account_resources_pb2'
|
51
|
+
# @@protoc_insertion_point(class_scope:v1.AccountResourceListResponse)
|
52
|
+
})
|
53
|
+
_sym_db.RegisterMessage(AccountResourceListResponse)
|
54
|
+
|
55
|
+
AccountResource = _reflection.GeneratedProtocolMessageType('AccountResource', (_message.Message,), {
|
56
|
+
'DESCRIPTOR' : _ACCOUNTRESOURCE,
|
57
|
+
'__module__' : 'account_resources_pb2'
|
58
|
+
# @@protoc_insertion_point(class_scope:v1.AccountResource)
|
59
|
+
})
|
60
|
+
_sym_db.RegisterMessage(AccountResource)
|
61
|
+
|
62
|
+
_ACCOUNTRESOURCES = DESCRIPTOR.services_by_name['AccountResources']
|
63
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
64
|
+
|
65
|
+
DESCRIPTOR._options = None
|
66
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\030AccountResourcesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
|
67
|
+
_ACCOUNTRESOURCELISTREQUEST.fields_by_name['filter']._options = None
|
68
|
+
_ACCOUNTRESOURCELISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
69
|
+
_ACCOUNTRESOURCELISTRESPONSE.fields_by_name['account_resources']._options = None
|
70
|
+
_ACCOUNTRESOURCELISTRESPONSE.fields_by_name['account_resources']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
71
|
+
_ACCOUNTRESOURCELISTRESPONSE.fields_by_name['rate_limit']._options = None
|
72
|
+
_ACCOUNTRESOURCELISTRESPONSE.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'
|
73
|
+
_ACCOUNTRESOURCE.fields_by_name['account_id']._options = None
|
74
|
+
_ACCOUNTRESOURCE.fields_by_name['account_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
75
|
+
_ACCOUNTRESOURCE.fields_by_name['resource_id']._options = None
|
76
|
+
_ACCOUNTRESOURCE.fields_by_name['resource_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
77
|
+
_ACCOUNTRESOURCE.fields_by_name['granted_at']._options = None
|
78
|
+
_ACCOUNTRESOURCE.fields_by_name['granted_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
79
|
+
_ACCOUNTRESOURCE.fields_by_name['expires_at']._options = None
|
80
|
+
_ACCOUNTRESOURCE.fields_by_name['expires_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
81
|
+
_ACCOUNTRESOURCE.fields_by_name['role_id']._options = None
|
82
|
+
_ACCOUNTRESOURCE.fields_by_name['role_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
83
|
+
_ACCOUNTRESOURCE.fields_by_name['account_grant_id']._options = None
|
84
|
+
_ACCOUNTRESOURCE.fields_by_name['account_grant_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
85
|
+
_ACCOUNTRESOURCE._options = None
|
86
|
+
_ACCOUNTRESOURCE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
87
|
+
_ACCOUNTRESOURCES._options = None
|
88
|
+
_ACCOUNTRESOURCES._serialized_options = b'\312\371\263\007\024\302\371\263\007\017AccountResource'
|
89
|
+
_ACCOUNTRESOURCES.methods_by_name['List']._options = None
|
90
|
+
_ACCOUNTRESOURCES.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\032\252\363\263\007\025/v1/account-resources'
|
91
|
+
_ACCOUNTRESOURCELISTREQUEST._serialized_start=91
|
92
|
+
_ACCOUNTRESOURCELISTREQUEST._serialized_end=186
|
93
|
+
_ACCOUNTRESOURCELISTRESPONSE._serialized_start=189
|
94
|
+
_ACCOUNTRESOURCELISTRESPONSE._serialized_end=407
|
95
|
+
_ACCOUNTRESOURCE._serialized_start=410
|
96
|
+
_ACCOUNTRESOURCE._serialized_end=691
|
97
|
+
_ACCOUNTRESOURCES._serialized_start=694
|
98
|
+
_ACCOUNTRESOURCES._serialized_end=858
|
99
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,87 @@
|
|
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 account_resources_pb2 as account__resources__pb2
|
20
|
+
|
21
|
+
|
22
|
+
class AccountResourcesStub(object):
|
23
|
+
"""AccountResources enumerates the resources to which accounts have access.
|
24
|
+
The AccountResources service is read-only.
|
25
|
+
"""
|
26
|
+
|
27
|
+
def __init__(self, channel):
|
28
|
+
"""Constructor.
|
29
|
+
|
30
|
+
Args:
|
31
|
+
channel: A grpc.Channel.
|
32
|
+
"""
|
33
|
+
self.List = channel.unary_unary(
|
34
|
+
'/v1.AccountResources/List',
|
35
|
+
request_serializer=account__resources__pb2.AccountResourceListRequest.SerializeToString,
|
36
|
+
response_deserializer=account__resources__pb2.AccountResourceListResponse.FromString,
|
37
|
+
)
|
38
|
+
|
39
|
+
|
40
|
+
class AccountResourcesServicer(object):
|
41
|
+
"""AccountResources enumerates the resources to which accounts have access.
|
42
|
+
The AccountResources service is read-only.
|
43
|
+
"""
|
44
|
+
|
45
|
+
def List(self, request, context):
|
46
|
+
"""List gets a list of AccountResource records matching a given set of criteria.
|
47
|
+
"""
|
48
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
49
|
+
context.set_details('Method not implemented!')
|
50
|
+
raise NotImplementedError('Method not implemented!')
|
51
|
+
|
52
|
+
|
53
|
+
def add_AccountResourcesServicer_to_server(servicer, server):
|
54
|
+
rpc_method_handlers = {
|
55
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
56
|
+
servicer.List,
|
57
|
+
request_deserializer=account__resources__pb2.AccountResourceListRequest.FromString,
|
58
|
+
response_serializer=account__resources__pb2.AccountResourceListResponse.SerializeToString,
|
59
|
+
),
|
60
|
+
}
|
61
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
62
|
+
'v1.AccountResources', rpc_method_handlers)
|
63
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
64
|
+
|
65
|
+
|
66
|
+
# This class is part of an EXPERIMENTAL API.
|
67
|
+
class AccountResources(object):
|
68
|
+
"""AccountResources enumerates the resources to which accounts have access.
|
69
|
+
The AccountResources service is read-only.
|
70
|
+
"""
|
71
|
+
|
72
|
+
@staticmethod
|
73
|
+
def List(request,
|
74
|
+
target,
|
75
|
+
options=(),
|
76
|
+
channel_credentials=None,
|
77
|
+
call_credentials=None,
|
78
|
+
insecure=False,
|
79
|
+
compression=None,
|
80
|
+
wait_for_ready=None,
|
81
|
+
timeout=None,
|
82
|
+
metadata=None):
|
83
|
+
return grpc.experimental.unary_unary(request, target, '/v1.AccountResources/List',
|
84
|
+
account__resources__pb2.AccountResourceListRequest.SerializeToString,
|
85
|
+
account__resources__pb2.AccountResourceListResponse.FromString,
|
86
|
+
options, channel_credentials,
|
87
|
+
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: accounts_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 accounts_pb2 as accounts__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\x16\x61\x63\x63ounts_history.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x0e\x61\x63\x63ounts.proto\x1a\roptions.proto\x1a\nspec.proto\"^\n\x19\x41\x63\x63ountHistoryListRequest\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\"\xce\x01\n\x1a\x41\x63\x63ountHistoryListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12/\n\x07history\x18\x02 \x03(\x0b\x32\x12.v1.AccountHistoryB\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\"\xde\x01\n\x0e\x41\x63\x63ountHistory\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(\n\x07\x61\x63\x63ount\x18\x03 \x01(\x0b\x32\x0b.v1.AccountB\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\xa9\x01\n\x0f\x41\x63\x63ountsHistory\x12r\n\x04List\x12\x1d.v1.AccountHistoryListRequest\x1a\x1e.v1.AccountHistoryListResponse\"+\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x19\xaa\xf3\xb3\x07\x14/v1/accounts-history\x1a\"\xca\xf9\xb3\x07\x13\xc2\xf9\xb3\x07\x0e\x41\x63\x63ountHistory\xca\xf9\xb3\x07\x05\xd8\xf9\xb3\x07\x01\x42k\n\x19\x63om.strongdm.api.plumbingB\x17\x41\x63\x63ountsHistoryPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
_ACCOUNTHISTORYLISTREQUEST = DESCRIPTOR.message_types_by_name['AccountHistoryListRequest']
|
40
|
+
_ACCOUNTHISTORYLISTRESPONSE = DESCRIPTOR.message_types_by_name['AccountHistoryListResponse']
|
41
|
+
_ACCOUNTHISTORY = DESCRIPTOR.message_types_by_name['AccountHistory']
|
42
|
+
AccountHistoryListRequest = _reflection.GeneratedProtocolMessageType('AccountHistoryListRequest', (_message.Message,), {
|
43
|
+
'DESCRIPTOR' : _ACCOUNTHISTORYLISTREQUEST,
|
44
|
+
'__module__' : 'accounts_history_pb2'
|
45
|
+
# @@protoc_insertion_point(class_scope:v1.AccountHistoryListRequest)
|
46
|
+
})
|
47
|
+
_sym_db.RegisterMessage(AccountHistoryListRequest)
|
48
|
+
|
49
|
+
AccountHistoryListResponse = _reflection.GeneratedProtocolMessageType('AccountHistoryListResponse', (_message.Message,), {
|
50
|
+
'DESCRIPTOR' : _ACCOUNTHISTORYLISTRESPONSE,
|
51
|
+
'__module__' : 'accounts_history_pb2'
|
52
|
+
# @@protoc_insertion_point(class_scope:v1.AccountHistoryListResponse)
|
53
|
+
})
|
54
|
+
_sym_db.RegisterMessage(AccountHistoryListResponse)
|
55
|
+
|
56
|
+
AccountHistory = _reflection.GeneratedProtocolMessageType('AccountHistory', (_message.Message,), {
|
57
|
+
'DESCRIPTOR' : _ACCOUNTHISTORY,
|
58
|
+
'__module__' : 'accounts_history_pb2'
|
59
|
+
# @@protoc_insertion_point(class_scope:v1.AccountHistory)
|
60
|
+
})
|
61
|
+
_sym_db.RegisterMessage(AccountHistory)
|
62
|
+
|
63
|
+
_ACCOUNTSHISTORY = DESCRIPTOR.services_by_name['AccountsHistory']
|
64
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
65
|
+
|
66
|
+
DESCRIPTOR._options = None
|
67
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\027AccountsHistoryPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
|
68
|
+
_ACCOUNTHISTORYLISTREQUEST.fields_by_name['filter']._options = None
|
69
|
+
_ACCOUNTHISTORYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
70
|
+
_ACCOUNTHISTORYLISTRESPONSE.fields_by_name['history']._options = None
|
71
|
+
_ACCOUNTHISTORYLISTRESPONSE.fields_by_name['history']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
72
|
+
_ACCOUNTHISTORYLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
73
|
+
_ACCOUNTHISTORYLISTRESPONSE.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
|
+
_ACCOUNTHISTORY.fields_by_name['activity_id']._options = None
|
75
|
+
_ACCOUNTHISTORY.fields_by_name['activity_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
76
|
+
_ACCOUNTHISTORY.fields_by_name['timestamp']._options = None
|
77
|
+
_ACCOUNTHISTORY.fields_by_name['timestamp']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
78
|
+
_ACCOUNTHISTORY.fields_by_name['account']._options = None
|
79
|
+
_ACCOUNTHISTORY.fields_by_name['account']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
80
|
+
_ACCOUNTHISTORY.fields_by_name['deleted_at']._options = None
|
81
|
+
_ACCOUNTHISTORY.fields_by_name['deleted_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
82
|
+
_ACCOUNTHISTORY._options = None
|
83
|
+
_ACCOUNTHISTORY._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
84
|
+
_ACCOUNTSHISTORY._options = None
|
85
|
+
_ACCOUNTSHISTORY._serialized_options = b'\312\371\263\007\023\302\371\263\007\016AccountHistory\312\371\263\007\005\330\371\263\007\001'
|
86
|
+
_ACCOUNTSHISTORY.methods_by_name['List']._options = None
|
87
|
+
_ACCOUNTSHISTORY.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\031\252\363\263\007\024/v1/accounts-history'
|
88
|
+
_ACCOUNTHISTORYLISTREQUEST._serialized_start=106
|
89
|
+
_ACCOUNTHISTORYLISTREQUEST._serialized_end=200
|
90
|
+
_ACCOUNTHISTORYLISTRESPONSE._serialized_start=203
|
91
|
+
_ACCOUNTHISTORYLISTRESPONSE._serialized_end=409
|
92
|
+
_ACCOUNTHISTORY._serialized_start=412
|
93
|
+
_ACCOUNTHISTORY._serialized_end=634
|
94
|
+
_ACCOUNTSHISTORY._serialized_start=637
|
95
|
+
_ACCOUNTSHISTORY._serialized_end=806
|
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 accounts_history_pb2 as accounts__history__pb2
|
20
|
+
|
21
|
+
|
22
|
+
class AccountsHistoryStub(object):
|
23
|
+
"""AccountsHistory records all changes to the state of an Account.
|
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.AccountsHistory/List',
|
34
|
+
request_serializer=accounts__history__pb2.AccountHistoryListRequest.SerializeToString,
|
35
|
+
response_deserializer=accounts__history__pb2.AccountHistoryListResponse.FromString,
|
36
|
+
)
|
37
|
+
|
38
|
+
|
39
|
+
class AccountsHistoryServicer(object):
|
40
|
+
"""AccountsHistory records all changes to the state of an Account.
|
41
|
+
"""
|
42
|
+
|
43
|
+
def List(self, request, context):
|
44
|
+
"""List gets a list of AccountHistory 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_AccountsHistoryServicer_to_server(servicer, server):
|
52
|
+
rpc_method_handlers = {
|
53
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
54
|
+
servicer.List,
|
55
|
+
request_deserializer=accounts__history__pb2.AccountHistoryListRequest.FromString,
|
56
|
+
response_serializer=accounts__history__pb2.AccountHistoryListResponse.SerializeToString,
|
57
|
+
),
|
58
|
+
}
|
59
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
60
|
+
'v1.AccountsHistory', rpc_method_handlers)
|
61
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
62
|
+
|
63
|
+
|
64
|
+
# This class is part of an EXPERIMENTAL API.
|
65
|
+
class AccountsHistory(object):
|
66
|
+
"""AccountsHistory records all changes to the state of an Account.
|
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.AccountsHistory/List',
|
81
|
+
accounts__history__pb2.AccountHistoryListRequest.SerializeToString,
|
82
|
+
accounts__history__pb2.AccountHistoryListResponse.FromString,
|
83
|
+
options, channel_credentials,
|
84
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
@@ -0,0 +1,177 @@
|
|
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: activities.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 options_pb2 as options__pb2
|
31
|
+
from . import spec_pb2 as spec__pb2
|
32
|
+
|
33
|
+
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10\x61\x63tivities.proto\x12\x02v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\roptions.proto\x1a\nspec.proto\"R\n\x12\x41\x63tivityGetRequest\x12$\n\x04meta\x18\x01 \x01(\x0b\x32\x16.v1.GetRequestMetadata\x12\x16\n\x02id\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\"\xd9\x01\n\x13\x41\x63tivityGetResponse\x12\x31\n\x04meta\x18\x01 \x01(\x0b\x32\x17.v1.GetResponseMetadataB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12*\n\x08\x61\x63tivity\x18\x02 \x01(\x0b\x32\x0c.v1.ActivityB\n\xf2\xf8\xb3\x07\x05\xb0\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:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"X\n\x13\x41\x63tivityListRequest\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\"\xc5\x01\n\x14\x41\x63tivityListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12,\n\nactivities\x18\x02 \x03(\x0b\x32\x0c.v1.ActivityB\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\"\xee\x02\n\x08\x41\x63tivity\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x18\n\x04verb\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12<\n\x0c\x63ompleted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x30\n\x08\x65ntities\x18\x05 \x03(\x0b\x32\x12.v1.ActivityEntityB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x37\n\nip_address\x18\x06 \x01(\tB#\xf2\xf8\xb3\x07\x1e\xb0\xf3\xb3\x07\x01\xca\xf3\xb3\x07\x14\xc2\xf4\xb3\x07\x0f\n\x02go\x12\tIPAddress\x12,\n\x05\x61\x63tor\x18\x07 \x01(\x0b\x32\x11.v1.ActivityActorB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:8\xfa\xf8\xb3\x07\x33\xa8\xf3\xb3\x07\x01\xc2\xf3\xb3\x07)\xaa\xf3\xb3\x07$tf_examples/activity_data_source.txt\"\xa4\x01\n\x0e\x41\x63tivityEntity\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x18\n\x04type\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x18\n\x04name\x18\x03 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x19\n\x05\x65mail\x18\x04 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1f\n\x0b\x65xternal_id\x18\x05 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\"\xb7\x01\n\rActivityActor\x12\x16\n\x02id\x18\x01 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x19\n\x05\x65mail\x18\x02 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1e\n\nfirst_name\x18\x03 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x1d\n\tlast_name\x18\x04 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12(\n\x14\x61\x63tivity_external_id\x18\x05 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:\n\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\x32\xfd\x01\n\nActivities\x12\x62\n\x03Get\x12\x16.v1.ActivityGetRequest\x1a\x17.v1.ActivityGetResponse\"*\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x18\xaa\xf3\xb3\x07\x13/v1/activities/{id}\x12`\n\x04List\x12\x17.v1.ActivityListRequest\x1a\x18.v1.ActivityListResponse\"%\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x13\xaa\xf3\xb3\x07\x0e/v1/activities\x1a)\xca\xf9\xb3\x07\r\xc2\xf9\xb3\x07\x08\x41\x63tivity\xca\xf9\xb3\x07\x08\xd2\xf9\xb3\x07\x03\x61t-\xca\xf9\xb3\x07\x05\xd8\xf9\xb3\x07\x01\x42\x66\n\x19\x63om.strongdm.api.plumbingB\x12\x41\x63tivitiesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1b\x06proto3')
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
_ACTIVITYGETREQUEST = DESCRIPTOR.message_types_by_name['ActivityGetRequest']
|
39
|
+
_ACTIVITYGETRESPONSE = DESCRIPTOR.message_types_by_name['ActivityGetResponse']
|
40
|
+
_ACTIVITYLISTREQUEST = DESCRIPTOR.message_types_by_name['ActivityListRequest']
|
41
|
+
_ACTIVITYLISTRESPONSE = DESCRIPTOR.message_types_by_name['ActivityListResponse']
|
42
|
+
_ACTIVITY = DESCRIPTOR.message_types_by_name['Activity']
|
43
|
+
_ACTIVITYENTITY = DESCRIPTOR.message_types_by_name['ActivityEntity']
|
44
|
+
_ACTIVITYACTOR = DESCRIPTOR.message_types_by_name['ActivityActor']
|
45
|
+
ActivityGetRequest = _reflection.GeneratedProtocolMessageType('ActivityGetRequest', (_message.Message,), {
|
46
|
+
'DESCRIPTOR' : _ACTIVITYGETREQUEST,
|
47
|
+
'__module__' : 'activities_pb2'
|
48
|
+
# @@protoc_insertion_point(class_scope:v1.ActivityGetRequest)
|
49
|
+
})
|
50
|
+
_sym_db.RegisterMessage(ActivityGetRequest)
|
51
|
+
|
52
|
+
ActivityGetResponse = _reflection.GeneratedProtocolMessageType('ActivityGetResponse', (_message.Message,), {
|
53
|
+
'DESCRIPTOR' : _ACTIVITYGETRESPONSE,
|
54
|
+
'__module__' : 'activities_pb2'
|
55
|
+
# @@protoc_insertion_point(class_scope:v1.ActivityGetResponse)
|
56
|
+
})
|
57
|
+
_sym_db.RegisterMessage(ActivityGetResponse)
|
58
|
+
|
59
|
+
ActivityListRequest = _reflection.GeneratedProtocolMessageType('ActivityListRequest', (_message.Message,), {
|
60
|
+
'DESCRIPTOR' : _ACTIVITYLISTREQUEST,
|
61
|
+
'__module__' : 'activities_pb2'
|
62
|
+
# @@protoc_insertion_point(class_scope:v1.ActivityListRequest)
|
63
|
+
})
|
64
|
+
_sym_db.RegisterMessage(ActivityListRequest)
|
65
|
+
|
66
|
+
ActivityListResponse = _reflection.GeneratedProtocolMessageType('ActivityListResponse', (_message.Message,), {
|
67
|
+
'DESCRIPTOR' : _ACTIVITYLISTRESPONSE,
|
68
|
+
'__module__' : 'activities_pb2'
|
69
|
+
# @@protoc_insertion_point(class_scope:v1.ActivityListResponse)
|
70
|
+
})
|
71
|
+
_sym_db.RegisterMessage(ActivityListResponse)
|
72
|
+
|
73
|
+
Activity = _reflection.GeneratedProtocolMessageType('Activity', (_message.Message,), {
|
74
|
+
'DESCRIPTOR' : _ACTIVITY,
|
75
|
+
'__module__' : 'activities_pb2'
|
76
|
+
# @@protoc_insertion_point(class_scope:v1.Activity)
|
77
|
+
})
|
78
|
+
_sym_db.RegisterMessage(Activity)
|
79
|
+
|
80
|
+
ActivityEntity = _reflection.GeneratedProtocolMessageType('ActivityEntity', (_message.Message,), {
|
81
|
+
'DESCRIPTOR' : _ACTIVITYENTITY,
|
82
|
+
'__module__' : 'activities_pb2'
|
83
|
+
# @@protoc_insertion_point(class_scope:v1.ActivityEntity)
|
84
|
+
})
|
85
|
+
_sym_db.RegisterMessage(ActivityEntity)
|
86
|
+
|
87
|
+
ActivityActor = _reflection.GeneratedProtocolMessageType('ActivityActor', (_message.Message,), {
|
88
|
+
'DESCRIPTOR' : _ACTIVITYACTOR,
|
89
|
+
'__module__' : 'activities_pb2'
|
90
|
+
# @@protoc_insertion_point(class_scope:v1.ActivityActor)
|
91
|
+
})
|
92
|
+
_sym_db.RegisterMessage(ActivityActor)
|
93
|
+
|
94
|
+
_ACTIVITIES = DESCRIPTOR.services_by_name['Activities']
|
95
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
96
|
+
|
97
|
+
DESCRIPTOR._options = None
|
98
|
+
DESCRIPTOR._serialized_options = b'\n\031com.strongdm.api.plumbingB\022ActivitiesPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1'
|
99
|
+
_ACTIVITYGETREQUEST.fields_by_name['id']._options = None
|
100
|
+
_ACTIVITYGETREQUEST.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
101
|
+
_ACTIVITYGETRESPONSE.fields_by_name['meta']._options = None
|
102
|
+
_ACTIVITYGETRESPONSE.fields_by_name['meta']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
103
|
+
_ACTIVITYGETRESPONSE.fields_by_name['activity']._options = None
|
104
|
+
_ACTIVITYGETRESPONSE.fields_by_name['activity']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
105
|
+
_ACTIVITYGETRESPONSE.fields_by_name['rate_limit']._options = None
|
106
|
+
_ACTIVITYGETRESPONSE.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'
|
107
|
+
_ACTIVITYGETRESPONSE._options = None
|
108
|
+
_ACTIVITYGETRESPONSE._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
109
|
+
_ACTIVITYLISTREQUEST.fields_by_name['filter']._options = None
|
110
|
+
_ACTIVITYLISTREQUEST.fields_by_name['filter']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
111
|
+
_ACTIVITYLISTRESPONSE.fields_by_name['activities']._options = None
|
112
|
+
_ACTIVITYLISTRESPONSE.fields_by_name['activities']._serialized_options = b'\362\370\263\007\005\270\363\263\007\001'
|
113
|
+
_ACTIVITYLISTRESPONSE.fields_by_name['rate_limit']._options = None
|
114
|
+
_ACTIVITYLISTRESPONSE.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'
|
115
|
+
_ACTIVITY.fields_by_name['id']._options = None
|
116
|
+
_ACTIVITY.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
117
|
+
_ACTIVITY.fields_by_name['verb']._options = None
|
118
|
+
_ACTIVITY.fields_by_name['verb']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
119
|
+
_ACTIVITY.fields_by_name['description']._options = None
|
120
|
+
_ACTIVITY.fields_by_name['description']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
121
|
+
_ACTIVITY.fields_by_name['completed_at']._options = None
|
122
|
+
_ACTIVITY.fields_by_name['completed_at']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
123
|
+
_ACTIVITY.fields_by_name['entities']._options = None
|
124
|
+
_ACTIVITY.fields_by_name['entities']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
125
|
+
_ACTIVITY.fields_by_name['ip_address']._options = None
|
126
|
+
_ACTIVITY.fields_by_name['ip_address']._serialized_options = b'\362\370\263\007\036\260\363\263\007\001\312\363\263\007\024\302\364\263\007\017\n\002go\022\tIPAddress'
|
127
|
+
_ACTIVITY.fields_by_name['actor']._options = None
|
128
|
+
_ACTIVITY.fields_by_name['actor']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
129
|
+
_ACTIVITY._options = None
|
130
|
+
_ACTIVITY._serialized_options = b'\372\370\263\0073\250\363\263\007\001\302\363\263\007)\252\363\263\007$tf_examples/activity_data_source.txt'
|
131
|
+
_ACTIVITYENTITY.fields_by_name['id']._options = None
|
132
|
+
_ACTIVITYENTITY.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
133
|
+
_ACTIVITYENTITY.fields_by_name['type']._options = None
|
134
|
+
_ACTIVITYENTITY.fields_by_name['type']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
135
|
+
_ACTIVITYENTITY.fields_by_name['name']._options = None
|
136
|
+
_ACTIVITYENTITY.fields_by_name['name']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
137
|
+
_ACTIVITYENTITY.fields_by_name['email']._options = None
|
138
|
+
_ACTIVITYENTITY.fields_by_name['email']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
139
|
+
_ACTIVITYENTITY.fields_by_name['external_id']._options = None
|
140
|
+
_ACTIVITYENTITY.fields_by_name['external_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
141
|
+
_ACTIVITYENTITY._options = None
|
142
|
+
_ACTIVITYENTITY._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
143
|
+
_ACTIVITYACTOR.fields_by_name['id']._options = None
|
144
|
+
_ACTIVITYACTOR.fields_by_name['id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
145
|
+
_ACTIVITYACTOR.fields_by_name['email']._options = None
|
146
|
+
_ACTIVITYACTOR.fields_by_name['email']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
147
|
+
_ACTIVITYACTOR.fields_by_name['first_name']._options = None
|
148
|
+
_ACTIVITYACTOR.fields_by_name['first_name']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
149
|
+
_ACTIVITYACTOR.fields_by_name['last_name']._options = None
|
150
|
+
_ACTIVITYACTOR.fields_by_name['last_name']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
151
|
+
_ACTIVITYACTOR.fields_by_name['activity_external_id']._options = None
|
152
|
+
_ACTIVITYACTOR.fields_by_name['activity_external_id']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
|
153
|
+
_ACTIVITYACTOR._options = None
|
154
|
+
_ACTIVITYACTOR._serialized_options = b'\372\370\263\007\005\250\363\263\007\001'
|
155
|
+
_ACTIVITIES._options = None
|
156
|
+
_ACTIVITIES._serialized_options = b'\312\371\263\007\r\302\371\263\007\010Activity\312\371\263\007\010\322\371\263\007\003at-\312\371\263\007\005\330\371\263\007\001'
|
157
|
+
_ACTIVITIES.methods_by_name['Get']._options = None
|
158
|
+
_ACTIVITIES.methods_by_name['Get']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\030\252\363\263\007\023/v1/activities/{id}'
|
159
|
+
_ACTIVITIES.methods_by_name['List']._options = None
|
160
|
+
_ACTIVITIES.methods_by_name['List']._serialized_options = b'\202\371\263\007\010\242\363\263\007\003get\202\371\263\007\023\252\363\263\007\016/v1/activities'
|
161
|
+
_ACTIVITYGETREQUEST._serialized_start=84
|
162
|
+
_ACTIVITYGETREQUEST._serialized_end=166
|
163
|
+
_ACTIVITYGETRESPONSE._serialized_start=169
|
164
|
+
_ACTIVITYGETRESPONSE._serialized_end=386
|
165
|
+
_ACTIVITYLISTREQUEST._serialized_start=388
|
166
|
+
_ACTIVITYLISTREQUEST._serialized_end=476
|
167
|
+
_ACTIVITYLISTRESPONSE._serialized_start=479
|
168
|
+
_ACTIVITYLISTRESPONSE._serialized_end=676
|
169
|
+
_ACTIVITY._serialized_start=679
|
170
|
+
_ACTIVITY._serialized_end=1045
|
171
|
+
_ACTIVITYENTITY._serialized_start=1048
|
172
|
+
_ACTIVITYENTITY._serialized_end=1212
|
173
|
+
_ACTIVITYACTOR._serialized_start=1215
|
174
|
+
_ACTIVITYACTOR._serialized_end=1398
|
175
|
+
_ACTIVITIES._serialized_start=1401
|
176
|
+
_ACTIVITIES._serialized_end=1654
|
177
|
+
# @@protoc_insertion_point(module_scope)
|