Skip to main content

Workflows — Alert Automation

Workflows let you automate your response to security events. Define trigger conditions, and BleedWatch will automatically execute actions — sending notifications, forwarding to SIEM, or routing to specific channels based on severity, type, or source.

Concepts

TermDefinition
TriggerThe event that starts the workflow (e.g., finding.created, finding.severity_changed)
ConditionFilters that determine if the workflow should fire (e.g., severity = critical, source = npm)
ActionWhat happens when conditions are met (e.g., send Slack notification, forward to SIEM, send email)

Creating a Workflow

  1. Navigate to Alerts → Workflows
  2. Click + New Workflow
  3. Configure the three components:

Step 1: Choose a Trigger

Trigger EventWhen It Fires
finding.createdA new finding is detected
finding.severity_changedA finding's severity is upgraded or downgraded
finding.status_changedA finding's status changes (e.g., open → resolved)
finding.resolvedA finding is marked as resolved
incident.createdA new cross-source incident is created
scan.completedA scan cycle finishes
compliance.score_changedA compliance framework score changes

Step 2: Define Conditions

Add one or more conditions to filter which events trigger the action:

  • Severity — Only fire for specific severity levels (e.g., critical + high)
  • Source — Only fire for specific finding sources (e.g., npm, Docker, dark web)
  • Type — Only fire for specific finding types (e.g., exposed-secret, vulnerable-dependency)
  • Status — Only fire for specific statuses (e.g., only new open findings)

Conditions use AND logic — all conditions must be true for the workflow to fire.

Step 3: Configure Actions

Action TypeDescription
Slack notificationSend a formatted message to a Slack channel via webhook
Email notificationSend an email to specified recipients
WebhookPOST the event payload to a custom HTTP endpoint
SIEM forwardForward the event to your configured SIEM integration
SplunkSend directly to a Splunk HEC endpoint
SyslogForward via syslog (UDP/TCP/TLS) in CEF or JSON format

Each action includes the full event context: finding title, severity, source, asset, and a direct link to the finding in BleedWatch.

Managing Workflows

Enable / Disable

Toggle any workflow on or off without deleting it. Disabled workflows are preserved with all their configuration — useful for maintenance windows or temporary pauses.

Edit

Modify any component of an existing workflow (trigger, conditions, or actions). Changes take effect immediately.

Delete

Permanently remove a workflow. This action requires confirmation and cannot be undone.

Example Workflows

Critical Finding → Slack + PagerDuty

Trigger: finding.created Conditions: Severity = Critical Actions:

  1. Slack notification to #security-alerts
  2. Webhook to PagerDuty integration URL

Dark Web Credential Leak → Email CISO

Trigger: finding.created Conditions: Source = dark web, Severity = Critical or High Actions: Email to [email protected]

Compliance Score Drop → Slack

Trigger: compliance.score_changed Conditions: (none — fires on any change) Actions: Slack notification to #compliance-team

All Findings → Splunk

Trigger: finding.created Conditions: (none — fires on all findings) Actions: SIEM forward to Splunk HEC

Workflow vs Alert Rules

BleedWatch has two alert mechanisms:

FeatureAlert Rules (Alerts tab)Workflows
PurposeSimple notification deliveryComplex conditional automation
ConditionsSeverity filter onlyMultiple condition types (severity, source, type, status)
ActionsSingle channel notificationMultiple concurrent actions
Use case"Email me all critical findings""If a critical secret is found in npm, Slack the security team AND forward to Splunk"

Use Alert Rules for simple, single-channel notifications. Use Workflows when you need conditional logic or multiple actions per event.

Troubleshooting

Workflow Not Firing

  1. Verify the workflow is enabled (toggle is on)
  2. Check that the trigger event matches your expectation
  3. Review conditions — all conditions must be true (AND logic)
  4. Test the action destination (e.g., verify the Slack webhook URL is valid)

Duplicate Notifications

If you receive double notifications, check for overlapping workflows and alert rules. A finding can trigger both an alert rule and a workflow if both match.

Webhook Failing

Check the webhook URL in the workflow action. BleedWatch signs webhook payloads with HMAC-SHA256 — ensure your receiving endpoint validates the signature correctly. See Settings → SIEM for webhook signing details.

  • Alerts — Simple alert rule configuration
  • Settings — SIEM — Configure SIEM destinations
  • Incidents — View correlated incidents that workflows can trigger on