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

feat(slack): add Slack event handling for team joins and messages #3239

Merged
merged 1 commit into from
Jan 18, 2025

Conversation

JisanAR03
Copy link
Contributor

@JisanAR03 JisanAR03 commented Jan 18, 2025

This pull request introduces a new feature to handle Slack events in the blt project. The most significant changes include adding a new view for Slack event handling, integrating it into the URL routing, and implementing various functions to process Slack events such as team joins and messages.

Slack Integration:

  • blt/urls.py: Added import for slack_events and integrated a new URL path to handle Slack events. [1] [2]
  • website/views/slack_handlers.py: Created a new file with the slack_events view and supporting functions to handle Slack events, verify Slack signatures, and process different types of Slack messages.

need to add in .evn:

  • SLACK_TOKEN and SIGNING_SECRET deatails

@DonnieBLT sir , can you please review this pr?
fix #2972

@DonnieBLT DonnieBLT enabled auto-merge (squash) January 18, 2025 09:47
@DonnieBLT DonnieBLT merged commit 5731a35 into OWASP-BLT:main Jan 18, 2025
9 of 10 checks passed
Copy link

sentry-io bot commented Jan 18, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ AttributeError: 'NoneType' object has no attribute 'encode' /slack/events View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create a csv to add all owasp projects to /projects
2 participants