Echetleos
API referenceVersion 1 · https://echetleos.avsecadvisory.eu

Overview

Everything the dashboard does is available over this JSON API: register and verify assets, sign Rules of Engagement, run and retest assessments, approve intrusive actions, read findings, reports and the audit trail, and connect CI/CD, chat, ticketing and single sign-on.

Base URLhttps://echetleos.avsecadvisory.eu FormatJSON in and out (UTF-8). Times are RFC 3339 in UTC. IDs are opaque strings with a prefix, such as ast_ or eng_. StabilityRoutes under /v1 only change additively: new fields and endpoints, never removed or renamed ones. Ignore fields you do not know. Machine-readableOpenAPI 3.1, generated from the same code that serves the API, so it is always current. Import it into Postman, Insomnia or a client generator.
Nothing is ever tested outside what you have proven you own and authorized in signed Rules of Engagement. That gate is enforced in the server for every action, whatever the API caller asks for.

Authentication & roles

CredentialHeaderUse
Organization API keyX-API-Key: ek_…Created when the organization is set up. Acts with owner rights and does not expire; rotate it with POST /v1/org/api-key. Its actions are recorded as api_key; add X-Actor: name to label the integration (api_key:name).
Named API keyX-API-Key: ek_…Created by an owner (POST /v1/api-keys) with a scope — read (GET only), operate (what an operator can do) or owner — and an optional expiry within a year. Shown once, stored as a hash, listed with when it was last used, revocable at any time. Its actions are recorded as api_key:<name> (api_key:<name>/<label> with X-Actor).
SessionAuthorization: Bearer sess_…A person, from POST /v1/login or single sign-on. With two-factor sign-in, the password returns a single-use challenge instead, traded with the authenticator's code at POST /v1/login/two-factor. Valid for 12 hours; actions are attributed to that person.
Deploy hook tokenAuthorization: Bearer …Only for /v1/deploy/{id}: starts that hook's run and reads its verdict. Cannot change scope.
SCIM tokenAuthorization: Bearer scim_…Only for /scim/v2, used by your identity provider.
RoleCan
viewerRead everything, and use the kill switch.
operatorEverything a viewer can, plus change what gets tested, run assessments, decide approvals and manage integrations.
ownerEverything an operator can, plus manage people (roles, deactivation, sessions, two-factor resets), API keys, single sign-on and SCIM.

Each endpoint below shows who may call it. A key acts with its scope's role (read as a viewer, but GET only; operate as an operator; owner as an owner) and is never a person: whatever its scope, it cannot approve an intrusive check or a risk acceptance, create another key, or reset someone's second factor. Credentials are never accepted in URLs.

Errors & limits

Errors are JSON with a readable message: {"error": "kind and value are required"}. Unknown request fields are rejected, so typos fail loudly.

StatusMeaning
400Invalid input; the message says what to fix.
401Missing, invalid or expired credentials.
403Authenticated, but your role may not do this.
404Not found in your organization. Other organizations' data is never visible.
409Conflicts with the current state (for example a run is already in progress).
429Too many attempts; wait for the Retry-After header.
502An outside system (Jira, ServiceNow, an identity provider) refused or failed.
503A feature that needs server configuration (such as ECHETLEOS_SECRET_KEY) is off.

Limits: request bodies up to 4 MB. Five failed sign-ins for the same email from the same address within 15 minutes lock that pair for 15 minutes (20 per address, 20 per email). A wrong two-factor code counts the same way, and five wrong codes for one person within 15 minutes lock their codes for 15 minutes, wherever they come from. Deploy-hook token guessing is throttled the same way. Scanning speed is set by each RoE's max_rps.

Quick start

export ECHETLEOS=https://echetleos.avsecadvisory.eu
export ECHETLEOS_API_KEY=ek_…

# 1. Register a domain you own, publish the TXT record it returns, then verify it.
curl -X POST "$ECHETLEOS/v1/assets" -H "X-API-Key: $ECHETLEOS_API_KEY" -H "Content-Type: application/json" \
  -d '{"kind":"domain","value":"bank.example"}'
curl -X POST "$ECHETLEOS/v1/assets/<asset-id>/verify" -H "X-API-Key: $ECHETLEOS_API_KEY"

# 2. Sign Rules of Engagement for the verified asset.
curl -X POST "$ECHETLEOS/v1/roe" -H "X-API-Key: $ECHETLEOS_API_KEY" -H "Content-Type: application/json" \
  -d '{"name":"Q4","asset_ids":["<asset-id>"],"signed_by":"CISO","max_rps":5}'

# 3. Create and start an engagement, then read the report.
curl -X POST "$ECHETLEOS/v1/engagements" -H "X-API-Key: $ECHETLEOS_API_KEY" -H "Content-Type: application/json" \
  -d '{"name":"Q4 external","asset_ids":["<asset-id>"],"roe_id":"<roe-id>"}'
curl -X POST "$ECHETLEOS/v1/engagements/<engagement-id>/start" -H "X-API-Key: $ECHETLEOS_API_KEY"
curl "$ECHETLEOS/v1/engagements/<engagement-id>" -H "X-API-Key: $ECHETLEOS_API_KEY"        # until "state": "completed"
curl -o report.html "$ECHETLEOS/v1/engagements/<engagement-id>/report.html?download=1" -H "X-API-Key: $ECHETLEOS_API_KEY"

CI/CD gate

Create a deploy hook once (dashboard or API) and store its token as a CI secret. After each deployment:

run=$(curl -fsS -X POST "$ECHETLEOS/v1/deploy/$HOOK_ID" -H "Authorization: Bearer $ECHETLEOS_HOOK_TOKEN" \
  -H "Content-Type: application/json" -d "{\"ref\":\"$GIT_SHA\",\"environment\":\"production\"}")
status_url=$(echo "$run" | jq -r .status_url)

# Optional: add your code scan (Semgrep, CodeQL, Trivy, gitleaks…) so one gate covers code and app.
semgrep scan --config auto --sarif -o semgrep.sarif
curl -fsS -X POST "$ECHETLEOS$status_url/sarif" -H "Authorization: Bearer $ECHETLEOS_HOOK_TOKEN" \
  -H "Content-Type: application/sarif+json" --data-binary @semgrep.sarif
while :; do
  verdict=$(curl -fsS "$ECHETLEOS$status_url" -H "Authorization: Bearer $ECHETLEOS_HOOK_TOKEN" | jq -r .verdict)
  [ "$verdict" != pending ] && break; sleep 20
done
echo "Echetleos verdict: $verdict"; [ "$verdict" = pass ]

Verifying webhooks

Signed-JSON webhooks carry X-Echetleos-Signature: t=<unix>,v1=<hex>: an HMAC-SHA256, keyed by the webhook's secret, of <t>.<raw body>. Also check that t is recent, to refuse replays.

import hmac, hashlib, time

def verify(secret, header, body):
    parts = dict(p.split("=", 1) for p in header.split(","))
    if abs(time.time() - int(parts["t"])) > 300:
        return False
    mac = hmac.new(secret.encode(), (parts["t"] + ".").encode() + body, hashlib.sha256)
    return hmac.compare_digest(mac.hexdigest(), parts["v1"])

Account

Sign in (with two-factor sign-in), the current caller, your own second factor, and the people of the organization: roles, deactivation, sessions.

POST/v1/loginpublic
Sign in with email and password
Returns a session token for Authorization: Bearer — or, for someone with two-factor sign-in, no session but two_factor: code and a challenge: send it with the authenticator's code to POST /v1/login/two-factor. Where the organization requires two-factor sign-in and the person has none yet, two_factor: enroll: set it up with POST /v1/login/two-factor/setup first. The challenge is signed, lasts 5 minutes (15 to set up) and is redeemed once. Repeated failures lock the email and address for 15 minutes (HTTP 429 with Retry-After). If the organization requires single sign-on, people other than owners get HTTP 403 with sso_slug. 503 for someone with two-factor sign-in while the server has no ECHETLEOS_SECRET_KEY.
AccessNo credentials. Success200 OK · LoginResponse Errors401 Unauthorized · 403 Forbidden · 429 Too Many Requests · 503 Service Unavailable
Body fieldTypeDescription
emailstringrequiredWork email address.
passwordstringrequiredPassword.
devicestringoptionalThe device token an earlier sign-in from this browser returned for this email: its sign-ins are counted on their own, so failures by others at the same address cannot lock it out.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/login" \
  -H "Content-Type: application/json" \
  -d '{"email":"ana@bank.example","password":"correct horse battery staple"}'
POST/v1/login/two-factorpublic
Sign in: the second step
Trades the sign-in's challenge and a 6-digit code from the authenticator app — or one of the recovery codes, each usable once — for the session (and the device token). Each code is accepted once. A wrong code counts like a wrong password, and against the person: five per 15 minutes lock further codes (HTTP 429 with Retry-After). For two_factor: enroll, the first code confirms the setup and the reply also carries ten recovery codes, shown only then.
AccessNo credentials. Success200 OK · SessionResponse Errors400 Bad Request · 401 Unauthorized · 409 Conflict · 429 Too Many Requests
Body fieldTypeDescription
challengestringrequiredFrom the sign-in reply.
codestringrequiredThe 6-digit code from the authenticator app, or one of the recovery codes (not while setting up).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/login/two-factor" \
  -H "Content-Type: application/json" \
  -d '{"challenge":"tfa1.…","code":"492039"}'
POST/v1/login/two-factor/setuppublic
Sign in: set up two-factor sign-in the organization requires
For two_factor: enroll: returns a new authenticator secret, its otpauth:// URI and a QR code to scan. Then send the first code to POST /v1/login/two-factor.
AccessNo credentials. Success200 OK · TwoFactorSetupResponse Errors400 Bad Request · 401 Unauthorized · 409 Conflict
Body fieldTypeDescription
challengestringrequiredFrom the sign-in reply (two_factor: enroll).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/login/two-factor/setup" \
  -H "Content-Type: application/json" \
  -d '{"challenge":"tfa1.…"}'
POST/v1/logoutread
End the current session
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · StatusResponse Errors401 Unauthorized · 403 Forbidden
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/logout" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/meread
Who am I
A signed-in person (kind: user) or an API key (kind: api_key, with its scope and, for a named key, key_name).
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · MeResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/me" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/me/two-factorread
Your two-factor sign-in
Whether it is on, how many recovery codes are left, and whether the organization requires it. For people only (403 for an API key).
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · TwoFactorStatus Errors401 Unauthorized · 403 Forbidden
Example request
curl "https://echetleos.avsecadvisory.eu/v1/me/two-factor" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/me/two-factor/setupread
Start setting up two-factor sign-in
Returns a new authenticator secret (sealed with the server's key when stored), its otpauth:// URI and a QR code. Nothing changes until the first code confirms it (/enable). Password sign-in only: people who sign in through the identity provider get 400. 503 without ECHETLEOS_SECRET_KEY.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · TwoFactorSetupResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict · 503 Service Unavailable
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/me/two-factor/setup" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/me/two-factor/enableread
Turn on two-factor sign-in
Confirms the setup with a first code and returns ten one-time recovery codes, shown only now and stored as hashes. Wrong codes are throttled (429). Audited.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · RecoveryCodesResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict · 429 Too Many Requests
Body fieldTypeDescription
codestringrequiredA current 6-digit code from the authenticator app (turning off and new recovery codes also take a recovery code).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/me/two-factor/enable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code":"492039"}'
POST/v1/me/two-factor/disableread
Turn off two-factor sign-in
Needs a current code (or a recovery code). 409 while the organization requires two-factor sign-in: an owner can reset it instead. Audited.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · TwoFactorStatus Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict · 429 Too Many Requests
Body fieldTypeDescription
codestringrequiredA current 6-digit code from the authenticator app (turning off and new recovery codes also take a recovery code).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/me/two-factor/disable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code":"492039"}'
POST/v1/me/two-factor/recovery-codesread
Replace your recovery codes
Needs a current code. Returns ten new codes, shown only now; the earlier ones stop working. Audited.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · RecoveryCodesResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict · 429 Too Many Requests
Body fieldTypeDescription
codestringrequiredA current 6-digit code from the authenticator app (turning off and new recovery codes also take a recovery code).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/me/two-factor/recovery-codes" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code":"492039"}'
GET/v1/usersowner
List the organization's people
Each person with their role, whether they are active, who manages the account (source: empty for a password, sso, scim) and whether two-factor sign-in is on.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · array of UserView Errors401 Unauthorized · 403 Forbidden
Example request
curl "https://echetleos.avsecadvisory.eu/v1/users" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/usersowner
Add a person with a password
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · User Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required
Body fieldTypeDescription
emailstringrequiredWork email; unique across the platform.
namestringoptionalDisplay name.
roleowner | operator | viewerrequiredowner, operator or viewer.
passwordstringrequiredAt least 8 characters. Stored only as a bcrypt hash.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/users" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"omar@bank.example","name":"Omar Haddad","password":"a-long-unique-passphrase","role":"operator"}'
POST/v1/users/{id}/roleowner
Change a person's role
Takes effect on their next request. 409 for the organization's last active owner (make someone else an owner first, also to demote yourself), and for people provisioned by the identity provider (SCIM), whose role its groups decide. For accounts created at single sign-on, warning says when the identity provider's groups may change the role back. Audited (user.role).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · PersonResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
roleowner | operator | viewerrequiredowner, operator or viewer.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/users/<id>/role" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"role":"viewer"}'
POST/v1/users/{id}/deactivateowner
Deactivate a person
They can no longer sign in, and every session of theirs ends at once (sessions_ended). The account and its history stay; reactivate to undo. 409 for the last active owner, yourself included. For people provisioned by the identity provider (SCIM) it works too, with a warning: deactivate them there as well, or its next sync may reactivate them. Audited (user.deactivate).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · PersonResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/users/<id>/deactivate" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/users/{id}/reactivateowner
Reactivate a person
They take a seat again (402 when the plan has none left). 409 for people provisioned by the identity provider (SCIM): reactivate them there. Audited (user.reactivate).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · PersonResponse Errors401 Unauthorized · 403 Forbidden · 402 Payment Required · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/users/<id>/reactivate" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/users/{id}/sessionsowner
End all of a person's sessions
Signs them out everywhere at once; they can sign in again (deactivate them to stop that). Audited (user.sessions_end).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SessionsEndedResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/users/<id>/sessions" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/users/{id}/two-factorowner
Reset a person's two-factor sign-in
For someone who lost their authenticator and recovery codes: they sign in with their password alone, or set it up again where the organization requires it. A signed-in owner only (403 for an API key), and not on yourself. Audited (user.two_factor_reset).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · PersonResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/users/<id>/two-factor" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Organization

Your organization's settings, its API keys, the two-factor requirement, and one-time invites for new people.

GET/v1/orgread
Your organization
When a provider works inside a client (X-Echetleos-Tenant), this is the client.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · OrgResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/org" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
PUT/v1/orgowner
Rename, or act as a managed service provider
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · OrgResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required
Body fieldTypeDescription
namestringoptionalNew organization name; omit to keep.
providerbooleanoptionalAct as a managed service provider for client organizations; omit to keep.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/v1/org" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"provider":true}'
GET/v1/org/settingsread
Organization settings: third-party subdomain sources
Whether attack-surface discovery may send your verified domain names to third-party subdomain sources (passive DNS databases, web archives), which sources that means, with the hosts contacted, and which of your own API keys are stored. Off by default.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · OrgSettingsResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/org/settings" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
PUT/v1/org/settingsowner
Opt in to or out of third-party subdomain sources
Only an owner can change it, and every change is in the audit trail with the sources it names. Keys for keyed sources are sealed with the server's secret key and never returned; a keyed source is used only while the opt-in is on and its key is set.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · OrgSettingsResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 503 Service Unavailable
Body fieldTypeDescription
third_party_sourcesbooleanoptionalOpt in to (true) or out of (false) third-party subdomain sources; omit to keep.
source_keysmap of stringoptionalYour own API keys for keyed sources, by source name; an empty string removes one. Stored encrypted, never returned.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/v1/org/settings" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source_keys":{"securitytrails":"your-securitytrails-api-key"},"third_party_sources":true}'
GET/v1/org/airead
The organization's language model
Which model the AI operator and Ask Echetleos use, the models the server's endpoint serves, and whether the organization turned the language model off.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · AiModelView Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/org/ai" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
PUT/v1/org/aiowner
Choose the organization's language model, or turn it off
An owner picks one of the models the server's endpoint serves (empty for the server's default), or turns the language model off. The next run uses it; runs in progress keep theirs. Every change is audited.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · AiModelView Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 502 Bad Gateway · 503 Service Unavailable
Body fieldTypeDescription
modelstringoptionalA model the endpoint serves, or empty for the server's default. Omit to keep.
offbooleanoptionalTurn the language model off (true) or back on (false) for the organization. Omit to keep.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/v1/org/ai" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen2.5:7b"}'
POST/v1/org/ai/testowner
Try a model on one tool-use step
Sends the model one short planning task, the kind the AI operator gives it on every step, and reports whether it called the tool and how long it took. Audited.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · AiTestResponse Errors401 Unauthorized · 403 Forbidden · 503 Service Unavailable
Body fieldTypeDescription
modelstringoptionalModel to try; empty tries the organization's current model.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/org/ai/test" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen2.5:7b"}'
GET/v1/org/slaread
Remediation SLA policy
Days to fix a finding, by severity, counted from detection; and whether CISA's KEV due dates apply. Defaults: critical 15, high 30, medium 90, low 180, KEV due dates on.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · SlaResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/org/sla" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
PUT/v1/org/slaowner
Set the remediation SLA policy
Owner only. Open issues are re-dated at once; overdue issues are flagged and notified (finding.overdue webhook). Audited (org.sla).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SlaResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request
Body fieldTypeDescription
critical_daysintegeroptionalDays to fix a critical finding (0: no deadline).
high_daysintegeroptional
medium_daysintegeroptional
low_daysintegeroptional
kev_due_datesbooleanoptionalA finding in CISA's KEV catalog is due no later than CISA's due date.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/v1/org/sla" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"critical_days":15,"high_days":30,"kev_due_dates":true,"low_days":180,"medium_days":90}'
POST/v1/org/api-keyowner
Rotate the organization's API key
Returns a new key once; the previous key stops working immediately. By a signed-in owner or with the key itself; a named key gets 403.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · ApiKeyResponse Errors401 Unauthorized · 403 Forbidden
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/org/api-key" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/org/two-factorread
Two-factor sign-in requirement
Whether everyone who signs in with a password must use a second factor, and how many of them have it on.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · OrgTwoFactorView Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/org/two-factor" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
PUT/v1/org/two-factorowner
Require two-factor sign-in
With required: true, people who sign in with a password and have no second factor set one up at their next sign-in before they get a session (sessions already open run out normally). Single sign-on is left to the identity provider. An owner who signs in with a password turns on their own first (409). 503 without ECHETLEOS_SECRET_KEY. Audited (org.two_factor).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · OrgTwoFactorView Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict · 503 Service Unavailable
Body fieldTypeDescription
requiredbooleanrequiredRequire two-factor sign-in for everyone who signs in with a password.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/v1/org/two-factor" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"required":true}'
GET/v1/api-keysowner
List API keys
The organization's own key first (organization: true, owner scope), then the named keys, each with its scope, who created it, its expiry and when it was last used (to the minute). Never the keys themselves.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · array of ApiKeyView Errors401 Unauthorized · 403 Forbidden
Example request
curl "https://echetleos.avsecadvisory.eu/v1/api-keys" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/api-keysowner
Create a named API key
Scope read (GET only), operate (what an operator can do) or owner (what an owner can do, including people and single sign-on); optionally expiring within a year. The key is returned once and stored as a hash. Its actions are recorded as api_key:<name>. Whatever its scope, a key never approves an intrusive check or a risk acceptance. Created by a signed-in owner (403 for an API key), so every key traces back to a person. Audited (api_key.create).
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · ApiKeyCreatedResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict
Body fieldTypeDescription
namestringrequired1–40 letters, digits, dots, underscores or hyphens; unique in the organization. Its actions are recorded as api_key:<name>.
scopestringrequiredread (GET only), operate (what an operator can do) or owner (what an owner can do, including people and single sign-on).
expires_daysintegeroptionalDays until the key stops working, 1 to 365; omit or 0 for a key that does not expire.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/api-keys" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"expires_days":90,"name":"github-actions","scope":"operate"}'
DELETE/v1/api-keys/{id}owner
Revoke a named API key
It stops working at once. The organization's own key is rotated instead (400). Audited (api_key.revoke).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · DeletedResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/api-keys/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/invitesowner
List invites
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · array of Invite Errors401 Unauthorized · 403 Forbidden
Example request
curl "https://echetleos.avsecadvisory.eu/v1/invites" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/invites/{id}owner
Revoke an invite
The link stops working at once and no longer holds a seat. 409 once the person has joined: deactivate them instead. Audited (invite.revoke).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · Invite Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/invites/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/invitesowner
Invite a person
Returns a one-time link (valid 7 days). The person sets their own password; nobody else ever knows it.
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · InviteResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 409 Conflict
Body fieldTypeDescription
emailstringrequiredWork email of the person to invite.
roleowner | operator | viewerrequiredowner, operator or viewer.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/invites" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"eleni@bank.example","role":"operator"}'
POST/v1/invites/lookuppublic
Read an invite (before accepting)
AccessNo credentials. Success200 OK · InviteInfoResponse Errors404 Not Found
Body fieldTypeDescription
tokenstringrequiredThe token from the #invite= link.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/invites/lookup" \
  -H "Content-Type: application/json" \
  -d '{"token":"inv_…"}'
POST/v1/invites/acceptpublic
Accept an invite and sign in
Creates the account with the chosen password and returns a session. The link then stops working. Where the organization requires two-factor sign-in, the reply is two_factor: enroll with a challenge instead of a session, as for a sign-in.
AccessNo credentials. Success200 OK · LoginResponse Errors400 Bad Request · 404 Not Found · 409 Conflict · 503 Service Unavailable
Body fieldTypeDescription
tokenstringrequiredThe token from the #invite= link.
namestringoptionalYour name.
passwordstringrequiredAt least 12 characters. Stored only as a bcrypt hash.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/invites/accept" \
  -H "Content-Type: application/json" \
  -d '{"name":"Eleni Georgiou","password":"a-long-unique-passphrase","token":"inv_…"}'

Billing

Plans, limits and the Stripe subscription. Limits apply only when the server has Stripe configured; self-hosted and demo installs have none. An action the plan does not allow answers HTTP 402 with the limit, the plan and the upgrade path. Limits are checked when work is admitted, never while an engagement runs, and a downgrade deletes nothing. Billing is owner-only; the webhook is public and authenticated by Stripe's signature.

GET/v1/billingowner
Plan, limits and usage
The plan in effect and why, each limit against current usage, the premium modules, the subscription (status, next invoice date, grace period after a failed payment) and the plans on offer. With billing off (enabled: false) nothing is limited.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · BillingView Errors401 Unauthorized · 403 Forbidden
Example request
curl "https://echetleos.avsecadvisory.eu/v1/billing" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/billing/checkoutowner
Upgrade: subscribe with Stripe Checkout
Returns the Checkout URL to send the browser to. The buyer gives their own email and payment details to Stripe; Echetleos never sees a card. The plan changes when Stripe confirms the payment (webhook). 409 while a subscription is live: change the plan under Manage billing.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · RedirectResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict · 502 Bad Gateway · 503 Service Unavailable
Body fieldTypeDescription
planstringrequiredThe plan to subscribe to (its id, from GET /v1/billing).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/billing/checkout" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"plan":"professional"}'
POST/v1/billing/portalowner
Manage billing: open the Stripe Customer Portal
Payment methods, invoices, plan changes and cancellation, on Stripe's page. 409 before the first subscription.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · RedirectResponse Errors401 Unauthorized · 403 Forbidden · 409 Conflict · 502 Bad Gateway · 503 Service Unavailable
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/billing/portal" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/billing/webhookpublic
Stripe webhook (public, signature-verified)
Called by Stripe, not by people. Public, but a request is applied only with a valid Stripe-Signature: t=<unix>,v1=<hex>: an HMAC-SHA256 of <t>.<raw body> with the endpoint's signing secret, timestamped within 5 minutes. Each event ID is applied once; a replay or a retry answers duplicate. Applied: checkout.session.completed, customer.subscription.created, .updated, .deleted, invoice.payment_failed (grace period, then the default plan; nothing is deleted) and invoice.paid. 400 for a missing or wrong signature; 500 when an event could not be applied, so Stripe retries it.
AccessNo credentials. Success200 OK · StripeWebhookResult Errors400 Bad Request · 413 Request Entity Too Large · 500 Internal Server Error · 503 Service Unavailable
Bodyapplication/json (raw file)
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/billing/webhook" \
  -H "Content-Type: application/json" \
  --data-binary @event.json

Managed service providers

For providers (MSSPs): onboard and oversee client organizations, and work inside them by sending `X-Echetleos-Tenant: <client ID>`. For clients: grant, limit and revoke a provider's access. A provider is capped at operator or viewer and never reaches people, single sign-on, SCIM, provider access or the API key.

GET/v1/clientsread
Provider console: all clients
Each client with your access, its latest risk grade and open findings, running assessments, pending approvals and next scheduled run. Your organization ID (provider_id) is what clients enter to grant you access.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · ClientsResponse Errors401 Unauthorized · 403 Forbidden
Example request
curl "https://echetleos.avsecadvisory.eu/v1/clients" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/clientsowner
Onboard a client organization
Creates the organization with your access (operator or viewer) and returns a one-time owner invite link to send to the client. You never learn the client's API key or its owner's password.
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · OnboardResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 409 Conflict
Body fieldTypeDescription
namestringrequiredThe client organization's name.
owner_emailstringrequiredThe client's owner; they receive a one-time link and set their own password.
roleowner | operator | vieweroptionalYour access in the client: operator (default) or viewer.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/clients" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Bank Example S.A.","owner_email":"ciso@bank.example","role":"operator"}'
POST/v1/clients/{id}/inviteowner
New owner invite for a client you created
Only while the client has no owner yet; earlier owner links stop working. {id} is the delegation ID.
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · InviteResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
emailstringrequiredWork email of the person to invite.
roleowner | operator | viewerrequiredowner, operator or viewer.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/clients/<id>/invite" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"ciso@bank.example","role":"owner"}'
DELETE/v1/clients/{id}owner
End your access to a client
{id} is the delegation ID. The client organization and its data stay with the client.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · Delegation Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/clients/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/clients/{id}/billingowner
Pay for a client's plan
{id} is the delegation ID. While you pay, a client without its own subscription has your plan; its limits count the client organization's own usage, not pooled with yours. Needs your plan's provider-console module (402) and active access to the client; when the access is revoked, the client falls back to its own plan.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · ClientBillingResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
billedbooleanrequiredtrue: your organization pays for the client's plan; false: it stops paying.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/clients/<id>/billing" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"billed":true}'
GET/v1/providersowner
Client: providers with access
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · array of Delegation Errors401 Unauthorized · 403 Forbidden
Example request
curl "https://echetleos.avsecadvisory.eu/v1/providers" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/providersowner
Client: grant a provider access
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · Delegation Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict
Body fieldTypeDescription
provider_idstringrequiredThe provider's organization ID (they find it on their Clients page).
roleowner | operator | viewerrequiredoperator (run assessments, decide approvals) or viewer (read only).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/providers" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"provider_id":"ten_8d2f6a1c0e9b7d35f4a2","role":"operator"}'
POST/v1/providers/{id}/roleowner
Client: change a provider's role
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · Delegation Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
roleowner | operator | viewerrequiredoperator or viewer.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/providers/<id>/role" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"role":"viewer"}'
DELETE/v1/providers/{id}owner
Client: revoke a provider's access
Takes effect on the provider's very next request.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · Delegation Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/providers/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Assets

Targets you own. Nothing is tested until ownership is proven (DNS TXT record or HTTP file).

GET/v1/assetsread
List assets
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of AssetView Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/assets" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/assetsoperate
Register an asset
Returns the ownership challenge to publish: a DNS TXT record or a file under /.well-known/. Then call verify. A subdomain of a domain you already verified is registered as verified right away (parent_domain).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · CreateAssetResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required
Body fieldTypeDescription
kinddomain | ip | cidr | urlrequiredWhat to register: domain, ip, cidr, url, or repo (a repository read through a code connection).
valuestringrequiredThe target, e.g. example.com, 203.0.113.7, 203.0.113.0/24 or https://app.example.com.
methoddns_txt | http_file | parent_domainoptionalHow ownership is proven: dns_txt (default) or http_file.
runner_idstringoptionalRegister a private range (RFC 1918 / ULA, /20 at most) tested from inside your network by this runner. An owner attests the organization controls it; nothing to publish.
isolatedbooleanoptionalWith runner_id: the range must NOT be reachable from the runner's network (e.g. the cardholder data environment). It is tested for segmentation, not scanned.
bssidsarray of stringoptionalWith kind ssid: the network's authorized access points (aa:bb:cc:dd:ee:ff); any other access point broadcasting the name is reported as rogue.
wifi_authstringoptionalWith kind ssid: the security it must use: enterprise (802.1X), personal (pre-shared key / SAE) or open (a guest network).
swiftbooleanoptionalA Swift-related component (secure zone, operator PC, connector, or a platform hosting them). Once an engagement has one, SWIFT CSCF gaps count only findings on such assets.
connectionstringoptionalWith kind repo: the code connection that reads it.
branchstringoptionalWith kind repo: the branch code engagements scan (default: the repository's default branch).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"domain","method":"dns_txt","value":"bank.example"}'
POST/v1/assets/{id}/swiftoperate
Mark as Swift-related (or not)
Swift-related components are the secure zone, operator PCs, connectors and the platforms hosting them. Once an engagement includes a marked asset, its SWIFT CSCF gaps count only findings on marked assets. Changes reporting, never what is tested.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · Asset Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
swiftbooleanrequiredtrue: the asset is a Swift-related component.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets/<id>/swift" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"swift":true}'
POST/v1/assets/{id}/frameworksoperate
Set the compliance frameworks in scope
Reports map the asset's findings only to these frameworks. Empty: the default (ISO 27001, NIST CSF, OWASP Top 10 and ASVS; GDPR for an EU asset (.eu or an EU/EEA country domain); SWIFT CSCF for a Swift-related one). Changes reporting, never what is tested. Audited (asset.frameworks).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · FrameworksResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
frameworksarray of stringrequiredThe compliance frameworks in scope for the asset, by name (GET /v1/compliance/frameworks lists them). Empty: the default (ISO 27001, NIST CSF, OWASP; GDPR for an EU asset; SWIFT CSCF for a Swift-related one).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets/<id>/frameworks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"frameworks":["ISO/IEC 27001:2022","PCI DSS v4.0"]}'
GET/v1/compliance/frameworksread
Compliance frameworks an asset can have in scope
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of string Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/compliance/frameworks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/assets/{id}/contextoperate
Set business criticality and owner
Criticality (low, medium, high, crown_jewel) raises or lowers the priority of the asset's findings; the business owner is shown with them. Changes prioritization, never what is tested. Audited (asset.context).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · Asset Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
criticalitylow | medium | high | crown_jeweloptionallow, medium, high or crown_jewel; empty clears it (reads as medium). Omit to keep.
business_ownerstringoptionalWho answers for the asset in the business (a name or an email); empty clears it. Omit to keep.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets/<id>/context" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"business_owner":"Head of Payments","criticality":"crown_jewel"}'
GET/v1/code/connectionsread
GitHub and GitLab connections
The organization's code connections (never their tokens), through which repositories are read for code engagements.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of CodeConnectionView Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/code/connections" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/code/connectionsowner
Connect GitHub or GitLab with a read-only token
The token is checked (it must work) and stored sealed; it is never returned. GitHub: a fine-grained personal access token with read access to Contents and Metadata of the repositories to scan. GitLab: a group or project access token with read_api and read_repository. Audited (code.connect).
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · CodeConnectionView Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 503 Service Unavailable
Body fieldTypeDescription
providerstringrequiredgithub or gitlab (github.com and gitlab.com).
namestringoptional
tokenstringrequiredA read-only token: a GitHub fine-grained personal access token with Contents and Metadata read on the repositories to scan, or a GitLab group or project access token with read_api and read_repository. Stored sealed, never returned.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/code/connections" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Acme GitHub","provider":"github","token":"github_pat_…"}'
DELETE/v1/code/connections/{id}owner
Remove a code connection
Repositories added through it stay as assets but cannot be scanned until added through another connection. Audited (code.disconnect).
AccessOwner, or an API key of scope owner (the organization's key is one). Success204 No Content Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/code/connections/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/code/connections/{id}/pr-checksowner
Check pull requests
Turns pull (merge) request checks on or off for the connection's repositories and returns the webhook to configure in GitHub or GitLab: its URL, its secret (shown when created or rotated) and the setup steps. Each request opened or updated is read at its head commit and at the commit it branched from, nothing in it is run, and the head commit gets a status that fails only on issues the request adds at or above fail_on. Turning the checks on is the authorization of each check (no Rules of Engagement apply: nothing is tested over the network). Audited (code.pr_checks).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · PrChecksResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
enabledbooleanrequiredCheck every pull (merge) request to the connection's repositories.
fail_oninfo | low | medium | high | criticaloptionalFail a request that adds an issue at or above: critical, high (default), medium or low.
rotatebooleanoptionalIssue a new webhook secret; the old one stops working.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/code/connections/<id>/pr-checks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true,"fail_on":"high"}'
POST/v1/code/hooks/{tenant}/{id}public
GitHub or GitLab: a pull request was opened or updated
Called by GitHub (X-Hub-Signature-256: HMAC-SHA256 of the body with the webhook secret) or GitLab (X-Gitlab-Token: the secret). A pull_request event (opened, synchronize, reopened, ready_for_review) or Merge Request Hook (open, reopen, update) on a repository added through the connection starts a check; a commit is checked once. GitHub's ping is answered.
AccessNo credentials. Success202 Accepted · PrHookAccepted Errors400 Bad Request · 401 Unauthorized · 413 Request Entity Too Large · 429 Too Many Requests
ParameterInDescription
tenantpath
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/code/hooks/<tenant>/<id>"
GET/v1/code/connections/{id}/reposoperate
Repositories a connection can read
Up to 300, most recently changed first, to add as assets (POST /v1/assets with kind repo and the connection).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · array of Repo Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 502 Bad Gateway
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/code/connections/<id>/repos" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/assets/{id}operate
Remove an asset that was never verified
For an address registered by mistake. A verified asset cannot be removed: rules of engagement and engagements refer to it.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success204 No Content Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/assets/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/assets/{id}/verifyoperate
Check the ownership proof now
The asset becomes testable only when the state is verified.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · Asset Errors401 Unauthorized · 403 Forbidden · 402 Payment Required · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets/<id>/verify" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/identitiesread
Scan identities
The test accounts the web scanners sign in with, per web asset: user A (the one the scans use) and user B (kept for access-control comparison). Secrets are never returned: secrets_set names which are stored.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of ScanIdentity Errors401 Unauthorized
ParameterInDescription
assetqueryOnly this asset's identities.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/identities" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
PUT/v1/assets/{id}/identities/{slot}owner
Set a scan identity (user a or b)
How the web scanners sign in to a verified web asset: static headers or a bearer token (headers), an OAuth 2.0 client-credentials token endpoint (oauth2_client_credentials), a login form with an optional TOTP seed for multi-factor authentication (form), or a session cookie (cookie). Every address must be on the asset; credentials go only over HTTPS (plain HTTP only to the application's own plain-HTTP origin). Secrets are sealed with the server's secret key at once and never returned; a secret left out keeps its stored value, an empty string removes it. While signed in, scanners are kept away from logout and password-change pages, and the session is renewed when the logged-in check fails. Owners only.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · ScanIdentity Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
slotpath
Body fieldTypeDescription
namestringrequired
kindstringrequiredheaders, oauth2_client_credentials, form or cookie.
urlstringrequiredWhere the signed-in application starts. Its origin is the only one the session is sent to (plus api_origins).
api_originsarray of stringoptionalFurther HTTPS origins on the asset that take the same session, e.g. the API a single-page app calls.
token_urlstringoptionalOAuth 2.0 token endpoint (HTTPS, on the asset).
scopestringoptional
login_urlstringoptionalForm login: the page with the login form.
username_fieldstringoptional
password_fieldstringoptional
totp_fieldstringoptionalField for the one-time code: in the login form, or in a second form at totp_url.
totp_urlstringoptional
logged_in_urlstringoptionalA page only a signed-in user can open (2xx without a redirect).
logged_in_textstringoptionalText shown only when signed in.
exclude_pathsarray of stringoptionalPaths kept away from scanners while signed in, besides the logout and password-change pages found automatically.
secretsIdentitySecretsoptional
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/v1/assets/<id>/identities/<slot>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"kind":"form","logged_in_text":"Sign out","login_url":"https://online.bank.example/login","name":"Retail customer A","password_field":"password","secrets":{"password":"a-long-test-passphrase","totp_seed":"JBSWY3DPEHPK3PXP","username":"test.customer.a"},"totp_field":"otp","url":"https://online.bank.example/accounts","username_field":"username"}'
DELETE/v1/assets/{id}/identities/{slot}owner
Delete a scan identity
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · DeletedResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
slotpath
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/assets/<id>/identities/<slot>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/assets/{id}/identities/{slot}/testoperate
Test sign-in
Signs in once now, through a scope gate of this asset alone at two requests a second, and runs the logged-in check. Returns success or failure, the requests made (addresses without query values, status codes) and the logout and password-change pages that scans will be kept away from. Never a secret. At most one test every 15 seconds per identity, so the test account is not locked out.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · IdentityTest Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
slotpath
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets/<id>/identities/<slot>/test" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/api-descriptionsread
API descriptions
Uploaded API descriptions with what they contain: operations, those on hosts the asset covers, and those never sent (DELETE, GraphQL mutations). The documents themselves are not returned.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of APIDescription Errors401 Unauthorized
ParameterInDescription
assetqueryOnly this asset's descriptions.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/api-descriptions" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/assets/{id}/api-descriptionsoperate
Upload an API description
An OpenAPI 3 or Swagger 2 document (JSON or YAML), a Postman v2 collection or a GraphQL schema (SDL or introspection JSON) for a verified web asset. The scans start from its endpoints: the GET endpoints seed the ZAP baseline, katana, ffuf and Wapiti; an approved ZAP active scan imports the whole description with ZAP's OpenAPI, Postman and GraphQL add-ons. Only endpoints on hosts the asset covers are used. DELETE operations and GraphQL mutations are never sent. At most 10 per asset, 2 MB each.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · APIDescription Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict · 413 Request Entity Too Large
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
namestringrequired
formatstringoptionalopenapi3, swagger2, postman or graphql; detected when left out.
base_urlstringoptionalThe API's address, for documents whose servers are relative or missing.
endpointstringoptionalA GraphQL schema's endpoint, e.g. https://api.bank.example/graphql.
documentstringrequiredThe document as text: OpenAPI 3 / Swagger 2 (JSON or YAML), a Postman v2 collection (JSON), or a GraphQL schema (SDL or introspection JSON). At most 2 MB.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets/<id>/api-descriptions" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"document":"{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Accounts\",\"version\":\"2\"},\"servers\":[{\"url\":\"https://api.bank.example/v2\"}],\"paths\":{\"/accounts/{id}\":{\"get\":{}}}}","name":"Accounts API v2"}'
DELETE/v1/assets/{id}/api-descriptions/{did}operate
Delete an API description
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · DeletedResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
didpath
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/assets/<id>/api-descriptions/<did>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Attack surface

Passive discovery of the hosts under your verified domains (certificate-transparency logs and DNS, plus third-party passive DNS sources if an owner opted in under Organization settings), with exposures such as subdomain-takeover candidates. A subdomain of a verified domain can be registered as an asset with no new proof: the scope gate already covers it.

GET/v1/surfaceread
Attack-surface overview
Every domain asset with its latest discovery: hosts, addresses, CNAMEs, exposures, and what is new since the run before.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · SurfaceResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/surface" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/assets/{id}/discoveroperate
Discover a verified domain's hosts
Runs in the background (poll the discovery). Passive: certificate-transparency logs and DNS lookups only, never a connection to the hosts. Only for verified domain assets.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success202 Accepted · Discovery Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets/<id>/discover" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/assets/{id}/surfaceoperate
Weekly discovery on or off
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · Asset Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
weeklybooleanrequiredRe-run discovery for this domain every week.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/assets/<id>/surface" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"weekly":true}'
GET/v1/discoveriesread
Discovery history
Newest first, without the host lists.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of Discovery Errors401 Unauthorized
ParameterInDescription
assetqueryOnly this domain asset's discoveries.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/discoveries" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/discoveries/{id}read
One discovery, with its hosts
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · Discovery Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/discoveries/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Cloud posture

Read-only review of AWS, Azure and Google Cloud configuration (CSPM). Every request passes a guard that allows only read operations, to the providers' own endpoints; credentials are sealed and never returned. Connecting and removing accounts is owner-only.

GET/v1/cloudread
Cloud accounts and their latest findings
Each account with its latest finished scan: findings by severity, affected resources, and the PCI DSS, ISO 27001, NIST CSF, SWIFT CSCF and CIS controls they touch.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · CloudResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/cloud" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/cloudowner
Connect a cloud account (read-only)
AWS: an access key of a dedicated IAM user with the SecurityAudit policy. Azure: an app registration with Reader (and Security Reader). GCP: a service-account key with Viewer and Security Reviewer. The credential is sealed and never returned.
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · CloudAccount Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 503 Service Unavailable
Body fieldTypeDescription
providerstringrequiredaws, azure or gcp.
namestringoptionalA label, e.g. Production AWS.
scopearray of stringoptionalOptional: AWS regions, Azure subscription IDs or GCP project IDs to review. Empty: everything the credential can read.
awsAWSCredentialoptionalFor provider aws.
azureAzureCredentialoptionalFor provider azure.
gcpGCPCredentialoptionalFor provider gcp.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/cloud" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aws":{"access_key_id":"AKIAIOSFODNN7EXAMPLE","secret_access_key":"wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"},"name":"Production AWS","provider":"aws","scope":["eu-central-1","eu-west-1"]}'
GET/v1/cloud/federationread
Keyless access: what your cloud trusts
Echetleos is an OpenID Connect identity provider. A cloud that trusts it (an AWS role with web identity, an Azure federated credential, Google workload identity federation) gives a scan short-lived read-only credentials for a five-minute token signed here, so no key is stored. This returns the issuer, this organization's subject (each organization has its own, so a role trusts one organization only), the setup steps, and CloudFormation templates for one AWS account and for every account of an organization.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · FederationSetup Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/cloud/federation" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/oidc/.well-known/openid-configurationpublic
Identity provider discovery (public)
What AWS, Azure and Google read to trust Echetleos's tokens.
AccessNo credentials. Success200 OK Errors404 Not Found
Example request
curl "https://echetleos.avsecadvisory.eu/oidc/.well-known/openid-configuration"
GET/oidc/jwkspublic
Identity provider signing keys (public)
AccessNo credentials. Success200 OK Errors404 Not Found
Example request
curl "https://echetleos.avsecadvisory.eu/oidc/jwks"
POST/v1/cloud/{id}/inventory/assetsoperate
Add cloud endpoints as verified assets
Each scan lists what the account exposes to the internet (its inventory, on the scan). An endpoint the account holds is proven without a DNS record or file: a static public IP (Elastic IP, Azure static address, Google reserved address), a load balancer, CDN or App Service name the provider assigned, or a DNS zone the public delegation points to. Addresses assigned per instance and custom names are listed but prove nothing. A cloud-proven asset stays verified while scans of the account keep listing it, and lapses 7 days after the last one that did. Audited (asset.create).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · InventoryAssetsResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
valuesarray of stringrequiredEndpoints from the account's latest scan inventory (IP addresses, load balancer or CDN names, DNS zones). Only proven ones are added.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/cloud/<id>/inventory/assets" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"values":["203.0.113.10","web-123.eu-central-1.elb.amazonaws.com"]}'
POST/v1/cloud/{id}/credentialsowner
Replace the credential
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · CloudAccount Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
providerstringrequiredaws, azure or gcp.
namestringoptionalA label, e.g. Production AWS.
scopearray of stringoptionalOptional: AWS regions, Azure subscription IDs or GCP project IDs to review. Empty: everything the credential can read.
awsAWSCredentialoptionalFor provider aws.
azureAzureCredentialoptionalFor provider azure.
gcpGCPCredentialoptionalFor provider gcp.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/cloud/<id>/credentials" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aws":{"access_key_id":"AKIAI44QH8DHBEXAMPLE","secret_access_key":"je7MtGbClwBF/2Zp9Utk/h3yCo8nvbEXAMPLEKEY"}}'
POST/v1/cloud/{id}/prowlerowner
Add Prowler's checks to scans
Prowler (open source, Apache-2.0) adds several hundred checks per cloud. It calls the cloud itself, outside the read-only guard, so it only ever gets a credential that cannot write: on AWS a session AWS limits with session policies to SecurityAudit, ViewOnlyAccess and a list of reads (a stored access key instead has its IAM policies read first, and must only read); on Google Cloud an access token whose only scope is cloud-platform.read-only (with keyless access, a service account's token); on Azure (client secret only) after every role the app holds and its Microsoft Graph permissions were read and found to be reads. Otherwise the scan records why Prowler did not run. Its options that change anything or send results elsewhere are never passed. Audited (cloud.prowler_setting; each run: cloud.prowler).
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · CloudAccount Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
enabledbooleanrequiredAdd Prowler's checks to every scan of this account.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/cloud/<id>/prowler" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true}'
DELETE/v1/cloud/{id}owner
Remove a cloud account
Deletes the sealed credential. Past scans are kept.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · DeletedResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/cloud/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/cloud/{id}/scanoperate
Review the account now
Runs in the background (poll the scan, or subscribe to the cloud.completed webhook).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success202 Accepted · CloudScan Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/cloud/<id>/scan" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/cloud/scansread
Scan history
Newest first, without the findings.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of CloudScan Errors401 Unauthorized
ParameterInDescription
accountqueryOnly this account's scans.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/cloud/scans" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/cloud/scans/{id}read
One scan, with its findings
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · CloudScan Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/cloud/scans/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Runners

Agents inside your network that test internal ranges: host and service discovery, unauthenticated-service and TLS checks, and network segmentation tests. A runner only connects out (HTTPS), signs every request with a key that never leaves it, runs only its own built-in modules, and refuses any target outside its local allowlist. Creating and revoking runners, and attesting internal ranges, is owner-only.

GET/v1/runnersread
List runners
Each runner with whether it is online and its current or last job.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of RunnerView Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/runners" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/runnersowner
Create a runner
Returns a one-time enrollment token (valid 24 hours, shown once) and the commands to install and enroll the runner. Then register internal ranges with POST /v1/assets and runner_id.
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · RunnerEnrollment Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required
Body fieldTypeDescription
namestringrequiredA name for the runner, e.g. the site or network it sits in.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runners" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Datacenter Athens"}'
POST/v1/runners/{id}/tokenowner
New enrollment token
For a runner that has not enrolled yet. The previous token stops working.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · RunnerEnrollment Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runners/<id>/token" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/runners/{id}owner
Revoke a runner
Its key is refused from the next request on; its running job stops and the engagement is aborted.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · Runner Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/runners/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/downloads/runner/{file}public
Download the runner
echetleos-runner-linux-amd64, -linux-arm64, -darwin-arm64, -darwin-amd64, -windows-amd64.exe, or SHA256SUMS.
AccessNo credentials. Success200 OK · application/octet-stream Errors404 Not Found
ParameterInDescription
filepath
Example request
curl "https://echetleos.avsecadvisory.eu/downloads/runner/<file>"

Runner protocol

What a runner calls. Every request but enrollment carries an Ed25519 signature over the method, path, a timestamp, a single-use nonce and the body's SHA-256.

POST/v1/runner/enrollpublic
Enroll
Exchanges the one-time token for the runner's identity and registers its public key.
AccessNo credentials. Success200 OK · EnrollResponse Errors400 Bad Request · 401 Unauthorized · 429 Too Many Requests
Body fieldTypeDescription
tokenstringrequiredThe one-time enrollment token shown when the runner was created.
public_keystringrequiredThe runner's Ed25519 public key, base64. The private key never leaves the runner.
hostnamestringoptionalHost name of the machine.
versionstringoptionalRunner version.
osstringoptionalOperating system and architecture.
addressesarray of stringoptionalThe machine's own network addresses (its vantage point).
allowlistarray of stringoptionalRanges the runner's operator lets it touch; it refuses anything else.
capabilitiesarray of stringoptionalOptional modules its operator turned on, e.g. wifi_survey.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/enroll" \
  -H "Content-Type: application/json" \
  -d '{"addresses":["10.1.0.9/24"],"allowlist":["10.0.0.0/8"],"hostname":"scan01","os":"linux/amd64","public_key":"MCowBQYDK2VwAyEA…","token":"ert_…","version":"1.0.0"}'
POST/v1/runner/pollrunner
Ask for work
Reports the runner's status; returns a job when one is queued, with its scope rebuilt from the engagement's verified assets and signed RoE.
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · PollResponse Errors401 Unauthorized · 429 Too Many Requests
Body fieldTypeDescription
hostnamestringoptionalHost name of the machine.
versionstringoptionalRunner version.
osstringoptionalOperating system and architecture.
addressesarray of stringoptionalThe machine's own network addresses.
allowlistarray of stringoptionalRanges the runner's operator lets it touch.
capabilitiesarray of stringoptionalOptional modules its operator turned on, e.g. wifi_survey.
relaysarray of RelayTargetoptionalRelay destinations configured on the runner host (names and kinds only).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/poll" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" … \
  -H "Content-Type: application/json" \
  -d '{"hostname":"scan01","os":"linux/amd64","version":"1.0.0"}'
POST/v1/runner/jobs/{id}/heartbeatrunner
Still working?
Every 10 seconds during a job. cancel: true means stop now (kill switch, revocation, RoE expired or outside its window).
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · HeartbeatResponse Errors401 Unauthorized · 404 Not Found · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/jobs/<id>/heartbeat" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" …
POST/v1/runner/jobs/{id}/findingsrunner
Deliver findings
At most 500 per request. Each is re-checked: from a runner module, about an address inside the engagement's scope.
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · Accepted Errors401 Unauthorized · 400 Bad Request · 404 Not Found · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
findingsarray of Findingoptional
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/jobs/<id>/findings" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" … \
  -H "Content-Type: application/json" \
  -d '{}'
POST/v1/runner/jobs/{id}/eventsrunner
Deliver audit events
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · Accepted Errors401 Unauthorized · 400 Bad Request · 404 Not Found · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
eventsarray of RunnerEventoptional
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/jobs/<id>/events" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" … \
  -H "Content-Type: application/json" \
  -d '{"events":[{"action":"tool.exec","allowed":true,"detail":"net_discovery: 12 live hosts","target":"10.1.0.0/24"}]}'
POST/v1/runner/jobs/{id}/completerunner
Finish a job
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · Accepted Errors401 Unauthorized · 400 Bad Request · 404 Not Found · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
summarystringoptional
errorstringoptional
refusedbooleanoptional
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/jobs/<id>/complete" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" … \
  -H "Content-Type: application/json" \
  -d '{"summary":"12 hosts, 31 services; segmentation verified for 10.20.0.0/24"}'
POST/v1/runner/vulndbrunner
Fetch vulnerability data
For the credentialed scan: the vulnerability data of one distribution release, built by the service from OSV.dev's advisories and signed with the key given at enrollment (vulndb_key). The body is the release file (gzip-compressed JSON); its release, download time, SHA-256 and Ed25519 signature are in the X-Echetleos-VulnDB-* headers. 304 when the runner already has it (have); 503 with Retry-After while the service downloads and builds it; 404 when OSV.dev publishes none. The runner matches a host's packages against it locally: package lists are never sent to the service.
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · application/gzip Errors401 Unauthorized · 304 Not Modified · 404 Not Found · 429 Too Many Requests · 501 Not Implemented · 503 Service Unavailable
Body fieldTypeDescription
releasestringrequiredDistribution release, as OSV.dev names it: Debian:12, Ubuntu:22.04:LTS, Alpine:v3.20, Rocky Linux:9, AlmaLinux:9, Red Hat:enterprise_linux:9.
havestringoptionalSHA-256 (hex) of the release file the runner already has.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/vulndb" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" … \
  -H "Content-Type: application/json" \
  -d '{"release":"Debian:12"}'
POST/v1/runner/relay/pollrunner
Ask for relay work
For SIEMs and ticketing systems reachable only inside the customer's network, which the runner delivers to. Asked apart from poll, so relaying and scan jobs never wait for each other. Returns at most one batch of audit events per relayed SIEM destination (formatted and sent by the runner, then acknowledged) and up to 10 ticketing tasks. The runner reports its relay destinations by name and kind only; their addresses and credentials stay on the runner host.
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · RelayPollResponse Errors401 Unauthorized · 400 Bad Request · 429 Too Many Requests
Body fieldTypeDescription
relaysarray of RelayTargetoptionalRelay destinations configured on the runner host (names and kinds; never addresses or credentials).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/relay/poll" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" … \
  -H "Content-Type: application/json" \
  -d '{"relays":[{"kind":"splunk_hec","name":"soc-splunk"},{"kind":"jira","name":"jira-sec"}]}'
POST/v1/runner/relay/siem/{id}/ackrunner
Acknowledge a relayed SIEM batch
How many of the batch's events, from the first, the SIEM accepted, and why the rest were not. The destination's cursor moves past those only; the rest are handed out again (with backoff after a failure). A batch acknowledged twice changes nothing (advanced: false).
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · SIEMAckResponse Errors401 Unauthorized · 400 Bad Request · 404 Not Found · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
tokenstringoptionalThe batch's token.
deliveredintegeroptionalHow many of the batch's events, from the first, the SIEM accepted.
last_event_idstringoptionalThe id of the last event delivered (required when delivered > 0).
errorstringoptionalWhy the rest was not delivered (secrets and addresses removed).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/relay/siem/<id>/ack" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" … \
  -H "Content-Type: application/json" \
  -d '{"delivered":500,"last_event_id":"evt_9c2d4e1f0a8b7c63d5e2","token":"…"}'
POST/v1/runner/relay/tickets/{id}/resultrunner
Report a relayed ticketing task
The ticket filed (key, id, address) or the comment posted; or the error, after which the task is retried with backoff and given up after 3 attempts.
AccessAn enrolled runner's Ed25519 request signature (X-Echetleos-Runner, -Timestamp, -Nonce, -Signature). Success200 OK · Accepted Errors401 Unauthorized · 400 Bad Request · 404 Not Found · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
keystringoptionalticket.create: the issue key or record number, e.g. SEC-42 or INC0010001.
external_idstringoptionalticket.create: the Jira issue id or ServiceNow sys_id.
urlstringoptionalticket.create: the ticket's address.
existingbooleanoptionalticket.create: the ticket already existed (found by the finding's reference).
errorstringoptionalWhy the task failed (secrets and addresses removed).
closedbooleanoptionalticket.comment with close: the ticket was closed (or was already done).
close_errorstringoptionalticket.comment with close: why the ticket could not be closed (the comment was posted).
reopenstringoptionalticket.comment with reopen: reopened, or open (it was not done: left as it is).
reopen_errorstringoptionalticket.comment with reopen: why the ticket could not be reopened (the comment says so).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/runner/relay/tickets/<id>/result" \
  -H "X-Echetleos-Runner: <id>" -H "X-Echetleos-Signature: <signed by the runner binary>" … \
  -H "Content-Type: application/json" \
  -d '{"external_id":"10042","key":"SEC-42","url":"https://jira.bank.internal/browse/SEC-42"}'

Rules of Engagement

The signed authorization that says what may be tested, when, and how hard.

GET/v1/roeread
List Rules of Engagement
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of RoE Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/roe" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/roeoperate
Sign Rules of Engagement
Every asset must be verified. The scope, window, rate limit and exclusions are enforced in code on every action.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · RoE Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required
Body fieldTypeDescription
namestringoptionalName of the rules; default: the level and the assets.
asset_idsarray of stringrequiredVerified assets these rules cover.
levelstringoptionalHow far testing may go: recon (passive and light checks), scan (adds Nikto and ffuf content discovery; no attack payloads) or pentest (adds ZAP active, Wapiti, sqlmap and dalfox confirmation). Signing the rules authorizes every check their level allows; set approve_each_check to have each check above recon wait for a second person. Default: recon, or pentest when allow_intrusive is true.
approve_each_checkbooleanoptionalFour eyes on every intrusive check: each check above recon waits for a person other than the one who asked for it to approve it. Default false: the signed rules are the authorization, and every check their level allows runs within their scope, window and rate.
windowTimeWindowoptionalUTC testing window; empty means any time.
max_rpsnumberoptionalRequest-rate ceiling for every module: 1 to 100 requests per second (0: the default, 5).
exclude_hostsarray of stringoptionalHosts never to touch.
exclude_pathsarray of stringoptionalURL paths never to touch.
allow_intrusivebooleanoptionalOlder form of level: true means pentest. Ignored when level is set.
signed_bystringoptionalDeprecated: kept as on_behalf_of's name. The signer is always the signed-in person (or the API key), from their account.
on_behalf_ofAuthorizeroptionalWho authorized the test, if not the signer (a provider names its client's authorizer here): a name and an email, shown as stated next to the signer.
expires_daysintegeroptionalDays until the authorization expires: 1 to 365 (default 30).
supersedesstringoptionalSign this RoE as a revision of an earlier one (for example to permit intrusive checks). The earlier RoE stops authorizing anything new, and schedules and deploy hooks under it move to the revision when it covers their assets.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/roe" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset_ids":["ast_7f3c9a1d2e4b6f80a1c2"],"exclude_hosts":["payments.bank.example"],"exclude_paths":["/logout"],"expires_days":30,"max_rps":5,"name":"Q4 external assessment","on_behalf_of":{"email":"maria@bank.example","name":"Maria Papadopoulou, CISO"},"window":{"end_hour_utc":6,"start_hour_utc":22,"weekdays":[1,2,3,4,5]}}'

Engagements

Assessments: create, start, stop, retest, and read their findings, reports and trends.

GET/v1/engagementsread
List engagements
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of Engagement Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/overviewread
Overview: how each site stands and what to fix first
One answer for the organization. Each verified asset with its current risk (the report's formula over its open issues as they stand now, retest verdicts and lifecycle decisions included) and the grade in words; its open issues by severity and the three to fix first (by priority, then due date); what changed at its latest test (a retest's fix verification, or the latest test compared with the previous comparable one); its latest engagement and report; and its next scheduled run. Then the organization's totals: open issues by severity, overdue issues, risk acceptances and approvals waiting, sites never tested or not tested for 90 days, and its posture in the report's words. Read-only.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · OverviewResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/overview" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/test-requestsoperate
Plan a test from a request in plain language
Describe what you want tested; the platform proposes an engagement: which of your verified assets, the testing level, the checks, and a plain-language plan, with notes on anything it could not honour. It is planned by the organization's language model when it has one, otherwise by keyword matching, and validated either way: only verified assets, only existing checks, a level that permits them. Nothing starts: create the engagement from the plan (level, focus, request) to run it. Audited (test.plan).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · TestPlan Errors401 Unauthorized · 403 Forbidden · 400 Bad Request
Body fieldTypeDescription
requeststringrequiredWhat to test, in your own words (up to 2,000 characters).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/test-requests" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"request":"Check grc.bank.example for weak TLS and missing security headers, nothing intrusive"}'
POST/v1/engagementsoperate
Create an engagement
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · Engagement Errors401 Unauthorized · 403 Forbidden · 400 Bad Request
Body fieldTypeDescription
namestringoptionalEngagement name.
asset_idsarray of stringrequiredVerified assets to test; all must be covered by the RoE.
roe_idstringoptionalSaved Rules of Engagement to run under. Omit it for passive checks (recon level, no rate limit or exclusions given): they need no Rules of Engagement. Omit it and give level scan or pentest (or recon with a rate limit or exclusions) to set the rules with the engagement: creating it is then the authorization, recorded with who created it.
modedeterministic | aioptionaldeterministic (default) or ai.
levelstringoptionalWithout roe_id: recon (default: passive checks, no Rules of Engagement), scan or pentest (see POST /v1/roe).
focusarray of stringoptionalRun only these checks (for example from a test request's plan); each must be permitted by the level. Intrusive ones are queued for approval.
requeststringoptionalThe person's request in their own words, kept with the engagement and given to the AI operator as what to focus on. It never changes scope or the rules.
max_rpsnumberoptionalWithout roe_id: request-rate ceiling (default 5).
exclude_hostsarray of stringoptionalWithout roe_id: hosts never to touch.
exclude_pathsarray of stringoptionalWithout roe_id: URL paths never to touch.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset_ids":["ast_7f3c9a1d2e4b6f80a1c2"],"mode":"deterministic","name":"Internet banking — monthly","roe_id":"roe_3b8e1f0c9d2a7e64b5f1"}'
GET/v1/engagements/{id}read
Get an engagement
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · Engagement Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/engagements/{id}/startoperate
Start (or re-run) an engagement
Runs in the background; poll the engagement or subscribe to the engagement.completed webhook. An engagement that has already run (completed or aborted) keeps its record as it is: starting it again creates its next run, a new engagement with the same assets, rules, mode, checks and request (a retest's: a new retest of the same original), linked by run_of (the first run) and numbered run, and returns that engagement, with its address in Location (rerun_from names the run it was started from, whose approval-gated checks it asks for again: each still needs approval). 409 while another run of it is in progress. A run whose own checks have finished stays running while approved checks of it are still running, and ends (scored, engagement.completed) when the last of them ends; its risk is then frozen as found.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success202 Accepted · Engagement Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 409 Conflict
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/start" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/engagements/{id}/killread
Kill switch: stop immediately
Anyone in the organization may stop a run, viewers included: stopping is always safe. A running engagement is aborted, and its approved checks still running stop. On an engagement whose run has already ended, its record is left as it is and only its approved checks still running stop; each reads stopped by <who> (kill switch). Audited as killswitch with the caller as actor.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · Engagement Errors401 Unauthorized · 403 Forbidden · 400 Bad Request
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/kill" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/engagements/{id}/retestoperate
Retest the open findings
Re-runs only the modules that produced open findings and marks each one fixed or still open (retest.verified webhook). An approval-gated module (pentest level) that the rules permit is queued for approval again, only on the assets where it found something; verification waits until each approval is decided and its run has ended (retest.awaiting_approvals on the engagement). A denied, withdrawn, failed or partial (stopped at its time limit) check leaves its findings "not re-checked", never fixed. 409 while a retest of the same original is still running, as for a run started again.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success202 Accepted · Engagement Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 409 Conflict
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/retest" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/findingsread
Findings of an engagement
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of Finding Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/findings" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/engagements/{id}/sbomoperate
Import a software bill of materials (CycloneDX or SPDX)
Send the SBOM of an application or a container image (CycloneDX or SPDX JSON, up to 20 MB, as Syft, Trivy, GitHub or your build writes it) as the request body. Packages are identified by package URL and matched on this service against OSV.dev data for npm, PyPI, Go, Maven, crates.io, NuGet and RubyGems, and, for images, Debian, Ubuntu, Alpine and Red Hat-family packages; nothing about your software is sent to a third party. Vulnerable packages (with the fixed version) and malicious packages become findings of the engagement. 503 with Retry-After while an ecosystem's data is prepared on first use. Audited (sbom.import).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · SbomResult Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 413 Request Entity Too Large · 501 Not Implemented · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Bodyapplication/json (raw file)
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/sbom" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @sbom.json
POST/v1/engagements/{id}/sarifoperate
Import code-scan results (SARIF)
Adds the results of Semgrep, CodeQL, Trivy, gitleaks, Checkov or any SARIF 2.1.0 producer to the engagement, one finding per rule and file. The code is scanned in your pipeline; only results are uploaded. Up to 4 MB, 500 findings.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · Summary Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 413 Request Entity Too Large
ParameterInDescription
idpathID of the resource.
Bodyapplication/sarif+json (raw file)
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/sarif" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/sarif+json" \
  --data-binary @results.sarif
GET/v1/engagements/{id}/eventsread
Audit trail of an engagement
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of AuditEvent Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/events" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/consoleread
Live console: what the run is doing, line by line
Read-only. Each command a tool starts and its output, each check as it starts and ends, every audit event of the run and each new finding, with secrets masked. Ask again with after set to next to get only new lines. Lines are kept on the instance running the engagement for two hours after its last line; live is false when this instance has none (the audit trail and findings remain the record).
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · ConsoleResponse Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
afterqueryReturn only lines after this sequence number (the previous response's next).
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/console" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/reportread
Full report as JSON
Summary, findings, compliance mapping and audit trail in one document. Two moments are told apart: AS FOUND when the run ended — summary (summary_as_of) and risk_found, frozen — and NOW — executive (executive_as_of) and risk_now, from the findings' current states, so fixes verified, risks accepted and false positives marked since count there only. provisional is set while approved checks are still running (tested.running; each such check has running: true).
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · ReportResponse Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/report" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/engagements/{id}/report-masksoperate
Paths to mask in the report
Paths (e.g. /private-admin) the report and its PDF show as /masked-path wherever they appear, HTML-escaped or URL-encoded too. A WordPress login page moved away from /wp-login.php is masked as /login-redacted without asking. The stored evidence is not changed. At most 20 paths. Audited (report.masks).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · ReportMasksResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
pathsarray of stringrequiredPaths to mask in the report, each starting with /. Empty: none (moved WordPress login paths are masked anyway).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/report-masks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"paths":["/private-admin"]}'
GET/v1/engagements/{id}/report.pdfread
Auditor-ready report (PDF)
The HTML report printed to an A4 PDF on the server, with page numbers: the same version as report.html. Every export is audited (report.export). 503 when the server has no Chromium to print with.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · application/pdf Errors401 Unauthorized · 404 Not Found · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/report.pdf" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/report.htmlread
Auditor-ready report (HTML)
Self-contained HTML, printable to PDF. Each export is a version of the report: the latest version when the content is unchanged, otherwise a new one (numbered per engagement, stored as issued, audited as report.issue). The report states its version, when and by whom it was issued, and the SHA-256 of its content (the document without its version line); X-Echetleos-Report-Version and X-Echetleos-Report-Sha256 say the same. A version issued while approved checks are still running is provisional: the document says "N approved check(s) still running: results may change", and the version records provisional and checks_running.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · text/html Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
downloadquery`1` to download as a file.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/report.html" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/reportsread
Issued report versions
Every version of the report issued so far, oldest first, without the documents: number, sha256 (of the content, as printed in the report), file_sha256 (of the issued HTML file: check a copy with sha256sum), when and by whom it was issued, and the engagement's state then. Versions are never changed or deleted.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of ReportVersion Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/reports" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/reports/{version}read
One issued report version
The version's HTML document exactly as it was issued, or printed to PDF. Audited (report.export).
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · text/html Errors401 Unauthorized · 404 Not Found · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
versionpath
formatquery`pdf` to print it to PDF (503 without Chromium).
downloadquery`1` to download the HTML as a file.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/reports/<version>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/complianceread
Compliance gap view
PCI DSS 4.0, ISO 27001, NIST CSF 2.0, DORA, SWIFT CSCF v2026, OWASP Top 10 and ASVS requirements affected by the findings, plus the MITRE ATT&CK techniques they would enable. SWIFT CSCF requirements carry level (mandatory or advisory) and the framework its mandatory_gaps.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · ComplianceSummary Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/compliance" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/trendread
Risk score across runs
Risk score of each comparable run (same assets), with new and resolved issues. Each run is shown as it was found: its score frozen when it ended, and only the findings it had then. level is the level the run actually tested (the highest among the checks that completed) and authorized its rules' level: a run that tested less scores lower without anything being fixed.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · TrendResponse Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/trend" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Public checks

Passive checks of a public website the organization has not verified as its own, like a public TLS or header checker: DNS and email records, the TLS configuration and the home page's security headers. Bounded per organization, public addresses only, and kept apart from the organization's own findings.

POST/v1/public-checksoperate
Check any public website (passive)
Like a public TLS or header checker, for a site the organization has not verified as its own: DNS records, email security records (SPF, DMARC, MTA-STS), the TLS configuration and the home page's security headers. Nothing else is sent: one host name, only public addresses, one request per second, a few minutes at most. The result stays on the check: it never enters the organization's findings, remediation, tickets, compliance or risk. 30 checks a day per organization, 3 at once; a host checked in the last 10 minutes returns that check (200). Audited (public_check.start).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success202 Accepted · PublicCheck Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 429 Too Many Requests
Body fieldTypeDescription
hoststringrequiredA public website's host name (example.com), or its URL; addresses, ports and internal names are refused.
checksarray of stringoptionalOnly these of dns_lookup, email_security, tls_inspect and security_headers (a test request's public_checks); empty: all four.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/public-checks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"host":"example.com"}'
GET/v1/public-checksread
Public checks, newest first
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of PublicCheck Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/public-checks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/public-checks/{id}read
One public check and its result
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · PublicCheck Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/public-checks/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Ask Echetleos

Plain-language questions about one engagement, answered by the configured language model from that engagement's data only and streamed as server-sent events. The assistant is read-only: it has no tools and cannot start scans, decide approvals or change scope. Scanner output reaches it as delimited data, never as instructions, and credentials, hashes and email addresses are removed first. Any role may ask; questions are rate-limited per person and per organization and recorded in the audit trail.

POST/v1/engagements/{id}/askread
Ask about an engagement (streamed answer)
Answers from this engagement's findings and their compliance mapping, assets, Rules of Engagement, risk trend and previous run, retest results and audit summary. The response is text/event-stream: start ({engagement_id, context}: what was sent to the model), then delta events ({text}, Markdown) as the answer is written, then one of done ({finish, provider, model, input_tokens, output_tokens}; finish is stop, max_tokens or length), refused or withheld ({message}: discard the partial answer) or error ({error}). Comment lines keep the connection open while the model thinks. Closing the connection stops the answer and the model request. By default a person may ask 6 questions a minute and 60 an hour, an organization 20 and 300, with one answer at a time per person (429 with Retry-After beyond that). Each question is audited (chat.ask: who and which engagement; the text only if the server is configured to keep it). 503 when no language model is configured (AI: off).
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · text/event-stream Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 429 Too Many Requests · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
questionstringrequiredUp to 2,000 characters.
historyarray of AskTurnoptionalEarlier turns of this conversation, oldest first. The server keeps no conversation: the client sends it back. The last 10 turns are used.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/ask" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"question":"What should we fix first?"}'

Remediation

Prioritization and the remediation lifecycle of each issue across every assessment. Findings are ranked by a documented priority (0–100: severity, CISA KEV and FIRST EPSS exploit intelligence, internet exposure, asset criticality). Each issue has an owner and a due date from the organization's SLA policy (or CISA's KEV due date). A risk acceptance needs a reason, an expiry and a second person to approve it, and reopens by itself when it expires; a false positive needs a justification and stays suppressed in later scans until undone. Accepted risks and false positives do not count in risk scores, compliance gaps or the CI/CD gate. Every change is in the audit trail (and the SIEM export) with who made it and why. The KEV and EPSS downloads are plain requests for public files that carry nothing about you.

GET/v1/remediationread
Remediation queue
The organization's issues with their priority, KEV and EPSS data, owner, due date and state, most urgent first, and SLA performance over all of them.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · RemediationListResponse Errors401 Unauthorized · 400 Bad Request
ParameterInDescription
statusquery`active` (default: open and accepted), `open`, `accepted`, `false_positive`, `fixed` or `all`.
ownerqueryAn owner's email, `me`, or `none` for unassigned issues.
overduequery`1`: only issues past their due date.
due_beforequeryOnly issues due on or before this date (YYYY-MM-DD).
pendingquery`1`: only issues with a risk acceptance waiting for approval.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/remediation" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/remediation/{id}read
One issue
id is the remediation.id of any of its findings.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · RemediationItem Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/remediation/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/remediation/{id}/assignoperate
Assign an owner
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · RemediationItem Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
ownerstringrequiredEmail of an active person of the organization; empty removes the owner.
reasonstringoptionalWhy; recorded in the audit trail.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/remediation/<id>/assign" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"owner":"ana@bank.example","reason":"Owns the payments gateway"}'
POST/v1/remediation/{id}/acceptoperate
Request a risk acceptance
Waits for another owner or operator to approve it (acceptance.requested webhook). Only an open issue can be accepted, for at most a year.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · RemediationItem Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
reasonstringrequiredWhy the risk is acceptable (compensating controls, business need). Required.
expiresstringrequiredUntil when, YYYY-MM-DD (through the end of that day, UTC) or RFC 3339; at most a year ahead. The finding reopens by itself then.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/remediation/<id>/accept" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"expires":"2027-03-31","reason":"Legacy host isolated behind the VPN until its decommissioning in Q2"}'
POST/v1/remediation/{id}/accept/decideoperate
Approve or reject a risk acceptance
Four eyes: a signed-in owner or operator other than the requester (an API key cannot approve: 403). Approved, every finding of the issue becomes accepted until the expiry, then reopens by itself (acceptance.expired webhook).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · RemediationItem Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
approvebooleanrequiredtrue approves the acceptance; false rejects it.
notestringoptionalThe approver's note.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/remediation/<id>/accept/decide" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"approve":true,"note":"Compensating control verified"}'
POST/v1/remediation/{id}/accept/withdrawoperate
Withdraw a risk acceptance
Ends a pending or approved acceptance early; an approved one reopens the issue.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · RemediationItem Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
reasonstringrequiredWhy; recorded in the audit trail. Required.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/remediation/<id>/accept/withdraw" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"The host is internet-facing again"}'
POST/v1/remediation/{id}/false-positiveoperate
Mark a false positive
The issue's findings, and the same issue in later scans, stop counting until someone undoes it. Marked by a signed-in person (an API key: 403). From Medium severity up it takes two people, like a risk acceptance: it stays pending and the issue open until another owner or operator confirms it (false_positive.requested webhook).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · RemediationItem Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
justificationstringrequiredWhy this is not a real issue. Required.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/remediation/<id>/false-positive" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"justification":"The banner is a honeypot decoy; the real service is patched"}'
POST/v1/remediation/{id}/false-positive/decideoperate
Confirm or reject a false positive
Four eyes: a signed-in owner or operator other than the person who marked it (403 otherwise). approve: true confirms it and the issue stops counting; false rejects it and the issue stays open.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · RemediationItem Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
approvebooleanrequiredtrue approves the acceptance; false rejects it.
notestringoptionalThe approver's note.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/remediation/<id>/false-positive/decide" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"approve":true,"note":"Checked the banner: it is the decoy"}'
POST/v1/remediation/{id}/false-positive/undooperate
Undo or withdraw a false positive
Reopens an issue marked a false positive, or withdraws one still waiting for confirmation.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · RemediationItem Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
reasonstringrequiredWhy; recorded in the audit trail. Required.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/remediation/<id>/false-positive/undo" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Re-tested by hand: the issue is real"}'
GET/v1/intelread
Exploit-intelligence feeds
The CISA KEV catalog and FIRST EPSS scores this server ranks with: version, when they were downloaded, how many entries.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of IntelFeedStatus Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/intel" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Approvals

Intrusive actions wait for a person with the operator or owner role to approve them.

GET/v1/approvalsread
List approval requests
Each request with its state (pending, approved, denied, or withdrawn by its requester), who requested it (and requested_for, the person behind it), who decided and why (reason), whether an approved check is still running, and how it ended: run_ended, run_summary, run_error, run_partial (stopped at its time limit) and stopped_by (who pressed the kill switch on it). An empty list is [].
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of Approval Errors401 Unauthorized
ParameterInDescription
engagementqueryOnly this engagement's requests.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/approvals" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/engagements/{id}/approvalsoperate
Request an approval-gated scan
Asks to run one intrusive module (Nikto, Wapiti, ZAP active scan, sqlmap detection, ffuf, dalfox) against one in-scope target. Refused unless the RoE permits intrusive actions, the module is installed and the target passes the scope gate. It runs only after someone approves it.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · Approval Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
toolstringrequiredAn approval-gated module, e.g. nikto_scan, wapiti_scan, zap_active, sqlmap_confirm, ffuf_discover, dalfox_confirm.
targetstringrequiredAn in-scope host or URL.
rationalestringoptionalWhy it is needed; shown to whoever decides.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/approvals" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rationale":"Server misconfiguration check before the release","target":"https://app.bank.example/","tool":"nikto_scan"}'
POST/v1/approvals/{id}/decideread
Approve, deny or withdraw an intrusive action
Needs the owner or operator role; viewers get 403. The decision is attributed to the caller, never to a name in the body. Approving (approve: true) takes a signed-in person: an API key cannot approve (403, audited as rbac.deny), and four eyes applies — the person who requested the check, or the person behind a request that was not a person's (requested_for: who started the run, or created the key or schedule that did), cannot approve it either (403, audited as approval.refused). Anyone with the role may decline (approve: false), an API key included: declined by the requester (or the person behind the request) it is withdrawn (audited approval.withdraw), by anyone else denied (approval.deny). An optional reason is kept on the approval and in the audit trail. 400 for an approval already decided.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · Approval Errors401 Unauthorized · 403 Forbidden · 400 Bad Request
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
approvebooleanrequiredtrue runs the gated action; false denies it (or withdraws it, when the caller requested it or is the person behind the request).
reasonstringoptionalWhy, in your own words (optional, up to 500 characters): kept on the approval (reason), shown in the report and written to the audit trail.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/approvals/<id>/decide" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"approve":true,"reason":"Release freeze lifted; the target owner agreed to the window"}'

Schedules

Recurring assessments: daily, weekly or monthly.

GET/v1/schedulesread
List schedules
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of Schedule Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/schedules" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/schedulesoperate
Create a schedule
400 when the first run (start_at, default now) falls after the Rules of Engagement expire: such a schedule could never run.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · Schedule Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required
Body fieldTypeDescription
namestringoptionalSchedule name.
asset_idsarray of stringrequiredVerified assets to test on every run.
roe_idstringoptionalThe signed Rules of Engagement. Omit it for passive checks (recon level), which need none.
modedeterministic | aioptionaldeterministic (default) or ai.
everystringrequireddaily, weekly or monthly.
start_atdate-timeoptionalFirst run (RFC 3339). Default: now.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/schedules" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset_ids":["ast_7f3c9a1d2e4b6f80a1c2"],"every":"weekly","mode":"deterministic","name":"Weekly external scan","roe_id":"roe_3b8e1f0c9d2a7e64b5f1"}'
POST/v1/schedules/{id}/pauseoperate
Pause a schedule
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · Schedule Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/schedules/<id>/pause" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/schedules/{id}/resumeoperate
Resume a schedule
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · Schedule Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/schedules/<id>/resume" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Deploy hooks

Test every deployment from CI/CD and fail the release on serious issues. Triggered with the hook's own token.

GET/v1/hooksread
List deploy hooks
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of DeployHook Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/hooks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/hooksoperate
Create a deploy hook
The hook fixes what is tested (verified assets under an RoE). Its token, shown once, can only start a run and read the verdict; it can never widen scope.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · HookSecretResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request
Body fieldTypeDescription
namestringoptionalHook name, e.g. the service it guards.
asset_idsarray of stringrequiredVerified assets tested on every deploy.
roe_idstringoptionalThe signed Rules of Engagement. Omit it for passive checks (recon level), which need none.
modedeterministic | aioptionaldeterministic (default) or ai.
fail_oninfo | low | medium | high | criticaloptionalLowest severity that fails the gate: critical, high (default), medium or low.
only_newbooleanoptionalCount only issues new since the previous deploy (default true).
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/hooks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"asset_ids":["ast_7f3c9a1d2e4b6f80a1c2"],"fail_on":"high","name":"Internet banking — production","only_new":true,"roe_id":"roe_3b8e1f0c9d2a7e64b5f1"}'
POST/v1/hooks/{id}/rotateoperate
Rotate the hook token
The old token stops working at once.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · HookSecretResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/hooks/<id>/rotate" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/hooks/{id}/enableoperate
Enable a hook
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · DeployHook Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/hooks/<id>/enable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/hooks/{id}/disableoperate
Disable a hook
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · DeployHook Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/hooks/<id>/disable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/deploy/{id}hook
CI: assess this deployment
Call from the pipeline after deploying. The body is optional. Poll status_url for the verdict. HTTP 409 when the previous run of this hook is still going, outside the RoE window, or after it expired.
AccessThe deploy hook's token (Authorization: Bearer). Success202 Accepted · DeployAcceptedResponse Errors401 Unauthorized · 400 Bad Request · 402 Payment Required · 409 Conflict · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
refstringoptional
environmentstringoptional
pipeline_urlstringoptional
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/deploy/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_HOOK_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"environment":"production","pipeline_url":"https://ci.bank.example/pipelines/4711","ref":"v2.14.0"}'
POST/v1/deploy/{id}/runs/{eng}/sarifhook
CI: attach code-scan results (SARIF)
Upload semgrep --sarif (or any SARIF 2.1.0) for the commit being deployed, after starting the run and before polling the verdict: the code findings join the run, so the gate fails on serious issues in the code and in the running application alike.
AccessThe deploy hook's token (Authorization: Bearer). Success201 Created · Summary Errors401 Unauthorized · 400 Bad Request · 404 Not Found · 413 Request Entity Too Large · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
engpathID of the deploy run (an engagement).
Bodyapplication/sarif+json (raw file)
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/deploy/<id>/runs/<eng>/sarif" \
  -H "Authorization: Bearer $ECHETLEOS_HOOK_TOKEN" \
  -H "Content-Type: application/sarif+json" \
  --data-binary @results.sarif
GET/v1/deploy/{id}/runs/{eng}hook
CI: gate verdict
verdict is pending until the run ends, then pass, fail or error. Fail the pipeline on fail.
AccessThe deploy hook's token (Authorization: Bearer). Success200 OK · GateResult Errors401 Unauthorized · 404 Not Found · 429 Too Many Requests
ParameterInDescription
idpathID of the resource.
engpathID of the deploy run (an engagement).
Example request
curl "https://echetleos.avsecadvisory.eu/v1/deploy/<id>/runs/<eng>" \
  -H "Authorization: Bearer $ECHETLEOS_HOOK_TOKEN"

Notifications

Slack, Microsoft Teams and signed JSON webhooks.

GET/v1/webhooksread
List webhooks
URLs are masked: Slack and Teams webhook URLs are secrets.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of Webhook Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/webhooks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/webhooksoperate
Add a webhook
Returns the signing secret once. JSON deliveries carry X-Echetleos-Signature: t=<unix>,v1=<hex>, an HMAC-SHA256 of <t>.<body>. Deliveries go only to public https endpoints and are retried.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · WebhookCreatedResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request
Body fieldTypeDescription
namestringoptionalWebhook name.
urlstringrequiredPublic https endpoint. Slack/Teams URLs are masked in every response.
formatstringrequiredjson (signed), slack or teams.
eventsarray of stringrequiredEvents to send: engagement.completed, deploy.gate, retest.verified, schedule.paused.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/webhooks" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"events":["engagement.completed","deploy.gate","retest.verified","schedule.paused","surface.changed","cloud.completed","finding.overdue","acceptance.requested","acceptance.expired","approval.requested","false_positive.requested"],"format":"slack","name":"SOC channel","url":"https://hooks.slack.com/services/T000/B000/XXXX"}'
POST/v1/webhooks/{id}/testoperate
Send a test event
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · WebhookTestResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/webhooks/<id>/test" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/webhooks/{id}/enableoperate
Enable a webhook
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · Webhook Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/webhooks/<id>/enable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/webhooks/{id}/disableoperate
Disable a webhook
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · Webhook Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/webhooks/<id>/disable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/webhooks/{id}operate
Delete a webhook
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · DeletedResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/webhooks/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Ticketing

File findings into Jira or ServiceNow, by hand or automatically.

GET/v1/ticketingread
List ticketing integrations
Credentials are never returned. enabled is false until the server has ECHETLEOS_SECRET_KEY.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · TicketingListResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/ticketing" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/ticketingoperate
Connect Jira or ServiceNow
After each retest, Echetleos comments the verdict on the tickets it filed (fixed, still there, found again, now rated Info). When a retest verifies the fix, or rates the issue Info (expected on this kind of site, harmless or an advisory), it also closes the ticket: in Jira by a transition to a done status (for a fix never one like "Won't Do"; for an issue rated Info, such a one first), in ServiceNow by resolving the incident (state 6, with close notes and a matching close code). A ticket already done is left as it is, and one the team resolved (which started the retest) is confirmed. When a retest finds a closed ticket's issue again (found again after a fix, still there after the team resolved it, or rated above Info again), it reopens the ticket: in Jira by a transition out of done ("Reopen" first), in ServiceNow by setting a resolved incident back to In Progress (a Closed incident is final there). The user needs permission to transition issues or to update incidents; where it cannot close or reopen the ticket, it says so on the ticket.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · TicketIntegration Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 503 Service Unavailable
Body fieldTypeDescription
namestringoptionalIntegration name.
kindstringrequiredjira or servicenow.
base_urlstringrequiredhttps URL of the Jira site or ServiceNow instance.
projectstringoptionalJira project key.
issue_typestringoptionalJira issue type (default Bug).
tablestringoptionalServiceNow table (default incident).
usernamestringoptionalJira account email (empty for a Data Center token) or ServiceNow user.
tokenstringrequiredAPI token or password; sealed at rest, never returned.
min_severityinfo | low | medium | high | criticaloptionalLowest severity filed automatically (default high).
auto_createbooleanoptionalFile tickets automatically when an assessment completes.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/ticketing" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"auto_create":true,"base_url":"https://bank.atlassian.net","issue_type":"Bug","kind":"jira","min_severity":"high","name":"Jira SEC","project":"SEC","token":"ATATT3x…","username":"secops@bank.example"}'
POST/v1/ticketing/relayowner
Connect Jira or ServiceNow inside your network, via a runner
For an instance reachable only inside your network: the runner files the tickets and posts the retest comments. Its address, project or table and credential are in the runner's relay configuration on the runner host, under relay; the service never receives them. Filing then answers 202 (queued for the runner).
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · TicketingView Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 409 Conflict · 503 Service Unavailable
Body fieldTypeDescription
namestringoptionalIntegration name.
kindstringrequiredjira or servicenow.
runner_idstringrequiredThe runner that files the tickets.
relaystringrequiredThe system's name in the runner's relay configuration, which holds its address, project or table, and credential.
min_severityinfo | low | medium | high | criticaloptionalLowest severity filed automatically (default high).
auto_createbooleanoptionalFile tickets automatically when an assessment completes.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/ticketing/relay" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"auto_create":true,"kind":"jira","min_severity":"high","relay":"jira-sec","runner_id":"rnr_2f9c1d7e5a0b3c84d6e1"}'
POST/v1/ticketing/{id}/testoperate
Test the connection
409 for an integration relayed by a runner: test it on the runner host (echetleos-runner relay-check).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · CheckResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/ticketing/<id>/test" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/ticketing/{id}/credentialsoperate
Replace the credential
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · TicketIntegration Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
usernamestringoptionalNew username; omit to keep the current one.
tokenstringrequiredNew API token or password.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/ticketing/<id>/credentials" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"token":"ATATT3x…new"}'
POST/v1/ticketing/{id}/settingsoperate
Change automatic filing
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · TicketIntegration Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
auto_createbooleanoptionalTurn automatic filing on or off; omit to keep.
min_severityinfo | low | medium | high | criticaloptionalLowest severity filed automatically; omit to keep.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/ticketing/<id>/settings" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"auto_create":true,"min_severity":"critical"}'
POST/v1/ticketing/{id}/inboundoperate
Retest when a ticket is resolved
Turns on (or off) verification of fixes as soon as the ticketing system reports a ticket resolved, and returns the webhook to configure there: its URL, its secret (shown when created or rotated) and the setup steps for Jira or ServiceNow.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · InboundResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
retest_on_resolvebooleanrequiredRetest an issue as soon as its ticket is resolved.
rotatebooleanoptionalIssue a new webhook secret; the old one stops working.
done_statusesarray of stringoptionalExtra status names that count as resolved (Jira's done category and ServiceNow's Resolved/Closed always do). Left out, the ones set before are kept.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/ticketing/<id>/inbound" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"retest_on_resolve":true}'
POST/v1/tickets/inbound/{tenant}/{id}public
Ticketing system: a ticket was resolved
Called by Jira or ServiceNow, authenticated with the integration's webhook secret: an HMAC-SHA256 signature of the body in X-Hub-Signature: sha256=… (Jira webhooks), or the secret in X-Echetleos-Token / Authorization: Bearer. Accepts a Jira webhook, {"key","status","category"} (Jira Automation), {"number","state"} (ServiceNow) or {"ticket","resolved"}. For a ticket Echetleos filed, it retests that issue at once (only the modules that found it, only its assets) and comments the result on the ticket. A ticket Echetleos closed itself (a verified fix, or the issue rated Info) starts no retest.
AccessNo credentials. Success202 Accepted · InboundAccepted Errors400 Bad Request · 401 Unauthorized · 413 Request Entity Too Large · 429 Too Many Requests
ParameterInDescription
tenantpath
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/tickets/inbound/<tenant>/<id>"
POST/v1/ticketing/{id}/enableoperate
Enable an integration
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · TicketIntegration Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/ticketing/<id>/enable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/ticketing/{id}/disableoperate
Disable an integration
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · TicketIntegration Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/ticketing/<id>/disable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/ticketing/{id}operate
Delete an integration
Removes the stored credential. Tickets already filed are kept.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · DeletedResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/ticketing/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/engagements/{id}/ticketsread
Tickets of each finding
Keyed by finding ID. A ticket filed in an earlier run shows on the same issue found again.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · EngagementTicketsResponse Errors401 Unauthorized · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/tickets" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/engagements/{id}/findings/{fid}/ticketoperate
File a finding
Idempotent: 201 when a ticket was created, 200 with the existing one otherwise. 409 for a finding verified fixed, 502 when Jira/ServiceNow refused. For an integration relayed by a runner: 202 with the queued request (queued, task); the runner files it on its next check-in.
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success201 Created · FileTicketResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict · 502 Bad Gateway
ParameterInDescription
idpathID of the resource.
fidpathID of the finding.
Body fieldTypeDescription
integration_idstringrequiredThe ticketing integration to file into.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/engagements/<id>/findings/<fid>/ticket" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"integration_id":"tkt_5c1e9b0a3f7d2c48e6a9"}'

SIEM export

Stream the audit trail to Splunk (HTTP Event Collector), to syslog over TLS as CEF (Microsoft Sentinel, QRadar, ArcSight) or to any HTTPS endpoint as signed NDJSON. At-least-once delivery from a saved cursor, retried with backoff. Only owners change destinations; addresses are shown as host only and tokens are never returned.

GET/v1/siemread
List SIEM destinations and their status
Each destination with the last event delivered, when, how many events are still pending and how old the oldest is (lag_seconds), and the last error. Only the host is shown; tokens and secrets are never returned. enabled is false until the server has ECHETLEOS_SECRET_KEY.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · SiemListResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/siem" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/siemowner
Add a SIEM destination
splunk_hec: HEC URL and token. syslog_tls: host:port of an RFC 5425 receiver; messages are CEF. https_json: NDJSON batches signed like webhooks (X-Echetleos-Signature; the signing secret is shown once). Export starts with the next event, or backfill_days earlier. Private, loopback and metadata addresses are refused, also when a host name resolves to one at connect time; plain syslog is refused. For a SIEM reachable only inside your network, give runner_id and relay (its name in the runner's relay configuration) with kind: the runner delivers, and the address and token stay on the runner host.
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · SiemCreatedResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 402 Payment Required · 503 Service Unavailable
Body fieldTypeDescription
namestringoptionalDestination name.
kindstringrequiredsplunk_hec, syslog_tls or https_json.
urlstringoptionalsplunk_hec and https_json: the https URL. For Splunk, the HEC address (https://splunk.bank.example:8088) or its …/services/collector/event URL. Sealed at rest; only the host is shown.
addressstringoptionalsyslog_tls: host:port of the TLS syslog receiver (port defaults to 6514). Plain syslog is refused.
tokenstringoptionalsplunk_hec: the HEC token (required). https_json: an optional bearer token. Sealed at rest, never returned.
indexstringoptionalsplunk_hec: index (default: the token's default index).
sourcetypestringoptionalsplunk_hec: sourcetype (default echetleos:audit).
facilitystringoptionalsyslog_tls: local0–local7, audit, authpriv or user (default local4).
ca_pemstringoptionalPEM CA certificate(s) to trust instead of the public roots, for a receiver behind a private PKI.
backfill_daysintegeroptionalAlso export the last N days of the audit trail (0–365). Default 0: only events from now on.
runner_idstringoptionalRelay through this runner, for a SIEM reachable only inside your network. Then give relay and kind only: the address and token are configured on the runner host.
relaystringoptionalWith runner_id: the destination's name in the runner's relay configuration.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/siem" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"backfill_days":7,"index":"security","kind":"splunk_hec","name":"Splunk Cloud","token":"00000000-0000-0000-0000-000000000000","url":"https://http-inputs-bank.splunkcloud.com/services/collector/event"}'
PUT/v1/siem/{id}owner
Change a destination
Omitted fields are kept. Send token to rotate it. Delivery continues from the same place.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SiemView Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Body fieldTypeDescription
namestringoptionalNew name.
urlstringoptionalsplunk_hec and https_json: new https URL.
addressstringoptionalsyslog_tls: new host:port.
tokenstringoptionalNew token (rotation). For https_json, an empty string removes the bearer token.
indexstringoptionalsplunk_hec: index; empty for the token's default.
sourcetypestringoptionalsplunk_hec: sourcetype; empty for echetleos:audit.
facilitystringoptionalsyslog_tls: facility.
ca_pemstringoptionalPEM CA certificate(s); empty to trust the public roots again.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/v1/siem/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"token":"11111111-1111-1111-1111-111111111111"}'
POST/v1/siem/{id}/testoperate
Send a test event
Sends one siem.test_event now, outside the stream (the cursor does not move), and reports the outcome. 409 for a destination relayed by a runner: test it on the runner host (echetleos-runner relay-check).
AccessOwner, operator, or an API key of scope operate or owner. Viewers and read-scope keys get 403. Success200 OK · CheckResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/siem/<id>/test" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/siem/{id}/rotate-secretowner
Rotate the signing secret (https_json)
Returns the new secret once; later batches are signed with it.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SiemCreatedResponse Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found · 409 Conflict · 503 Service Unavailable
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/siem/<id>/rotate-secret" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/siem/{id}/enableowner
Resume export
Events logged while it was disabled are delivered.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SiemView Errors401 Unauthorized · 403 Forbidden · 402 Payment Required · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/siem/<id>/enable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/siem/{id}/disableowner
Pause export
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SiemView Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/siem/<id>/disable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/siem/{id}owner
Delete a destination
Removes it with its stored secrets.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · DeletedResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/siem/<id>" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

Single sign-on

SAML 2.0 / OpenID Connect sign-in. Settings are owner-only; the sign-in endpoints are public by nature.

GET/v1/ssoowner
Single sign-on settings
The connection (secrets never included), the URLs to register with the identity provider, and SCIM status.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SSOSettings Errors401 Unauthorized · 403 Forbidden
Example request
curl "https://echetleos.avsecadvisory.eu/v1/sso" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
PUT/v1/ssoowner
Configure the connection
SAML: give metadata_url or metadata_xml. OIDC: issuer, client_id, client_secret (checked against the issuer's discovery document). Saving does not enable sign-in; call enable after registering Echetleos with the identity provider.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SSOSettings Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 503 Service Unavailable
Body fieldTypeDescription
slugstringrequiredOrganization ID used in sign-in links (3-40 lowercase letters, digits, hyphens).
protocolstringrequiredsaml or oidc.
issuerstringoptionalOIDC issuer URL, exactly as in its discovery document.
client_idstringoptionalOIDC client ID.
client_secretstringoptionalOIDC client secret; empty keeps the current one. Sealed, never returned.
metadata_xmlstringoptionalSAML IdP metadata XML; empty keeps the current one.
metadata_urlstringoptionalhttps URL to download the SAML IdP metadata from.
domainsarray of stringrequiredEmail domains that may sign in; each must be a verified domain asset.
default_roleowner | operator | viewerrequiredRole for new people who match no mapped group.
jitbooleanoptionalCreate accounts at first sign-in.
group_rolesmap of owner | operator | vieweroptionalIdP group name or ID → role.
enforce_ssobooleanoptionalRefuse password sign-in to everyone except owners.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/v1/sso" \
  -H "X-API-Key: $ECHETLEOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"default_role":"viewer","domains":["bank.example"],"group_roles":{"Echetleos-Admins":"owner","SecOps":"operator"},"jit":true,"metadata_url":"https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/federationmetadata/2007-06/federationmetadata.xml?appid=…","protocol":"saml","slug":"bank-example"}'
DELETE/v1/ssoowner
Remove the connection
Also revokes the SCIM token. Accounts are kept.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SSOSettings Errors401 Unauthorized · 403 Forbidden · 404 Not Found
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/sso" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/sso/testowner
Check discovery or metadata
OIDC: fetches the discovery document and keys. SAML: validates (and, with a metadata URL, re-downloads) the IdP metadata.
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SsoTestResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found · 502 Bad Gateway
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/sso/test" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/sso/enableowner
Turn sign-in on
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SSOSettings Errors401 Unauthorized · 403 Forbidden · 400 Bad Request · 404 Not Found
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/sso/enable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/sso/disableowner
Turn sign-in off
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SSOSettings Errors401 Unauthorized · 403 Forbidden · 404 Not Found
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/sso/disable" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/sso/scim-tokenowner
Create or rotate the SCIM token
Shown once; a previous token stops working.
AccessOwner, or an API key of scope owner (the organization's key is one). Success201 Created · ScimTokenResponse Errors401 Unauthorized · 403 Forbidden · 404 Not Found
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/sso/scim-token" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
DELETE/v1/sso/scim-tokenowner
Revoke the SCIM token
AccessOwner, or an API key of scope owner (the organization's key is one). Success200 OK · SSOSettings Errors401 Unauthorized · 403 Forbidden · 404 Not Found
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/v1/sso/scim-token" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
POST/v1/sso/beginpublic
Start a sign-in (dashboard)
Returns the identity-provider URL to send the browser to. The browser keeps a random verifier and sends only its hash as bind.
AccessNo credentials. Success200 OK · SsoBeginResponse Errors404 Not Found · 429 Too Many Requests · 502 Bad Gateway
Body fieldTypeDescription
slugstringrequiredOrganization ID.
bindstringrequiredbase64url(SHA-256(verifier)); the browser keeps the verifier.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/sso/begin" \
  -H "Content-Type: application/json" \
  -d '{"bind":"E9Melhoa2OwvFrEMTJguCHaoeK1t8URWbuGJSstw-cM","slug":"bank-example"}'
POST/v1/sso/exchangepublic
Finish a sign-in (dashboard)
Trades the one-time code from the #sso_code= redirect, plus the verifier, for a session.
AccessNo credentials. Success200 OK · SessionResponse Errors401 Unauthorized
Body fieldTypeDescription
codestringrequiredOne-time code from the #sso_code= redirect.
verifierstringrequiredThe verifier whose hash was sent to /v1/sso/begin.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/v1/sso/exchange" \
  -H "Content-Type: application/json" \
  -d '{"code":"Qk8n…","verifier":"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"}'
GET/sso/{slug}/startpublic
Sign-in link (bookmark / IdP tile)
Opens the dashboard with the organization filled in; one click by the person starts the sign-in.
AccessNo credentials. Success302 Found
ParameterInDescription
slugpathThe organization ID used for single sign-on.
Example request
curl "https://echetleos.avsecadvisory.eu/sso/<slug>/start"
GET/sso/{slug}/callbackpublic
OIDC redirect URI
Called by the identity provider's redirect. Sends the browser to /#sso_code=… or /#sso_error=<code>.
AccessNo credentials. Success303 See Other
ParameterInDescription
slugpathThe organization ID used for single sign-on.
Example request
curl "https://echetleos.avsecadvisory.eu/sso/<slug>/callback"
POST/sso/{slug}/acspublic
SAML assertion consumer service
HTTP-POST binding. Unsolicited (IdP-initiated) responses are bounced into a normal sign-in.
AccessNo credentials. Success303 See Other
ParameterInDescription
slugpathThe organization ID used for single sign-on.
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/sso/<slug>/acs"
GET/sso/{slug}/metadatapublic
SAML service-provider metadata
AccessNo credentials. Success200 OK · application/samlmetadata+xml Errors404 Not Found
ParameterInDescription
slugpathThe organization ID used for single sign-on.
downloadqueryPresent to download as a file.
Example request
curl "https://echetleos.avsecadvisory.eu/sso/<slug>/metadata"

SCIM

SCIM 2.0 provisioning for identity providers (Entra ID, Okta). Bearer: the SCIM token.

GET/scim/v2/ServiceProviderConfigscim
Capabilities
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/scim/v2/ServiceProviderConfig" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
GET/scim/v2/ResourceTypesscim
Resource types
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/scim/v2/ResourceTypes" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
GET/scim/v2/Schemasscim
Schemas
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/scim/v2/Schemas" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
GET/scim/v2/Usersscim
List or find users
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
ParameterInDescription
filterquery`userName eq "…"`, `externalId eq "…"`, `emails.value eq "…"` or `id eq "…"`.
startIndexquery1-based.
countqueryAt most 200.
Example request
curl "https://echetleos.avsecadvisory.eu/scim/v2/Users" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
POST/scim/v2/Usersscim
Create a user
The email must be in the organization's single sign-on domains. 409 if the address is already in use.
AccessThe SCIM token (Authorization: Bearer). Success201 Created · application/scim+json Errors401 Unauthorized
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/scim/v2/Users" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
GET/scim/v2/Users/{id}scim
Get a user
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/scim/v2/Users/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
PUT/scim/v2/Users/{id}scim
Replace a user
An omitted active keeps the current state.
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/scim/v2/Users/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
PATCH/scim/v2/Users/{id}scim
Update a user (PatchOp)
active: false deactivates the account and ends its sessions at once. Refused (409) if it would leave no active owner.
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl -X PATCH "https://echetleos.avsecadvisory.eu/scim/v2/Users/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
DELETE/scim/v2/Users/{id}scim
Delete a user
Ends the person's sessions. Refused (409) for the last active owner.
AccessThe SCIM token (Authorization: Bearer). Success204 No Content Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/scim/v2/Users/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
GET/scim/v2/Groupsscim
List or find groups
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
ParameterInDescription
filterquery`displayName eq "…"`, `externalId eq "…"` or `id eq "…"`.
excludedAttributesquery`members` to omit members.
Example request
curl "https://echetleos.avsecadvisory.eu/scim/v2/Groups" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
POST/scim/v2/Groupsscim
Create a group
Membership becomes a role through the single sign-on group mapping.
AccessThe SCIM token (Authorization: Bearer). Success201 Created · application/scim+json Errors401 Unauthorized
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/scim/v2/Groups" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
GET/scim/v2/Groups/{id}scim
Get a group
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl "https://echetleos.avsecadvisory.eu/scim/v2/Groups/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
PUT/scim/v2/Groups/{id}scim
Replace a group
AccessThe SCIM token (Authorization: Bearer). Success200 OK · application/scim+json Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl -X PUT "https://echetleos.avsecadvisory.eu/scim/v2/Groups/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
PATCH/scim/v2/Groups/{id}scim
Add or remove members, rename (PatchOp)
AccessThe SCIM token (Authorization: Bearer). Success204 No Content Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl -X PATCH "https://echetleos.avsecadvisory.eu/scim/v2/Groups/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"
DELETE/scim/v2/Groups/{id}scim
Delete a group
AccessThe SCIM token (Authorization: Bearer). Success204 No Content Errors401 Unauthorized
ParameterInDescription
idpathID of the resource.
Example request
curl -X DELETE "https://echetleos.avsecadvisory.eu/scim/v2/Groups/<id>" \
  -H "Authorization: Bearer $ECHETLEOS_SCIM_TOKEN"

Audit

The append-only audit trail.

GET/v1/eventsread
Organization-wide audit trail
Newest first. Every action, refusal and approval, attributed to a person or the API key. Filters combine (all must match); with none, the whole trail. format=csv exports the same rows as a CSV file (columns id, time, actor, action, allowed, engagement_id, target, detail; a cell that a spreadsheet would read as a formula is prefixed with '); each CSV export is itself audited (audit.export). 400 for a filter that cannot be read. Reading the trail never changes it.
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of AuditEvent Errors401 Unauthorized · 400 Bad Request
ParameterInDescription
actorqueryOnly this actor, exactly: `user:ana@bank.example` (or just the address), `api_key:ci`, `engine`, `scheduler:sch_…`.
actionqueryOnly actions starting with this: `approval.` for every approval event, `rbac.deny`, `killswitch`.
engagementqueryOnly this engagement's events.
fromqueryOnly events at or after this: a date (YYYY-MM-DD, UTC, from its start) or an RFC 3339 time.
toqueryOnly events at or before this: a date (YYYY-MM-DD, UTC, to its end) or an RFC 3339 time.
qqueryOnly events whose target or detail contains this text (case-insensitive).
allowedquery`true`: only what was allowed; `false`: only refusals.
limitqueryAt most this many events (the newest), 1 to 100000.
formatquery`json` (default) or `csv`.
Example request
curl "https://echetleos.avsecadvisory.eu/v1/events" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"

System

Health, modules and this reference.

GET/healthzpublic
Health check
AccessNo credentials. Success200 OK · HealthResponse
Example request
curl "https://echetleos.avsecadvisory.eu/healthz"
GET/v1/toolsread
Scan modules and their availability
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · array of ToolInfo Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/tools" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/egressread
Where scans come from
The public addresses the service's scans of internet-facing assets come from, to allowlist in a WAF or IPS (or deliberately not).
AccessAny signed-in person or API key (a read-scope key may only GET). Success200 OK · EgressResponse Errors401 Unauthorized
Example request
curl "https://echetleos.avsecadvisory.eu/v1/egress" \
  -H "X-API-Key: $ECHETLEOS_API_KEY"
GET/v1/openapi.jsonpublic
This API as OpenAPI 3.1
AccessNo credentials. Success200 OK · application/json
Example request
curl "https://echetleos.avsecadvisory.eu/v1/openapi.json"
GET/docspublic
This reference
AccessNo credentials. Success200 OK · text/html
Example request
curl "https://echetleos.avsecadvisory.eu/docs"

Schemas

Objects returned by the API. always: the field is always present (it may be empty); when set: omitted when empty.

APIDescription

FieldTypeDescription
idstringalways
tenant_idstringalways
asset_idstringalways
namestringalways
formatstringalways
titlestringwhen set
versionstringwhen set
base_urlstringwhen set
endpointstringwhen set
operationsintegeralways
in_scopeintegeralways
read_onlyintegeralways
withheldintegeralways
originsarray of stringalways
out_of_scopearray of stringwhen set
sizeintegeralways
sha256stringalways
created_atdate-timealways
created_bystringwhen set

AWSCredential

FieldTypeDescription
role_arnstringwhen setKeyless: the ARN of a read-only role (SecurityAudit) whose trust policy names Echetleos's identity provider and this organization's subject (GET /v1/cloud/federation gives both). No key is stored.
organizationbooleanwhen setWith role_arn in the management or delegated administrator account: review every active member account.
member_rolestringwhen setWith organization: the read-only role's name in each member account (default: role_arn's name).
access_key_idstringwhen setInstead of role_arn: the access key ID of a read-only IAM user (SecurityAudit policy).
secret_access_keystringwhen setIts secret access key; sealed, never returned.
session_tokenstringwhen setOnly for temporary credentials.

Accepted

FieldTypeDescription
acceptedintegeralways
refusedintegeralways

AiModelView

FieldTypeDescription
configuredbooleanalwaysThis server has a language model at all.
offbooleanalwaysThe organization turned the language model off: ai-mode runs use the deterministic playbook and Ask Echetleos is unavailable.
choosablebooleanalwaysThe server's model endpoint serves several models, so the organization can choose one.
providerstringwhen setThe provider whose model the organization chooses.
primarystringwhen setWhen set, a different provider is tried first and the choice applies to the backstop.
default_modelstringwhen setThe server's default model.
modelstringwhen setThe organization's choice; empty means the server's default.
effective_modelstringwhen setThe model the next run uses.
modelsarray of stringalwaysModels the endpoint serves.
models_errorstringwhen set
updated_atdate-timewhen set
updated_bystringwhen set

AiTestResponse

FieldTypeDescription
modelstringalways
okbooleanalwaysThe model answered and called the tool it was offered, so it can drive the AI operator.
secondsnumberalwaysHow long the answer took. One planning step of a real run sends a much longer prompt.
detailstringalways

ApiKeyCreatedResponse

FieldTypeDescription
keyApiKeyViewalways
api_keystringalwaysThe key. Shown only in this response; only its hash is stored.
notestringalways

ApiKeyResponse

FieldTypeDescription
api_keystringalways
notestringalways

ApiKeyView

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
scopestringalways
prefixstringalways
created_bystringalways
created_atdate-timealways
expires_atdate-timewhen set
last_used_atdate-timewhen set
organizationbooleanwhen setThe organization's own key (owner scope, no expiry). It cannot be revoked here; rotate it under Organization.
expiredbooleanwhen set

Approval

FieldTypeDescription
idstringalways
engagement_idstringalways
tenant_idstringalways
toolstringalways
targetstringalways
rationalestringalways
requested_bystringwhen set
requested_forstringwhen set
statepending | approved | denied | withdrawnalways
decided_bystringwhen set
created_atdate-timealways
decided_atdate-timewhen set
run_endeddate-timewhen set
run_errorstringwhen set
run_summarystringwhen set
run_partialbooleanwhen set
runningbooleanwhen set
reasonstringwhen set
stopped_bystringwhen set
stopped_atdate-timewhen set

ApprovedCheck

FieldTypeDescription
approval_idstringalways
toolstringalways
levelstringalways
targetstringalways
decided_bystringwhen set
decided_atdate-timewhen set
requested_bystringwhen set
requested_forstringwhen set
after_runbooleanwhen set
completedbooleanalways
ended_atdate-timewhen set
runningbooleanwhen set
partialbooleanwhen set
stopped_bystringwhen set
whystringwhen set

AskTurn

FieldTypeDescription
rolestringalwaysuser or assistant.
textstringalways

Asset

FieldTypeDescription
idstringalways
tenant_idstringalways
kinddomain | ip | cidr | urlalways
valuestringalways
verificationVerificationalways
created_atdate-timealways
bssidsarray of stringwhen set
wifi_authstringwhen set
swiftbooleanwhen set
frameworksarray of stringwhen set
runner_idstringwhen set
connectionstringwhen set
branchstringwhen set
isolatedbooleanwhen set
surface_weeklybooleanwhen set
surface_last_rundate-timewhen set
criticalitylow | medium | high | crown_jewelwhen set
business_ownerstringwhen set
cloud_accountstringwhen set

AssetView

FieldTypeDescription
idstringalways
tenant_idstringalways
kinddomain | ip | cidr | urlalways
valuestringalways
verificationVerificationalways
created_atdate-timealways
bssidsarray of stringwhen set
wifi_authstringwhen set
swiftbooleanwhen set
frameworksarray of stringwhen set
runner_idstringwhen set
connectionstringwhen set
branchstringwhen set
isolatedbooleanwhen set
surface_weeklybooleanwhen set
surface_last_rundate-timewhen set
criticalitylow | medium | high | crown_jewelwhen set
business_ownerstringwhen set
cloud_accountstringwhen set
challengeOwnershipChallengewhen setOnly while verification is pending: where to publish the proof and what to publish.

AuditEvent

FieldTypeDescription
idstringalways
tenant_idstringalways
engagement_idstringwhen set
timedate-timealways
actorstringalways
actionstringalways
targetstringalways
detailstringalways
allowedbooleanalways

AuthHost

FieldTypeDescription
hoststringalways
detailstringalways
finding_idstringalways

AuthScan

FieldTypeDescription
requirementstringalways
statusstringalways
scannedarray of AuthHostalways
not_scannedarray of AuthHostalways
documentedarray of AuthHostalways

Authorizer

FieldTypeDescription
namestringalways
emailstringwhen set

AzureCredential

FieldTypeDescription
tenant_idstringalwaysDirectory (tenant) ID.
client_idstringalwaysApplication (client) ID of an app registration with the Reader role.
client_secretstringwhen setLeave empty for keyless access (a federated identity credential that trusts Echetleos; GET /v1/cloud/federation). Otherwise a client secret, sealed and never returned.

BillingPayer

FieldTypeDescription
idstringalways
namestringalways

BillingView

FieldTypeDescription
enabledbooleanalwaysfalse when the server has no Stripe configuration: then nothing is limited (self-hosted and demo installs).
planPlanalwaysThe plan in effect.
sourcestringalwaysWhy it is in effect: default (no subscription), subscription, provider (paid for by a managed service provider) or unlimited (billing off).
default_planstringalwaysName of the plan that applies without a subscription, and after a failed payment's grace period.
statusstringwhen setThe Stripe subscription status: active, trialing, past_due, unpaid, canceled, incomplete…
subscribed_planstringwhen setThe plan paid for, when it is not the plan in effect (the grace period after a failed payment ended).
next_invoice_atdate-timewhen setEnd of the current billing period, from the subscription: the next invoice, or the end of the subscription when cancel_at_period_end.
cancel_at_period_endbooleanwhen set
payment_failed_atdate-timewhen set
grace_untildate-timewhen setAfter a failed payment the plan stays until then; afterwards the default plan applies. Nothing is deleted.
billed_byBillingPayerwhen setThe managed service provider that pays for this organization's plan.
usagearray of UsageLinealways
modulesarray of PlanModulealways
plansarray of PlanOfferalways
can_checkoutbooleanalwaysUpgrade (Checkout) is possible: billing is on and there is no live subscription.
can_managebooleanalwaysManage billing (Customer Portal) is possible: a Stripe customer exists.
clientsarray of ClientBillingwhen setFor a provider: each client, and whether you pay for its plan.

CheckResponse

FieldTypeDescription
okbooleanalways
errorstringwhen set

ClientBilling

FieldTypeDescription
delegation_idstringalways
client_idstringalways
client_namestringalways
billedbooleanalwaysYou pay for the client's plan.
planstringalwaysThe plan in effect for the client.

ClientBillingResponse

FieldTypeDescription
delegationDelegationalways
billedbooleanalways
planstringalwaysThe plan now in effect for the client.

ClientSummary

FieldTypeDescription
delegationDelegationalways
owner_joinedbooleanalways
verified_assetsintegeralways
engagementsintegeralways
runningintegeralways
pending_approvalsintegeralways
last_runstringwhen set
last_run_atdate-timewhen set
riskRiskwhen set
next_scheduleddate-timewhen set

ClientsResponse

FieldTypeDescription
provider_idstringalways
clientsarray of ClientSummaryalways

CloudAccount

FieldTypeDescription
idstringalways
tenant_idstringalways
providerstringalways
namestringalways
principalstringalways
scopearray of stringwhen set
externalstringwhen set
last_scan_atdate-timewhen set
last_statusstringwhen set
last_errorstringwhen set
created_bystringalways
created_atdate-timealways
prowlerbooleanwhen set
prowler_bystringwhen set
prowler_nextstringwhen set

CloudAccountView

FieldTypeDescription
accountCloudAccountalways
runningbooleanalways
latestCloudScanwhen set

CloudEndpoint

FieldTypeDescription
kindstringalways
valuestringalways
resourcestringwhen set
locationstringwhen set
whatstringwhen set
provenbooleanalways
whystringwhen set

CloudFinding

FieldTypeDescription
checkstringalways
titlestringalways
severityinfo | low | medium | high | criticalalways
resourcesarray of stringwhen set
moreintegerwhen set
locationstringwhen set
detailstringalways
remediationstringalways
controlsarray of ControlRefwhen set
cvesarray of stringwhen set
kevKEVInfowhen set
epssEPSSInfowhen set

CloudResponse

FieldTypeDescription
enabledbooleanalways
reasonstringwhen set
accountsarray of CloudAccountViewalways
prowlerProwlerInfoalways

CloudScan

FieldTypeDescription
idstringalways
tenant_idstringalways
account_idstringalways
providerstringalways
statestringalways
triggered_bystringalways
started_atdate-timealways
ended_atdate-timewhen set
errorstringwhen set
coveredarray of stringwhen set
checksintegeralways
findingsarray of CloudFindingalways
countsmap of integeralways
notesarray of stringwhen set
inventoryarray of CloudEndpointwhen set
prowlerProwlerRunwhen set

CodeConnectionView

FieldTypeDescription
idstringalways
providerstringalways
namestringalways
accountstringalwaysThe user or bot the token belongs to.
created_bystringalways
created_atdate-timealways
pr_checksbooleanalwaysPull (merge) requests to its repositories are checked.
pr_fail_oninfo | low | medium | high | criticalwhen setA request fails when it adds an issue at or above this.
pr_checks_bystringwhen setWho turned the checks on.

CodeLocation

FieldTypeDescription
repostringwhen set
commitstringwhen set
pathstringalways
linesarray of integerwhen set
urlstringwhen set

ComplianceSummary

FieldTypeDescription
frameworksarray of FrameworkSummaryalways
mapped_findingsintegeralways
unmapped_findingsintegeralways
resolved_findingsintegeralways
authenticated_scanningAuthScanwhen set
accepted_findingsintegeralways
false_positive_findingsintegeralways
disclaimerstringalways

ConsoleLine

FieldTypeDescription
seqintegeralways
atdate-timealways
kindstringalwayscmd (a command a tool started), out / err (its output), end (how it ended), run / done / fail (a check starting and its result), event (an audit event), deny (a refused action), finding (a new finding).
toolstringwhen set
textstringalways

ConsoleResponse

FieldTypeDescription
linesarray of ConsoleLinealways
nextintegeralwaysPass as after to get only newer lines.
livebooleanalwaysThis instance holds the run's console. False when another instance runs it, or it ended over two hours ago.
statepending | running | paused | completed | abortedalways

ControlRef

FieldTypeDescription
frameworkstringalways
idstringalways
titlestringalways
levelstringwhen set
evidencebooleanwhen set

CreateAssetResponse

FieldTypeDescription
assetAssetalways
challengeOwnershipChallengealways

DecisionBasis

FieldTypeDescription
severityinfo | low | medium | high | criticalalways
partsarray of stringwhen set

Delegation

FieldTypeDescription
idstringalways
provider_idstringalways
provider_namestringalways
client_idstringalways
client_namestringalways
roleowner | operator | vieweralways
statestringalways
originstringalways
created_bystringalways
created_atdate-timealways
revoked_bystringwhen set
revoked_atdate-timewhen set
last_used_atdate-timewhen set

DeletedResponse

FieldTypeDescription
deletedstringalways

DeployAcceptedResponse

FieldTypeDescription
engagement_idstringalways
statepending | running | paused | completed | abortedalways
status_urlstringalways

DeployHook

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
asset_idsarray of stringalways
roe_idstringalways
modedeterministic | aialways
fail_oninfo | low | medium | high | criticalalways
only_newbooleanalways
enabledbooleanalways
runsintegeralways
last_rundate-timewhen set
last_engagement_idstringwhen set
created_bystringalways
created_atdate-timealways

Discovery

FieldTypeDescription
idstringalways
tenant_idstringalways
asset_idstringalways
rootstringalways
statestringalways
triggered_bystringalways
started_atdate-timealways
ended_atdate-timewhen set
errorstringwhen set
notesarray of stringwhen set
hostsarray of SurfaceHostalways
gonearray of stringwhen set
totalintegeralways
resolvingintegeralways
new_hostsintegeralways
issue_countintegeralways
third_partyarray of stringwhen set

EPSSInfo

FieldTypeDescription
cvestringalways
scorenumberalways
percentilenumberalways
datestringwhen setThe day the scores were computed (YYYY-MM-DD).

EgressResponse

FieldTypeDescription
addressesarray of stringalwaysPublic IPs or ranges the service's scans come from; empty when the operator has not published them.
notestringalways

Engagement

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
asset_idsarray of stringalways
roe_idstringalways
modedeterministic | aialways
statepending | running | paused | completed | abortedalways
summarystringwhen set
created_atdate-timealways
started_atdate-timewhen set
started_bystringwhen set
started_forstringwhen set
ended_atdate-timewhen set
schedule_idstringwhen set
hook_idstringwhen set
deployDeployInfowhen set
pull_requestPRCheckwhen set
retest_ofstringwhen set
modulesarray of stringwhen set
requeststringwhen set
retestRetestResultwhen set
report_masksarray of stringwhen set
run_modulesmap of stringwhen set
riskRiskwhen set
runner_idstringwhen set
triggerstringwhen set
coveragearray of ScanCoveragewhen set
run_ofstringwhen set
runintegerwhen set
rerun_fromstringwhen set
unreachedarray of stringwhen set
patharray of PathStepwhen set
plannerPlannerNoteswhen set

EngagementTicketsResponse

FieldTypeDescription
by_findingmap of array of TicketViewalways
pendingmap of array of RelayTaskViewwhen set

EnrollResponse

FieldTypeDescription
runner_idstringalways
tenant_idstringalways
namestringalways
vulndb_keystringwhen set

FalsePositive

FieldTypeDescription
justificationstringalways
marked_bystringalways
marked_atdate-timealways
basisDecisionBasiswhen setThe evidence it was marked on; a finding that goes beyond it reopens the issue.
statestringwhen setpending (waiting for a second person) or confirmed. Empty on records from before confirmation existed: they count as confirmed.
confirmed_bystringwhen setThe second person, for Medium severity and above.
confirmed_atdate-timewhen set
notestringwhen setWhat the second person wrote.

FederationSetup

FieldTypeDescription
availablebooleanalways
reasonstringwhen set
issuerstringwhen setThe identity provider your cloud trusts.
subjectstringalwaysThis organization's subject: what the trust condition names.
audiencesarray of InboundStepwhen setThe audience each cloud sees.
setuparray of InboundStepwhen setHow to grant read-only access in each cloud.
aws_cloudformationstringwhen set
aws_member_cloudformationstringwhen set

FileTicketResponse

FieldTypeDescription
ticketTicketLinkwhen set
createdbooleanalways
queuedbooleanwhen set
taskRelayTaskwhen set

Finding

FieldTypeDescription
idstringalways
engagement_idstringalways
tenant_idstringalways
titlestringalways
severityinfo | low | medium | high | criticalalways
assetstringalways
evidencestringalways
recommendationstringalways
cvssnumberwhen set
refsarray of stringwhen set
sourcestringwhen set
rulestringwhen set
locationstringwhen set
partsarray of FindingPartwhen set
tagsarray of stringwhen set
reported_byarray of stringwhen set
compliancearray of ControlRefwhen set
statusstringwhen set
seen_atdate-timewhen set
verified_atdate-timewhen set
verified_bystringwhen set
created_atdate-timealways
cvesarray of stringwhen set
cwesarray of stringwhen set
codeCodeLocationwhen set
packagePackageRefwhen set
kevKEVInfowhen set
epssEPSSInfowhen set
priorityPrioritywhen set
remediationRemediationwhen set

FindingPart

FieldTypeDescription
titlestringalways
severityinfo | low | medium | high | criticalalways
evidencestringwhen set
fixstringwhen set
cvesarray of stringwhen set

FixedMember

FieldTypeDescription
finding_idstringalways
titlestringalways
severityinfo | low | medium | high | criticalalways
opened_atdate-timealwaysWhen its SLA clock started: the issue's.
due_atdate-timewhen setIts own deadline, by its severity.
fixed_atdate-timealways
retest_idstringwhen setThe retest that verified it fixed.

FrameworkSummary

FieldTypeDescription
frameworkstringalways
unitstringalways
gap_labelstringalways
gapsintegeralways
mandatory_gapsintegerwhen set
notestringwhen set
requirementsarray of Requirementalways

FrameworksResponse

FieldTypeDescription
assetAssetalways
effectivearray of stringalwaysThe frameworks reports use for the asset: its setting, or the default.

GCPCredential

FieldTypeDescription
workload_identity_providerstringwhen setKeyless: projects/<number>/locations/global/workloadIdentityPools/<pool>/providers/<provider>, an OIDC provider that trusts Echetleos (GET /v1/cloud/federation).
service_account_emailstringwhen setWith workload_identity_provider: a read-only service account to impersonate. Empty: the roles are granted to the pool's principal directly.
service_account_jsonstringwhen setInstead of workload_identity_provider: the service account's JSON key; sealed, never returned.

GateFinding

FieldTypeDescription
titlestringalways
severityinfo | low | medium | high | criticalalways
assetstringalways

GateResult

FieldTypeDescription
engagement_idstringalways
statepending | running | paused | completed | abortedalways
verdictstringalways
fail_oninfo | low | medium | high | criticalalways
only_newbooleanalways
countsmap of integeralways
new_findingsintegeralways
baseline_engagement_idstringwhen set
blockingarray of GateFindingalways
notestringwhen set

HealthResponse

FieldTypeDescription
statusstringalways
timedate-timealways
ai_enabledbooleanalways
demobooleanalwaysThe server runs the demo organization (ECHETLEOS_DEMO not 0); the dashboard then offers the demo API key.

HeartbeatResponse

FieldTypeDescription
cancelbooleanalways
reasonstringwhen set

HookSecretResponse

FieldTypeDescription
hookDeployHookalways
tokenstringalways
trigger_urlstringalways
notestringalways

IdentitySecrets

FieldTypeDescription
headersmap of stringwhen setStatic request headers by name, e.g. {"X-Api-Key": "…"}; replaces every stored header.
tokenstringwhen setBearer token, sent as Authorization: Bearer <token>.
client_idstringwhen set
client_secretstringwhen set
usernamestringwhen set
passwordstringwhen set
totp_seedstringwhen setThe base32 secret (or otpauth:// URI) an authenticator app is given, for the one-time code.
cookiesstringwhen setSession cookie(s) as name=value; name2=value2.

IdentityTest

FieldTypeDescription
atdate-timealways
okbooleanalways
detailstringalways
stepsarray of stringwhen set
excluded_pathsarray of stringwhen set
bystringwhen set

InboundAccepted

FieldTypeDescription
actionstringalways
reasonstringwhen set
retest_idstringwhen set

InboundResponse

FieldTypeDescription
integrationTicketIntegrationalways
urlstringalwaysWhere the ticketing system posts.
secretstringwhen setShown when it is created or rotated, never again.
setuparray of InboundStepalways

InboundStep

FieldTypeDescription
systemstringalways
stepsstringalways

InfoRating

FieldTypeDescription
retest_idstringalwaysThe retest that rated it Info.
reteststringwhen setThat retest's name.
atdate-timealways
wasinfo | low | medium | high | criticalalwaysThe issue's severity before.
notestringwhen setWhat the retest still saw, and how it rated it.

InstallStep

FieldTypeDescription
platformstringalways
commandstringalways

IntelFeedStatus

FieldTypeDescription
namestringalways
sourcestringalwaysWhere it is downloaded from; empty when the feed is turned off.
versionstringwhen set
releaseddate-timewhen set
fetched_atdate-timewhen set
entriesintegeralways
sha256stringwhen set
errorstringwhen setWhy the last refresh on this instance failed; the previous copy stays in use.

InventoryAssetsResponse

FieldTypeDescription
addedarray of Assetalways
skippedmap of stringalwaysEndpoints not added, and why.

Invite

FieldTypeDescription
idstringalways
tenant_idstringalways
emailstringalways
roleowner | operator | vieweralways
expires_atdate-timealways
created_bystringalways
created_atdate-timealways
used_atdate-timewhen set
revoked_atdate-timewhen set
revoked_bystringwhen set

InviteInfoResponse

FieldTypeDescription
organizationstringalways
emailstringalways
roleowner | operator | vieweralways
expires_atdate-timealways

InviteResponse

FieldTypeDescription
inviteInvitealways
urlstringalways
notestringalways

Job

FieldTypeDescription
idstringalways
engagement_idstringalways
runner_namestringalways
assetsarray of JobAssetalways
exclude_hostsarray of stringwhen set
max_rpsnumberalways
windowTimeWindowalways
expiresdate-timealways
modulesarray of stringalways

JobAsset

FieldTypeDescription
kinddomain | ip | cidr | urlalways
valuestringalways
isolatedbooleanwhen set
bssidsarray of stringwhen set
wifi_authstringwhen set

KEVInfo

FieldTypeDescription
cvestringalways
namestringwhen setCISA's name for the vulnerability.
date_addeddate-timealways
due_datedate-timealways
known_ransomware_usebooleanwhen setCISA knows of its use in ransomware campaigns.

LoginResponse

FieldTypeDescription
tokenstringwhen setThe session token for Authorization: Bearer. Absent when a second step is needed.
userUserwhen set
expiresdate-timewhen set
devicestringwhen setA device token for this account: send it back as device on the next sign-in from this browser.
two_factorstringwhen setSet instead of a session: code — send the authenticator's code (or a recovery code) with the challenge to POST /v1/login/two-factor; enroll — the organization requires two-factor sign-in: set it up with POST /v1/login/two-factor/setup, then send the first code to POST /v1/login/two-factor.
challengestringwhen setThe signed, single-use token for the second step. It is not a session and opens nothing else.
challenge_expiresdate-timewhen set

MeResponse

FieldTypeDescription
authenticatedbooleanalways
kindstringalways
userUserwhen set
actorstringwhen set
tenantstringwhen set
roleowner | operator | vieweralways
delegationDelegationwhen set
scopestringwhen setAn API key's scope: read, operate or owner.
key_namestringwhen setA named API key's name; empty for the organization's own key.

OnboardResponse

FieldTypeDescription
clientOrgResponsealways
delegationDelegationalways
owner_inviteInviteResponsealways

OrgResponse

FieldTypeDescription
idstringalways
namestringalways
providerbooleanalways
onboarded_bystringwhen set
created_atdate-timealways

OrgSettingsResponse

FieldTypeDescription
third_party_sourcesbooleanalwaysAttack-surface discovery may send verified domain names to the third-party sources listed. Off by default.
privacy_notestringalways
sourcesarray of SettingsSourcealways
availablebooleanalwayssubfinder, which queries the sources, is installed on this server.
detailstringwhen set
keys_supportedbooleanalwaysThis server can store API keys encrypted (it has ECHETLEOS_SECRET_KEY).
updated_atdate-timewhen set
updated_bystringwhen set

OrgTwoFactorView

FieldTypeDescription
requiredbooleanalwaysEveryone who signs in with a password must use a second factor; people without one set it up at their next sign-in.
availablebooleanalways
reasonstringwhen set
password_usersintegeralwaysActive people who sign in with a password.
enrolledintegeralwaysOf those, how many have two-factor sign-in on.
updated_bystringwhen set
updated_atdate-timewhen set

OverviewChanges

FieldTypeDescription
basisstringalwaysretest: the latest test is a retest, and these are its fix verification's outcomes on the site; comparison: the latest test compared with the previous comparable one (same schedule, deploy hook, or assets and checks); first_test: nothing tested the site before; not_comparable: earlier tests of the site ran other checks.
sinceOverviewRunwhen setWhat the latest test is compared with: the engagement a retest verified, or the previous comparable test.
pendingbooleanwhen setThe retest's fix verification has not concluded yet: it waits for approval-gated checks.
awaiting_approvalsintegerwhen set
fixedintegeralwaysA retest: verified fixed. A comparison: open before and no longer found by a check that completed (resolved, as the engagement's trend counts it; only a retest verifies a fix and closes the issue).
newintegeralwaysNot found before.
reopenedintegeralwaysVerified fixed before, found again.
rated_infointegeralwaysOpen before, now rated Info (expected on this kind of site, harmless, or an advisory).
still_openintegeralways
not_recheckedintegeralwaysOpen before, but the check that found it did not complete this time: neither fixed nor still open.

OverviewIssue

FieldTypeDescription
idstringalwaysThe issue: GET /v1/remediation/{id}.
titlestringalways
assetstringalwaysWhere it was found (a host, an address or a URL on the site).
severityinfo | low | medium | high | criticalalways
priorityPriorityalways
due_atdate-timewhen set
overduebooleanwhen set
ownerstringwhen setEmail of the person who owns the fix.
kevbooleanwhen setIn CISA's Known Exploited Vulnerabilities catalog.
engagement_idstringalwaysThe engagement with the issue's latest finding: its evidence.

OverviewNext

FieldTypeDescription
schedule_idstringalways
namestringalways
everystringalways
atdate-timealways

OverviewOrg

FieldTypeDescription
posturestringalwaysThe verdict on the organization's open issues in one sentence, worded as the report's executive summary words it (graded by the worst open severity), e.g. "Moderate risk: no critical or high issue, but one medium-severity weakness …".
testedbooleanalwaysWhether any engagement has completed. Until one has, the posture says nothing can be concluded.
openSeverityCountsalwaysOpen issues by severity, across the organization (accepted risks, false positives, verified fixes and issues rated Info are not open).
overdueintegeralwaysOpen issues past their due date.
acceptances_waitingintegeralwaysRisk acceptances waiting for a second person's approval.
approvals_waitingintegeralwaysIntrusive checks waiting for approval.
sitesintegeralwaysVerified assets.
unverifiedintegeralwaysAssets waiting for proof of ownership: nothing is tested on them yet.
never_testedintegeralwaysVerified assets no engagement has completed on.
staleintegeralwaysVerified assets last tested 90 or more days ago.
runningintegeralwaysEngagements running or paused now.

OverviewResponse

FieldTypeDescription
generated_atdate-timealways
organizationOverviewOrgalways
sitesarray of OverviewSitealwaysEvery verified asset, highest risk first; those never tested last.

OverviewRun

FieldTypeDescription
engagement_idstringalways
namestringalways
statepending | running | paused | completed | abortedalways
retest_ofstringwhen setFor a retest: the engagement whose findings it verified.
ended_atdate-timewhen set
days_agointegerwhen setWhole days since it ended.
riskRiskwhen setThat engagement's own score (over all its assets) as found when its run ended: frozen then, so later fixes, accepted risks and false positives are in the site's risk, not here.
reportstringwhen setIts report: GET this path (HTML; report.pdf and report for PDF and JSON).

OverviewSite

FieldTypeDescription
asset_idstringalways
valuestringalways
kinddomain | ip | cidr | urlalways
criticalitylow | medium | high | crown_jewelwhen set
business_ownerstringwhen set
statusstringalwaystested, stale (last tested 90 or more days ago) or never_tested.
riskRiskwhen setThe site's current risk: the report's formula over its open issues as they stand now, so a retest's verdicts, accepted risks and false positives count, and so do issues an earlier test found that the latest did not re-check. Absent until the site is tested.
wordsstringwhen setThe grade in words, as the engagement panel's risk card says it, e.g. "Grade B · worst open issue: medium".
posturestringwhen setThe verdict on the site's open issues, in the report's words.
openSeverityCountsalwaysThe site's open issues by severity.
overdueintegeralwaysOf them, past their due date.
acceptedintegeralwaysAccepted risks on the site (not open).
toparray of OverviewIssuealwaysThe open issues to fix first (at most 3): by priority, then due date, as the remediation queue ranks them.
changesOverviewChangeswhen setWhat changed at the site's latest test. Absent until it is tested.
last_testOverviewRunwhen setThe latest completed engagement or retest that included the site.
runningOverviewRunwhen setAn engagement including the site that is running or paused now.
next_runOverviewNextwhen setThe next run of an active schedule that includes the site.

OwnershipChallenge

FieldTypeDescription
locationstringalways
valuestringalways

PRCheck

FieldTypeDescription
providerstringalways
repostringalways
numberintegeralways
titlestringwhen set
urlstringwhen set
headstringalways
base_refstringwhen set
basestringwhen set
fail_oninfo | low | medium | high | criticalalways
linkstringwhen set
authorized_bystringwhen set
verdictstringalways
newarray of PRFindingwhen set
statusstringwhen set
notestringwhen set

PRFinding

FieldTypeDescription
titlestringalways
severityinfo | low | medium | high | criticalalways
pathstringwhen set
lineintegerwhen set
urlstringwhen set
blockingbooleanwhen set

PackageRef

FieldTypeDescription
ecosystemstringalways
namestringalways
versionstringalways
fixedstringwhen set
purlstringwhen set
licensestringwhen set
pathstringwhen set

PathStep

FieldTypeDescription
becausestringalways
checkstringalways
targetstringalways
outcomestringalways
atdate-timealways

PersonResponse

FieldTypeDescription
idstringalways
tenant_idstringalways
emailstringalways
namestringalways
roleowner | operator | vieweralways
created_atdate-timealways
disabledbooleanwhen set
sourcestringwhen set
external_idstringwhen set
usernamestringwhen set
given_namestringwhen set
family_namestringwhen set
last_login_atdate-timewhen set
two_factorbooleanalwaysTwo-factor sign-in is on (password sign-in only).
sessions_endedintegerwhen set
keys_stoppedarray of stringwhen set
warningstringwhen set

Plan

FieldTypeDescription
idstringalways
namestringalways
descriptionstringwhen set
price_labelstringwhen setDisplay only; Stripe's price is what is charged.
limitsPlanLimitsalways
modulesarray of approvals | cloud | siem | msspalways

PlanLimits

FieldTypeDescription
verified_assetsintegeralwaysVerified assets (domains, IPs, ranges, URLs, attested internal ranges). -1 is unlimited.
runnersintegeralwaysRunners that are not revoked. -1 is unlimited.
concurrent_engagementsintegeralwaysEngagements running at the same time. -1 is unlimited.
scheduled_engagementsintegeralwaysActive (not paused) schedules. -1 is unlimited.
seatsintegeralwaysPeople with an active account plus open invites. -1 is unlimited.

PlanModule

FieldTypeDescription
moduleapprovals | cloud | siem | msspalways
labelstringalways
includedbooleanalways

PlanOffer

FieldTypeDescription
idstringalways
namestringalways
descriptionstringwhen set
price_labelstringwhen setDisplay only; Stripe's price is what is charged.
limitsPlanLimitsalways
modulesarray of approvals | cloud | siem | msspalways
purchasablebooleanalwaysSold online with Checkout.
currentbooleanalwaysThe plan in effect.
defaultbooleanalwaysThe plan without a subscription.

PlannedCheck

FieldTypeDescription
namestringalways
descriptionstringalways
levelstringalwaysThe lowest testing level that permits it; above recon it waits for an approval.

PlannerNotes

FieldTypeDescription
modelstringalways
textstringalways

PollResponse

FieldTypeDescription
jobJobwhen set
poll_after_sintegeralways
vulndb_keystringwhen set

PrChecksResponse

FieldTypeDescription
connectionCodeConnectionViewalways
urlstringalwaysWhere GitHub or GitLab posts.
secretstringwhen setShown when it is created or rotated, never again.
setuparray of InboundStepalways

PrHookAccepted

FieldTypeDescription
actionstringalways
reasonstringwhen set
engagement_idstringwhen set

Priority

FieldTypeDescription
scoreintegeralways
bandstringalwaysP1 (act now, score 75+), P2 (50+), P3 (25+), P4.
factorsarray of stringalwaysHow the score was reached, one line per factor.

ProwlerInfo

FieldTypeDescription
availablebooleanalways
versionstringwhen set
reasonstringwhen set

ProwlerRun

FieldTypeDescription
statestringalways
versionstringwhen set
read_onlyarray of stringwhen set
detailstringwhen set
failedintegeralways
findingsintegeralways
accountsarray of stringwhen set
secondsintegeralways

PublicCheck

FieldTypeDescription
idstringalways
tenant_idstringalways
hoststringalways
created_bystringalways
created_atdate-timealways
ended_atdate-timewhen set
statestringalways
checksarray of stringalways
findingsarray of Findingalways
riskRiskwhen set
errorstringwhen set
resultsarray of PublicCheckResultwhen set

PublicCheckResult

FieldTypeDescription
checkstringalways
summarystringwhen set
errorstringwhen set

RecoveryCodesResponse

FieldTypeDescription
recovery_codesarray of stringalwaysTen one-time codes, shown only now. Each works once in place of a code.
statusTwoFactorStatusalways
notestringalways

RedirectResponse

FieldTypeDescription
urlstringalwaysA Stripe page (Checkout or the Customer Portal): send the browser there.

RelayPollResponse

FieldTypeDescription
siemarray of SIEMBatchwhen set
ticketsarray of TicketTaskwhen set
poll_after_sintegeralwaysWhen to ask again if this response carried no work.

RelayStatus

FieldTypeDescription
runner_idstringalways
runner_namestringalways
runner_statestringalways
onlinebooleanalwaysThe runner checked in within the last 90 seconds.
configuredbooleanalwaysThe runner reports this relay name, with this kind, in its local relay configuration.
problemstringwhen setWhy the runner cannot deliver now, if it cannot.

RelayTarget

FieldTypeDescription
namestringalways
kindstringalways

RelayTask

FieldTypeDescription
idstringalways
tenant_idstringalways
runner_idstringalways
integration_idstringalways
kindstringalways
statestringalways
finding_idstringwhen set
engagement_idstringwhen set
fingerprintstringwhen set
link_idstringwhen set
textstringwhen set
outcomestringwhen set
actorstringalways
attemptsintegeralways
not_beforedate-timewhen set
sent_atdate-timewhen set
last_errorstringwhen set
created_atdate-timealways

RelayTaskView

FieldTypeDescription
idstringalways
tenant_idstringalways
runner_idstringalways
integration_idstringalways
kindstringalways
statestringalways
finding_idstringwhen set
engagement_idstringwhen set
fingerprintstringwhen set
link_idstringwhen set
textstringwhen set
outcomestringwhen set
actorstringalways
attemptsintegeralways
not_beforedate-timewhen set
sent_atdate-timewhen set
last_errorstringwhen set
created_atdate-timealways
integration_namestringalways

Remediation

FieldTypeDescription
idstringalways
tenant_idstringalways
fingerprintstringalways
titlestringalways
assetstringalways
severityinfo | low | medium | high | criticalalways
partsarray of stringwhen set
cvesarray of stringwhen set
info_cvesarray of stringwhen set
statusstringalways
cvssnumberwhen set
exposurestringwhen set
first_seendate-timealways
last_seendate-timealways
opened_atdate-timealways
fixed_atdate-timewhen set
finding_idstringalways
engagement_idstringalways
ownerstringwhen setEmail of the person who owns the fix.
due_atdate-timewhen set
overduebooleanwhen set
due_basisstringwhen setWhere the due date comes from, e.g. "SLA high: 30 days" or "CISA KEV due date".
overdue_notified_atdate-timewhen set
acceptanceRiskAcceptancewhen set
false_positiveFalsePositivewhen set
rated_infoInfoRatingwhen set
fixed_membersarray of FixedMemberwhen set
updated_atdate-timealways
versionintegeralways

RemediationItem

FieldTypeDescription
idstringalways
tenant_idstringalways
fingerprintstringalways
titlestringalways
assetstringalways
severityinfo | low | medium | high | criticalalways
partsarray of stringwhen set
cvesarray of stringwhen set
info_cvesarray of stringwhen set
statusstringalways
cvssnumberwhen set
exposurestringwhen set
first_seendate-timealways
last_seendate-timealways
opened_atdate-timealways
fixed_atdate-timewhen set
finding_idstringalways
engagement_idstringalways
ownerstringwhen setEmail of the person who owns the fix.
due_atdate-timewhen set
overduebooleanwhen set
due_basisstringwhen setWhere the due date comes from, e.g. "SLA high: 30 days" or "CISA KEV due date".
overdue_notified_atdate-timewhen set
acceptanceRiskAcceptancewhen set
false_positiveFalsePositivewhen set
rated_infoInfoRatingwhen set
fixed_membersarray of FixedMemberwhen set
updated_atdate-timealways
versionintegeralways
kevKEVInfowhen set
epssEPSSInfowhen set
priorityPriorityalways
criticalitylow | medium | high | crown_jewelwhen set
business_ownerstringwhen set

RemediationListResponse

FieldTypeDescription
itemsarray of RemediationItemalwaysThe organization's issues, most urgent first (priority, then due date).
slaSLAPerformancealways
intelarray of IntelFeedStatusalwaysThe exploit-intelligence feeds in use on this server.

Repo

FieldTypeDescription
full_namestringalways
assetstringalways
default_branchstringalways
privatebooleanalways
web_urlstringalways

ReportMasksResponse

FieldTypeDescription
pathsarray of stringalways
detectedarray of stringalwaysMoved WordPress login paths found in the findings: masked as /login-redacted without asking.

ReportResponse

FieldTypeDescription
engagementEngagementalways
summarystringalwaysAS FOUND: the full summary (Markdown) written when the run ended, and never rewritten; summary_as_of says when. It does not reflect fixes verified, risks accepted or false positives marked since: executive does.
summary_as_ofdate-timewhen setWhen the run ended: the moment summary and risk_found describe.
executivestringwhen setNOW: the executive summary as of executive_as_of (Markdown), rebuilt from the current findings, whose states are the issues' current records: a retest, a verified fix, an accepted risk or a reclassification is reflected. It also says the score as found when that differs.
executive_as_ofdate-timealwaysWhen executive was built: now.
risk_foundRiskwhen setAS FOUND: the run's score frozen when it ended (the same as engagement.risk and its trend point). Later decisions and checks approved after the run ended never change it.
risk_nowRiskwhen setNOW: the report's formula over this engagement's findings as they stand now (fixes verified, accepted risks and false positives do not count). Absent until the run has been scored.
provisionalstringwhen setSet while approved checks are still running: "N approved check(s) still running: results may change". A report version issued now is marked provisional.
findingsarray of Findingalways
complianceComplianceSummaryalways
slaSLAPerformancewhen set
eventsarray of AuditEventalways
testedTestedalwaysWhat the run actually tested: the highest level among the checks that completed (recon, scan, pentest; empty when none did), the level the rules authorize, the completed checks, and how each approved check ended (after_run: approved after the run had ended).
versionsarray of ReportVersionalwaysThe report's issued versions, oldest first (GET /v1/engagements/{id}/reports).
runsarray of RunRefalwaysThe runs of this engagement's first run, the first run first: running an engagement again creates its next run.

ReportVersion

FieldTypeDescription
idstringalways
tenant_idstringalways
engagement_idstringalways
numberintegeralways
sha256stringalways
file_sha256stringalways
sizeintegeralways
issued_atdate-timealways
issued_bystringalways
formatstringalways
engagement_statepending | running | paused | completed | abortedalways
findingsintegeralways
provisionalbooleanwhen set
checks_runningintegerwhen set

Requirement

FieldTypeDescription
frameworkstringalways
idstringalways
titlestringalways
levelstringwhen set
evidencebooleanwhen set
statusstringalways
worstinfo | low | medium | high | criticalalways
findingsintegeralways
finding_idsarray of stringalways

RetestItem

FieldTypeDescription
finding_idstringalways
titlestringalways
severityinfo | low | medium | high | criticalalways
assetstringalways
statusstringalways
notestringwhen set
engagement_idstringwhen set

RetestResult

FieldTypeDescription
fixedintegeralways
still_openintegeralways
reopenedintegeralways
newintegeralways
not_retestedintegeralways
reclassifiedintegerwhen set
itemsarray of RetestItemalways
verified_atdate-timealways
awaiting_approvalsintegerwhen set

Risk

FieldTypeDescription
scoreintegeralways
gradestringalways
pointsintegeralways
openintegeralways
countsmap of integeralways
ungradedstringwhen set

RiskAcceptance

FieldTypeDescription
statestringalways
reasonstringalways
expiresdate-timealways
requested_bystringalways
requested_atdate-timealways
decided_bystringwhen set
decided_atdate-timewhen set
notestringwhen setWhat the approver wrote.
ended_atdate-timewhen setWhen it expired or was withdrawn.
ended_bystringwhen set
basisDecisionBasiswhen set

RiskPoint

FieldTypeDescription
engagement_idstringalways
namestringalways
atdate-timealways
scoreintegeralways
pointsintegeralways
gradestringalways
openintegeralways
newintegeralways
resolvedintegeralways
kindstringalways
ungradedbooleanwhen set
runintegerwhen set
retest_ofstringwhen set
not_retestedintegerwhen set
levelstringwhen set
authorizedstringwhen set

RoE

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
asset_idsarray of stringalways
windowTimeWindowalways
max_rpsnumberalways
exclude_hostsarray of stringalways
exclude_pathsarray of stringalways
allow_intrusivebooleanalways
approve_each_checkbooleanwhen set
levelstringwhen set
signed_bystringalways
signed_atdate-timealways
expiresdate-timealways
signer_namestringwhen set
signer_emailstringwhen set
on_behalf_ofAuthorizerwhen set
supersedesstringwhen set
superseded_bystringwhen set

RunRef

FieldTypeDescription
idstringalways
namestringalways
runintegeralwaysIts number among the runs: 1 for the first run.
statepending | running | paused | completed | abortedalways
started_atdate-timewhen set
ended_atdate-timewhen set
riskRiskwhen setThe run's score as found when it ended (frozen).

Runner

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
statestringalways
enroll_expiresdate-timewhen set
public_keystringwhen set
hostnamestringwhen set
versionstringwhen set
osstringwhen set
addressesarray of stringwhen set
allowlistarray of stringwhen set
capabilitiesarray of stringwhen set
created_bystringalways
created_atdate-timealways
enrolled_atdate-timewhen set
last_seendate-timewhen set
revoked_atdate-timewhen set
relaysarray of RelayTargetwhen set

RunnerEnrollment

FieldTypeDescription
runnerRunneralways
enrollment_tokenstringalwaysOne-time token, shown once; valid for 24 hours.
expiresdate-timealways
installarray of InstallStepalwaysCommands to download, enroll and start the runner.

RunnerEvent

FieldTypeDescription
actionstringalways
targetstringwhen set
detailstringwhen set
allowedbooleanalways

RunnerJob

FieldTypeDescription
idstringalways
tenant_idstringalways
runner_idstringalways
engagement_idstringalways
statestringalways
modulesarray of stringwhen set
created_atdate-timealways
picked_atdate-timewhen set
last_beatdate-timewhen set
ended_atdate-timewhen set
errorstringwhen set
findingsintegeralways
eventsintegeralways

RunnerView

FieldTypeDescription
runnerRunneralways
onlinebooleanalwaysChecked in within the last 90 seconds.
jobRunnerJobwhen setThe current or most recent job.

SCIMGroup

FieldTypeDescription
idstringalways
tenant_idstringalways
display_namestringalways
external_idstringwhen set
membersarray of stringalways
created_atdate-timealways
updated_atdate-timealways

SIEMAckResponse

FieldTypeDescription
advancedbooleanalways

SIEMBatch

FieldTypeDescription
destination_idstringalways
relaystringalwaysThe destination's name in the runner's relay configuration.
kindstringalways
tokenstringalways
eventsarray of AuditEventalways

SIEMProgress

FieldTypeDescription
cursorintegeralways
deliveredintegeralways
last_event_idstringwhen set
last_event_atdate-timewhen set
last_delivery_atdate-timewhen set
last_errorstringwhen set
last_error_atdate-timewhen set
failuresintegeralways

SLAPerformance

FieldTypeDescription
policySLAPolicyalways
severitiesarray of SLASeverityPerformancealways
on_time_ratenumberalways
overdueintegeralways
acceptedintegeralways
pending_acceptancesintegeralways
pending_false_positivesintegeralways

SLAPolicy

FieldTypeDescription
critical_daysintegeralways
high_daysintegeralways
medium_daysintegeralways
low_daysintegeralways
kev_due_datesbooleanalways

SLASeverityPerformance

FieldTypeDescription
severityinfo | low | medium | high | criticalalways
sla_daysintegeralwaysThe policy's deadline; 0 means none.
totalintegeralways
fixed_on_timeintegeralways
fixed_lateintegeralways
open_on_timeintegeralways
overdueintegeralways
acceptedintegeralways
false_positiveintegeralways
mean_days_to_fixnumberwhen set

SSOConfig

FieldTypeDescription
tenant_idstringalways
slugstringalways
protocolstringalways
enabledbooleanalways
issuerstringwhen set
client_idstringwhen set
idp_metadata_urlstringwhen set
idp_entity_idstringwhen set
idp_sso_urlstringwhen set
idp_cert_expiresdate-timewhen set
sp_certstringwhen set
domainsarray of stringalways
default_roleowner | operator | vieweralways
jitbooleanalways
group_rolesmap of owner | operator | viewerwhen set
enforce_ssobooleanalways
scim_token_hintstringwhen set
scim_token_created_atdate-timewhen set
scim_last_syncdate-timewhen set
last_login_atdate-timewhen set
last_errorstringwhen set
last_error_atdate-timewhen set
updated_bystringalways
updated_atdate-timealways

SSOSettings

FieldTypeDescription
availablebooleanalways
reasonstringwhen set
public_urlstringwhen set
public_url_problemstringwhen set
configSSOConfigalways
urlsURLswhen set
scim_urlstringwhen set
scim_usersintegeralways
scim_groupsintegeralways
unverified_domainsarray of stringwhen set
groupsarray of SCIMGroupwhen set

SbomResult

FieldTypeDescription
formatstringalways
subjectstringwhen set
totalintegeralways
unmatchedmap of integerwhen set
matchedarray of stringalwaysEcosystems and releases whose packages were matched.
no_dataarray of stringwhen setReleases with no vulnerability data published (their packages were not matched).
vulnerableintegeralwaysPackages with at least one advisory that has a fix.
maliciousintegeralwaysPackages known to be malicious.
findingsintegeralways

ScanCoverage

FieldTypeDescription
toolstringalways
originstringalways
authenticatedbooleanalways
identitystringwhen set
slotstringwhen set
kindstringwhen set
requestsintegeralways
with_sessionintegeralways
reloginsintegerwhen set
session_lostbooleanwhen set
excluded_pathsarray of stringwhen set
api_endpointsintegerwhen set
detailstringwhen set
atdate-timealways

ScanIdentity

FieldTypeDescription
idstringalways
tenant_idstringalways
asset_idstringalways
slotstringalways"a" (user A, the one scans sign in as) or "b" (user B, kept for access-control comparison).
namestringalways
kindstringalways
urlstringalways
api_originsarray of stringwhen set
token_urlstringwhen set
scopestringwhen set
login_urlstringwhen set
username_fieldstringwhen set
password_fieldstringwhen set
totp_fieldstringwhen set
totp_urlstringwhen set
logged_in_urlstringwhen set
logged_in_textstringwhen set
exclude_pathsarray of stringwhen set
secrets_setarray of stringalways
last_testIdentityTestwhen set
created_atdate-timealways
updated_atdate-timealways
updated_bystringwhen set

Schedule

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
asset_idsarray of stringalways
roe_idstringalways
modedeterministic | aialways
everystringalways
enabledbooleanalways
next_rundate-timealways
last_rundate-timewhen set
last_engagement_idstringwhen set
last_errorstringwhen set
runsintegeralways
created_bystringalways
created_atdate-timealways

ScimTokenResponse

FieldTypeDescription
tokenstringalways
scim_urlstringalways
stateSSOSettingsalways

SessionResponse

FieldTypeDescription
tokenstringalways
userUseralways
expiresdate-timealways
devicestringwhen set
recovery_codesarray of stringwhen setShown once, when two-factor sign-in was just set up: ten one-time codes for when the authenticator is not at hand. Store them safely.
recovery_codes_leftintegerwhen setSet when this sign-in used up a recovery code: how many are left.

SessionsEndedResponse

FieldTypeDescription
sessions_endedintegeralways

SettingsSource

FieldTypeDescription
namestringalways
servicestringalways
holdsstringalways
hostsarray of stringalways
keyedbooleanalways
key_setbooleanwhen setThe organization stored its own API key for this source (the key is never returned).
activebooleanalwaysThe next discovery sends the domain to this source.

SeverityCounts

FieldTypeDescription
totalintegeralways
criticalintegeralways
highintegeralways
mediumintegeralways
lowintegeralways

SiemCreatedResponse

FieldTypeDescription
destinationSiemViewalways
signing_secretstringwhen sethttps_json: the HMAC key of X-Echetleos-Signature. Shown only once.
notestringwhen set

SiemListResponse

FieldTypeDescription
enabledbooleanalways
reasonstringwhen set
destinationsarray of SiemViewalways

SiemView

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
kindstringalways
hoststringalways
indexstringwhen set
sourcetypestringwhen set
facilitystringwhen set
ca_pemstringwhen set
enabledbooleanalways
runner_idstringwhen set
relaystringwhen set
backfill_fromdate-timewhen set
created_bystringalways
created_atdate-timealways
progressSIEMProgressalways
statestringalwaysup_to_date, catching_up, waiting_for_runner (relayed: its runner cannot deliver now), failing or disabled.
pendingintegeralwaysEvents not yet delivered, counted up to 10000 (10000 means at least that many).
lag_secondsintegeralwaysAge of the oldest event not yet delivered; 0 when up to date.
relay_statusRelayStatuswhen setFor a destination relayed by a runner: the runner's state.

SlaResponse

FieldTypeDescription
policySLAPolicyalways
defaultbooleanalwaystrue while the organization has not set its own policy.
updated_atdate-timewhen set
updated_bystringwhen set

SsoBeginResponse

FieldTypeDescription
urlstringalways

SsoTestResponse

FieldTypeDescription
statusstringalways
messagestringalways

StatusResponse

FieldTypeDescription
statusstringalways

StripeWebhookResult

FieldTypeDescription
eventstringalways
typestringalways
outcomestringalwaysapplied, duplicate (already applied: a replay or a retry), ignored or stale (older than what was applied).

Summary

FieldTypeDescription
toolsarray of stringalways
resultsintegeralways
suppressedintegeralways
findingsintegeralways
truncatedbooleanwhen set

SurfaceHost

FieldTypeDescription
namestringalways
ipsarray of stringwhen set
cnamestringwhen set
resolvesbooleanalways
wildcardbooleanwhen set
sourcesarray of stringalways
first_seendate-timealways
newbooleanalways
issuesarray of SurfaceIssuewhen set
asset_idstringwhen set

SurfaceIssue

FieldTypeDescription
kindstringalways
severityinfo | low | medium | high | criticalalways
titlestringalways
detailstringalways

SurfaceResponse

FieldTypeDescription
availablebooleanalways
rootsarray of SurfaceRootalways

SurfaceRoot

FieldTypeDescription
assetAssetalways
not_eligiblestringwhen set
runningbooleanalways
latestDiscoverywhen set
runsintegeralways

TestPlan

FieldTypeDescription
requeststringalways
namestringalways
asset_idsarray of stringalways
assetsarray of stringalways
levelstringalways
focusarray of stringalwaysThe checks to run (as focus when the engagement is created); empty means the full playbook at the level.
checksarray of PlannedCheckalways
planstringalwaysWhat will happen, in plain words.
notesarray of stringalwaysWhat the plan could not honour, or changed, and why.
planned_bystringalwaysThe model that planned it, or keyword matching when the organization has no model.
public_hostsarray of stringwhen setSites not verified as yours: start a public check of each (POST /v1/public-checks).
public_checksarray of stringwhen setThe public checks to run on them (TLS, security headers, DNS, email).

Tested

FieldTypeDescription
levelstringwhen set
authorizedstringalways
modulesarray of stringwhen set
approvedarray of ApprovedCheckwhen set
runningintegerwhen set

TicketIntegration

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
kindstringalways
base_urlstringalways
projectstringwhen set
issue_typestringwhen set
tablestringwhen set
usernamestringwhen set
min_severityinfo | low | medium | high | criticalalways
auto_createbooleanalways
enabledbooleanalways
ticketsintegeralways
last_statusstringwhen set
last_errorstringwhen set
last_atdate-timewhen set
created_bystringalways
created_atdate-timealways
runner_idstringwhen set
relaystringwhen set
retest_on_resolvebooleanwhen set
inbound_versionintegerwhen set
done_statusesarray of stringwhen set

TicketTask

FieldTypeDescription
idstringalways
relaystringalwaysThe ticketing system's name in the runner's relay configuration.
systemstringalwaysjira or servicenow.
actionstringalwaysticket.create or ticket.comment.
retrybooleanwhen set
findingFindingwhen set
engagement_namestringwhen set
keystringwhen set
external_idstringwhen set
textstringwhen set
closestringwhen set
reopenbooleanwhen set

TicketView

FieldTypeDescription
idstringalways
tenant_idstringalways
integration_idstringalways
kindstringalways
fingerprintstringalways
finding_idstringalways
engagement_idstringalways
keystringalways
external_idstringalways
urlstringalways
created_bystringalways
created_atdate-timealways
fixed_noted_atdate-timewhen set
resolved_atdate-timewhen set
retest_idstringwhen set
closed_atdate-timewhen set
integration_namestringalways

TicketingListResponse

FieldTypeDescription
enabledbooleanalways
reasonstringwhen set
integrationsarray of TicketingViewalways

TicketingView

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
kindstringalways
base_urlstringalways
projectstringwhen set
issue_typestringwhen set
tablestringwhen set
usernamestringwhen set
min_severityinfo | low | medium | high | criticalalways
auto_createbooleanalways
enabledbooleanalways
ticketsintegeralways
last_statusstringwhen set
last_errorstringwhen set
last_atdate-timewhen set
created_bystringalways
created_atdate-timealways
runner_idstringwhen set
relaystringwhen set
retest_on_resolvebooleanwhen set
inbound_versionintegerwhen set
done_statusesarray of stringwhen set
relay_statusRelayStatuswhen setFor an integration relayed by a runner: the runner's state.
queuedintegerwhen setRequests waiting for the runner.
failed_tasksintegerwhen setRequests the runner gave up on (filing the finding again re-queues it).

TimeWindow

FieldTypeDescription
start_hour_utcintegeralways
end_hour_utcintegeralways
weekdaysarray of integeralways

ToolInfo

FieldTypeDescription
namestringalways
kindstringalways
intrusivebooleanalways
levelstringalways
binarystringwhen set
availablebooleanalways
versionstringwhen set
detailstringwhen set
descriptionstringalways

TrendResponse

FieldTypeDescription
basisstringalways
pointsarray of RiskPointalways

TwoFactorSetupResponse

FieldTypeDescription
secretstringalwaysThe base32 secret, to type into an authenticator app.
otpauth_uristringalwaysotpauth://totp/… — what the QR code holds.
qr_codestringwhen setThe URI as a QR code: a PNG data: URI for an <img>.
notestringalways

TwoFactorStatus

FieldTypeDescription
availablebooleanalwaysfalse when the server cannot store second factors (no ECHETLEOS_SECRET_KEY).
reasonstringwhen set
appliesbooleanalwaysfalse for accounts that sign in through the identity provider, which handles their second factor.
enabledbooleanalways
pendingbooleanwhen setA setup was started and waits for its first code.
enabled_atdate-timewhen set
recovery_codes_leftintegeralways
requiredbooleanalwaysThe organization requires two-factor sign-in for password sign-in.

URLs

FieldTypeDescription
start_urlstringalways
redirect_uristringalways
entity_idstringalways
acs_urlstringalways
metadata_urlstringalways

UsageLine

FieldTypeDescription
limitverified_assets | runners | concurrent_engagements | scheduled_engagements | seatsalways
labelstringalways
usedintegeralways
maxintegeralways-1 is unlimited.

User

FieldTypeDescription
idstringalways
tenant_idstringalways
emailstringalways
namestringalways
roleowner | operator | vieweralways
created_atdate-timealways
disabledbooleanwhen set
sourcestringwhen set
external_idstringwhen set
usernamestringwhen set
given_namestringwhen set
family_namestringwhen set
last_login_atdate-timewhen set

UserView

FieldTypeDescription
idstringalways
tenant_idstringalways
emailstringalways
namestringalways
roleowner | operator | vieweralways
created_atdate-timealways
disabledbooleanwhen set
sourcestringwhen set
external_idstringwhen set
usernamestringwhen set
given_namestringwhen set
family_namestringwhen set
last_login_atdate-timewhen set
two_factorbooleanalwaysTwo-factor sign-in is on (password sign-in only).

Verification

FieldTypeDescription
methoddns_txt | http_file | parent_domainalways
tokenstringalways
statepending | verified | failedalways
verified_atdate-timewhen set
last_errorstringwhen set

Webhook

FieldTypeDescription
idstringalways
tenant_idstringalways
namestringalways
urlstringalways
formatstringalways
eventsarray of stringalways
enabledbooleanalways
last_statusintegerwhen set
last_errorstringwhen set
last_delivery_atdate-timewhen set
created_bystringalways
created_atdate-timealways

WebhookCreatedResponse

FieldTypeDescription
webhookWebhookalways
secretstringalways
notestringalways

WebhookTestResponse

FieldTypeDescription
statusintegeralways
deliveredbooleanalways
errorstringwhen set