Sprinto Executor¶
Category: Governance and Compliance
Script: sprinto.py
Integration: REST API
Faraday Plugin: Raw JSON
Website: https://sprinto.com/
Description¶
Imports failing compliance checks from Sprinto into Faraday as vulnerabilities, and optionally the monitored assets and personnel as hosts. Use it to track compliance failures next to your technical findings.
Prerequisites¶
- A Sprinto account with an API key (created in Sprinto admin under API Access)
- Network access to
api.sprinto.com
Configuration¶
Environment Variables (Setup)¶
| Variable | Required | Description |
|---|---|---|
SPRINTO_API_KEY |
Yes | Sprinto API key |
These variables are also accepted as execution arguments, so a single run can override them.
Execution Arguments¶
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
SPRINTO_API_URL |
string | No | Sprinto API URL (default: https://api.sprinto.com) |
SPRINTO_MODE |
string | No | What to import, as a comma-separated list: checks (failing checks as vulnerabilities), assets (monitored assets as hosts) and personnel (workforce as hosts). Default: checks. |
SPRINTO_FRAMEWORK |
string | No | Only import checks of this framework (e.g., soc2, iso27001, hipaa, gdpr). Default: all frameworks. |
SPRINTO_PAGE_SIZE |
integer | No | Rows per API request (default: 100) |
SPRINTO_MAX_PAGES |
integer | No | Maximum pages to read per mode (default: 50, about 5,000 rows) |
SPRINTO_MIN_SEVERITY |
string | No | Minimum severity of checks to import: info, low, medium, high or critical (default: medium). Unrecognized values fall back to medium. |
YAML Configuration Example¶
executors:
sprinto:
repo_executor: sprinto.py
max_size: 65536
varenvs:
SPRINTO_API_KEY: "<sprinto_api_key>"
params:
SPRINTO_API_URL:
mandatory: false
type: string
base: string
SPRINTO_MODE:
mandatory: false
type: string
base: string
SPRINTO_FRAMEWORK:
mandatory: false
type: string
base: string
SPRINTO_PAGE_SIZE:
mandatory: false
type: integer
base: integer
SPRINTO_MAX_PAGES:
mandatory: false
type: integer
base: integer
SPRINTO_MIN_SEVERITY:
mandatory: false
type: string
base: string
How It Works¶
- Authenticates with
Authorization: Bearer <SPRINTO_API_KEY> - For each mode in
SPRINTO_MODE, reads the matching endpoint withlimit/offsetpagination:/v1/checks(failing checks only),/v1/assetsor/v1/personnel - Maps failing checks to vulnerabilities named
[GRC] <check name>, skipping those belowSPRINTO_MIN_SEVERITY. Frameworks and controls become references. - Maps assets and personnel to hosts, each with an
infovulnerability ([GRC] Sprinto-monitored assetor[GRC] Sprinto workforce member) that holds their details - Sends everything to Faraday with stable external IDs, so repeated runs update the same findings
Notes¶
- Checks that Sprinto links to assets are added to a host for each asset. Checks without assets are grouped under a host named
grc-sprintowith addressgrc:sprinto:global. - Asset hosts use the asset's IP address when Sprinto gives one, otherwise its external ID or
0.0.0.0. Personnel hosts usesprinto:person:<id>as address. - The severity filter only applies to checks. Assets and personnel are always
info. A check without a severity is treated ashigh. - If Sprinto answers with HTTP 429, the executor waits 30 seconds and retries up to 3 times.
- The run fails if
SPRINTO_MODEcontains a value other thanchecks,assetsorpersonnel. - The shared agent parameters (
AGENT_CONFIG_*tags and severity filters) are not applied by this executor. UseSPRINTO_MIN_SEVERITYto filter by severity.