Class SystemLogApi

java.lang.Object
com.okta.sdk.resource.api.SystemLogApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-29T16:46:27.777599-05:00[America/Chicago]", comments="Generator version: 7.4.0") public class SystemLogApi extends Object
  • Constructor Details

    • SystemLogApi

      public SystemLogApi()
    • SystemLogApi

      public SystemLogApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • listLogEvents

      public List<LogEvent> listLogEvents(OffsetDateTime since, OffsetDateTime until, String filter, String q, Integer limit, String sortOrder, String after) throws ApiException
      List all System Log Events Lists all system log events. The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API
      Parameters:
      since - (optional)
      until - (optional)
      filter - (optional)
      q - (optional)
      limit - (optional, default to 100)
      sortOrder - (optional, default to ASCENDING)
      after - (optional)
      Returns:
      List<LogEvent>
      Throws:
      ApiException - if fails to make API call
    • listLogEvents

      public List<LogEvent> listLogEvents(OffsetDateTime since, OffsetDateTime until, String filter, String q, Integer limit, String sortOrder, String after, Map<String,String> additionalHeaders) throws ApiException
      List all System Log Events Lists all system log events. The Okta System Log API provides read access to your organization’s system log. This API provides more functionality than the Events API
      Parameters:
      since - (optional)
      until - (optional)
      filter - (optional)
      q - (optional)
      limit - (optional, default to 100)
      sortOrder - (optional, default to ASCENDING)
      after - (optional)
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<LogEvent>
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()