Join our Newsletter — 33% off our NHI Course
Home› Guides› Slack Audit Logs Detection Guide: Events That Signal…
Guide SOC & Detection Engineering

Slack Audit Logs Detection Guide: Events That Signal Workspace Abuse

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 14 min read
On this page

Slack holds an organisation's conversations, files and a growing number of app tokens, so the Slack audit log is often the only record of who installed an app, exported data or changed sign-in rules. This guide shows which Audit Logs API actions matter for security, what each one means and how to turn them into detections and triage steps. It covers app and token signals, file and export activity, legal holds, authentication and admin changes, Slack's own anomaly events, and how to collect and retain the log in a SIEM. It is written for detection engineers and SaaS security teams running Slack on an Enterprise plan. Action names below are taken from Slack's actions reference as checked in November 2026; Slack adds actions over time, so confirm against the live list.

This is an independent guide from NHI Mgmt Group, based on Slack's public documentation as of November 2026. It is not sponsored or reviewed by Slack. Product features change, so confirm settings against Slack's current documentation.

Key takeaways

  • The audit log records actions, not messages: Slack documents that the Audit Logs API is read-only and does not expose message content; use eDiscovery or DLP tooling for content.
  • App and token events are the highest-value signals: app_installed, app_scopes_expanded and app_token_preserved show new machine access to your data and tokens that outlived their owner.
  • Exports deserve their own alerts: the manual_export_*, channels_export_* and scheduled_export_* families track bulk data leaving the organisation.
  • Slack's anomaly events are a ready-made detection layer: anomaly events carry reason codes such as tor, unexpected_scraping and session_fingerprint, and can trigger automatic session resets.
  • Ship the log to your SIEM: polling the API on a schedule, with a checkpoint and organisation-wide rate limits in mind, gives you correlation with identity provider and endpoint data.

What the Slack Audit Logs API records

The Audit Logs API exposes organisation-level security events through three endpoints under https://api.slack.com/audit/v1/:

EndpointPurposeAuthentication
/logsReturns audit events, filtered by oldest, latest, limit (up to 9999), action (up to 30, comma-separated), actor and entity, with cursor-based paginationUser token (xoxp-) with the auditlogs:read scope from an Enterprise organisation owner
/schemasLists the object types that can appear as entitiesNone required
/actionsLists every action name with a short descriptionNone required

Each event has the same shape: id, date_create, action, an actor (the user who acted; Slack's own security actions appear as USLACKSECURITY), an entity (user, channel, file, app, workspace or enterprise), a context block with location, ua, ip_address, session_id and, for app-driven events, app, and an optional details block, which often carries previous and new values of a setting.

Availability: Slack documents the Audit Logs API for organisations on an Enterprise plan. The app requesting auditlogs:read must be installed on the Enterprise organisation itself, not on a single workspace, by the organisation Owner. Anomaly event responses are likewise documented for Enterprise organisations. Developers can test against a sandbox from the Slack Developer Program.

Slack states that the API returns data but does not judge whether an action was appropriate, and that it covers a subset of possible audit events. Detection logic is the customer's side of the shared responsibility.

High-signal action types

The table lists the actions most useful for security monitoring, grouped by theme. The sections that follow explain how to use each group.

ActionMeaning (per Slack's reference)Detection idea
app_installedAn app was installed (also fires when a disabled custom integration is re-enabled)Alert on installs not preceded by an approval, or by non-admin installers
app_scopes_expandedAn app gained additional OAuth scopesAlert when new scopes include history, files or admin scopes
app_resources_addedA workspace app was granted access to a specific channel or DMFlag access to sensitive or restricted channels
app_token_preservedAn app's token was preserved rather than revoked, usually after its owner or installer leftRoute to app owner review; orphaned token
org_app_upgraded_to_org_installAn app was upgraded to an organisation-wide installReview blast radius change
manual_export_started / manual_export_downloadedStandard or corporate export lifecycleAlert on every export; confirm a ticket exists
corporate_exports_enabledCorporate export feature enabledHigh-severity change alert
file_public_link_createdA public link was created for a fileAlert on volume or sensitive channels
legal_hold_policy_releasedA legal hold was releasedConfirm with legal; possible evidence destruction
pref.sso_setting_changedThe single sign-on restriction changedCritical alert; compare previous and new values
pref.two_factor_auth_changedThe two-factor requirement changedCritical alert
role_change_to_owner / role_change_to_adminA member was made an owner or adminAlert outside change windows
user_login_failedA member failed to log inSpray detection by source IP across many users
anomalyAnomalous behaviour detected; reasons in details.reasonTriage by reason code; correlate with IdP sign-ins

App and token abuse signals

Apps and their tokens are non-human identities with standing access to Slack data. An attacker who obtains an admin session, or tricks a user into approving an app, can install an integration that reads channels long after the session ends. See the Slack Tokens Security Guide for token types and handling.

  • New installs: app_installed and, where admin approval is on, app_approved (approved but not yet installed) and app_restricted. A detection worth building: an app_installed event whose app has no earlier app_approved event, or whose actor is not in your app administrator group.
  • Scope growth: app_scopes_expanded usually follows a reinstall. Parse the event details and alert when the new scopes include read access to history or files. The Slack History Scopes guide explains which scopes read message history.
  • Resource grants: app_resources_added and app_resources_granted record an app being given a specific channel or DM.
  • Orphaned tokens: app_token_preserved and workflow_app_token_preserved mean a token kept working after the person who installed it left. Each one should open a ticket to reassign or retire the app.
  • Token format changes: bot_token_upgraded and bot_token_downgraded track moves to and from granular permissions; useful context during app reviews.
  • Broader reach: org_app_upgraded_to_org_install, org_app_workspace_added and org_app_future_workspace_install_enabled widen an app to more workspaces.
  • Credential misuse: anomaly events with reason unexpected_credential_testing (apps), ip_address with ip_address_details such as cloud-asn or in-ioc-list, or tor suggest a token used from somewhere unexpected.

For a manual review of what is installed today, see How to audit Slack apps, bots and tokens.

Data export and file exposure signals

Bulk exports are the fastest way to remove an organisation's Slack history. Slack logs each stage of every export type, so you can alert on the start and confirm the download.

FamilyActionsWhy it matters
Standard or corporate exportmanual_export_started, manual_export_completed, manual_export_downloaded, manual_export_deletedWhole-organisation data leaving Slack
Channel exportchannels_export_started, channels_export_completed, channels_export_downloaded, channels_export_deletedTargeted export of selected channels
Scheduled exportscheduled_export_started, scheduled_export_completed, scheduled_export_downloaded, scheduled_export_deletedRecurring exports; a new schedule is a persistence risk
User exportmanual_user_export_started and related stagesMember directory data
Feature changescorporate_exports_enabled, corporate_exports_approvedEnables the most complete export type
Filesfile_downloaded, file_download_blocked, file_shared, file_public_link_created, file_public_link_revokedVolume spikes and public links expose files outside Slack
Workflow dataworkflow_responses_csv_downloadForm responses downloaded in bulk
  • Download volume: file_downloaded covers downloads and views, so it is high volume. Baseline per user and alert on outliers, or rely on anomaly reason excessive_downloads.
  • Blocked downloads: file_download_blocked shows a control working; repeated blocks for one user from unapproved networks are worth a look. Changes to that control appear as pref.block_file_download_for_unapproved_ip and team_authorized_ip_range_set.
  • Legal holds: legal_hold_policy_created, legal_hold_policy_updated, legal_hold_policy_released, legal_hold_policy_entities_deleted and legal_hold_policy_exclusion_added. Releases and exclusions should match a legal team decision; an unexpected one can destroy evidence.
  • Retention changes: pref.dm_retention_changed, pref.file_retention_changed, pref.public_channel_retention_changed, pref.private_channel_retention_changed and pref.retention_override_changed include previous and new values (RETAIN_ALL, RETAIN_MSGS, EXPIRE_ALL, EXPIRE_MSGS). A move to an expiring setting outside change control is a high-severity alert.
  • Exposure through channels: private_channel_converted_to_public, external_shared_channel_connected and guest_created widen who can read content. See the Slack Connect Security Guide.

Authentication and admin change signals

  • Sign-in policy: pref.sso_setting_changed, pref.two_factor_auth_changed, pref.two_factor_prevent_sms_changed and pref.sign_in_with_slack_disabled. Weakening sign-in rules is a classic step before account takeover; treat any change as critical and check the details block for old and new values.
  • Sessions: pref.session_duration_changed and pref.mobile_session_duration_changed (longer sessions favour stolen cookies); user_session_reset_by_admin, bulk_session_reset_by_admin and user_sessions_reset_by_anomaly_event_response record containment actions you should see during incidents.
  • Logins: user_login, user_login_failed, user_logout_compromised (logged out due to a compromised device). Correlate with your identity provider: a Slack login with no matching IdP sign-in for an SSO-only organisation needs explanation.
  • Privilege: role_change_to_owner, role_change_to_admin, role_assigned and owner_transferred. Alert when the actor is not in the expected admin group or the change happens outside a change window.
  • Accounts: user_created, user_deactivated and user_reactivated. A reactivation of a leaver's account is high signal. Passkey removals (user_passkey_removed, user_passkeys_bulk_removed_by_admin) also belong in this group.

Slack anomaly events

Slack generates anomaly events with one or more codes in details.reason. The reasons most useful for triage:

ReasonApplies toWhat it suggests
torApps and usersAccess from a Tor exit node
session_fingerprintUsersStale or unexpected session cookie or client fingerprint, consistent with session theft
unexpected_scraping, unexpected_api_call_volumeUsersA tool pulling data at a rate official clients would not
excessive_downloads, excessive_file_sharesApps and usersBulk collection or sharing
spoofed_user_agent, unexpected_user_agent, unexpected_clientUsersClient characteristics that do not match the claimed client
unexpected_admin_actionUsersUnusual behaviour from an administrator account
ip_address, asnApps and usersToken or session used from a new, cloud or listed network

Org Owners, Org Admins and Security Admins can configure anomaly event responses so Slack ends a user's sessions on all devices for selected anomaly types; Slack documents Tor access and data scraping as on by default, with exclusions available, and notes responses do not apply to external people or apps. Trusted ASNs and CIDR ranges can be allow-listed with admin.audit.anomaly.allow.updateItem, which overwrites the whole list, so always send the full set.

Collecting and retaining audit logs

  1. Create a dedicated collector app: request only auditlogs:read as a user token scope and have the Enterprise organisation Owner install it on the organisation. Store the token in a secrets manager and record an accountable owner, since it is a powerful non-human identity.
  2. Poll with a checkpoint: query /logs with oldest set to the last processed date_create, follow the cursor until exhausted, and de-duplicate on id. Slack notes that limit is optimistic and more events can be returned when they share a timestamp.
  3. Respect rate limits: the logs method is Tier 3, up to 50 calls per minute, and the limit applies to the whole organisation rather than per app, so two collectors compete. Handle rate_limited errors with back-off.
  4. Backfill once: Slack states data is not available before March 2018; pull history on first run to seed baselines.
  5. Retain to your own policy: keep raw events in your SIEM or log archive for the period your investigation and regulatory needs require, independent of what the platform keeps. The SaaS Audit Log Retention and Licensing Guide covers how to set those periods.
  6. Monitor the collector: alert when no events arrive for an unusual period, or on missing_authentication and invalid_authentication errors, which can mean the token was revoked or the installing owner left.

Building detections and triage

Start with low-volume, high-severity changes, then add behavioural rules once baselines exist.

PhaseRulesNotes
1. Critical config changespref.sso_setting_changed, pref.two_factor_auth_changed, corporate_exports_enabled, retention changes, legal_hold_policy_releasedAlert on every event; near-zero false positives outside change windows
2. Data movementAll export families, file_public_link_created spikesRequire a ticket reference; auto-close when matched
3. App governanceapp_installed, app_scopes_expanded, app_token_preserved, org-wide upgradesJoin with your approved app register
4. Anomalies and identity correlationanomaly by reason, user_login_failed spray, logins without IdP sign-inEnrich with IdP and EDR data

Triage questions: Was the actor expected to make this change? Does the ip_address and ua match the actor's normal devices? Is there a change ticket? Did an export or scope change follow a role change or new session within the same hour? For an anomaly, what other reasons fired for the same user or app, and did Slack already reset sessions?

Rollout and tuning: run new rules in a report-only mode for two weeks, tune against known admin activity, then promote to paging. Keep rules in version control so you can roll back a noisy change. For general method, see the Detection Engineering Guide.

Metrics

  1. Collector freshness: minutes between date_create and SIEM ingestion.
  2. Percentage of app_installed events matched to an approved app record.
  3. Number of open app_token_preserved findings older than 30 days.
  4. Percentage of export events with a matching ticket.
  5. Median time to triage anomaly events.

Framework mapping

FrameworkReferenceRelevance
MITRE ATT&CKT1528 Steal Application Access Token; T1550.001 Application Access TokenApp and token misuse signals
MITRE ATT&CKT1213.005 Messaging ApplicationsCollection from Slack: downloads, scraping, exports
MITRE ATT&CKT1098 Account ManipulationRole changes and reactivations
NIST SP 800-53 Rev. 5AU-6, AU-11, AU-12; SI-4Review, retention and generation of audit records; monitoring
NIST CSF 2.0DE.CM-01Monitoring services for adverse events

Common failure patterns

  • Collector installed on a workspace: the app must be installed on the Enterprise organisation by the Owner, otherwise calls fail with authorisation errors.
  • Collector token tied to one person: when that owner leaves, collection stops silently. Monitor freshness and document the owner.
  • Alerting on file_downloaded per event: it includes views and floods the queue; baseline it or use anomaly reasons.
  • Ignoring preserved tokens: app_token_preserved is logged but never routed to anyone, so orphaned integrations keep working.
  • Overwriting the anomaly allow list: calling admin.audit.anomaly.allow.updateItem with only new ranges removes earlier entries.

Practitioner checklist

  • Install a dedicated collector app with only auditlogs:read on the Enterprise organisation and store its token in a secrets manager.
  • Poll /logs with checkpoints, cursor pagination, de-duplication on id and back-off on rate_limited.
  • Alert on every SSO, two-factor, retention, corporate export and legal hold change.
  • Match every app_installed and app_scopes_expanded event against your approved app register.
  • Route app_token_preserved events to app owners for reassignment or removal.
  • Require a ticket for every export and close alerts automatically when matched.
  • Configure anomaly event responses for Tor and scraping at minimum, with documented exclusions.
  • Correlate Slack logins and anomalies with identity provider sign-ins.
  • Monitor collector freshness and authentication errors.

Standards and references

Related NHI Mgmt Group resources: Slack Enterprise Security Guide · Slack Tokens Security Guide · SaaS Audit Log Retention and Licensing Guide · Detection Engineering Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.