What happened
The API GetAuditLogs sends a request to https://slack.com/api/
Expected behavior
The audit logs API is accessible only via api.slack.com
Steps to reproduce
- Generate a slack client with a valid token for auditlogs:read
- Call to get GetAuditLogs
- Error will be the HTML page "You've found a glitch
reproducible code
_, nextCursor, err = slackClient.GetAuditLogs(slack.AuditLogParameters{
Limit: maxAuditLogMessages,
Oldest: oldest,
Latest: latest,
Cursor: nextCursor,
Action: eventType,
})
manifest.yaml
Versions
What happened
The API GetAuditLogs sends a request to https://slack.com/api/
Expected behavior
The audit logs API is accessible only via api.slack.com
Steps to reproduce
reproducible code
_, nextCursor, err = slackClient.GetAuditLogs(slack.AuditLogParameters{
Limit: maxAuditLogMessages,
Oldest: oldest,
Latest: latest,
Cursor: nextCursor,
Action: eventType,
})
manifest.yaml
Versions