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_expandedandapp_token_preservedshow new machine access to your data and tokens that outlived their owner. - Exports deserve their own alerts: the
manual_export_*,channels_export_*andscheduled_export_*families track bulk data leaving the organisation. - Slack's anomaly events are a ready-made detection layer:
anomalyevents carry reason codes such astor,unexpected_scrapingandsession_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/:
| Endpoint | Purpose | Authentication |
|---|---|---|
/logs | Returns audit events, filtered by oldest, latest, limit (up to 9999), action (up to 30, comma-separated), actor and entity, with cursor-based pagination | User token (xoxp-) with the auditlogs:read scope from an Enterprise organisation owner |
/schemas | Lists the object types that can appear as entities | None required |
/actions | Lists every action name with a short description | None 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.
| Action | Meaning (per Slack's reference) | Detection idea |
|---|---|---|
app_installed | An 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_expanded | An app gained additional OAuth scopes | Alert when new scopes include history, files or admin scopes |
app_resources_added | A workspace app was granted access to a specific channel or DM | Flag access to sensitive or restricted channels |
app_token_preserved | An app's token was preserved rather than revoked, usually after its owner or installer left | Route to app owner review; orphaned token |
org_app_upgraded_to_org_install | An app was upgraded to an organisation-wide install | Review blast radius change |
manual_export_started / manual_export_downloaded | Standard or corporate export lifecycle | Alert on every export; confirm a ticket exists |
corporate_exports_enabled | Corporate export feature enabled | High-severity change alert |
file_public_link_created | A public link was created for a file | Alert on volume or sensitive channels |
legal_hold_policy_released | A legal hold was released | Confirm with legal; possible evidence destruction |
pref.sso_setting_changed | The single sign-on restriction changed | Critical alert; compare previous and new values |
pref.two_factor_auth_changed | The two-factor requirement changed | Critical alert |
role_change_to_owner / role_change_to_admin | A member was made an owner or admin | Alert outside change windows |
user_login_failed | A member failed to log in | Spray detection by source IP across many users |
anomaly | Anomalous behaviour detected; reasons in details.reason | Triage 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_installedand, where admin approval is on,app_approved(approved but not yet installed) andapp_restricted. A detection worth building: anapp_installedevent whose app has no earlierapp_approvedevent, or whose actor is not in your app administrator group. - Scope growth:
app_scopes_expandedusually 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_addedandapp_resources_grantedrecord an app being given a specific channel or DM. - Orphaned tokens:
app_token_preservedandworkflow_app_token_preservedmean 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_upgradedandbot_token_downgradedtrack moves to and from granular permissions; useful context during app reviews. - Broader reach:
org_app_upgraded_to_org_install,org_app_workspace_addedandorg_app_future_workspace_install_enabledwiden an app to more workspaces. - Credential misuse: anomaly events with reason
unexpected_credential_testing(apps),ip_addresswithip_address_detailssuch ascloud-asnorin-ioc-list, ortorsuggest 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.
| Family | Actions | Why it matters |
|---|---|---|
| Standard or corporate export | manual_export_started, manual_export_completed, manual_export_downloaded, manual_export_deleted | Whole-organisation data leaving Slack |
| Channel export | channels_export_started, channels_export_completed, channels_export_downloaded, channels_export_deleted | Targeted export of selected channels |
| Scheduled export | scheduled_export_started, scheduled_export_completed, scheduled_export_downloaded, scheduled_export_deleted | Recurring exports; a new schedule is a persistence risk |
| User export | manual_user_export_started and related stages | Member directory data |
| Feature changes | corporate_exports_enabled, corporate_exports_approved | Enables the most complete export type |
| Files | file_downloaded, file_download_blocked, file_shared, file_public_link_created, file_public_link_revoked | Volume spikes and public links expose files outside Slack |
| Workflow data | workflow_responses_csv_download | Form responses downloaded in bulk |
- Download volume:
file_downloadedcovers downloads and views, so it is high volume. Baseline per user and alert on outliers, or rely on anomaly reasonexcessive_downloads. - Blocked downloads:
file_download_blockedshows a control working; repeated blocks for one user from unapproved networks are worth a look. Changes to that control appear aspref.block_file_download_for_unapproved_ipandteam_authorized_ip_range_set. - Legal holds:
legal_hold_policy_created,legal_hold_policy_updated,legal_hold_policy_released,legal_hold_policy_entities_deletedandlegal_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_changedandpref.retention_override_changedinclude 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_connectedandguest_createdwiden 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_changedandpref.sign_in_with_slack_disabled. Weakening sign-in rules is a classic step before account takeover; treat any change as critical and check thedetailsblock for old and new values. - Sessions:
pref.session_duration_changedandpref.mobile_session_duration_changed(longer sessions favour stolen cookies);user_session_reset_by_admin,bulk_session_reset_by_adminanduser_sessions_reset_by_anomaly_event_responserecord 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_assignedandowner_transferred. Alert when the actor is not in the expected admin group or the change happens outside a change window. - Accounts:
user_created,user_deactivatedanduser_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:
| Reason | Applies to | What it suggests |
|---|---|---|
tor | Apps and users | Access from a Tor exit node |
session_fingerprint | Users | Stale or unexpected session cookie or client fingerprint, consistent with session theft |
unexpected_scraping, unexpected_api_call_volume | Users | A tool pulling data at a rate official clients would not |
excessive_downloads, excessive_file_shares | Apps and users | Bulk collection or sharing |
spoofed_user_agent, unexpected_user_agent, unexpected_client | Users | Client characteristics that do not match the claimed client |
unexpected_admin_action | Users | Unusual behaviour from an administrator account |
ip_address, asn | Apps and users | Token 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
- Create a dedicated collector app: request only
auditlogs:readas 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. - Poll with a checkpoint: query
/logswitholdestset to the last processeddate_create, follow the cursor until exhausted, and de-duplicate onid. Slack notes thatlimitis optimistic and more events can be returned when they share a timestamp. - 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_limitederrors with back-off. - Backfill once: Slack states data is not available before March 2018; pull history on first run to seed baselines.
- 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.
- Monitor the collector: alert when no events arrive for an unusual period, or on
missing_authenticationandinvalid_authenticationerrors, 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.
| Phase | Rules | Notes |
|---|---|---|
| 1. Critical config changes | pref.sso_setting_changed, pref.two_factor_auth_changed, corporate_exports_enabled, retention changes, legal_hold_policy_released | Alert on every event; near-zero false positives outside change windows |
| 2. Data movement | All export families, file_public_link_created spikes | Require a ticket reference; auto-close when matched |
| 3. App governance | app_installed, app_scopes_expanded, app_token_preserved, org-wide upgrades | Join with your approved app register |
| 4. Anomalies and identity correlation | anomaly by reason, user_login_failed spray, logins without IdP sign-in | Enrich 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
- Collector freshness: minutes between
date_createand SIEM ingestion. - Percentage of
app_installedevents matched to an approved app record. - Number of open
app_token_preservedfindings older than 30 days. - Percentage of export events with a matching ticket.
- Median time to triage
anomalyevents.
Framework mapping
| Framework | Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1528 Steal Application Access Token; T1550.001 Application Access Token | App and token misuse signals |
| MITRE ATT&CK | T1213.005 Messaging Applications | Collection from Slack: downloads, scraping, exports |
| MITRE ATT&CK | T1098 Account Manipulation | Role changes and reactivations |
| NIST SP 800-53 Rev. 5 | AU-6, AU-11, AU-12; SI-4 | Review, retention and generation of audit records; monitoring |
| NIST CSF 2.0 | DE.CM-01 | Monitoring 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_downloadedper event: it includes views and floods the queue; baseline it or use anomaly reasons. - Ignoring preserved tokens:
app_token_preservedis logged but never routed to anyone, so orphaned integrations keep working. - Overwriting the anomaly allow list: calling
admin.audit.anomaly.allow.updateItemwith only new ranges removes earlier entries.
Practitioner checklist
- Install a dedicated collector app with only
auditlogs:readon the Enterprise organisation and store its token in a secrets manager. - Poll
/logswith checkpoints, cursor pagination, de-duplication onidand back-off onrate_limited. - Alert on every SSO, two-factor, retention, corporate export and legal hold change.
- Match every
app_installedandapp_scopes_expandedevent against your approved app register. - Route
app_token_preservedevents 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
- Slack: Audit Logs API
- Slack: Audit Logs API methods and actions reference
- Slack: Anomalous events reference
- Slack: Configure audit log anomaly event responses
- MITRE ATT&CK: T1213.005 Messaging Applications
- MITRE ATT&CK: T1528 Steal Application Access Token
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
Related NHI Mgmt Group resources: Slack Enterprise Security Guide · Slack Tokens Security Guide · SaaS Audit Log Retention and Licensing Guide · Detection Engineering Guide