Skip to content

Digital Shadows / Reliaquest SearchLight Executor

Category: Threat Intelligence Script: digital_shadows.py Integration: REST API (HMAC-signed) Faraday Plugin: Raw JSON Website: https://www.reliaquest.com/digital-risk-protection/

Description

Imports incidents and intel incidents from Digital Shadows / ReliaQuest SearchLight into Faraday. Each incident becomes a vulnerability with its type, severity, mitigation and affected entities.

Prerequisites

  • A Digital Shadows / ReliaQuest SearchLight account with API access
  • An API key and secret (created in the SearchLight portal under Settings > API)
  • Python requests module available to the agent

Configuration

Environment Variables (Setup)

Variable Required Description
DS_HOST Yes SearchLight API URL for your tenant (e.g., https://api.searchlight.app)
DS_KEY Yes API key
DS_SECRET Yes API secret, used to sign each request

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

Execution Arguments

Parameter Type Mandatory Description
DS_MIN_SEVERITY string No Minimum severity to import: Very-Low, Low, Medium, High or Very-High. Aliases such as critical (Very-High) are accepted. Leave blank to import all incidents.
DS_LIMIT integer No Number of incidents requested per page (default: 100, maximum: 500)

YAML Configuration Example

executors:
  digital_shadows:
    repo_executor: digital_shadows.py
    max_size: 65536
    varenvs:
      DS_HOST: "https://api.searchlight.app"
      DS_KEY: "<api_key>"
      DS_SECRET: "<api_secret>"
    params:
      DS_MIN_SEVERITY:
        mandatory: false
        type: string
        base: string
      DS_LIMIT:
        mandatory: false
        type: integer
        base: integer

How It Works

  1. Signs every request with HMAC-SHA256 using DS_SECRET and sends it with the Authorization: hmac <DS_KEY>:<signature> header
  2. Reads incidents with POST {DS_HOST}/incidents/find and intel incidents with POST {DS_HOST}/intel-incidents/find, page by page. The minimum severity is sent to SearchLight as a filter.
  3. Creates one vulnerability per incident, with its title, type, status, mitigation, affected entities and portal link. Intel incidents also include threat actors and tags.
  4. Maps severity (Very-High = critical, High = high, Medium = medium, Low = low, Very-Low = info). Closed or resolved incidents are lowered to info.
  5. Uses the analyst mitigation text as the resolution, or a generic recommendation for the incident type

Notes

  • All vulnerabilities are placed under a single host with IP 0.0.0.0 and hostname digital-shadows, tagged digital-shadows, because incidents relate to brands and threat actors and not to hosts.
  • All vulnerabilities are open, even when the incident is closed in SearchLight.
  • The shared agent parameters (AGENT_CONFIG_* tags and severity filters) are not applied by this executor.