@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/repository-services/users/{userId}/audit-log")
public class AuditLogServicesResource
extends Object
| Constructor and Description |
|---|
AuditLogServicesResource()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
AuditLogReportResponse |
getAuditLogReport(String serverName,
String userId)
Return the report from the local server's audit log.
|
AuditLogSeveritiesResponse |
getSeverityList(String serverName,
String userId)
Return the details of the severities that this server supports.
|
@GetMapping(path="/severity-definitions") public AuditLogSeveritiesResponse getSeverityList(@PathVariable String serverName, @PathVariable String userId)
serverName - name of serveruserId - calling user@GetMapping(path="/report") public AuditLogReportResponse getAuditLogReport(@PathVariable String serverName, @PathVariable String userId)
serverName - server to queryuserId - calling userCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.