Skip to content

Pipelines & Jobs — Automation Guide

Faraday provides three complementary automation systems accessible from the Automation section in the web interface. Items marked with a NEW badge in the sidebar (the Automation section and its Security Scanners subsection) are recently added:

System Trigger Purpose
Schedules Time-driven (cron) Automatically run Runners and Security Scanners on a recurring schedule. See Scheduling a run
Pipelines & Jobs Event-driven / manual Apply bulk transformations to vulnerabilities and assets based on rules
Runners / Security Scanners On-demand / scheduled Execute security tools and import results into workspaces. See Runners and Security Scanners

Pipelines & Jobs

Concepts

Pipelines and Jobs provide rule-based automation for bulk vulnerability and asset management. They operate on data that is already in Faraday workspaces (unlike Runners and Security Scanners, which bring new data in).

Hierarchy:

Pipeline (targets a workspace)
  └── Job 1 (sequential execution)
        ├── Rules (conditions to filter objects)
        └── Tasks (actions to perform on matching objects)
  └── Job 2
        ├── Rules
        └── Tasks
  • Pipeline — A container that targets a specific workspace and groups one or more Jobs
  • Job — A rule-action unit that filters objects by conditions and applies transformations
  • Rule (Condition) — A filter expression (attribute + operator + value)
  • Task (Action) — An atomic operation (update, append, or delete)

Creating a Pipeline

  1. Navigate to Automation > Pipelines in the Faraday web interface
  2. Click on + Create New Pipeline"
  3. Input a Name for the pipeline.
  4. Add one or more Jobs to the pipeline, selecting one of the available jobs in the jobs library or creating a new one (see Creating a Job).
  5. Select a workspace target for the pipeline.
  6. Click Save

Pipelines1

Creating a Job

Jobs can be create by scratch from the Automation menu, in the Jobs sub section. The same interface can be accesed when creating a pipeline using the Create New blue button in the Job Sequence.

  1. Navigate to Automation > Jobs in the Faraday web interface
  2. Click on + Create New Job"
  3. Input a Name for the job.
  4. Salect any Vulnerability or Asset depending if you need a rule based on a vulnerability or based on an asset.
  5. Create one or more rules (conditions). Rules filter wich objects (vulnerabilities or assets) are affected by the job's tasks. Each rule specifies one or more conditions. Two or more conditions within a rule are combined with the AND logic operator. Each condition specifies:

    Component Description Examples
    Attribute vulnerabity or asset attribute Name, CVE, Confirmed, Description, MAC
    Operator operator to filter the attribute =, !=, contains, >, =<
    Value the filtering value at right of the selected operator to complete de condition "CVE-2000-1234", "SQL", "00:1A:2B:3C:4D:5E"

    Multiple rules can be combined within a single job. Two or nore rules within a job are combined with the OR logic operator.

  6. Add one or more tasks for the job. Tasks define what happens to objects matching the rules. If the object is Vulnerability, tasks can define an action to the object itself (Filtered Vuln) or to the asset associated with it (Impacted Asset).

    Action Description Applicable To
    Update Change a field value Any field (severity, status, name, description, etc.)
    Append Add to a list field Tags, Comments, Policy Violations
    Delete Remove matching objects Assets, Vulnerabilities

Examples:

  • Update: Set severity to "critical" for all vulns containing "SQL Injection"
  • Append: Add tag "reviewed" to all vulns with status "open"
  • Append: Add comment "@security-team please review" (supports @mentions for notifications)
  • Delete: Remove all informational-severity vulnerabilities

Pipeline Management

Once a pipeline is created, it can be enabled or disabled. If it is enabled, the pipeline will run each time bulk data is created in the workspace where the pipeline is targeted. Also, it can be executed manually using the play green buttom from the UI.

Action Description
Enable/Disable Toggle the pipeline on/off via the Enable slider
Manual Run Click the Run button to execute immediately
Target Workspace Must be selected before saving

Pipeline Notifications

Faraday supports notifications for Pipeline events through three channels:

Channel Configuration
In-App Bell icon notifications
Email Configured email address
Slack Integrated Slack workspace

Configure pipeline notifications under Notifications > Settings > Pipelines.

Note: Notifications are only sent to users with permissions to access the relevant workspace.

Schedules vs Pipelines

Aspect Schedules Pipelines & Jobs
Trigger Time-driven (cron) Manual or event-driven
Purpose Run security tools and import new data Transform existing data in workspaces
Data flow External tools → Faraday Faraday → Faraday (in-place)
Requires a Runner or Security Scanner Yes (Runners must be online) No
Configuration Cadence (cron) + tool or scanner params Rules + tasks
Edition UI in Corporate/Pro; cron+CLI in Community Corporate/Pro

Complementary workflow: Use Schedules to run recurring scans (e.g., nightly Nmap, weekly Nessus), then use Pipelines to automatically process the imported results (e.g., tag critical findings, assign reviewers, delete informational noise).


Automation Workflow Examples

Example 1: Weekly Network Scan with Auto-Tagging

Schedule: Run Nmap weekly against the DMZ network.

Description: Weekly DMZ Nmap scan
Cron:        0 2 * * 0     (Sundays at 2:00 AM)
Timezone:    UTC
Executor:    nmap_scan
Parameters:  {"target": "10.0.1.0/24"}
Workspaces:  dmz-monitoring

Pipeline: After the scan imports results, automatically tag critical findings.

Pipeline: "Auto-tag Critical DMZ Findings"
  Job 1:
    Object: Vulnerability
    Rule:   Severity Equal "critical"
    Task:   Append Tag "critical-dmz"
    Task:   Append Comment "@security-lead Critical finding in DMZ"
  Job 2:
    Object: Vulnerability
    Rule:   Severity Equal "informational"
    Task:   Delete

Example 2: Continuous Vulnerability Monitoring

Schedule 1: Nessus scan every night.

Cron: 0 1 * * *
Executor: nessus_scan
Parameters: {"scan_name": "production-servers"}
Ignore Info: true
Min Severity: LOW

Schedule 2: Nuclei scan twice a week.

Cron: 0 3 * * 1,4
Executor: nuclei_scan
Parameters: {"target": "https://app.example.com"}
Vuln Tags: ["nuclei", "web"]

Example 3: Community Edition Automation

Without the web-based Schedules UI, use faraday-cli with cron:

#!/bin/bash
# /opt/scripts/automated-scan.sh

export FARADAY_URL="https://faraday.example.com"

# Login
faraday-cli auth --url "$FARADAY_URL" --user scanner --password "$SCANNER_PASS"

# Select workspace
faraday-cli workspace select production

# Run Nmap
nmap -sV -oX /tmp/nmap_results.xml 10.0.0.0/24
faraday-cli tool report /tmp/nmap_results.xml

# Run Nuclei
nuclei -u https://app.example.com -json -o /tmp/nuclei_results.json
faraday-cli tool report /tmp/nuclei_results.json

# Cleanup
rm -f /tmp/nmap_results.xml /tmp/nuclei_results.json
# Crontab: Run every night at 1 AM
0 1 * * * /opt/scripts/automated-scan.sh > /var/log/faraday-scan.log 2>&1