Cloudera Data Lineage API: UserEvents documentation for user audit trails
Learn how to use the Cloudera Data Lineage (formerly Octopai) UserEvents API to query user audit events, including login, password reset, and user-management actions recorded automatically by the UserAccount API.
An audit trail is a security-relevant chronological record that provides documentary evidence of the sequence of activities that have affected a specific operation, procedure, or event. In the context of this API, it records the sequence of user activities or events.
Audit trails are a crucial aspect of security and compliance for many organizations. They are used to detect security incidents, performance issues, and to aid in the recovery from incidents. Additionally, they support the investigation and forensic analysis of how an incident occurred.
The UserEvents functionality contributes to a user audit trail the following ways:
- User authentication: The API logs events related to user authentication, such as successful and failed login attempts. This can help detect potential security risks, like repeated failed login attempts that might indicate a brute-force attack.
- User activity: The API records various user activities like page loads. By tracking these events, administrators can establish a pattern of normal behavior per user, making it easier to identify anomalous actions that could signify a breach.
- Timestamps: Every event logged by the API includes a timestamp. This allows administrators to reconstruct the sequence of events leading up to a particular incident, which is vital in forensic investigations.
- Data source: The IP addresses from which events originate are also recorded. This can be used to identify suspicious activity from unfamiliar sources.
By extracting and analyzing data from the UserEvents API, organizations can maintain a comprehensive audit trail that helps uphold security, facilitate incident response, and ensure regulatory compliance.
Events are recorded automatically when users log in, reset passwords, or when an admin creates, updates, or deletes users through the UserAccount API.
- You must be familiar with HTTP methods, specifically POST.
- You must be able to use command-line tools like curl.
- You must have valid Cloudera Data Lineage user credentials that are email and password. To query user events or perform user-management API calls, you must log in with an admin account.
Store your accessToken securely and refresh it as needed to prevent it
from being compromised. Always use HTTPS to make your requests to ensure data security
during transit.
Contact Cloudera Support for more details and instructions.
