Skip to content

Runners and Security Scanners

The Automation menu in the left sidebar groups everything related to running tools and processing data automatically:

Menu entry Description
Runners Self-hosted agents (Faraday Agent Dispatcher) that you deploy in your own infrastructure and that execute the tools you configure on them. Previously called Agents.
Security Scanners Scanners hosted and operated by Faraday, available according to your subscription. Previously called Cloud Agents.
Pipelines / Jobs Rule-based automation over data already stored in Faraday. See Pipelines & Jobs.

Both Runners and Security Scanners share the same layout, with three tabs:

  • Runners / Security Scanners: the list of available runners or scanners, where you configure, run and schedule them.
  • Schedules: the recurring or one-time runs created for them.
  • Run History: every execution, with its parameters, results and stages.

Previous URLs

The old automation URLs redirect to the new views: /automation/agents opens Runners (/automation/runners) and /automation/schedule opens the Schedules tab of Runners (/automation/runners/schedules). The Run Status Log tab is now Run History.


Runners

Version requirements

The runner creation flow and the remote management of tools described in this section require Faraday 5.26 or later and Faraday Agent Dispatcher 3.10 or later. Runners connected with an older dispatcher keep working, but their tools can't be managed from Faraday.

Runners view

Each card shows the runner name, its status, the description, the tool categories it includes, the date of the Last run and the Tools available. The status can be:

Status Meaning
Pending The runner was created in Faraday, but no dispatcher has connected to it yet. See Pending runners.
Online The dispatcher is connected and can run tools.
Offline The dispatcher is registered but not connected right now.

From the card you can:

  • Click the calendar icon to schedule a run. It is disabled while the runner is Pending.
  • Click Configure and Run to open the runner detail, where you manage its tools and run them. The button is enabled for both Online and Offline runners, so you can review an offline runner before it reconnects. Runs are only executed once the runner is Online.
  • On a Pending runner the button is Connection setup instead, and shows again the command to connect its dispatcher.

The toolbar on top of the list contains:

Button Description
Create Runner Opens the wizard to create a new runner.
Runner Token (key icon) Shows a registration token to connect a dispatcher manually. You don't need it when you create the runner from the wizard, because the token is already included in the generated command.
Configure and Run (gear icon) Opens the detail panel of the selected runner, or its Connection setup if it is pending. Select only one runner.
Schedule run (calendar icon) Schedules a run for the selected runner. It is disabled if a pending runner is selected.
Delete Deletes the selected runner(s).

Use List View / Grid View to switch between cards and a table with the columns Name, Status, Last executed, Blocked, Description and Categories.

Creating a Runner

Creating a runner has two parts: you create the runner in Faraday and connect a dispatcher to it, and then you add its tools from Faraday. You no longer choose the tools or download a dispatcher.yaml file when you create the runner.

Click Create Runner to open the New Runner wizard. It has three steps:

  1. Configuration: enter a Name and a Description for the runner. Both fields are required. Click Next.

  2. Connection settings: set how the dispatcher will reach Faraday. The command of the next step is generated from these values.

    Field Description
    Faraday URL The address the dispatcher uses to reach Faraday: the server's address, or the one of the proxy in front of it (for example nginx). It is filled in with the address you are using in the browser. Required.
    SSL certificate path (optional) The path, on the dispatcher host, of the certificate used to verify Faraday's SSL certificate.
    Ignore SSL certificate verification Skips the verification of Faraday's SSL certificate. Use it only for testing or with self-signed certificates.

    Click Next. Faraday creates the runner at this point, with the Pending status.

  3. Run the dispatcher: copy the command shown in the Python or Docker tab and run it on the host where the dispatcher will run.

    # Python
    faraday-dispatcher run --url=https://faraday.example.com --token=123456 \
      --dispatcher-id=<DISPATCHER_ID> --remote-config
    
    # Docker
    docker run -d --restart unless-stopped \
      -v faraday-dispatcher-<DISPATCHER_ID>:/root/.faraday \
      faradaysec/faraday_agent_dispatcher \
      --url=https://faraday.example.com --token=123456 \
      --dispatcher-id=<DISPATCHER_ID> --remote-config
    
    Option Description
    --url The Faraday URL entered in the previous step.
    --token A registration token. It expires after a short time; the wizard shows a countdown and renews the token, and the command, automatically. Copy the command again if it changed.
    --dispatcher-id Links the dispatcher to the runner you just created. It can be used only once.
    --remote-config Lets you manage the tools of the runner from Faraday.
    --ssl-cert / --ssl-ignore Added only if you set them in Connection settings. In Docker, the certificate is also mounted in the container.

    The Docker container runs in the background, restarts on its own and keeps its configuration in a volume, one per runner, so several runners can share a host. The Faraday URL must be reachable from inside the container.

    The dispatcher saves its configuration the first time it runs, so you don't need to pass these options again when you restart it.

    While the wizard is open, it shows the connection status of the runner:

    Status Meaning
    Pending connection: waiting for the dispatcher to register... The command hasn't been run yet, or the dispatcher couldn't reach Faraday.
    Dispatcher registered: waiting for it to be ready... The dispatcher registered and is finishing its connection.
    Connected. Select the Runner in the list to choose its tools. The runner is ready.

    Click Done to close the wizard. Then click Configure and Run on the runner to add its tools.

Use Back in the last step to change the connection settings: the command is regenerated, and no new runner is created. Once the runner is created, its name and description can't be changed from the wizard.

Note

Closing the wizard doesn't delete the runner. If you close it before the dispatcher connects, the runner stays in the list with the Pending status, and you can get the command again from Connection setup.

Warning

If the dispatcher answers that the dispatcher id is unknown or already used, the command was already used to register a dispatcher. Generate a new one from Connection setup, or create a new runner.

For more information about the dispatcher options see the Faraday Agent Dispatcher documentation.

Pending runners

A runner is Pending from the moment it is created until a dispatcher connects to it. While it is pending:

  • Its card shows the Pending status and the Connection setup button. In List View, its status is shown as Offline.
  • It can't be scheduled.
  • Its tools can't be managed, because there is no dispatcher connected yet.

Click Connection setup to get the command again. The popup has the same two steps as the end of the wizard, Connection settings and Run the dispatcher, with a new registration token. The SSL settings are not stored, so enter them again if you need them.

Only the user who created the runner and the administrators can see its connection setup, because the dispatcher id allows whoever has it to connect a dispatcher to the runner. For other users the button is disabled.

Once the dispatcher connects, the runner shows the Online status and the Configure and Run button.

Managing the tools of a runner

The tools of a runner can be added, edited, enabled, disabled and deleted from Faraday. Click Configure and Run on the runner card (or select it and click the gear icon in the toolbar) to open the detail panel. The tools are listed in the Tools tab.

Requirements

  • The dispatcher must have been started with the --remote-config option. The command generated by the wizard always includes it. If a runner doesn't support remote management, the Add Tool button and the edit, delete and enable controls are not shown.
  • The runner must be Online. Changes are sent to the dispatcher right away; if it is offline, Faraday shows an error and the change is not applied.

Each tool in the list has, from left to right:

Control Description
Switch Enables or disables the tool.
Gear icon Expands the run parameters of the tool. See Running a tool.
Play icon Runs the tool.
Pencil icon Edits the environment variables of the tool.
Trash icon Deletes the tool.

Custom tools

Tools configured with a custom command in the dispatcher can only be enabled or disabled from Faraday. To change them, use the dispatcher configuration wizard.

Where the secrets are stored

The environment variables of the tools (API keys, passwords, URLs...) are stored only in the dispatcher. Faraday sends them to the dispatcher when you save them, but doesn't store or log their values.

Adding a tool

  1. Click Add Tool, next to the Tools heading.
  2. In Select a tool, choose the tool to add. The tools are grouped by category. Tools whose requirements are not met on the dispatcher host are shown as not installed and can't be selected. Click Next.

    3. In Configure <tool>, enter:

    • Name: the name of the tool in this runner. It defaults to the name of the tool and must be unique within the runner. To add the same tool more than once (for example, one Nessus per scanner), give each one a different name.
    • The environment variables of the tool, such as hosts, users or API keys. The required ones are marked with *.

  3. Click Add. Faraday sends the configuration to the dispatcher and waits for its answer. If the dispatcher can't apply it, the error is shown in the popup.

Once added, the tool appears in the Tools tab, enabled. Expand it with the gear icon to set its run parameters.

Editing the variables of a tool

Click the pencil icon of a tool to open Edit variables of <tool>. Change the variables you need and click Save. Only the fields you change are sent: leave a field empty to keep its current value.

Variables are treated as sensitive unless the tool declares them as non-sensitive:

  • Non-sensitive variables, such as hosts, ports or paths, show their current value.
  • Sensitive variables, such as passwords, tokens or API keys, are never shown. If they are set, the field shows Already set.

Enabling and disabling a tool

Use the switch of a tool to enable or disable it. A disabled tool keeps its configuration, schedules and run history, but it can't be run: its play icon is dimmed, and Faraday and the dispatcher reject its runs. Turn the switch back on to run it again.

Deleting a tool

Click the trash icon of a tool and confirm with Delete. The tool is removed from the dispatcher, together with its schedules and run history. This can't be undone.

Running a tool (Configure and Run)

  1. Select a runner, or click its card. The detail panel opens on the right with the Tools and Schedules tabs.

  2. In the Tools tab, click the gear icon of a tool to expand its parameters. Every tool has its own parameters (for example Target, Port list or Top ports for Nmap). They also share some common fields:

    Field Description
    Severity range Only vulnerabilities between the minimum and maximum severity are imported.
    Tool parameters The parameters required by the tool. List-type fields accept several values separated by commas.
    Workspace(s) The workspace(s) where the results will be imported.
    Tags Click Edit to add tags to the imported assets, services and vulnerabilities.

    Click Save to keep the configuration.

  3. Click the green play button of the tool to run it with the saved parameters.

Warning

A runner must be Online to run its tools, and the tool must be enabled. If the runner is offline, Faraday shows the following message and the tool is not triggered:

The execution can be followed in the Run History tab.

Scheduling a run

Click the calendar icon on a runner card (or select a runner and click Schedule run in the toolbar). The Schedule run for: <runner> dialog opens:

  1. Enter a Description for the schedule. Active is checked by default.
  2. In Set up the schedule, choose when the runner will run:

    Option Behavior
    Daily Runs every day at the selected time, starting on the selected date.
    Weekly Runs every week on the selected days (Repeat on), at the selected time.
    Monthly, same day Runs every month on the same day of the month (for example, day 21).
    Monthly, same day and week Runs every month on the same weekday and week (for example, the 3rd Wednesday).
    On a specific date Runs once at the selected date and time and then turns itself off.

    Every option except On a specific date creates a recurring (cron) schedule, and its Starting on date prevents it from running before that date. On a specific date creates a one-time (once) schedule: the date must be in the future, and the schedule is deactivated after it runs. If the Faraday server was down at that time, the run still happens if it is within one hour of the scheduled time; after that, the run is skipped and the schedule is deactivated.

    Every option has a Starting on date and a Time, and the dialog shows a summary such as Runs every day at 04:00.

  3. In Tool Selection, select the tool to run. Only the tools configured in this runner are listed. After selecting it, fill in its parameters and the severity range.

  4. In Select Workspace(s), choose the workspace(s) where the results will be included.

  5. Optionally, click Edit in Tags to tag the imported assets, vulnerabilities and services.
  6. Click Accept. The schedule appears in the Schedules tab.

Security Scanners

Security Scanners are run by Faraday, so you don't need to install or maintain anything in your infrastructure. The scanners you can add depend on your subscription.

Security Scanners view

Each card shows the scanner name, its status, the description, its category (for example discovery) and the date of the Last run. From the card you can click the calendar icon to schedule a run or Configure and Run to run it.

The toolbar contains Add Security Scanner and Configure and Run (gear icon). As in Runners, you can switch between List View and Grid View.

Command line

A scanner can also be added from the server with faraday-manage add-scanner --slug <slug>. See add-scanner.

Activating and deactivating a Security Scanner

In List View, the Active column has a switch for each scanner. Turn it off to block the scanner: its card shows the Inactive status and the Configure and Run button is disabled.

A blocked scanner cannot be triggered. If you try to run it, Faraday shows the following warning:

Turn the Active switch back on to run it again.

Adding a Security Scanner

Click Add Security Scanner. The wizard has three steps: Choose, Review and Done.

In the Choose step, Faraday lists the scanners included in your subscription, each one with its name, category and a description of what it does. Scanners already included in your plan show the Included in your plan badge.

Select the scanner you want to add and click Continue to review it and finish adding it to your Security Scanners.

Running a Security Scanner (Configure and Run)

Click Configure and Run on a scanner card. The detail panel opens on the right with the Settings and Schedules tabs.

In Settings, configure:

Field Description
Severity range Only vulnerabilities between the minimum and maximum severity are imported.
Resolve hostnames Resolves the hostnames of the discovered assets.
Targets The targets to scan. Separate the values by commas.
Workspace(s) The workspace(s) where the results will be imported.
Tags Click Edit to add tags to the imported assets, services and vulnerabilities.

Click Save to keep the configuration, and click the green play button next to the scanner name to run it.

Scheduling a Security Scanner run

Click the calendar icon on a scanner card. The dialog is the same as the one for Runners. The difference is that there is no tool selection: you enter the scanner parameters (severity range, Resolve hostnames and Targets) directly.


Schedules

The Schedules tab lists the schedules created for runners or security scanners:

Column Description
Name The schedule description.
Next run When the next execution will happen.
Cron The cron expression generated from the selected cadence (for example 0 9 * * *).
Runner / Scanner The runner or scanner that will be executed.
Tool The tool to run (Runners only).
Trigger now Click the play button to run the schedule immediately.
Active Use the switch to enable or disable the schedule.

Select a schedule and use the pencil icon to edit it or the trash icon to delete it.

Note

Schedules are created from the runner or scanner (calendar icon), not from this tab. See Scheduling a run.

Cron Format Reference

The cadence selected in the UI is stored as a standard 5-field POSIX cron expression, shown in the Cron column of the Schedules tab:

┌────────────── minute (0–59)
│ ┌──────────── hour (0–23)
│ │ ┌────────── day of month (1–31)
│ │ │ ┌──────── month (1–12)
│ │ │ │ ┌────── day of week (0–6, 0=Sunday)
│ │ │ │ │
* * * * *

Common expressions:

Expression Meaning
0 2 * * * Daily at 2:00 AM
0 */6 * * * Every 6 hours
30 1 * * 1 Mondays at 1:30 AM
0 0 1 * * First day of each month at midnight
0 9 * * 1-5 Weekdays at 9:00 AM
*/15 * * * * Every 15 minutes
0 0 * * 0 Sundays at midnight

Supported syntax: - Ranges: 1-5 (Monday through Friday) - Lists: 0,15,30,45 (at minutes 0, 15, 30, 45) - Steps: */10 (every 10 units) - Wildcards: * (every unit) - nth weekday of the month: 3#2 in the day-of-week field (for example, 0 4 * * 3#2 is the second Wednesday of each month at 4:00 AM). This is what Monthly, same day and week generates.

Community Edition: Cron + faraday-cli

Schedule limit: 2 schedules (Community edition).

The web-based Schedules UI with the "Run" button is available in Corporate/Pro editions. Community edition users can achieve the same result using system cron and faraday-cli (see this example).


Run History

The Run History tab lists every execution with its Run (runner or scanner), Tool (Runners only), Categories, Started, End, Duration, Status, Triggered by and Workspaces. Security Scanners also show the current Stage of each run.

Use the search bar to find a specific run, or click the filter icon to filter by:

Filter Description
Status Finished, Running or Failed.
Started Runs started between the From and To dates.
End date Runs that ended between the From and To dates.

Click Clear to reset one filter, or Clear All to reset them all.

Click a row to inspect that run. The detail panel has three tabs:

  • Parameters: the parameters, workspaces and tags used in the run, with its start and end time.
  • Results: the number of vulnerabilities, services and assets found, per workspace.
  • Stages: the progress of each stage of the scan, with the number of targets and the duration of each one (Security Scanners).