Skip to content

Dradis Pro Executor

Category: Vulnerability Scanners Script: dradis.py Integration: REST API Faraday Plugin: Raw JSON Website: https://dradisframework.com/pro/

Description

Imports the nodes and issues of a Dradis Pro project into Faraday. Each Dradis node that has evidence becomes a host, and the issues evidenced on it become its vulnerabilities.

Prerequisites

  • A Dradis Pro server reachable from the agent
  • A Dradis API token with read access to the project
  • The numeric ID of the Dradis project to import

Configuration

Environment Variables (Setup)

Variable Required Description
DRADIS_HOST Yes Dradis Pro server URL (e.g., https://dradis.example.com)
DRADIS_TOKEN Yes Dradis API token

These variables are also accepted as execution arguments, so a single run can override them.

Execution Arguments

Parameter Type Mandatory Description
DRADIS_PROJECT_ID string Yes ID of the Dradis project to import

YAML Configuration Example

executors:
  dradis:
    repo_executor: dradis.py
    max_size: 65536
    varenvs:
      DRADIS_HOST: "https://dradis.example.com"
      DRADIS_TOKEN: "<dradis_token>"
    params:
      DRADIS_PROJECT_ID:
        mandatory: true
        type: string
        base: string

How It Works

  1. Authenticates with the header Authorization: Token token="<DRADIS_TOKEN>" and sends the project ID in the Dradis-Project-Id header
  2. Reads the project's issues from /pro/api/projects/{id}/issues and nodes from /pro/api/projects/{id}/nodes
  3. Reads the evidence of each node from /pro/api/projects/{id}/nodes/{node_id}/evidence to find which issues affect it
  4. Maps each issue to a Faraday vulnerability using its Dradis fields (title, description, severity, CVSS, CVEs, references, recommendation, evidence). Vulnerabilities are always imported as open.
  5. Creates one host per node; the IP and hostname are taken from the node's properties or label

Notes

  • Nodes without evidence are skipped.
  • Issues that have no evidence on any node are grouped under a host with IP 0.0.0.0. A node whose IP cannot be determined also uses 0.0.0.0.
  • Severity is read from the issue's severity or rating field; if it is missing or unrecognized the vulnerability is imported as info.
  • TLS certificates are not verified.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor.