laceworksdk.api.read_endpoint
The base read class for the Lacework Python SDK
Module Contents
Classes
A class used to implement Read functionality for Lacework API Endpoints. |
- class laceworksdk.api.read_endpoint.ReadEndpoint(session, object_type, endpoint_root='/api/v2')[source]
Bases:
laceworksdk.api.base_endpoint.BaseEndpoint
A class used to implement Read functionality for Lacework API Endpoints.
- property session
Get the
HttpSession
instance the object is using.
- get(id=None, resource=None, **request_params)[source]
A method to get objects.
- Parameters:
id (str) – A string representing the object ID.
resource (str) – The Lacework API resource type to get.
request_params (dict) – Use to pass any additional parameters the API
- Returns:
the requested o
- Return type:
dict