com.slack.api.audit.AsyncAuditClient Maven / Gradle / Ivy
package com.slack.api.audit;
import com.slack.api.RequestConfigurator;
import com.slack.api.audit.request.ActionsRequest;
import com.slack.api.audit.request.LogsRequest;
import com.slack.api.audit.request.SchemasRequest;
import com.slack.api.audit.response.ActionsResponse;
import com.slack.api.audit.response.LogsResponse;
import com.slack.api.audit.response.SchemasResponse;
import java.util.concurrent.CompletableFuture;
/**
* Audit Logs API client.
*
* Monitor what's happening in your Enterprise Grid organization using Slack's Audit Logs API.
* The Audit Logs API can be used by security information and event management (SIEM) tools
* to provide analysis of how your Slack organization is being accessed.
*
* You can also use this API to write your own applications to see how members of your organization are using Slack.
*
* @see Slack Audit Logs API
*/
public interface AsyncAuditClient {
AsyncAuditClient attachRawBody(boolean attachRawBody);
CompletableFuture getSchemas();
CompletableFuture getSchemas(SchemasRequest req);
CompletableFuture getSchemas(RequestConfigurator req);
CompletableFuture getActions();
CompletableFuture getActions(ActionsRequest req);
CompletableFuture getActions(RequestConfigurator req);
CompletableFuture getLogs(LogsRequest req);
CompletableFuture getLogs(RequestConfigurator req);
}