We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe When trying to create a datasource object from id, the KeyError pops up.
KeyError
Workaround: use DevTree:
devtree = DevTree() ds = list(devtree.search_ds_group(field='ds_id', term='144116290808709120')) if len(ds): ds=ds[0] else: print("Datasource not found")
SIEM and msiempy versions:
Additional context
>>> from msiempy import DataSource >>> d=DataSource(id=str(144116290808709120)) INFO - Logged into ESM url with username NGCP. Last login 09/25/2020 03:12:30 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.8/site-packages/msiempy-0.3.3-py3.8.egg/msiempy/core/types.py", line 101, in __init__ """Call the __prepare__ method of the appropriate metaclass. File "/usr/local/lib/python3.8/site-packages/msiempy-0.3.3-py3.8.egg/msiempy/device.py", line 1134, in data_from_id File "/usr/local/lib/python3.8/site-packages/msiempy-0.3.3-py3.8.egg/msiempy/device.py", line 1198, in _map_parameters KeyError: 'desc_id'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe
When trying to create a datasource object from id, the
KeyError
pops up.Workaround: use DevTree:
SIEM and msiempy versions:
Additional context
The text was updated successfully, but these errors were encountered: