laceworksdk.api.v2.user_profile
Lacework UserProfile API wrapper.
Module Contents
Classes
A class used to represent the User Profile API endpoint . |
- class laceworksdk.api.v2.user_profile.UserProfileAPI(session)[source]
Bases:
laceworksdk.api.base_endpoint.BaseEndpoint
A class used to represent the User Profile API endpoint .
An organization can contain multiple accounts so you can also manage components such as alerts, resource groups, team members, and audit logs at a more granular level inside an organization.
- property session
Get the
HttpSession
instance the object is using.
- get(account_name=None)[source]
A method to get Lacework sub-accounts that are managed by your organization account. Using no args will get all sub-accounts.
- Parameters:
account_name (str, optional) – Specify which sub-account to list.
- Returns:
Details of the requested sub-account(s)
- Return type:
dict