Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: add slack debugging #117

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

Merged
dacoburn merged 3 commits into main from slack_webhook_debugging
Sep 4, 2025
Merged

chore: add slack debugging #117

dacoburn merged 3 commits into main from slack_webhook_debugging
Sep 4, 2025

Conversation

@dachi-dev
Copy link
Contributor

@dachi-dev dachi-dev commented Sep 3, 2025

Description

Added comprehensive Slack webhook debugging functionality to the --enable-debug parameter. This improvement enhances troubleshooting capabilities for Slack webhook configuration by always displaying debug information when debug mode is enabled, regardless of whether there are security alerts or if Slack is enabled/disabled.

Changes Made:

  • Enhanced OutputHandler: Added Slack webhook debugging that runs whenever --enable-debug is used
  • Improved SlackPlugin: Added additional debug logging for webhook execution status
  • Always-on debugging: Moved Slack debug output outside the plugin-enabled conditional so it shows configuration status even when Slack is disabled
  • Comprehensive information display: Shows environment variables (SOCKET_SLACK_ENABLED, SOCKET_SLACK_CONFIG_JSON), webhook URL, plugin status, and alert levels

Debug Output Includes:

  • Slack Plugin enabled/disabled status
  • Environment variable values and status
  • Configured webhook URL or "Not configured" status
  • Alert levels configuration
  • Additional plugin execution details when alerts are present

This improvement makes it significantly easier for users to troubleshoot Slack webhook setup issues and verify their configuration is correct.

Public Changelog

Improvements

  • Enhanced --enable-debug output to always display Slack webhook configuration information, making it easier to troubleshoot webhook setup issues

@dachi-dev dachi-dev requested a review from a team as a code owner September 3, 2025 21:06
@dachi-dev dachi-dev requested review from bcomnes, dacoburn and philidem and removed request for a team, bcomnes and philidem September 3, 2025 21:06
Copy link

github-actions bot commented Sep 3, 2025
edited
Loading

🚀 Preview package published!

Install with:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socketsecurity==2.2.7.dev1

Docker image: socketdev/cli:pr-117

@dacoburn dacoburn added the Product Changelog New features for the public changelog label Sep 4, 2025
@dacoburn dacoburn merged commit 8bd8b83 into main Sep 4, 2025
6 checks passed
@dacoburn dacoburn deleted the slack_webhook_debugging branch September 4, 2025 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dacoburn dacoburn dacoburn approved these changes

Assignees

No one assigned

Labels

Product Changelog New features for the public changelog

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /