Class AuditLogServicesResource


  • @RestController
    @RequestMapping("/servers/{serverName}/open-metadata/repository-services/users/{userId}/audit-log")
    public class AuditLogServicesResource
    extends Object
    AuditLogServicesResource provides the server-side support for the OMRS Repository REST Services API that provide information about the local server's audit log.
    • Constructor Detail

      • AuditLogServicesResource

        public AuditLogServicesResource()
        Default constructor
    • Method Detail

      • getSeverityList

        @GetMapping(path="/severity-definitions")
        public AuditLogSeveritiesResponse getSeverityList​(@PathVariable
                                                          String serverName,
                                                          @PathVariable
                                                          String userId)
        Return the details of the severities that this server supports.
        Parameters:
        serverName - name of server
        userId - calling user
        Returns:
        variety of properties
      • getAuditLogReport

        @GetMapping(path="/report")
        public AuditLogReportResponse getAuditLogReport​(@PathVariable
                                                        String serverName,
                                                        @PathVariable
                                                        String userId)
        Return the report from the local server's audit log.
        Parameters:
        serverName - server to query
        userId - calling user
        Returns:
        registration properties for server