Files
fuzzforge_ai/test_projects/secret_detection_benchmark/scripts/webhook.js
tduhamel42 3be4d34531 test: Add secret detection benchmark dataset and ground truth
Add comprehensive benchmark dataset with 32 documented secrets for testing
secret detection workflows (gitleaks, trufflehog, llm_secret_detection).

- Add test_projects/secret_detection_benchmark/ with 19 test files
- Add ground truth JSON with precise line-by-line secret mappings
- Update .gitignore with exceptions for benchmark files (not real secrets)

Dataset breakdown:
- 12 Easy secrets (standard patterns)
- 10 Medium secrets (obfuscated)
- 10 Hard secrets (well hidden)
2025-10-16 11:46:28 +02:00

14 lines
372 B
JavaScript

// Webhook configuration and handlers
// EASY SECRET #7: Slack webhook URL
const SLACK_WEBHOOK = "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXX";
function sendSlackNotification(message) {
fetch(SLACK_WEBHOOK, {
method: 'POST',
body: JSON.stringify({ text: message })
});
}
module.exports = { sendSlackNotification };