Skip to content

Oligo Security Executor

Category: Vulnerability Scanners Script: oligo.py Integration: REST API Faraday Plugin: Raw JSON Website: https://www.oligo.security/

Description

Imports runtime vulnerabilities from Oligo Security into Faraday. Oligo reports vulnerable open-source libraries that are loaded by running workloads, and the executor creates one Faraday host per Oligo asset with its runtime vulnerabilities.

Prerequisites

  • An Oligo Security tenant with API access
  • An Oligo API token with permission to read assets and runtime vulnerabilities
  • Network access from the agent to your Oligo tenant URL

Configuration

Environment Variables (Setup)

Variable Required Description
OLIGO_HOST Yes Base URL of your Oligo tenant (e.g., https://app.oligo.security). If you omit the scheme, https:// is used.
OLIGO_TOKEN Yes Oligo API token

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

Execution Arguments

Parameter Type Mandatory Description
OLIGO_CLUSTER string No Name of a cluster to import. If empty, assets and findings from all clusters visible to the token are imported.
OLIGO_MIN_SEVERITY string No Minimum severity to import: info, low, medium, high or critical (default: info)

YAML Configuration Example

executors:
  oligo:
    repo_executor: oligo.py
    max_size: 65536
    varenvs:
      OLIGO_HOST: "https://app.oligo.security"
      OLIGO_TOKEN: "<oligo_token>"
    params:
      OLIGO_CLUSTER:
        mandatory: false
        type: string
        base: string
      OLIGO_MIN_SEVERITY:
        mandatory: false
        type: string
        base: string

How It Works

  1. Authenticates with Authorization: Bearer <OLIGO_TOKEN>
  2. Lists the runtime assets with GET /api/v1/assets, 100 per page, filtered by OLIGO_CLUSTER if set
  3. For each asset, lists its findings with GET /api/v1/runtime/vulnerabilities, filtered by asset, cluster and minimum severity
  4. Maps each finding to a Faraday vulnerability:
    • Name: the finding's name or CVE ID
    • Severity: Oligo's severity, or its CVSS score when the severity is missing
    • Status: fixed or resolved findings become closed, suppressed or accepted findings become risk-accepted, everything else is open
    • Details: affected library and version, whether it is loaded or exploited at runtime, fixed version, CVEs and references
  5. Creates one host per asset that has findings, with its IP, host name and cluster, namespace, workload and image in the description

Notes

  • Assets without findings are not imported.
  • Findings that do not belong to any listed asset are grouped under a host with IP 0.0.0.0. Assets without an IP also use 0.0.0.0.
  • An invalid OLIGO_MIN_SEVERITY value stops the run.
  • TLS certificate verification is disabled for requests to the API.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor. Use OLIGO_MIN_SEVERITY to filter by severity.