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
| Credential | Header | Use |
| Organization API key | X-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 key | X-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). |
| Session | Authorization: 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 token | Authorization: Bearer … | Only for /v1/deploy/{id}: starts that hook's run and reads its verdict. Cannot change scope. |
| SCIM token | Authorization: Bearer scim_… | Only for /scim/v2, used by your identity provider. |
| Role | Can |
| viewer | Read everything, and use the kill switch. |
| operator | Everything a viewer can, plus change what gets tested, run assessments, decide approvals and manage integrations. |
| owner | Everything 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.
| Status | Meaning |
| 400 | Invalid input; the message says what to fix. |
| 401 | Missing, invalid or expired credentials. |
| 403 | Authenticated, but your role may not do this. |
| 404 | Not found in your organization. Other organizations' data is never visible. |
| 409 | Conflicts with the current state (for example a run is already in progress). |
| 429 | Too many attempts; wait for the Retry-After header. |
| 502 | An outside system (Jira, ServiceNow, an identity provider) refused or failed. |
| 503 | A 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 field | Type | | Description |
|---|
| email | string | required | Work email address. |
| password | string | required | Password. |
| device | string | optional | The 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 field | Type | | Description |
|---|
| challenge | string | required | From the sign-in reply. |
| code | string | required | The 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 field | Type | | Description |
|---|
| challenge | string | required | From 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 field | Type | | Description |
|---|
| code | string | required | A 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 field | Type | | Description |
|---|
| code | string | required | A 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 field | Type | | Description |
|---|
| code | string | required | A 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 field | Type | | Description |
|---|
| email | string | required | Work email; unique across the platform. |
| name | string | optional | Display name. |
| role | owner | operator | viewer | required | owner, operator or viewer. |
| password | string | required | At 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| role | owner | operator | viewer | required | owner, 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| name | string | optional | New organization name; omit to keep. |
| provider | boolean | optional | Act 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 field | Type | | Description |
|---|
| third_party_sources | boolean | optional | Opt in to (true) or out of (false) third-party subdomain sources; omit to keep. |
| source_keys | map of string | optional | Your 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 field | Type | | Description |
|---|
| model | string | optional | A model the endpoint serves, or empty for the server's default. Omit to keep. |
| off | boolean | optional | Turn 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 field | Type | | Description |
|---|
| model | string | optional | Model 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 field | Type | | Description |
|---|
| critical_days | integer | optional | Days to fix a critical finding (0: no deadline). |
| high_days | integer | optional | |
| medium_days | integer | optional | |
| low_days | integer | optional | |
| kev_due_dates | boolean | optional | A 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 field | Type | | Description |
|---|
| required | boolean | required | Require 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 field | Type | | Description |
|---|
| name | string | required | 1–40 letters, digits, dots, underscores or hyphens; unique in the organization. Its actions are recorded as api_key:<name>. |
| scope | string | required | read (GET only), operate (what an operator can do) or owner (what an owner can do, including people and single sign-on). |
| expires_days | integer | optional | Days 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| email | string | required | Work email of the person to invite. |
| role | owner | operator | viewer | required | owner, 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)
| Body field | Type | | Description |
|---|
| token | string | required | The 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 field | Type | | Description |
|---|
| token | string | required | The token from the #invite= link. |
| name | string | optional | Your name. |
| password | string | required | At 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 field | Type | | Description |
|---|
| plan | string | required | The 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 field | Type | | Description |
|---|
| name | string | required | The client organization's name. |
| owner_email | string | required | The client's owner; they receive a one-time link and set their own password. |
| role | owner | operator | viewer | optional | Your 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| email | string | required | Work email of the person to invite. |
| role | owner | operator | viewer | required | owner, 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| billed | boolean | required | true: 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 field | Type | | Description |
|---|
| provider_id | string | required | The provider's organization ID (they find it on their Clients page). |
| role | owner | operator | viewer | required | operator (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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| role | owner | operator | viewer | required | operator 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| kind | domain | ip | cidr | url | required | What to register: domain, ip, cidr, url, or repo (a repository read through a code connection). |
| value | string | required | The target, e.g. example.com, 203.0.113.7, 203.0.113.0/24 or https://app.example.com. |
| method | dns_txt | http_file | parent_domain | optional | How ownership is proven: dns_txt (default) or http_file. |
| runner_id | string | optional | Register 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. |
| isolated | boolean | optional | With 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. |
| bssids | array of string | optional | With 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_auth | string | optional | With kind ssid: the security it must use: enterprise (802.1X), personal (pre-shared key / SAE) or open (a guest network). |
| swift | boolean | optional | A 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. |
| connection | string | optional | With kind repo: the code connection that reads it. |
| branch | string | optional | With 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| swift | boolean | required | true: 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| frameworks | array of string | required | The 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| criticality | low | medium | high | crown_jewel | optional | low, medium, high or crown_jewel; empty clears it (reads as medium). Omit to keep. |
| business_owner | string | optional | Who 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 field | Type | | Description |
|---|
| provider | string | required | github or gitlab (github.com and gitlab.com). |
| name | string | optional | |
| token | string | required | A 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| enabled | boolean | required | Check every pull (merge) request to the connection's repositories. |
| fail_on | info | low | medium | high | critical | optional | Fail a request that adds an issue at or above: critical, high (default), medium or low. |
| rotate | boolean | optional | Issue 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
| Parameter | In | Description |
|---|
| tenant | path | |
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| asset | query | Only 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| slot | path | |
| Body field | Type | | Description |
|---|
| name | string | required | |
| kind | string | required | headers, oauth2_client_credentials, form or cookie. |
| url | string | required | Where the signed-in application starts. Its origin is the only one the session is sent to (plus api_origins). |
| api_origins | array of string | optional | Further HTTPS origins on the asset that take the same session, e.g. the API a single-page app calls. |
| token_url | string | optional | OAuth 2.0 token endpoint (HTTPS, on the asset). |
| scope | string | optional | |
| login_url | string | optional | Form login: the page with the login form. |
| username_field | string | optional | |
| password_field | string | optional | |
| totp_field | string | optional | Field for the one-time code: in the login form, or in a second form at totp_url. |
| totp_url | string | optional | |
| logged_in_url | string | optional | A page only a signed-in user can open (2xx without a redirect). |
| logged_in_text | string | optional | Text shown only when signed in. |
| exclude_paths | array of string | optional | Paths kept away from scanners while signed in, besides the logout and password-change pages found automatically. |
| secrets | IdentitySecrets | optional | |
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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| slot | path | |
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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| slot | path | |
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
| Parameter | In | Description |
|---|
| asset | query | Only 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| name | string | required | |
| format | string | optional | openapi3, swagger2, postman or graphql; detected when left out. |
| base_url | string | optional | The API's address, for documents whose servers are relative or missing. |
| endpoint | string | optional | A GraphQL schema's endpoint, e.g. https://api.bank.example/graphql. |
| document | string | required | The 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| did | path | |
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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| weekly | boolean | required | Re-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
| Parameter | In | Description |
|---|
| asset | query | Only 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| provider | string | required | aws, azure or gcp. |
| name | string | optional | A label, e.g. Production AWS. |
| scope | array of string | optional | Optional: AWS regions, Azure subscription IDs or GCP project IDs to review. Empty: everything the credential can read. |
| aws | AWSCredential | optional | For provider aws. |
| azure | AzureCredential | optional | For provider azure. |
| gcp | GCPCredential | optional | For 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| values | array of string | required | Endpoints 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| provider | string | required | aws, azure or gcp. |
| name | string | optional | A label, e.g. Production AWS. |
| scope | array of string | optional | Optional: AWS regions, Azure subscription IDs or GCP project IDs to review. Empty: everything the credential can read. |
| aws | AWSCredential | optional | For provider aws. |
| azure | AzureCredential | optional | For provider azure. |
| gcp | GCPCredential | optional | For 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| enabled | boolean | required | Add 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| account | query | Only 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| name | string | required | A 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| file | path | |
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 field | Type | | Description |
|---|
| token | string | required | The one-time enrollment token shown when the runner was created. |
| public_key | string | required | The runner's Ed25519 public key, base64. The private key never leaves the runner. |
| hostname | string | optional | Host name of the machine. |
| version | string | optional | Runner version. |
| os | string | optional | Operating system and architecture. |
| addresses | array of string | optional | The machine's own network addresses (its vantage point). |
| allowlist | array of string | optional | Ranges the runner's operator lets it touch; it refuses anything else. |
| capabilities | array of string | optional | Optional 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 field | Type | | Description |
|---|
| hostname | string | optional | Host name of the machine. |
| version | string | optional | Runner version. |
| os | string | optional | Operating system and architecture. |
| addresses | array of string | optional | The machine's own network addresses. |
| allowlist | array of string | optional | Ranges the runner's operator lets it touch. |
| capabilities | array of string | optional | Optional modules its operator turned on, e.g. wifi_survey. |
| relays | array of RelayTarget | optional | Relay 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| findings | array of Finding | optional | |
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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| events | array of RunnerEvent | optional | |
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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| summary | string | optional | |
| error | string | optional | |
| refused | boolean | optional | |
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 field | Type | | Description |
|---|
| release | string | required | Distribution 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. |
| have | string | optional | SHA-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 field | Type | | Description |
|---|
| relays | array of RelayTarget | optional | Relay 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| token | string | optional | The batch's token. |
| delivered | integer | optional | How many of the batch's events, from the first, the SIEM accepted. |
| last_event_id | string | optional | The id of the last event delivered (required when delivered > 0). |
| error | string | optional | Why 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| key | string | optional | ticket.create: the issue key or record number, e.g. SEC-42 or INC0010001. |
| external_id | string | optional | ticket.create: the Jira issue id or ServiceNow sys_id. |
| url | string | optional | ticket.create: the ticket's address. |
| existing | boolean | optional | ticket.create: the ticket already existed (found by the finding's reference). |
| error | string | optional | Why the task failed (secrets and addresses removed). |
| closed | boolean | optional | ticket.comment with close: the ticket was closed (or was already done). |
| close_error | string | optional | ticket.comment with close: why the ticket could not be closed (the comment was posted). |
| reopen | string | optional | ticket.comment with reopen: reopened, or open (it was not done: left as it is). |
| reopen_error | string | optional | ticket.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 field | Type | | Description |
|---|
| name | string | optional | Name of the rules; default: the level and the assets. |
| asset_ids | array of string | required | Verified assets these rules cover. |
| level | string | optional | How 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_check | boolean | optional | Four 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. |
| window | TimeWindow | optional | UTC testing window; empty means any time. |
| max_rps | number | optional | Request-rate ceiling for every module: 1 to 100 requests per second (0: the default, 5). |
| exclude_hosts | array of string | optional | Hosts never to touch. |
| exclude_paths | array of string | optional | URL paths never to touch. |
| allow_intrusive | boolean | optional | Older form of level: true means pentest. Ignored when level is set. |
| signed_by | string | optional | Deprecated: kept as on_behalf_of's name. The signer is always the signed-in person (or the API key), from their account. |
| on_behalf_of | Authorizer | optional | Who 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_days | integer | optional | Days until the authorization expires: 1 to 365 (default 30). |
| supersedes | string | optional | Sign 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 field | Type | | Description |
|---|
| request | string | required | What 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 field | Type | | Description |
|---|
| name | string | optional | Engagement name. |
| asset_ids | array of string | required | Verified assets to test; all must be covered by the RoE. |
| roe_id | string | optional | Saved 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. |
| mode | deterministic | ai | optional | deterministic (default) or ai. |
| level | string | optional | Without roe_id: recon (default: passive checks, no Rules of Engagement), scan or pentest (see POST /v1/roe). |
| focus | array of string | optional | Run only these checks (for example from a test request's plan); each must be permitted by the level. Intrusive ones are queued for approval. |
| request | string | optional | The 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_rps | number | optional | Without roe_id: request-rate ceiling (default 5). |
| exclude_hosts | array of string | optional | Without roe_id: hosts never to touch. |
| exclude_paths | array of string | optional | Without 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| after | query | Return 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| paths | array of string | required | Paths 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| download | query | `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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| version | path | |
| format | query | `pdf` to print it to PDF (503 without Chromium). |
| download | query | `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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| host | string | required | A public website's host name (example.com), or its URL; addresses, ports and internal names are refused. |
| checks | array of string | optional | Only 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| question | string | required | Up to 2,000 characters. |
| history | array of AskTurn | optional | Earlier 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?"}'
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.
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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| owner | string | required | Email of an active person of the organization; empty removes the owner. |
| reason | string | optional | Why; 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| reason | string | required | Why the risk is acceptable (compensating controls, business need). Required. |
| expires | string | required | Until 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| approve | boolean | required | true approves the acceptance; false rejects it. |
| note | string | optional | The 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| reason | string | required | Why; 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| justification | string | required | Why 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| approve | boolean | required | true approves the acceptance; false rejects it. |
| note | string | optional | The 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| reason | string | required | Why; 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
| Parameter | In | Description |
|---|
| engagement | query | Only 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| tool | string | required | An approval-gated module, e.g. nikto_scan, wapiti_scan, zap_active, sqlmap_confirm, ffuf_discover, dalfox_confirm. |
| target | string | required | An in-scope host or URL. |
| rationale | string | optional | Why 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| approve | boolean | required | true runs the gated action; false denies it (or withdraws it, when the caller requested it or is the person behind the request). |
| reason | string | optional | Why, 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 field | Type | | Description |
|---|
| name | string | optional | Schedule name. |
| asset_ids | array of string | required | Verified assets to test on every run. |
| roe_id | string | optional | The signed Rules of Engagement. Omit it for passive checks (recon level), which need none. |
| mode | deterministic | ai | optional | deterministic (default) or ai. |
| every | string | required | daily, weekly or monthly. |
| start_at | date-time | optional | First 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| name | string | optional | Hook name, e.g. the service it guards. |
| asset_ids | array of string | required | Verified assets tested on every deploy. |
| roe_id | string | optional | The signed Rules of Engagement. Omit it for passive checks (recon level), which need none. |
| mode | deterministic | ai | optional | deterministic (default) or ai. |
| fail_on | info | low | medium | high | critical | optional | Lowest severity that fails the gate: critical, high (default), medium or low. |
| only_new | boolean | optional | Count 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| ref | string | optional | |
| environment | string | optional | |
| pipeline_url | string | optional | |
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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| eng | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| eng | path | ID 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 field | Type | | Description |
|---|
| name | string | optional | Webhook name. |
| url | string | required | Public https endpoint. Slack/Teams URLs are masked in every response. |
| format | string | required | json (signed), slack or teams. |
| events | array of string | required | Events 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| name | string | optional | Integration name. |
| kind | string | required | jira or servicenow. |
| base_url | string | required | https URL of the Jira site or ServiceNow instance. |
| project | string | optional | Jira project key. |
| issue_type | string | optional | Jira issue type (default Bug). |
| table | string | optional | ServiceNow table (default incident). |
| username | string | optional | Jira account email (empty for a Data Center token) or ServiceNow user. |
| token | string | required | API token or password; sealed at rest, never returned. |
| min_severity | info | low | medium | high | critical | optional | Lowest severity filed automatically (default high). |
| auto_create | boolean | optional | File 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 field | Type | | Description |
|---|
| name | string | optional | Integration name. |
| kind | string | required | jira or servicenow. |
| runner_id | string | required | The runner that files the tickets. |
| relay | string | required | The system's name in the runner's relay configuration, which holds its address, project or table, and credential. |
| min_severity | info | low | medium | high | critical | optional | Lowest severity filed automatically (default high). |
| auto_create | boolean | optional | File 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| username | string | optional | New username; omit to keep the current one. |
| token | string | required | New 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| auto_create | boolean | optional | Turn automatic filing on or off; omit to keep. |
| min_severity | info | low | medium | high | critical | optional | Lowest 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| retest_on_resolve | boolean | required | Retest an issue as soon as its ticket is resolved. |
| rotate | boolean | optional | Issue a new webhook secret; the old one stops working. |
| done_statuses | array of string | optional | Extra 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
| Parameter | In | Description |
|---|
| tenant | path | |
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| fid | path | ID of the finding. |
| Body field | Type | | Description |
|---|
| integration_id | string | required | The 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 field | Type | | Description |
|---|
| name | string | optional | Destination name. |
| kind | string | required | splunk_hec, syslog_tls or https_json. |
| url | string | optional | splunk_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. |
| address | string | optional | syslog_tls: host:port of the TLS syslog receiver (port defaults to 6514). Plain syslog is refused. |
| token | string | optional | splunk_hec: the HEC token (required). https_json: an optional bearer token. Sealed at rest, never returned. |
| index | string | optional | splunk_hec: index (default: the token's default index). |
| sourcetype | string | optional | splunk_hec: sourcetype (default echetleos:audit). |
| facility | string | optional | syslog_tls: local0–local7, audit, authpriv or user (default local4). |
| ca_pem | string | optional | PEM CA certificate(s) to trust instead of the public roots, for a receiver behind a private PKI. |
| backfill_days | integer | optional | Also export the last N days of the audit trail (0–365). Default 0: only events from now on. |
| runner_id | string | optional | Relay 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. |
| relay | string | optional | With 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
| Parameter | In | Description |
|---|
| id | path | ID of the resource. |
| Body field | Type | | Description |
|---|
| name | string | optional | New name. |
| url | string | optional | splunk_hec and https_json: new https URL. |
| address | string | optional | syslog_tls: new host:port. |
| token | string | optional | New token (rotation). For https_json, an empty string removes the bearer token. |
| index | string | optional | splunk_hec: index; empty for the token's default. |
| sourcetype | string | optional | splunk_hec: sourcetype; empty for echetleos:audit. |
| facility | string | optional | syslog_tls: facility. |
| ca_pem | string | optional | PEM 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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 field | Type | | Description |
|---|
| slug | string | required | Organization ID used in sign-in links (3-40 lowercase letters, digits, hyphens). |
| protocol | string | required | saml or oidc. |
| issuer | string | optional | OIDC issuer URL, exactly as in its discovery document. |
| client_id | string | optional | OIDC client ID. |
| client_secret | string | optional | OIDC client secret; empty keeps the current one. Sealed, never returned. |
| metadata_xml | string | optional | SAML IdP metadata XML; empty keeps the current one. |
| metadata_url | string | optional | https URL to download the SAML IdP metadata from. |
| domains | array of string | required | Email domains that may sign in; each must be a verified domain asset. |
| default_role | owner | operator | viewer | required | Role for new people who match no mapped group. |
| jit | boolean | optional | Create accounts at first sign-in. |
| group_roles | map of owner | operator | viewer | optional | IdP group name or ID → role. |
| enforce_sso | boolean | optional | Refuse 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 field | Type | | Description |
|---|
| slug | string | required | Organization ID. |
| bind | string | required | base64url(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 field | Type | | Description |
|---|
| code | string | required | One-time code from the #sso_code= redirect. |
| verifier | string | required | The 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
| Parameter | In | Description |
|---|
| slug | path | The 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
| Parameter | In | Description |
|---|
| slug | path | The 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
| Parameter | In | Description |
|---|
| slug | path | The organization ID used for single sign-on. |
Example request
curl -X POST "https://echetleos.avsecadvisory.eu/sso/<slug>/acs"
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
| Parameter | In | Description |
|---|
| filter | query | `userName eq "…"`, `externalId eq "…"`, `emails.value eq "…"` or `id eq "…"`. |
| startIndex | query | 1-based. |
| count | query | At 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| filter | query | `displayName eq "…"`, `externalId eq "…"` or `id eq "…"`. |
| excludedAttributes | query | `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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| id | path | ID 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
| Parameter | In | Description |
|---|
| actor | query | Only this actor, exactly: `user:ana@bank.example` (or just the address), `api_key:ci`, `engine`, `scheduler:sch_…`. |
| action | query | Only actions starting with this: `approval.` for every approval event, `rbac.deny`, `killswitch`. |
| engagement | query | Only this engagement's events. |
| from | query | Only events at or after this: a date (YYYY-MM-DD, UTC, from its start) or an RFC 3339 time. |
| to | query | Only events at or before this: a date (YYYY-MM-DD, UTC, to its end) or an RFC 3339 time. |
| q | query | Only events whose target or detail contains this text (case-insensitive). |
| allowed | query | `true`: only what was allowed; `false`: only refusals. |
| limit | query | At most this many events (the newest), 1 to 100000. |
| format | query | `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
Example request
curl "https://echetleos.avsecadvisory.eu/healthz"
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
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| asset_id | string | always | |
| name | string | always | |
| format | string | always | |
| title | string | when set | |
| version | string | when set | |
| base_url | string | when set | |
| endpoint | string | when set | |
| operations | integer | always | |
| in_scope | integer | always | |
| read_only | integer | always | |
| withheld | integer | always | |
| origins | array of string | always | |
| out_of_scope | array of string | when set | |
| size | integer | always | |
| sha256 | string | always | |
| created_at | date-time | always | |
| created_by | string | when set | |
AWSCredential
| Field | Type | | Description |
| role_arn | string | when set | Keyless: 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. |
| organization | boolean | when set | With role_arn in the management or delegated administrator account: review every active member account. |
| member_role | string | when set | With organization: the read-only role's name in each member account (default: role_arn's name). |
| access_key_id | string | when set | Instead of role_arn: the access key ID of a read-only IAM user (SecurityAudit policy). |
| secret_access_key | string | when set | Its secret access key; sealed, never returned. |
| session_token | string | when set | Only for temporary credentials. |
Accepted
| Field | Type | | Description |
| accepted | integer | always | |
| refused | integer | always | |
AiModelView
| Field | Type | | Description |
| configured | boolean | always | This server has a language model at all. |
| off | boolean | always | The organization turned the language model off: ai-mode runs use the deterministic playbook and Ask Echetleos is unavailable. |
| choosable | boolean | always | The server's model endpoint serves several models, so the organization can choose one. |
| provider | string | when set | The provider whose model the organization chooses. |
| primary | string | when set | When set, a different provider is tried first and the choice applies to the backstop. |
| default_model | string | when set | The server's default model. |
| model | string | when set | The organization's choice; empty means the server's default. |
| effective_model | string | when set | The model the next run uses. |
| models | array of string | always | Models the endpoint serves. |
| models_error | string | when set | |
| updated_at | date-time | when set | |
| updated_by | string | when set | |
AiTestResponse
| Field | Type | | Description |
| model | string | always | |
| ok | boolean | always | The model answered and called the tool it was offered, so it can drive the AI operator. |
| seconds | number | always | How long the answer took. One planning step of a real run sends a much longer prompt. |
| detail | string | always | |
ApiKeyCreatedResponse
| Field | Type | | Description |
| key | ApiKeyView | always | |
| api_key | string | always | The key. Shown only in this response; only its hash is stored. |
| note | string | always | |
ApiKeyResponse
| Field | Type | | Description |
| api_key | string | always | |
| note | string | always | |
ApiKeyView
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| scope | string | always | |
| prefix | string | always | |
| created_by | string | always | |
| created_at | date-time | always | |
| expires_at | date-time | when set | |
| last_used_at | date-time | when set | |
| organization | boolean | when set | The organization's own key (owner scope, no expiry). It cannot be revoked here; rotate it under Organization. |
| expired | boolean | when set | |
Approval
| Field | Type | | Description |
| id | string | always | |
| engagement_id | string | always | |
| tenant_id | string | always | |
| tool | string | always | |
| target | string | always | |
| rationale | string | always | |
| requested_by | string | when set | |
| requested_for | string | when set | |
| state | pending | approved | denied | withdrawn | always | |
| decided_by | string | when set | |
| created_at | date-time | always | |
| decided_at | date-time | when set | |
| run_ended | date-time | when set | |
| run_error | string | when set | |
| run_summary | string | when set | |
| run_partial | boolean | when set | |
| running | boolean | when set | |
| reason | string | when set | |
| stopped_by | string | when set | |
| stopped_at | date-time | when set | |
ApprovedCheck
| Field | Type | | Description |
| approval_id | string | always | |
| tool | string | always | |
| level | string | always | |
| target | string | always | |
| decided_by | string | when set | |
| decided_at | date-time | when set | |
| requested_by | string | when set | |
| requested_for | string | when set | |
| after_run | boolean | when set | |
| completed | boolean | always | |
| ended_at | date-time | when set | |
| running | boolean | when set | |
| partial | boolean | when set | |
| stopped_by | string | when set | |
| why | string | when set | |
AskTurn
| Field | Type | | Description |
| role | string | always | user or assistant. |
| text | string | always | |
Asset
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| kind | domain | ip | cidr | url | always | |
| value | string | always | |
| verification | Verification | always | |
| created_at | date-time | always | |
| bssids | array of string | when set | |
| wifi_auth | string | when set | |
| swift | boolean | when set | |
| frameworks | array of string | when set | |
| runner_id | string | when set | |
| connection | string | when set | |
| branch | string | when set | |
| isolated | boolean | when set | |
| surface_weekly | boolean | when set | |
| surface_last_run | date-time | when set | |
| criticality | low | medium | high | crown_jewel | when set | |
| business_owner | string | when set | |
| cloud_account | string | when set | |
AssetView
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| kind | domain | ip | cidr | url | always | |
| value | string | always | |
| verification | Verification | always | |
| created_at | date-time | always | |
| bssids | array of string | when set | |
| wifi_auth | string | when set | |
| swift | boolean | when set | |
| frameworks | array of string | when set | |
| runner_id | string | when set | |
| connection | string | when set | |
| branch | string | when set | |
| isolated | boolean | when set | |
| surface_weekly | boolean | when set | |
| surface_last_run | date-time | when set | |
| criticality | low | medium | high | crown_jewel | when set | |
| business_owner | string | when set | |
| cloud_account | string | when set | |
| challenge | OwnershipChallenge | when set | Only while verification is pending: where to publish the proof and what to publish. |
AuditEvent
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| engagement_id | string | when set | |
| time | date-time | always | |
| actor | string | always | |
| action | string | always | |
| target | string | always | |
| detail | string | always | |
| allowed | boolean | always | |
AuthHost
| Field | Type | | Description |
| host | string | always | |
| detail | string | always | |
| finding_id | string | always | |
AuthScan
| Field | Type | | Description |
| requirement | string | always | |
| status | string | always | |
| scanned | array of AuthHost | always | |
| not_scanned | array of AuthHost | always | |
| documented | array of AuthHost | always | |
Authorizer
| Field | Type | | Description |
| name | string | always | |
| email | string | when set | |
AzureCredential
| Field | Type | | Description |
| tenant_id | string | always | Directory (tenant) ID. |
| client_id | string | always | Application (client) ID of an app registration with the Reader role. |
| client_secret | string | when set | Leave empty for keyless access (a federated identity credential that trusts Echetleos; GET /v1/cloud/federation). Otherwise a client secret, sealed and never returned. |
BillingPayer
| Field | Type | | Description |
| id | string | always | |
| name | string | always | |
BillingView
| Field | Type | | Description |
| enabled | boolean | always | false when the server has no Stripe configuration: then nothing is limited (self-hosted and demo installs). |
| plan | Plan | always | The plan in effect. |
| source | string | always | Why it is in effect: default (no subscription), subscription, provider (paid for by a managed service provider) or unlimited (billing off). |
| default_plan | string | always | Name of the plan that applies without a subscription, and after a failed payment's grace period. |
| status | string | when set | The Stripe subscription status: active, trialing, past_due, unpaid, canceled, incomplete… |
| subscribed_plan | string | when set | The plan paid for, when it is not the plan in effect (the grace period after a failed payment ended). |
| next_invoice_at | date-time | when set | End 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_end | boolean | when set | |
| payment_failed_at | date-time | when set | |
| grace_until | date-time | when set | After a failed payment the plan stays until then; afterwards the default plan applies. Nothing is deleted. |
| billed_by | BillingPayer | when set | The managed service provider that pays for this organization's plan. |
| usage | array of UsageLine | always | |
| modules | array of PlanModule | always | |
| plans | array of PlanOffer | always | |
| can_checkout | boolean | always | Upgrade (Checkout) is possible: billing is on and there is no live subscription. |
| can_manage | boolean | always | Manage billing (Customer Portal) is possible: a Stripe customer exists. |
| clients | array of ClientBilling | when set | For a provider: each client, and whether you pay for its plan. |
CheckResponse
| Field | Type | | Description |
| ok | boolean | always | |
| error | string | when set | |
ClientBilling
| Field | Type | | Description |
| delegation_id | string | always | |
| client_id | string | always | |
| client_name | string | always | |
| billed | boolean | always | You pay for the client's plan. |
| plan | string | always | The plan in effect for the client. |
ClientBillingResponse
| Field | Type | | Description |
| delegation | Delegation | always | |
| billed | boolean | always | |
| plan | string | always | The plan now in effect for the client. |
ClientSummary
| Field | Type | | Description |
| delegation | Delegation | always | |
| owner_joined | boolean | always | |
| verified_assets | integer | always | |
| engagements | integer | always | |
| running | integer | always | |
| pending_approvals | integer | always | |
| last_run | string | when set | |
| last_run_at | date-time | when set | |
| risk | Risk | when set | |
| next_scheduled | date-time | when set | |
ClientsResponse
| Field | Type | | Description |
| provider_id | string | always | |
| clients | array of ClientSummary | always | |
CloudAccount
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| provider | string | always | |
| name | string | always | |
| principal | string | always | |
| scope | array of string | when set | |
| external | string | when set | |
| last_scan_at | date-time | when set | |
| last_status | string | when set | |
| last_error | string | when set | |
| created_by | string | always | |
| created_at | date-time | always | |
| prowler | boolean | when set | |
| prowler_by | string | when set | |
| prowler_next | string | when set | |
CloudEndpoint
| Field | Type | | Description |
| kind | string | always | |
| value | string | always | |
| resource | string | when set | |
| location | string | when set | |
| what | string | when set | |
| proven | boolean | always | |
| why | string | when set | |
CloudFinding
| Field | Type | | Description |
| check | string | always | |
| title | string | always | |
| severity | info | low | medium | high | critical | always | |
| resources | array of string | when set | |
| more | integer | when set | |
| location | string | when set | |
| detail | string | always | |
| remediation | string | always | |
| controls | array of ControlRef | when set | |
| cves | array of string | when set | |
| kev | KEVInfo | when set | |
| epss | EPSSInfo | when set | |
CloudScan
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| account_id | string | always | |
| provider | string | always | |
| state | string | always | |
| triggered_by | string | always | |
| started_at | date-time | always | |
| ended_at | date-time | when set | |
| error | string | when set | |
| covered | array of string | when set | |
| checks | integer | always | |
| findings | array of CloudFinding | always | |
| counts | map of integer | always | |
| notes | array of string | when set | |
| inventory | array of CloudEndpoint | when set | |
| prowler | ProwlerRun | when set | |
CodeConnectionView
| Field | Type | | Description |
| id | string | always | |
| provider | string | always | |
| name | string | always | |
| account | string | always | The user or bot the token belongs to. |
| created_by | string | always | |
| created_at | date-time | always | |
| pr_checks | boolean | always | Pull (merge) requests to its repositories are checked. |
| pr_fail_on | info | low | medium | high | critical | when set | A request fails when it adds an issue at or above this. |
| pr_checks_by | string | when set | Who turned the checks on. |
CodeLocation
| Field | Type | | Description |
| repo | string | when set | |
| commit | string | when set | |
| path | string | always | |
| lines | array of integer | when set | |
| url | string | when set | |
ComplianceSummary
| Field | Type | | Description |
| frameworks | array of FrameworkSummary | always | |
| mapped_findings | integer | always | |
| unmapped_findings | integer | always | |
| resolved_findings | integer | always | |
| authenticated_scanning | AuthScan | when set | |
| accepted_findings | integer | always | |
| false_positive_findings | integer | always | |
| disclaimer | string | always | |
ConsoleLine
| Field | Type | | Description |
| seq | integer | always | |
| at | date-time | always | |
| kind | string | always | cmd (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). |
| tool | string | when set | |
| text | string | always | |
ConsoleResponse
| Field | Type | | Description |
| lines | array of ConsoleLine | always | |
| next | integer | always | Pass as after to get only newer lines. |
| live | boolean | always | This instance holds the run's console. False when another instance runs it, or it ended over two hours ago. |
| state | pending | running | paused | completed | aborted | always | |
ControlRef
| Field | Type | | Description |
| framework | string | always | |
| id | string | always | |
| title | string | always | |
| level | string | when set | |
| evidence | boolean | when set | |
DecisionBasis
| Field | Type | | Description |
| severity | info | low | medium | high | critical | always | |
| parts | array of string | when set | |
Delegation
| Field | Type | | Description |
| id | string | always | |
| provider_id | string | always | |
| provider_name | string | always | |
| client_id | string | always | |
| client_name | string | always | |
| role | owner | operator | viewer | always | |
| state | string | always | |
| origin | string | always | |
| created_by | string | always | |
| created_at | date-time | always | |
| revoked_by | string | when set | |
| revoked_at | date-time | when set | |
| last_used_at | date-time | when set | |
DeletedResponse
| Field | Type | | Description |
| deleted | string | always | |
DeployAcceptedResponse
| Field | Type | | Description |
| engagement_id | string | always | |
| state | pending | running | paused | completed | aborted | always | |
| status_url | string | always | |
DeployHook
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| asset_ids | array of string | always | |
| roe_id | string | always | |
| mode | deterministic | ai | always | |
| fail_on | info | low | medium | high | critical | always | |
| only_new | boolean | always | |
| enabled | boolean | always | |
| runs | integer | always | |
| last_run | date-time | when set | |
| last_engagement_id | string | when set | |
| created_by | string | always | |
| created_at | date-time | always | |
Discovery
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| asset_id | string | always | |
| root | string | always | |
| state | string | always | |
| triggered_by | string | always | |
| started_at | date-time | always | |
| ended_at | date-time | when set | |
| error | string | when set | |
| notes | array of string | when set | |
| hosts | array of SurfaceHost | always | |
| gone | array of string | when set | |
| total | integer | always | |
| resolving | integer | always | |
| new_hosts | integer | always | |
| issue_count | integer | always | |
| third_party | array of string | when set | |
EPSSInfo
| Field | Type | | Description |
| cve | string | always | |
| score | number | always | |
| percentile | number | always | |
| date | string | when set | The day the scores were computed (YYYY-MM-DD). |
EgressResponse
| Field | Type | | Description |
| addresses | array of string | always | Public IPs or ranges the service's scans come from; empty when the operator has not published them. |
| note | string | always | |
Engagement
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| asset_ids | array of string | always | |
| roe_id | string | always | |
| mode | deterministic | ai | always | |
| state | pending | running | paused | completed | aborted | always | |
| summary | string | when set | |
| created_at | date-time | always | |
| started_at | date-time | when set | |
| started_by | string | when set | |
| started_for | string | when set | |
| ended_at | date-time | when set | |
| schedule_id | string | when set | |
| hook_id | string | when set | |
| deploy | DeployInfo | when set | |
| pull_request | PRCheck | when set | |
| retest_of | string | when set | |
| modules | array of string | when set | |
| request | string | when set | |
| retest | RetestResult | when set | |
| report_masks | array of string | when set | |
| run_modules | map of string | when set | |
| risk | Risk | when set | |
| runner_id | string | when set | |
| trigger | string | when set | |
| coverage | array of ScanCoverage | when set | |
| run_of | string | when set | |
| run | integer | when set | |
| rerun_from | string | when set | |
| unreached | array of string | when set | |
| path | array of PathStep | when set | |
| planner | PlannerNotes | when set | |
EngagementTicketsResponse
EnrollResponse
| Field | Type | | Description |
| runner_id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| vulndb_key | string | when set | |
FalsePositive
| Field | Type | | Description |
| justification | string | always | |
| marked_by | string | always | |
| marked_at | date-time | always | |
| basis | DecisionBasis | when set | The evidence it was marked on; a finding that goes beyond it reopens the issue. |
| state | string | when set | pending (waiting for a second person) or confirmed. Empty on records from before confirmation existed: they count as confirmed. |
| confirmed_by | string | when set | The second person, for Medium severity and above. |
| confirmed_at | date-time | when set | |
| note | string | when set | What the second person wrote. |
FederationSetup
| Field | Type | | Description |
| available | boolean | always | |
| reason | string | when set | |
| issuer | string | when set | The identity provider your cloud trusts. |
| subject | string | always | This organization's subject: what the trust condition names. |
| audiences | array of InboundStep | when set | The audience each cloud sees. |
| setup | array of InboundStep | when set | How to grant read-only access in each cloud. |
| aws_cloudformation | string | when set | |
| aws_member_cloudformation | string | when set | |
FileTicketResponse
| Field | Type | | Description |
| ticket | TicketLink | when set | |
| created | boolean | always | |
| queued | boolean | when set | |
| task | RelayTask | when set | |
Finding
| Field | Type | | Description |
| id | string | always | |
| engagement_id | string | always | |
| tenant_id | string | always | |
| title | string | always | |
| severity | info | low | medium | high | critical | always | |
| asset | string | always | |
| evidence | string | always | |
| recommendation | string | always | |
| cvss | number | when set | |
| refs | array of string | when set | |
| source | string | when set | |
| rule | string | when set | |
| location | string | when set | |
| parts | array of FindingPart | when set | |
| tags | array of string | when set | |
| reported_by | array of string | when set | |
| compliance | array of ControlRef | when set | |
| status | string | when set | |
| seen_at | date-time | when set | |
| verified_at | date-time | when set | |
| verified_by | string | when set | |
| created_at | date-time | always | |
| cves | array of string | when set | |
| cwes | array of string | when set | |
| code | CodeLocation | when set | |
| package | PackageRef | when set | |
| kev | KEVInfo | when set | |
| epss | EPSSInfo | when set | |
| priority | Priority | when set | |
| remediation | Remediation | when set | |
FindingPart
| Field | Type | | Description |
| title | string | always | |
| severity | info | low | medium | high | critical | always | |
| evidence | string | when set | |
| fix | string | when set | |
| cves | array of string | when set | |
FixedMember
| Field | Type | | Description |
| finding_id | string | always | |
| title | string | always | |
| severity | info | low | medium | high | critical | always | |
| opened_at | date-time | always | When its SLA clock started: the issue's. |
| due_at | date-time | when set | Its own deadline, by its severity. |
| fixed_at | date-time | always | |
| retest_id | string | when set | The retest that verified it fixed. |
FrameworkSummary
| Field | Type | | Description |
| framework | string | always | |
| unit | string | always | |
| gap_label | string | always | |
| gaps | integer | always | |
| mandatory_gaps | integer | when set | |
| note | string | when set | |
| requirements | array of Requirement | always | |
FrameworksResponse
| Field | Type | | Description |
| asset | Asset | always | |
| effective | array of string | always | The frameworks reports use for the asset: its setting, or the default. |
GCPCredential
| Field | Type | | Description |
| workload_identity_provider | string | when set | Keyless: projects/<number>/locations/global/workloadIdentityPools/<pool>/providers/<provider>, an OIDC provider that trusts Echetleos (GET /v1/cloud/federation). |
| service_account_email | string | when set | With workload_identity_provider: a read-only service account to impersonate. Empty: the roles are granted to the pool's principal directly. |
| service_account_json | string | when set | Instead of workload_identity_provider: the service account's JSON key; sealed, never returned. |
GateFinding
| Field | Type | | Description |
| title | string | always | |
| severity | info | low | medium | high | critical | always | |
| asset | string | always | |
GateResult
| Field | Type | | Description |
| engagement_id | string | always | |
| state | pending | running | paused | completed | aborted | always | |
| verdict | string | always | |
| fail_on | info | low | medium | high | critical | always | |
| only_new | boolean | always | |
| counts | map of integer | always | |
| new_findings | integer | always | |
| baseline_engagement_id | string | when set | |
| blocking | array of GateFinding | always | |
| note | string | when set | |
HealthResponse
| Field | Type | | Description |
| status | string | always | |
| time | date-time | always | |
| ai_enabled | boolean | always | |
| demo | boolean | always | The server runs the demo organization (ECHETLEOS_DEMO not 0); the dashboard then offers the demo API key. |
HeartbeatResponse
| Field | Type | | Description |
| cancel | boolean | always | |
| reason | string | when set | |
HookSecretResponse
| Field | Type | | Description |
| hook | DeployHook | always | |
| token | string | always | |
| trigger_url | string | always | |
| note | string | always | |
IdentitySecrets
| Field | Type | | Description |
| headers | map of string | when set | Static request headers by name, e.g. {"X-Api-Key": "…"}; replaces every stored header. |
| token | string | when set | Bearer token, sent as Authorization: Bearer <token>. |
| client_id | string | when set | |
| client_secret | string | when set | |
| username | string | when set | |
| password | string | when set | |
| totp_seed | string | when set | The base32 secret (or otpauth:// URI) an authenticator app is given, for the one-time code. |
| cookies | string | when set | Session cookie(s) as name=value; name2=value2. |
IdentityTest
| Field | Type | | Description |
| at | date-time | always | |
| ok | boolean | always | |
| detail | string | always | |
| steps | array of string | when set | |
| excluded_paths | array of string | when set | |
| by | string | when set | |
InboundAccepted
| Field | Type | | Description |
| action | string | always | |
| reason | string | when set | |
| retest_id | string | when set | |
InboundResponse
| Field | Type | | Description |
| integration | TicketIntegration | always | |
| url | string | always | Where the ticketing system posts. |
| secret | string | when set | Shown when it is created or rotated, never again. |
| setup | array of InboundStep | always | |
InboundStep
| Field | Type | | Description |
| system | string | always | |
| steps | string | always | |
InfoRating
| Field | Type | | Description |
| retest_id | string | always | The retest that rated it Info. |
| retest | string | when set | That retest's name. |
| at | date-time | always | |
| was | info | low | medium | high | critical | always | The issue's severity before. |
| note | string | when set | What the retest still saw, and how it rated it. |
InstallStep
| Field | Type | | Description |
| platform | string | always | |
| command | string | always | |
IntelFeedStatus
| Field | Type | | Description |
| name | string | always | |
| source | string | always | Where it is downloaded from; empty when the feed is turned off. |
| version | string | when set | |
| released | date-time | when set | |
| fetched_at | date-time | when set | |
| entries | integer | always | |
| sha256 | string | when set | |
| error | string | when set | Why the last refresh on this instance failed; the previous copy stays in use. |
InventoryAssetsResponse
| Field | Type | | Description |
| added | array of Asset | always | |
| skipped | map of string | always | Endpoints not added, and why. |
Invite
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| email | string | always | |
| role | owner | operator | viewer | always | |
| expires_at | date-time | always | |
| created_by | string | always | |
| created_at | date-time | always | |
| used_at | date-time | when set | |
| revoked_at | date-time | when set | |
| revoked_by | string | when set | |
InviteInfoResponse
| Field | Type | | Description |
| organization | string | always | |
| email | string | always | |
| role | owner | operator | viewer | always | |
| expires_at | date-time | always | |
InviteResponse
| Field | Type | | Description |
| invite | Invite | always | |
| url | string | always | |
| note | string | always | |
Job
| Field | Type | | Description |
| id | string | always | |
| engagement_id | string | always | |
| runner_name | string | always | |
| assets | array of JobAsset | always | |
| exclude_hosts | array of string | when set | |
| max_rps | number | always | |
| window | TimeWindow | always | |
| expires | date-time | always | |
| modules | array of string | always | |
JobAsset
| Field | Type | | Description |
| kind | domain | ip | cidr | url | always | |
| value | string | always | |
| isolated | boolean | when set | |
| bssids | array of string | when set | |
| wifi_auth | string | when set | |
KEVInfo
| Field | Type | | Description |
| cve | string | always | |
| name | string | when set | CISA's name for the vulnerability. |
| date_added | date-time | always | |
| due_date | date-time | always | |
| known_ransomware_use | boolean | when set | CISA knows of its use in ransomware campaigns. |
LoginResponse
| Field | Type | | Description |
| token | string | when set | The session token for Authorization: Bearer. Absent when a second step is needed. |
| user | User | when set | |
| expires | date-time | when set | |
| device | string | when set | A device token for this account: send it back as device on the next sign-in from this browser. |
| two_factor | string | when set | Set 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. |
| challenge | string | when set | The signed, single-use token for the second step. It is not a session and opens nothing else. |
| challenge_expires | date-time | when set | |
MeResponse
| Field | Type | | Description |
| authenticated | boolean | always | |
| kind | string | always | |
| user | User | when set | |
| actor | string | when set | |
| tenant | string | when set | |
| role | owner | operator | viewer | always | |
| delegation | Delegation | when set | |
| scope | string | when set | An API key's scope: read, operate or owner. |
| key_name | string | when set | A named API key's name; empty for the organization's own key. |
OrgResponse
| Field | Type | | Description |
| id | string | always | |
| name | string | always | |
| provider | boolean | always | |
| onboarded_by | string | when set | |
| created_at | date-time | always | |
OrgSettingsResponse
| Field | Type | | Description |
| third_party_sources | boolean | always | Attack-surface discovery may send verified domain names to the third-party sources listed. Off by default. |
| privacy_note | string | always | |
| sources | array of SettingsSource | always | |
| available | boolean | always | subfinder, which queries the sources, is installed on this server. |
| detail | string | when set | |
| keys_supported | boolean | always | This server can store API keys encrypted (it has ECHETLEOS_SECRET_KEY). |
| updated_at | date-time | when set | |
| updated_by | string | when set | |
OrgTwoFactorView
| Field | Type | | Description |
| required | boolean | always | Everyone who signs in with a password must use a second factor; people without one set it up at their next sign-in. |
| available | boolean | always | |
| reason | string | when set | |
| password_users | integer | always | Active people who sign in with a password. |
| enrolled | integer | always | Of those, how many have two-factor sign-in on. |
| updated_by | string | when set | |
| updated_at | date-time | when set | |
OverviewChanges
| Field | Type | | Description |
| basis | string | always | retest: 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. |
| since | OverviewRun | when set | What the latest test is compared with: the engagement a retest verified, or the previous comparable test. |
| pending | boolean | when set | The retest's fix verification has not concluded yet: it waits for approval-gated checks. |
| awaiting_approvals | integer | when set | |
| fixed | integer | always | A 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). |
| new | integer | always | Not found before. |
| reopened | integer | always | Verified fixed before, found again. |
| rated_info | integer | always | Open before, now rated Info (expected on this kind of site, harmless, or an advisory). |
| still_open | integer | always | |
| not_rechecked | integer | always | Open before, but the check that found it did not complete this time: neither fixed nor still open. |
OverviewIssue
| Field | Type | | Description |
| id | string | always | The issue: GET /v1/remediation/{id}. |
| title | string | always | |
| asset | string | always | Where it was found (a host, an address or a URL on the site). |
| severity | info | low | medium | high | critical | always | |
| priority | Priority | always | |
| due_at | date-time | when set | |
| overdue | boolean | when set | |
| owner | string | when set | Email of the person who owns the fix. |
| kev | boolean | when set | In CISA's Known Exploited Vulnerabilities catalog. |
| engagement_id | string | always | The engagement with the issue's latest finding: its evidence. |
OverviewNext
| Field | Type | | Description |
| schedule_id | string | always | |
| name | string | always | |
| every | string | always | |
| at | date-time | always | |
OverviewOrg
| Field | Type | | Description |
| posture | string | always | The 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 …". |
| tested | boolean | always | Whether any engagement has completed. Until one has, the posture says nothing can be concluded. |
| open | SeverityCounts | always | Open issues by severity, across the organization (accepted risks, false positives, verified fixes and issues rated Info are not open). |
| overdue | integer | always | Open issues past their due date. |
| acceptances_waiting | integer | always | Risk acceptances waiting for a second person's approval. |
| approvals_waiting | integer | always | Intrusive checks waiting for approval. |
| sites | integer | always | Verified assets. |
| unverified | integer | always | Assets waiting for proof of ownership: nothing is tested on them yet. |
| never_tested | integer | always | Verified assets no engagement has completed on. |
| stale | integer | always | Verified assets last tested 90 or more days ago. |
| running | integer | always | Engagements running or paused now. |
OverviewResponse
| Field | Type | | Description |
| generated_at | date-time | always | |
| organization | OverviewOrg | always | |
| sites | array of OverviewSite | always | Every verified asset, highest risk first; those never tested last. |
OverviewRun
| Field | Type | | Description |
| engagement_id | string | always | |
| name | string | always | |
| state | pending | running | paused | completed | aborted | always | |
| retest_of | string | when set | For a retest: the engagement whose findings it verified. |
| ended_at | date-time | when set | |
| days_ago | integer | when set | Whole days since it ended. |
| risk | Risk | when set | That 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. |
| report | string | when set | Its report: GET this path (HTML; report.pdf and report for PDF and JSON). |
OverviewSite
| Field | Type | | Description |
| asset_id | string | always | |
| value | string | always | |
| kind | domain | ip | cidr | url | always | |
| criticality | low | medium | high | crown_jewel | when set | |
| business_owner | string | when set | |
| status | string | always | tested, stale (last tested 90 or more days ago) or never_tested. |
| risk | Risk | when set | The 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. |
| words | string | when set | The grade in words, as the engagement panel's risk card says it, e.g. "Grade B · worst open issue: medium". |
| posture | string | when set | The verdict on the site's open issues, in the report's words. |
| open | SeverityCounts | always | The site's open issues by severity. |
| overdue | integer | always | Of them, past their due date. |
| accepted | integer | always | Accepted risks on the site (not open). |
| top | array of OverviewIssue | always | The open issues to fix first (at most 3): by priority, then due date, as the remediation queue ranks them. |
| changes | OverviewChanges | when set | What changed at the site's latest test. Absent until it is tested. |
| last_test | OverviewRun | when set | The latest completed engagement or retest that included the site. |
| running | OverviewRun | when set | An engagement including the site that is running or paused now. |
| next_run | OverviewNext | when set | The next run of an active schedule that includes the site. |
OwnershipChallenge
| Field | Type | | Description |
| location | string | always | |
| value | string | always | |
PRCheck
| Field | Type | | Description |
| provider | string | always | |
| repo | string | always | |
| number | integer | always | |
| title | string | when set | |
| url | string | when set | |
| head | string | always | |
| base_ref | string | when set | |
| base | string | when set | |
| fail_on | info | low | medium | high | critical | always | |
| link | string | when set | |
| authorized_by | string | when set | |
| verdict | string | always | |
| new | array of PRFinding | when set | |
| status | string | when set | |
| note | string | when set | |
PRFinding
| Field | Type | | Description |
| title | string | always | |
| severity | info | low | medium | high | critical | always | |
| path | string | when set | |
| line | integer | when set | |
| url | string | when set | |
| blocking | boolean | when set | |
PackageRef
| Field | Type | | Description |
| ecosystem | string | always | |
| name | string | always | |
| version | string | always | |
| fixed | string | when set | |
| purl | string | when set | |
| license | string | when set | |
| path | string | when set | |
PathStep
| Field | Type | | Description |
| because | string | always | |
| check | string | always | |
| target | string | always | |
| outcome | string | always | |
| at | date-time | always | |
PersonResponse
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| email | string | always | |
| name | string | always | |
| role | owner | operator | viewer | always | |
| created_at | date-time | always | |
| disabled | boolean | when set | |
| source | string | when set | |
| external_id | string | when set | |
| username | string | when set | |
| given_name | string | when set | |
| family_name | string | when set | |
| last_login_at | date-time | when set | |
| two_factor | boolean | always | Two-factor sign-in is on (password sign-in only). |
| sessions_ended | integer | when set | |
| keys_stopped | array of string | when set | |
| warning | string | when set | |
Plan
| Field | Type | | Description |
| id | string | always | |
| name | string | always | |
| description | string | when set | |
| price_label | string | when set | Display only; Stripe's price is what is charged. |
| limits | PlanLimits | always | |
| modules | array of approvals | cloud | siem | mssp | always | |
PlanLimits
| Field | Type | | Description |
| verified_assets | integer | always | Verified assets (domains, IPs, ranges, URLs, attested internal ranges). -1 is unlimited. |
| runners | integer | always | Runners that are not revoked. -1 is unlimited. |
| concurrent_engagements | integer | always | Engagements running at the same time. -1 is unlimited. |
| scheduled_engagements | integer | always | Active (not paused) schedules. -1 is unlimited. |
| seats | integer | always | People with an active account plus open invites. -1 is unlimited. |
PlanModule
| Field | Type | | Description |
| module | approvals | cloud | siem | mssp | always | |
| label | string | always | |
| included | boolean | always | |
PlanOffer
| Field | Type | | Description |
| id | string | always | |
| name | string | always | |
| description | string | when set | |
| price_label | string | when set | Display only; Stripe's price is what is charged. |
| limits | PlanLimits | always | |
| modules | array of approvals | cloud | siem | mssp | always | |
| purchasable | boolean | always | Sold online with Checkout. |
| current | boolean | always | The plan in effect. |
| default | boolean | always | The plan without a subscription. |
PlannedCheck
| Field | Type | | Description |
| name | string | always | |
| description | string | always | |
| level | string | always | The lowest testing level that permits it; above recon it waits for an approval. |
PlannerNotes
| Field | Type | | Description |
| model | string | always | |
| text | string | always | |
PollResponse
| Field | Type | | Description |
| job | Job | when set | |
| poll_after_s | integer | always | |
| vulndb_key | string | when set | |
PrChecksResponse
| Field | Type | | Description |
| connection | CodeConnectionView | always | |
| url | string | always | Where GitHub or GitLab posts. |
| secret | string | when set | Shown when it is created or rotated, never again. |
| setup | array of InboundStep | always | |
PrHookAccepted
| Field | Type | | Description |
| action | string | always | |
| reason | string | when set | |
| engagement_id | string | when set | |
Priority
| Field | Type | | Description |
| score | integer | always | |
| band | string | always | P1 (act now, score 75+), P2 (50+), P3 (25+), P4. |
| factors | array of string | always | How the score was reached, one line per factor. |
ProwlerInfo
| Field | Type | | Description |
| available | boolean | always | |
| version | string | when set | |
| reason | string | when set | |
ProwlerRun
| Field | Type | | Description |
| state | string | always | |
| version | string | when set | |
| read_only | array of string | when set | |
| detail | string | when set | |
| failed | integer | always | |
| findings | integer | always | |
| accounts | array of string | when set | |
| seconds | integer | always | |
PublicCheck
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| host | string | always | |
| created_by | string | always | |
| created_at | date-time | always | |
| ended_at | date-time | when set | |
| state | string | always | |
| checks | array of string | always | |
| findings | array of Finding | always | |
| risk | Risk | when set | |
| error | string | when set | |
| results | array of PublicCheckResult | when set | |
PublicCheckResult
| Field | Type | | Description |
| check | string | always | |
| summary | string | when set | |
| error | string | when set | |
RecoveryCodesResponse
| Field | Type | | Description |
| recovery_codes | array of string | always | Ten one-time codes, shown only now. Each works once in place of a code. |
| status | TwoFactorStatus | always | |
| note | string | always | |
RedirectResponse
| Field | Type | | Description |
| url | string | always | A Stripe page (Checkout or the Customer Portal): send the browser there. |
RelayPollResponse
| Field | Type | | Description |
| siem | array of SIEMBatch | when set | |
| tickets | array of TicketTask | when set | |
| poll_after_s | integer | always | When to ask again if this response carried no work. |
RelayStatus
| Field | Type | | Description |
| runner_id | string | always | |
| runner_name | string | always | |
| runner_state | string | always | |
| online | boolean | always | The runner checked in within the last 90 seconds. |
| configured | boolean | always | The runner reports this relay name, with this kind, in its local relay configuration. |
| problem | string | when set | Why the runner cannot deliver now, if it cannot. |
RelayTarget
| Field | Type | | Description |
| name | string | always | |
| kind | string | always | |
RelayTask
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| runner_id | string | always | |
| integration_id | string | always | |
| kind | string | always | |
| state | string | always | |
| finding_id | string | when set | |
| engagement_id | string | when set | |
| fingerprint | string | when set | |
| link_id | string | when set | |
| text | string | when set | |
| outcome | string | when set | |
| actor | string | always | |
| attempts | integer | always | |
| not_before | date-time | when set | |
| sent_at | date-time | when set | |
| last_error | string | when set | |
| created_at | date-time | always | |
RelayTaskView
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| runner_id | string | always | |
| integration_id | string | always | |
| kind | string | always | |
| state | string | always | |
| finding_id | string | when set | |
| engagement_id | string | when set | |
| fingerprint | string | when set | |
| link_id | string | when set | |
| text | string | when set | |
| outcome | string | when set | |
| actor | string | always | |
| attempts | integer | always | |
| not_before | date-time | when set | |
| sent_at | date-time | when set | |
| last_error | string | when set | |
| created_at | date-time | always | |
| integration_name | string | always | |
Repo
| Field | Type | | Description |
| full_name | string | always | |
| asset | string | always | |
| default_branch | string | always | |
| private | boolean | always | |
| web_url | string | always | |
ReportMasksResponse
| Field | Type | | Description |
| paths | array of string | always | |
| detected | array of string | always | Moved WordPress login paths found in the findings: masked as /login-redacted without asking. |
ReportResponse
| Field | Type | | Description |
| engagement | Engagement | always | |
| summary | string | always | AS 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_of | date-time | when set | When the run ended: the moment summary and risk_found describe. |
| executive | string | when set | NOW: 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_of | date-time | always | When executive was built: now. |
| risk_found | Risk | when set | AS 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_now | Risk | when set | NOW: 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. |
| provisional | string | when set | Set while approved checks are still running: "N approved check(s) still running: results may change". A report version issued now is marked provisional. |
| findings | array of Finding | always | |
| compliance | ComplianceSummary | always | |
| sla | SLAPerformance | when set | |
| events | array of AuditEvent | always | |
| tested | Tested | always | What 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). |
| versions | array of ReportVersion | always | The report's issued versions, oldest first (GET /v1/engagements/{id}/reports). |
| runs | array of RunRef | always | The runs of this engagement's first run, the first run first: running an engagement again creates its next run. |
ReportVersion
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| engagement_id | string | always | |
| number | integer | always | |
| sha256 | string | always | |
| file_sha256 | string | always | |
| size | integer | always | |
| issued_at | date-time | always | |
| issued_by | string | always | |
| format | string | always | |
| engagement_state | pending | running | paused | completed | aborted | always | |
| findings | integer | always | |
| provisional | boolean | when set | |
| checks_running | integer | when set | |
Requirement
| Field | Type | | Description |
| framework | string | always | |
| id | string | always | |
| title | string | always | |
| level | string | when set | |
| evidence | boolean | when set | |
| status | string | always | |
| worst | info | low | medium | high | critical | always | |
| findings | integer | always | |
| finding_ids | array of string | always | |
RetestItem
| Field | Type | | Description |
| finding_id | string | always | |
| title | string | always | |
| severity | info | low | medium | high | critical | always | |
| asset | string | always | |
| status | string | always | |
| note | string | when set | |
| engagement_id | string | when set | |
RetestResult
| Field | Type | | Description |
| fixed | integer | always | |
| still_open | integer | always | |
| reopened | integer | always | |
| new | integer | always | |
| not_retested | integer | always | |
| reclassified | integer | when set | |
| items | array of RetestItem | always | |
| verified_at | date-time | always | |
| awaiting_approvals | integer | when set | |
Risk
| Field | Type | | Description |
| score | integer | always | |
| grade | string | always | |
| points | integer | always | |
| open | integer | always | |
| counts | map of integer | always | |
| ungraded | string | when set | |
RiskAcceptance
| Field | Type | | Description |
| state | string | always | |
| reason | string | always | |
| expires | date-time | always | |
| requested_by | string | always | |
| requested_at | date-time | always | |
| decided_by | string | when set | |
| decided_at | date-time | when set | |
| note | string | when set | What the approver wrote. |
| ended_at | date-time | when set | When it expired or was withdrawn. |
| ended_by | string | when set | |
| basis | DecisionBasis | when set | |
RiskPoint
| Field | Type | | Description |
| engagement_id | string | always | |
| name | string | always | |
| at | date-time | always | |
| score | integer | always | |
| points | integer | always | |
| grade | string | always | |
| open | integer | always | |
| new | integer | always | |
| resolved | integer | always | |
| kind | string | always | |
| ungraded | boolean | when set | |
| run | integer | when set | |
| retest_of | string | when set | |
| not_retested | integer | when set | |
| level | string | when set | |
| authorized | string | when set | |
RoE
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| asset_ids | array of string | always | |
| window | TimeWindow | always | |
| max_rps | number | always | |
| exclude_hosts | array of string | always | |
| exclude_paths | array of string | always | |
| allow_intrusive | boolean | always | |
| approve_each_check | boolean | when set | |
| level | string | when set | |
| signed_by | string | always | |
| signed_at | date-time | always | |
| expires | date-time | always | |
| signer_name | string | when set | |
| signer_email | string | when set | |
| on_behalf_of | Authorizer | when set | |
| supersedes | string | when set | |
| superseded_by | string | when set | |
RunRef
| Field | Type | | Description |
| id | string | always | |
| name | string | always | |
| run | integer | always | Its number among the runs: 1 for the first run. |
| state | pending | running | paused | completed | aborted | always | |
| started_at | date-time | when set | |
| ended_at | date-time | when set | |
| risk | Risk | when set | The run's score as found when it ended (frozen). |
Runner
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| state | string | always | |
| enroll_expires | date-time | when set | |
| public_key | string | when set | |
| hostname | string | when set | |
| version | string | when set | |
| os | string | when set | |
| addresses | array of string | when set | |
| allowlist | array of string | when set | |
| capabilities | array of string | when set | |
| created_by | string | always | |
| created_at | date-time | always | |
| enrolled_at | date-time | when set | |
| last_seen | date-time | when set | |
| revoked_at | date-time | when set | |
| relays | array of RelayTarget | when set | |
RunnerEnrollment
| Field | Type | | Description |
| runner | Runner | always | |
| enrollment_token | string | always | One-time token, shown once; valid for 24 hours. |
| expires | date-time | always | |
| install | array of InstallStep | always | Commands to download, enroll and start the runner. |
RunnerEvent
| Field | Type | | Description |
| action | string | always | |
| target | string | when set | |
| detail | string | when set | |
| allowed | boolean | always | |
RunnerJob
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| runner_id | string | always | |
| engagement_id | string | always | |
| state | string | always | |
| modules | array of string | when set | |
| created_at | date-time | always | |
| picked_at | date-time | when set | |
| last_beat | date-time | when set | |
| ended_at | date-time | when set | |
| error | string | when set | |
| findings | integer | always | |
| events | integer | always | |
RunnerView
| Field | Type | | Description |
| runner | Runner | always | |
| online | boolean | always | Checked in within the last 90 seconds. |
| job | RunnerJob | when set | The current or most recent job. |
SCIMGroup
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| display_name | string | always | |
| external_id | string | when set | |
| members | array of string | always | |
| created_at | date-time | always | |
| updated_at | date-time | always | |
SIEMAckResponse
| Field | Type | | Description |
| advanced | boolean | always | |
SIEMBatch
| Field | Type | | Description |
| destination_id | string | always | |
| relay | string | always | The destination's name in the runner's relay configuration. |
| kind | string | always | |
| token | string | always | |
| events | array of AuditEvent | always | |
SIEMProgress
| Field | Type | | Description |
| cursor | integer | always | |
| delivered | integer | always | |
| last_event_id | string | when set | |
| last_event_at | date-time | when set | |
| last_delivery_at | date-time | when set | |
| last_error | string | when set | |
| last_error_at | date-time | when set | |
| failures | integer | always | |
SLAPolicy
| Field | Type | | Description |
| critical_days | integer | always | |
| high_days | integer | always | |
| medium_days | integer | always | |
| low_days | integer | always | |
| kev_due_dates | boolean | always | |
SSOConfig
| Field | Type | | Description |
| tenant_id | string | always | |
| slug | string | always | |
| protocol | string | always | |
| enabled | boolean | always | |
| issuer | string | when set | |
| client_id | string | when set | |
| idp_metadata_url | string | when set | |
| idp_entity_id | string | when set | |
| idp_sso_url | string | when set | |
| idp_cert_expires | date-time | when set | |
| sp_cert | string | when set | |
| domains | array of string | always | |
| default_role | owner | operator | viewer | always | |
| jit | boolean | always | |
| group_roles | map of owner | operator | viewer | when set | |
| enforce_sso | boolean | always | |
| scim_token_hint | string | when set | |
| scim_token_created_at | date-time | when set | |
| scim_last_sync | date-time | when set | |
| last_login_at | date-time | when set | |
| last_error | string | when set | |
| last_error_at | date-time | when set | |
| updated_by | string | always | |
| updated_at | date-time | always | |
SSOSettings
| Field | Type | | Description |
| available | boolean | always | |
| reason | string | when set | |
| public_url | string | when set | |
| public_url_problem | string | when set | |
| config | SSOConfig | always | |
| urls | URLs | when set | |
| scim_url | string | when set | |
| scim_users | integer | always | |
| scim_groups | integer | always | |
| unverified_domains | array of string | when set | |
| groups | array of SCIMGroup | when set | |
SbomResult
| Field | Type | | Description |
| format | string | always | |
| subject | string | when set | |
| total | integer | always | |
| unmatched | map of integer | when set | |
| matched | array of string | always | Ecosystems and releases whose packages were matched. |
| no_data | array of string | when set | Releases with no vulnerability data published (their packages were not matched). |
| vulnerable | integer | always | Packages with at least one advisory that has a fix. |
| malicious | integer | always | Packages known to be malicious. |
| findings | integer | always | |
ScanCoverage
| Field | Type | | Description |
| tool | string | always | |
| origin | string | always | |
| authenticated | boolean | always | |
| identity | string | when set | |
| slot | string | when set | |
| kind | string | when set | |
| requests | integer | always | |
| with_session | integer | always | |
| relogins | integer | when set | |
| session_lost | boolean | when set | |
| excluded_paths | array of string | when set | |
| api_endpoints | integer | when set | |
| detail | string | when set | |
| at | date-time | always | |
ScanIdentity
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| asset_id | string | always | |
| slot | string | always | "a" (user A, the one scans sign in as) or "b" (user B, kept for access-control comparison). |
| name | string | always | |
| kind | string | always | |
| url | string | always | |
| api_origins | array of string | when set | |
| token_url | string | when set | |
| scope | string | when set | |
| login_url | string | when set | |
| username_field | string | when set | |
| password_field | string | when set | |
| totp_field | string | when set | |
| totp_url | string | when set | |
| logged_in_url | string | when set | |
| logged_in_text | string | when set | |
| exclude_paths | array of string | when set | |
| secrets_set | array of string | always | |
| last_test | IdentityTest | when set | |
| created_at | date-time | always | |
| updated_at | date-time | always | |
| updated_by | string | when set | |
Schedule
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| asset_ids | array of string | always | |
| roe_id | string | always | |
| mode | deterministic | ai | always | |
| every | string | always | |
| enabled | boolean | always | |
| next_run | date-time | always | |
| last_run | date-time | when set | |
| last_engagement_id | string | when set | |
| last_error | string | when set | |
| runs | integer | always | |
| created_by | string | always | |
| created_at | date-time | always | |
ScimTokenResponse
| Field | Type | | Description |
| token | string | always | |
| scim_url | string | always | |
| state | SSOSettings | always | |
SessionResponse
| Field | Type | | Description |
| token | string | always | |
| user | User | always | |
| expires | date-time | always | |
| device | string | when set | |
| recovery_codes | array of string | when set | Shown 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_left | integer | when set | Set when this sign-in used up a recovery code: how many are left. |
SessionsEndedResponse
| Field | Type | | Description |
| sessions_ended | integer | always | |
SettingsSource
| Field | Type | | Description |
| name | string | always | |
| service | string | always | |
| holds | string | always | |
| hosts | array of string | always | |
| keyed | boolean | always | |
| key_set | boolean | when set | The organization stored its own API key for this source (the key is never returned). |
| active | boolean | always | The next discovery sends the domain to this source. |
SeverityCounts
| Field | Type | | Description |
| total | integer | always | |
| critical | integer | always | |
| high | integer | always | |
| medium | integer | always | |
| low | integer | always | |
SiemCreatedResponse
| Field | Type | | Description |
| destination | SiemView | always | |
| signing_secret | string | when set | https_json: the HMAC key of X-Echetleos-Signature. Shown only once. |
| note | string | when set | |
SiemListResponse
| Field | Type | | Description |
| enabled | boolean | always | |
| reason | string | when set | |
| destinations | array of SiemView | always | |
SiemView
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| kind | string | always | |
| host | string | always | |
| index | string | when set | |
| sourcetype | string | when set | |
| facility | string | when set | |
| ca_pem | string | when set | |
| enabled | boolean | always | |
| runner_id | string | when set | |
| relay | string | when set | |
| backfill_from | date-time | when set | |
| created_by | string | always | |
| created_at | date-time | always | |
| progress | SIEMProgress | always | |
| state | string | always | up_to_date, catching_up, waiting_for_runner (relayed: its runner cannot deliver now), failing or disabled. |
| pending | integer | always | Events not yet delivered, counted up to 10000 (10000 means at least that many). |
| lag_seconds | integer | always | Age of the oldest event not yet delivered; 0 when up to date. |
| relay_status | RelayStatus | when set | For a destination relayed by a runner: the runner's state. |
SlaResponse
| Field | Type | | Description |
| policy | SLAPolicy | always | |
| default | boolean | always | true while the organization has not set its own policy. |
| updated_at | date-time | when set | |
| updated_by | string | when set | |
SsoBeginResponse
| Field | Type | | Description |
| url | string | always | |
SsoTestResponse
| Field | Type | | Description |
| status | string | always | |
| message | string | always | |
StatusResponse
| Field | Type | | Description |
| status | string | always | |
StripeWebhookResult
| Field | Type | | Description |
| event | string | always | |
| type | string | always | |
| outcome | string | always | applied, duplicate (already applied: a replay or a retry), ignored or stale (older than what was applied). |
Summary
| Field | Type | | Description |
| tools | array of string | always | |
| results | integer | always | |
| suppressed | integer | always | |
| findings | integer | always | |
| truncated | boolean | when set | |
SurfaceHost
| Field | Type | | Description |
| name | string | always | |
| ips | array of string | when set | |
| cname | string | when set | |
| resolves | boolean | always | |
| wildcard | boolean | when set | |
| sources | array of string | always | |
| first_seen | date-time | always | |
| new | boolean | always | |
| issues | array of SurfaceIssue | when set | |
| asset_id | string | when set | |
SurfaceIssue
| Field | Type | | Description |
| kind | string | always | |
| severity | info | low | medium | high | critical | always | |
| title | string | always | |
| detail | string | always | |
SurfaceResponse
| Field | Type | | Description |
| available | boolean | always | |
| roots | array of SurfaceRoot | always | |
SurfaceRoot
| Field | Type | | Description |
| asset | Asset | always | |
| not_eligible | string | when set | |
| running | boolean | always | |
| latest | Discovery | when set | |
| runs | integer | always | |
TestPlan
| Field | Type | | Description |
| request | string | always | |
| name | string | always | |
| asset_ids | array of string | always | |
| assets | array of string | always | |
| level | string | always | |
| focus | array of string | always | The checks to run (as focus when the engagement is created); empty means the full playbook at the level. |
| checks | array of PlannedCheck | always | |
| plan | string | always | What will happen, in plain words. |
| notes | array of string | always | What the plan could not honour, or changed, and why. |
| planned_by | string | always | The model that planned it, or keyword matching when the organization has no model. |
| public_hosts | array of string | when set | Sites not verified as yours: start a public check of each (POST /v1/public-checks). |
| public_checks | array of string | when set | The public checks to run on them (TLS, security headers, DNS, email). |
Tested
| Field | Type | | Description |
| level | string | when set | |
| authorized | string | always | |
| modules | array of string | when set | |
| approved | array of ApprovedCheck | when set | |
| running | integer | when set | |
TicketIntegration
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| kind | string | always | |
| base_url | string | always | |
| project | string | when set | |
| issue_type | string | when set | |
| table | string | when set | |
| username | string | when set | |
| min_severity | info | low | medium | high | critical | always | |
| auto_create | boolean | always | |
| enabled | boolean | always | |
| tickets | integer | always | |
| last_status | string | when set | |
| last_error | string | when set | |
| last_at | date-time | when set | |
| created_by | string | always | |
| created_at | date-time | always | |
| runner_id | string | when set | |
| relay | string | when set | |
| retest_on_resolve | boolean | when set | |
| inbound_version | integer | when set | |
| done_statuses | array of string | when set | |
TicketLink
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| integration_id | string | always | |
| kind | string | always | |
| fingerprint | string | always | |
| finding_id | string | always | |
| engagement_id | string | always | |
| key | string | always | |
| external_id | string | always | |
| url | string | always | |
| created_by | string | always | |
| created_at | date-time | always | |
| fixed_noted_at | date-time | when set | |
| resolved_at | date-time | when set | |
| retest_id | string | when set | |
| closed_at | date-time | when set | |
TicketTask
| Field | Type | | Description |
| id | string | always | |
| relay | string | always | The ticketing system's name in the runner's relay configuration. |
| system | string | always | jira or servicenow. |
| action | string | always | ticket.create or ticket.comment. |
| retry | boolean | when set | |
| finding | Finding | when set | |
| engagement_name | string | when set | |
| key | string | when set | |
| external_id | string | when set | |
| text | string | when set | |
| close | string | when set | |
| reopen | boolean | when set | |
TicketView
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| integration_id | string | always | |
| kind | string | always | |
| fingerprint | string | always | |
| finding_id | string | always | |
| engagement_id | string | always | |
| key | string | always | |
| external_id | string | always | |
| url | string | always | |
| created_by | string | always | |
| created_at | date-time | always | |
| fixed_noted_at | date-time | when set | |
| resolved_at | date-time | when set | |
| retest_id | string | when set | |
| closed_at | date-time | when set | |
| integration_name | string | always | |
TicketingListResponse
| Field | Type | | Description |
| enabled | boolean | always | |
| reason | string | when set | |
| integrations | array of TicketingView | always | |
TicketingView
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| kind | string | always | |
| base_url | string | always | |
| project | string | when set | |
| issue_type | string | when set | |
| table | string | when set | |
| username | string | when set | |
| min_severity | info | low | medium | high | critical | always | |
| auto_create | boolean | always | |
| enabled | boolean | always | |
| tickets | integer | always | |
| last_status | string | when set | |
| last_error | string | when set | |
| last_at | date-time | when set | |
| created_by | string | always | |
| created_at | date-time | always | |
| runner_id | string | when set | |
| relay | string | when set | |
| retest_on_resolve | boolean | when set | |
| inbound_version | integer | when set | |
| done_statuses | array of string | when set | |
| relay_status | RelayStatus | when set | For an integration relayed by a runner: the runner's state. |
| queued | integer | when set | Requests waiting for the runner. |
| failed_tasks | integer | when set | Requests the runner gave up on (filing the finding again re-queues it). |
TimeWindow
| Field | Type | | Description |
| start_hour_utc | integer | always | |
| end_hour_utc | integer | always | |
| weekdays | array of integer | always | |
TrendResponse
| Field | Type | | Description |
| basis | string | always | |
| points | array of RiskPoint | always | |
TwoFactorSetupResponse
| Field | Type | | Description |
| secret | string | always | The base32 secret, to type into an authenticator app. |
| otpauth_uri | string | always | otpauth://totp/… — what the QR code holds. |
| qr_code | string | when set | The URI as a QR code: a PNG data: URI for an <img>. |
| note | string | always | |
TwoFactorStatus
| Field | Type | | Description |
| available | boolean | always | false when the server cannot store second factors (no ECHETLEOS_SECRET_KEY). |
| reason | string | when set | |
| applies | boolean | always | false for accounts that sign in through the identity provider, which handles their second factor. |
| enabled | boolean | always | |
| pending | boolean | when set | A setup was started and waits for its first code. |
| enabled_at | date-time | when set | |
| recovery_codes_left | integer | always | |
| required | boolean | always | The organization requires two-factor sign-in for password sign-in. |
URLs
| Field | Type | | Description |
| start_url | string | always | |
| redirect_uri | string | always | |
| entity_id | string | always | |
| acs_url | string | always | |
| metadata_url | string | always | |
UsageLine
| Field | Type | | Description |
| limit | verified_assets | runners | concurrent_engagements | scheduled_engagements | seats | always | |
| label | string | always | |
| used | integer | always | |
| max | integer | always | -1 is unlimited. |
User
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| email | string | always | |
| name | string | always | |
| role | owner | operator | viewer | always | |
| created_at | date-time | always | |
| disabled | boolean | when set | |
| source | string | when set | |
| external_id | string | when set | |
| username | string | when set | |
| given_name | string | when set | |
| family_name | string | when set | |
| last_login_at | date-time | when set | |
UserView
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| email | string | always | |
| name | string | always | |
| role | owner | operator | viewer | always | |
| created_at | date-time | always | |
| disabled | boolean | when set | |
| source | string | when set | |
| external_id | string | when set | |
| username | string | when set | |
| given_name | string | when set | |
| family_name | string | when set | |
| last_login_at | date-time | when set | |
| two_factor | boolean | always | Two-factor sign-in is on (password sign-in only). |
Verification
| Field | Type | | Description |
| method | dns_txt | http_file | parent_domain | always | |
| token | string | always | |
| state | pending | verified | failed | always | |
| verified_at | date-time | when set | |
| last_error | string | when set | |
Webhook
| Field | Type | | Description |
| id | string | always | |
| tenant_id | string | always | |
| name | string | always | |
| url | string | always | |
| format | string | always | |
| events | array of string | always | |
| enabled | boolean | always | |
| last_status | integer | when set | |
| last_error | string | when set | |
| last_delivery_at | date-time | when set | |
| created_by | string | always | |
| created_at | date-time | always | |
WebhookCreatedResponse
| Field | Type | | Description |
| webhook | Webhook | always | |
| secret | string | always | |
| note | string | always | |
WebhookTestResponse
| Field | Type | | Description |
| status | integer | always | |
| delivered | boolean | always | |
| error | string | when set | |