laceworksdk.api.v2.contract_info

Lacework ContractInfo API wrapper.

Module Contents

Classes

ContractInfoAPI

A class used to represent the Contract Info API endpoint

class laceworksdk.api.v2.contract_info.ContractInfoAPI(session)[source]

Bases: laceworksdk.api.base_endpoint.BaseEndpoint

A class used to represent the Contract Info API endpoint

Get Lacework contract information.

property session

Get the HttpSession instance the object is using.

get(**request_params)[source]

A method to get contract info

Returns:

Contract info for the lacework instance. request_params (dict, optional): Use to pass any additional parameters the API

Return type:

dict