Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Slack detector. Added revoked token check #3831

Conversation

nabeelalam
Copy link
Contributor

@nabeelalam nabeelalam commented Jan 7, 2025

Description:

Updated the Slack detector by adding a check for a token_revoked response from the Slack API.
Added a new test case in the Slack integration test to verify the token_revoked error response.
Revoked tokens will be determinately unverified.
https://api.slack.com/methods/auth.test

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@nabeelalam nabeelalam marked this pull request as ready for review January 7, 2025 11:46
@nabeelalam nabeelalam requested a review from a team as a code owner January 7, 2025 11:46
@zricethezav zricethezav merged commit a94d152 into trufflesecurity:main Jan 7, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants