Skip to content

Commit

Permalink
11.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SupportSDM committed Jan 7, 2025
1 parent 2259b4a commit dad383c
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 51 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
setup(
name='strongdm',
packages=['strongdm'],
version='11.20.0',
version='11.22.0',
license='apache-2.0',
description='strongDM SDK for the Python programming language.',
long_description=long_description,
Expand All @@ -32,7 +32,7 @@
author_email='[email protected]',
url='https://github.com/strongdm/strongdm-sdk-python',
download_url=
'https://github.com/strongdm/strongdm-sdk-python/archive/v11.20.0.tar.gz',
'https://github.com/strongdm/strongdm-sdk-python/archive/v11.22.0.tar.gz',
keywords=[
'strongDM', 'sdm', 'api', 'automation', 'security', 'audit',
'database', 'server', 'ssh', 'rdp'
Expand Down
4 changes: 2 additions & 2 deletions strongdm.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Metadata-Version: 2.1
Name: strongdm
Version: 11.20.0
Version: 11.22.0
Summary: strongDM SDK for the Python programming language.
Home-page: https://github.com/strongdm/strongdm-sdk-python
Author: strongDM Team
Author-email: [email protected]
License: apache-2.0
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v11.20.0.tar.gz
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v11.22.0.tar.gz
Keywords: strongDM,sdm,api,automation,security,audit,database,server,ssh,rdp
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Expand Down
2 changes: 1 addition & 1 deletion strongdm/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
API_VERSION = '2024-03-28'
USER_AGENT = 'strongdm-sdk-python/11.20.0'
USER_AGENT = 'strongdm-sdk-python/11.22.0'


class Client:
Expand Down
2 changes: 2 additions & 0 deletions strongdm/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ class ActivityVerb:
WORKFLOW_NAME_UPDATED = "workflow name updated"
WORKFLOW_DESCRIPTION_UPDATED = "workflow description updated"
WORKFLOW_REQUIRES_REASON_UPDATED = "workflow requires reason updated"
WORKFLOW_SETTINGS_UPDATED = "workflow settings updated"
WORKFLOW_ACCESS_RULES_UPDATED = "workflow access rules updated"
WORKFLOW_ACCESS_RULES_DELETED = "workflow access rules deleted"
WORKFLOW_ACCESS_RULES_CREATED = "workflow access rules created"
Expand Down Expand Up @@ -324,6 +325,7 @@ class ActivityVerb:
MANAGED_SECRET_CREATED = "managed secret created"
MANAGED_SECRET_UPDATED = "managed secret updated"
MANAGED_SECRET_EXPIRATION_TIME_UPDATED = "managed secret expiration time updated"
MANAGED_SECRET_CONFIG_UPDATED = "managed secret config updated"
MANAGED_SECRET_DELETED = "managed secret deleted"


Expand Down
82 changes: 42 additions & 40 deletions strongdm/drivers_pb2.py

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions strongdm/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -19245,6 +19245,7 @@ class RDPCert:
'id',
'identity_alias_healthcheck_username',
'identity_set_id',
'lock_required',
'name',
'port',
'port_override',
Expand All @@ -19264,6 +19265,7 @@ def __init__(
id=None,
identity_alias_healthcheck_username=None,
identity_set_id=None,
lock_required=None,
name=None,
port=None,
port_override=None,
Expand Down Expand Up @@ -19301,6 +19303,10 @@ def __init__(
'''
The ID of the identity set to use for identity connections.
'''
self.lock_required = lock_required if lock_required is not None else False
'''
When set, require a resource lock to access the resource to ensure it can only be used by one user at a time.
'''
self.name = name if name is not None else ''
'''
Unique human-readable name of the Resource.
Expand Down Expand Up @@ -19343,6 +19349,7 @@ def __repr__(self):
'id: ' + repr(self.id) + ' ' +\
'identity_alias_healthcheck_username: ' + repr(self.identity_alias_healthcheck_username) + ' ' +\
'identity_set_id: ' + repr(self.identity_set_id) + ' ' +\
'lock_required: ' + repr(self.lock_required) + ' ' +\
'name: ' + repr(self.name) + ' ' +\
'port: ' + repr(self.port) + ' ' +\
'port_override: ' + repr(self.port_override) + ' ' +\
Expand All @@ -19363,6 +19370,7 @@ def to_dict(self):
'identity_alias_healthcheck_username':
self.identity_alias_healthcheck_username,
'identity_set_id': self.identity_set_id,
'lock_required': self.lock_required,
'name': self.name,
'port': self.port,
'port_override': self.port_override,
Expand All @@ -19384,6 +19392,7 @@ def from_dict(cls, d):
identity_alias_healthcheck_username=d.get(
'identity_alias_healthcheck_username'),
identity_set_id=d.get('identity_set_id'),
lock_required=d.get('lock_required'),
name=d.get('name'),
port=d.get('port'),
port_override=d.get('port_override'),
Expand Down Expand Up @@ -20857,12 +20866,14 @@ class ReplayChunk:
__slots__ = [
'data',
'events',
'symmetric_key',
]

def __init__(
self,
data=None,
events=None,
symmetric_key=None,
):
self.data = data if data is not None else b''
'''
Expand All @@ -20873,24 +20884,31 @@ def __init__(
The list of events of the ReplayChunk. If the Query is encrypted, this field is always empty
and the events can be obtained by decrypting the data using the QueryKey returned with the Query.
'''
self.symmetric_key = symmetric_key if symmetric_key is not None else ''
'''
If the data is encrypted, this contains the encrypted symmetric key
'''

def __repr__(self):
return '<sdm.ReplayChunk ' + \
'data: ' + repr(self.data) + ' ' +\
'events: ' + repr(self.events) + ' ' +\
'symmetric_key: ' + repr(self.symmetric_key) + ' ' +\
'>'

def to_dict(self):
return {
'data': self.data,
'events': self.events,
'symmetric_key': self.symmetric_key,
}

@classmethod
def from_dict(cls, d):
return cls(
data=d.get('data'),
events=d.get('events'),
symmetric_key=d.get('symmetric_key'),
)


Expand Down
4 changes: 4 additions & 0 deletions strongdm/plumbing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9040,6 +9040,7 @@ def convert_rdp_cert_to_porcelain(plumbing):
porcelain.identity_alias_healthcheck_username = (
plumbing.identity_alias_healthcheck_username)
porcelain.identity_set_id = (plumbing.identity_set_id)
porcelain.lock_required = (plumbing.lock_required)
porcelain.name = (plumbing.name)
porcelain.port = (plumbing.port)
porcelain.port_override = (plumbing.port_override)
Expand All @@ -9063,6 +9064,7 @@ def convert_rdp_cert_to_plumbing(porcelain):
plumbing.identity_alias_healthcheck_username = (
porcelain.identity_alias_healthcheck_username)
plumbing.identity_set_id = (porcelain.identity_set_id)
plumbing.lock_required = (porcelain.lock_required)
plumbing.name = (porcelain.name)
plumbing.port = (porcelain.port)
plumbing.port_override = (porcelain.port_override)
Expand Down Expand Up @@ -9792,6 +9794,7 @@ def convert_replay_chunk_to_porcelain(plumbing):
porcelain.data = (plumbing.data)
porcelain.events = convert_repeated_replay_chunk_event_to_porcelain(
plumbing.events)
porcelain.symmetric_key = (plumbing.symmetric_key)
return porcelain


Expand All @@ -9803,6 +9806,7 @@ def convert_replay_chunk_to_plumbing(porcelain):
del plumbing.events[:]
plumbing.events.extend(
convert_repeated_replay_chunk_event_to_plumbing(porcelain.events))
plumbing.symmetric_key = (porcelain.symmetric_key)
return plumbing


Expand Down
14 changes: 8 additions & 6 deletions strongdm/replays_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from . import spec_pb2 as spec__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rreplays.proto\x12\x02v1\x1a\x1egoogle/protobuf/duration.proto\x1a\roptions.proto\x1a\nspec.proto\"\x80\x01\n\x11ReplayListRequest\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:(\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\xec\x01\n\x12ReplayListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12+\n\x06\x63hunks\x18\x02 \x03(\x0b\x32\x0f.v1.ReplayChunkB\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:(\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\x8d\x01\n\x0bReplayChunk\x12\x18\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x30\n\x06\x65vents\x18\x02 \x03(\x0b\x32\x14.v1.ReplayChunkEventB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:2\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\x99\x01\n\x10ReplayChunkEvent\x12\x18\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x37\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:2\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider2\xad\x01\n\x07Replays\x12Y\n\x04List\x12\x15.v1.ReplayListRequest\x1a\x16.v1.ReplayListResponse\"\"\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x10\xaa\xf3\xb3\x07\x0b/v1/replays\x1aG\xca\xf9\xb3\x07\x10\xc2\xf9\xb3\x07\x0bReplayChunk\xca\xf9\xb3\x07\x05\xd8\xf9\xb3\x07\x01\xca\xf9\xb3\x07\x06\xca\xf9\xb3\x07\x01*\xca\xf9\xb3\x07\x18\xca\xf9\xb3\x07\x13!terraform-providerB\x8b\x01\n\x19\x63om.strongdm.api.plumbingB\x0fReplaysPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1\xc2\x92\xb4\x07\x06\xa2\x8c\xb4\x07\x01*\xc2\x92\xb4\x07\x18\xa2\x8c\xb4\x07\x13!terraform-providerb\x06proto3')
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rreplays.proto\x12\x02v1\x1a\x1egoogle/protobuf/duration.proto\x1a\roptions.proto\x1a\nspec.proto\"\x80\x01\n\x11ReplayListRequest\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:(\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\xec\x01\n\x12ReplayListResponse\x12&\n\x04meta\x18\x01 \x01(\x0b\x32\x18.v1.ListResponseMetadata\x12+\n\x06\x63hunks\x18\x02 \x03(\x0b\x32\x0f.v1.ReplayChunkB\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:(\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\xb0\x01\n\x0bReplayChunk\x12\x18\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x30\n\x06\x65vents\x18\x02 \x03(\x0b\x32\x14.v1.ReplayChunkEventB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12!\n\rsymmetric_key\x18\x03 \x01(\tB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:2\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider\"\x99\x01\n\x10ReplayChunkEvent\x12\x18\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x42\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01\x12\x37\n\x08\x64uration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\n\xf2\xf8\xb3\x07\x05\xb0\xf3\xb3\x07\x01:2\xfa\xf8\xb3\x07\x05\xa8\xf3\xb3\x07\x01\xfa\xf8\xb3\x07\x06\xd2\xf3\xb3\x07\x01*\xfa\xf8\xb3\x07\x18\xd2\xf3\xb3\x07\x13!terraform-provider2\xad\x01\n\x07Replays\x12Y\n\x04List\x12\x15.v1.ReplayListRequest\x1a\x16.v1.ReplayListResponse\"\"\x82\xf9\xb3\x07\x08\xa2\xf3\xb3\x07\x03get\x82\xf9\xb3\x07\x10\xaa\xf3\xb3\x07\x0b/v1/replays\x1aG\xca\xf9\xb3\x07\x10\xc2\xf9\xb3\x07\x0bReplayChunk\xca\xf9\xb3\x07\x05\xd8\xf9\xb3\x07\x01\xca\xf9\xb3\x07\x06\xca\xf9\xb3\x07\x01*\xca\xf9\xb3\x07\x18\xca\xf9\xb3\x07\x13!terraform-providerB\x8b\x01\n\x19\x63om.strongdm.api.plumbingB\x0fReplaysPlumbingZ5github.com/strongdm/strongdm-sdk-go/v3/internal/v1;v1\xc2\x92\xb4\x07\x06\xa2\x8c\xb4\x07\x01*\xc2\x92\xb4\x07\x18\xa2\x8c\xb4\x07\x13!terraform-providerb\x06proto3')



Expand Down Expand Up @@ -86,6 +86,8 @@
_REPLAYCHUNK.fields_by_name['data']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
_REPLAYCHUNK.fields_by_name['events']._options = None
_REPLAYCHUNK.fields_by_name['events']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
_REPLAYCHUNK.fields_by_name['symmetric_key']._options = None
_REPLAYCHUNK.fields_by_name['symmetric_key']._serialized_options = b'\362\370\263\007\005\260\363\263\007\001'
_REPLAYCHUNK._options = None
_REPLAYCHUNK._serialized_options = b'\372\370\263\007\005\250\363\263\007\001\372\370\263\007\006\322\363\263\007\001*\372\370\263\007\030\322\363\263\007\023!terraform-provider'
_REPLAYCHUNKEVENT.fields_by_name['data']._options = None
Expand All @@ -103,9 +105,9 @@
_REPLAYLISTRESPONSE._serialized_start=212
_REPLAYLISTRESPONSE._serialized_end=448
_REPLAYCHUNK._serialized_start=451
_REPLAYCHUNK._serialized_end=592
_REPLAYCHUNKEVENT._serialized_start=595
_REPLAYCHUNKEVENT._serialized_end=748
_REPLAYS._serialized_start=751
_REPLAYS._serialized_end=924
_REPLAYCHUNK._serialized_end=627
_REPLAYCHUNKEVENT._serialized_start=630
_REPLAYCHUNKEVENT._serialized_end=783
_REPLAYS._serialized_start=786
_REPLAYS._serialized_end=959
# @@protoc_insertion_point(module_scope)

0 comments on commit dad383c

Please sign in to comment.