AuditLogExtensionsGetEvents Method |
Gets audit events in descending order.
Namespace: KeeperSecurity.EnterpriseAssembly: KeeperSdk (in KeeperSdk.dll) Version: 1.0.5
Syntax public static Task<Tuple<GetAuditEventReportsResponse, long>> GetEvents(
this IAuthentication auth,
ReportFilter filter,
long recentUnixTime,
long latestUnixTime = 0
)
Parameters
- auth IAuthentication
- Keeper Connection
- filter ReportFilter
- Audit report filetr
- recentUnixTime Int64
- Recent event epoch time in seconds
- latestUnixTime Int64 (Optional)
- Latest event epoch time in seconds
Return Value
TaskTupleGetAuditEventReportsResponse,
Int64Awaitable task returning a tuple. Item1 contains the audit event list. Item2 the epoch time in seconds to resume
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAuthentication. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
This method returns first 1000 events. To get the next chunk of audit events pass the second parameter of result into recentUnixTime parameter.
Created property of filter is ignored.
See Also