laceworksdk.api.v2.inventory
Lacework Inventory API wrapper.
1# -*- coding: utf-8 -*- 2""" 3Lacework Inventory API wrapper. 4""" 5 6from laceworksdk.api.search_endpoint import SearchEndpoint 7 8 9class InventoryAPI(SearchEndpoint): 10 11 def __init__(self, session): 12 """ 13 Initializes the Inventory API object. 14 15 :param session: An instance of the HttpSession class 16 17 :return InventoryAPI object. 18 """ 19 20 super().__init__(session, "Inventory")
10class InventoryAPI(SearchEndpoint): 11 12 def __init__(self, session): 13 """ 14 Initializes the Inventory API object. 15 16 :param session: An instance of the HttpSession class 17 18 :return InventoryAPI object. 19 """ 20 21 super().__init__(session, "Inventory")
A class used to implement Search functionality for Lacework API Endpoints
InventoryAPI(session)
12 def __init__(self, session): 13 """ 14 Initializes the Inventory API object. 15 16 :param session: An instance of the HttpSession class 17 18 :return InventoryAPI object. 19 """ 20 21 super().__init__(session, "Inventory")
Initializes the Inventory API object.
Parameters
- session: An instance of the HttpSession class
:return InventoryAPI object.