Skip to content

Commit

Permalink
11.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SupportSDM committed Aug 7, 2024
1 parent c8ae03f commit 99321c8
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 15 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.5.0',
version='11.5.1',
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.5.0.tar.gz',
'https://github.com/strongdm/strongdm-sdk-python/archive/v11.5.1.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.5.0
Version: 11.5.1
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.5.0.tar.gz
Download-URL: https://github.com/strongdm/strongdm-sdk-python/archive/v11.5.1.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.5.0'
USER_AGENT = 'strongdm-sdk-python/11.5.1'


class Client:
Expand Down
18 changes: 18 additions & 0 deletions strongdm/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16763,6 +16763,7 @@ class Query:
'account_id',
'account_last_name',
'account_tags',
'authzjson',
'capture',
'client_ip',
'completed_at',
Expand All @@ -16783,6 +16784,7 @@ class Query:
'resource_tags',
'resource_type',
'source_ip',
'target',
'timestamp',
]

Expand All @@ -16793,6 +16795,7 @@ def __init__(
account_id=None,
account_last_name=None,
account_tags=None,
authzjson=None,
capture=None,
client_ip=None,
completed_at=None,
Expand All @@ -16813,6 +16816,7 @@ def __init__(
resource_tags=None,
resource_type=None,
source_ip=None,
target=None,
timestamp=None,
):
self.account_email = account_email if account_email is not None else ''
Expand Down Expand Up @@ -16840,6 +16844,10 @@ def __init__(
The tags of the account accessed, at the time the query was executed. If the account
tags are later changed, that change will not be reflected via this field.
'''
self.authzjson = authzjson if authzjson is not None else ''
'''
Authorization metadata associated with this query.
'''
self.capture = capture if capture is not None else None
'''
For queries against SSH, Kubernetes, and RDP resources, this contains additional information
Expand Down Expand Up @@ -16929,6 +16937,10 @@ def __init__(
'''
The IP address the Query was performed from, as detected at the ingress gateway.
'''
self.target = target if target is not None else ''
'''
The target destination of the query, in host:port format.
'''
self.timestamp = timestamp if timestamp is not None else None
'''
The time at which the Query was started.
Expand All @@ -16941,6 +16953,7 @@ def __repr__(self):
'account_id: ' + repr(self.account_id) + ' ' +\
'account_last_name: ' + repr(self.account_last_name) + ' ' +\
'account_tags: ' + repr(self.account_tags) + ' ' +\
'authzjson: ' + repr(self.authzjson) + ' ' +\
'capture: ' + repr(self.capture) + ' ' +\
'client_ip: ' + repr(self.client_ip) + ' ' +\
'completed_at: ' + repr(self.completed_at) + ' ' +\
Expand All @@ -16961,6 +16974,7 @@ def __repr__(self):
'resource_tags: ' + repr(self.resource_tags) + ' ' +\
'resource_type: ' + repr(self.resource_type) + ' ' +\
'source_ip: ' + repr(self.source_ip) + ' ' +\
'target: ' + repr(self.target) + ' ' +\
'timestamp: ' + repr(self.timestamp) + ' ' +\
'>'

Expand All @@ -16971,6 +16985,7 @@ def to_dict(self):
'account_id': self.account_id,
'account_last_name': self.account_last_name,
'account_tags': self.account_tags,
'authzjson': self.authzjson,
'capture': self.capture,
'client_ip': self.client_ip,
'completed_at': self.completed_at,
Expand All @@ -16991,6 +17006,7 @@ def to_dict(self):
'resource_tags': self.resource_tags,
'resource_type': self.resource_type,
'source_ip': self.source_ip,
'target': self.target,
'timestamp': self.timestamp,
}

Expand All @@ -17002,6 +17018,7 @@ def from_dict(cls, d):
account_id=d.get('account_id'),
account_last_name=d.get('account_last_name'),
account_tags=d.get('account_tags'),
authzjson=d.get('authzjson'),
capture=d.get('capture'),
client_ip=d.get('client_ip'),
completed_at=d.get('completed_at'),
Expand All @@ -17022,6 +17039,7 @@ def from_dict(cls, d):
resource_tags=d.get('resource_tags'),
resource_type=d.get('resource_type'),
source_ip=d.get('source_ip'),
target=d.get('target'),
timestamp=d.get('timestamp'),
)

Expand Down
4 changes: 4 additions & 0 deletions strongdm/plumbing.py
Original file line number Diff line number Diff line change
Expand Up @@ -8107,6 +8107,7 @@ def convert_query_to_porcelain(plumbing):
porcelain.account_id = (plumbing.account_id)
porcelain.account_last_name = (plumbing.account_last_name)
porcelain.account_tags = convert_tags_to_porcelain(plumbing.account_tags)
porcelain.authzjson = (plumbing.authzJson)
porcelain.capture = convert_query_capture_to_porcelain(plumbing.capture)
porcelain.client_ip = (plumbing.client_ip)
porcelain.completed_at = convert_timestamp_to_porcelain(
Expand All @@ -8128,6 +8129,7 @@ def convert_query_to_porcelain(plumbing):
porcelain.resource_tags = convert_tags_to_porcelain(plumbing.resource_tags)
porcelain.resource_type = (plumbing.resource_type)
porcelain.source_ip = (plumbing.source_ip)
porcelain.target = (plumbing.target)
porcelain.timestamp = convert_timestamp_to_porcelain(plumbing.timestamp)
return porcelain

Expand All @@ -8142,6 +8144,7 @@ def convert_query_to_plumbing(porcelain):
plumbing.account_last_name = (porcelain.account_last_name)
plumbing.account_tags.CopyFrom(
convert_tags_to_plumbing(porcelain.account_tags))
plumbing.authzJson = (porcelain.authzjson)
plumbing.capture.CopyFrom(
convert_query_capture_to_plumbing(porcelain.capture))
plumbing.client_ip = (porcelain.client_ip)
Expand All @@ -8166,6 +8169,7 @@ def convert_query_to_plumbing(porcelain):
convert_tags_to_plumbing(porcelain.resource_tags))
plumbing.resource_type = (porcelain.resource_type)
plumbing.source_ip = (porcelain.source_ip)
plumbing.target = (porcelain.target)
plumbing.timestamp.CopyFrom(
convert_timestamp_to_plumbing(porcelain.timestamp))
return plumbing
Expand Down
Loading

0 comments on commit 99321c8

Please sign in to comment.