Skip to Content
SourcesSlack

Slack

Required
Fields required for a valid configuration.
PathTypeRequiredDescriptionDefaultConstraints
requiredobjectYesno extra properties
required.workspacestringNoSlack workspace name or domain (for display and stable IDs)
Masked
Sensitive fields under(secrets/credentials).
PathTypeRequiredDescriptionDefaultConstraints
maskedobjectYes
Optional
Optional configuration fields.
PathTypeRequiredDescriptionDefaultConstraints
optionalobjectNono extra properties
optional.channelsobjectNoChannel discovery and targeting controls.no extra properties
optional.channels.channel_idsarrayNoExplicit channel IDs to scan. If provided, channel_types is ignored.
optional.channels.channel_ids[]stringNo
optional.channels.channel_typesarrayNoSlack conversation types to include when listing channels["public_channel"]
optional.channels.channel_types[]enumNoSlack conversation types to include Allowed values: public_channel, private_channel, mpim, im
optional.channels.exclude_archivedbooleanNoExclude archived channels when listingtrue
optional.ingestionobjectNoThroughput and payload controls for Slack ingestion.no extra properties
optional.ingestion.batch_sizeintegerNoMessages per API call (max 200)200min 1, max 200
optional.ingestion.include_thread_repliesbooleanNoInclude thread replies in fetched content for detectorsfalse
optional.ingestion.rate_limit_delay_secondsnumberNoDelay between API calls to avoid rate limits1min 0
optional.time_rangeobjectNoTime window filters for message ingestion.no extra properties
optional.time_range.lateststringNoEnd of date range (Slack timestamp or ISO 8601)
optional.time_range.oldeststringNoStart of date range (Slack timestamp or ISO 8601)
Extracted Metadata

Message

FieldTypeRequiredDescription
channel_idstringYesSlack channel id
tsstringYesMessage timestamp
channel_namestringNoChannel name
authorstringNoUser id or bot name
thread_tsstringNoParent thread timestamp
Examples
Public channels compliance scan
Scan all public channels for PII and secrets exposure using a bot token

Config Payload

{
  "type": "SLACK",
  "required": {
    "workspace": "your-workspace"
  },
  "masked": {
    "bot_token": "xoxb-your-bot-token"
  },
  "optional": {
    "channels": {
      "channel_types": [
        "public_channel"
      ],
      "exclude_archived": true
    },
    "ingestion": {
      "rate_limit_delay_seconds": 1
    }
  },
  "sampling": {
    "strategy": "AUTOMATIC"
  },
  "detectors": [
    {
      "type": "PII",
      "enabled": true
    },
    {
      "type": "SECRETS",
      "enabled": true
    }
  ]
}

Schedule

{
  "enabled": true,
  "preset": "weekday_morning",
  "cron": "45 7 * * 1-5",
  "timezone": "UTC"
}
Private channels and DMs audit
Audit private channels and direct messages for sensitive data using a user token

Config Payload

{
  "type": "SLACK",
  "required": {
    "workspace": "your-workspace"
  },
  "masked": {
    "user_token": "xoxp-your-user-token"
  },
  "optional": {
    "channels": {
      "channel_types": [
        "private_channel",
        "mpim",
        "im"
      ],
      "exclude_archived": true
    }
  },
  "sampling": {
    "strategy": "AUTOMATIC"
  }
}

Schedule

{
  "enabled": true,
  "preset": "weekday_morning",
  "cron": "18 6 * * 1-5",
  "timezone": "UTC"
}
Targeted channel scan with date range
Scan specific channels within a time window — useful for incident response or focused audits

Config Payload

{
  "type": "SLACK",
  "required": {
    "workspace": "your-workspace"
  },
  "masked": {
    "bot_token": "xoxb-your-bot-token"
  },
  "optional": {
    "channels": {
      "channel_ids": [
        "C1234567890",
        "C0987654321"
      ]
    },
    "time_range": {
      "oldest": "2025-01-01T00:00:00Z",
      "latest": "2025-02-01T00:00:00Z"
    },
    "ingestion": {
      "batch_size": 200,
      "include_thread_replies": true
    }
  },
  "sampling": {
    "strategy": "AUTOMATIC"
  }
}

Schedule

{
  "enabled": true,
  "preset": "weekly",
  "cron": "52 1 * * 0",
  "timezone": "UTC"
}