Frontline VM Executor¶
Category: Vulnerability Scanners
Script: frontline_vm.py
Integration: REST API
Faraday Plugin: Raw JSON
Website: https://www.digitaldefense.com/platform/frontline-vm/
Description¶
Imports assets and vulnerabilities from Digital Defense Frontline VM (Frontline.Cloud) into Faraday. Each asset that has vulnerabilities becomes a host with its vulnerabilities attached.
Prerequisites¶
- A Frontline.Cloud account with API access
- A Frontline API token with permission to read assets and vulnerabilities
Configuration¶
Environment Variables (Setup)¶
| Variable | Required | Description |
|---|---|---|
FRONTLINE_HOST |
Yes | Frontline.Cloud URL or hostname (e.g., https://frontline.example.com) |
FRONTLINE_TOKEN |
Yes | Frontline API token |
These variables are also accepted as execution arguments, so a single run can override them.
Execution Arguments¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
FRONTLINE_BUSINESS_GROUP |
string | No | Import only the assets of this business group (default: all assets) |
FRONTLINE_MIN_SEVERITY |
string | No | Minimum severity to import: info, low, medium, high or critical (default: info) |
YAML Configuration Example¶
executors:
frontline_vm:
repo_executor: frontline_vm.py
max_size: 65536
varenvs:
FRONTLINE_HOST: "https://frontline.example.com"
FRONTLINE_TOKEN: "<frontline_token>"
params:
FRONTLINE_BUSINESS_GROUP:
mandatory: false
type: string
base: string
FRONTLINE_MIN_SEVERITY:
mandatory: false
type: string
base: string
How It Works¶
- Authenticates with the header
Authorization: Token <FRONTLINE_TOKEN> - Lists assets from
/api/v2/assets(filtered byFRONTLINE_BUSINESS_GROUPwhen set), 100 per page - For each asset, lists its vulnerabilities from
/api/v2/vulnerabilities, filtered by minimum severity - Maps each vulnerability to a Faraday vulnerability:
- Severity: Frontline's severity label, or the CVSS score when there is no label
- Status:
closed,fixed,resolvedandmitigatedbecome closed; everything else is open - Details: description, remediation, evidence, references, CVEs and CVSS score when present
- Creates one host per asset with its IP, hostname, OS and MAC address
Notes¶
- Assets without vulnerabilities (after the severity filter) are not imported.
- An asset without an IP address is imported with IP
0.0.0.0. - TLS certificates are not verified.
- The shared agent parameters (
AGENT_CONFIG_*tags and severity filters) are not applied by this executor. UseFRONTLINE_MIN_SEVERITYto filter by severity.