Uptycs Executor¶
Category: SIEM and SOAR
Script: uptycs.py
Integration: REST API (JWT)
Faraday Plugin: Raw JSON
Website: https://www.uptycs.com
Description¶
Imports assets and alerts from an Uptycs tenant into Faraday. Each Uptycs asset becomes a host and each alert becomes a vulnerability prefixed with [SIEM].
Prerequisites¶
- An Uptycs tenant with an API key (key ID and secret), created in the console under Configuration > Users > API Keys
- The customer ID (UUID) of your Uptycs tenant
- Network access to your Uptycs API host
Configuration¶
Environment Variables (Setup)¶
| Variable | Required | Description |
|---|---|---|
UPTYCS_HOST |
Yes | Uptycs API URL including scheme (e.g., https://mytenant.uptycs.io) |
UPTYCS_CUSTOMER_ID |
Yes | Customer ID (UUID) of your Uptycs tenant |
UPTYCS_API_KEY_ID |
Yes | API key ID |
UPTYCS_API_SECRET |
Yes | API key secret |
These variables are also accepted as execution arguments, so a single run can override them.
Execution Arguments¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
UPTYCS_TAG_FILTER |
string | No | Comma-separated asset tags. Only assets with one of these tags, and their alerts, are imported. Default: all assets. |
UPTYCS_MIN_SEVERITY |
string | No | Minimum severity of alerts to import: info, low, medium, high or critical (default: info) |
YAML Configuration Example¶
executors:
uptycs:
repo_executor: uptycs.py
max_size: 65536
varenvs:
UPTYCS_HOST: "https://mytenant.uptycs.io"
UPTYCS_CUSTOMER_ID: "00000000-0000-4000-8000-000000000000"
UPTYCS_API_KEY_ID: "<uptycs_api_key_id>"
UPTYCS_API_SECRET: "<uptycs_api_secret>"
params:
UPTYCS_TAG_FILTER:
mandatory: false
type: string
base: string
UPTYCS_MIN_SEVERITY:
mandatory: false
type: string
base: string
How It Works¶
- Builds a short-lived JWT signed with
UPTYCS_API_SECRET(issuerUPTYCS_API_KEY_ID) and sends it as a Bearer token - Reads assets from
/public/api/customers/{customer_id}/assets, limited toUPTYCS_TAG_FILTERtags when set - Reads alerts from
/public/api/customers/{customer_id}/alerts, limited to the filtered assets whenUPTYCS_TAG_FILTERis set - Attaches each alert to its asset as a vulnerability named
[SIEM] <alert>, dropping alerts belowUPTYCS_MIN_SEVERITY - Maps severity from Uptycs' severity label, falling back to its 0-10 score
Notes¶
- Assets without alerts are still imported as hosts.
- Alerts that do not match an imported asset are grouped under a synthetic host. If nothing is returned, this host is still created.
UPTYCS_HOSTmust start withhttp://orhttps://, andUPTYCS_CUSTOMER_IDmust be a UUID. The run stops otherwise.- Malformed tags in
UPTYCS_TAG_FILTERare logged and skipped. An unrecognizedUPTYCS_MIN_SEVERITYfalls back toinfo. - The shared agent parameters (
AGENT_CONFIG_*tags and severity filters) are not applied by this executor. UseUPTYCS_MIN_SEVERITYto filter by severity.