Skip to content

Results API

Onderhouden door: Aether365 Team Doelgroep: Ontwikkelaars Scope: Results API endpoints - scanbevindingen ophalen

Scanresultaten ophalen

Retourneert de individuele controleresultaten voor een voltooide scan.

GET /scans/{scanId}/results

Queryparameters

ParameterTypeBeschrijving
pageintegerPaginanummer (standaard: 1)
limitintegerResultaten per pagina (standaard: 50, max: 200)
resultstringFilter: passed, failed, skipped
severitystringFilter: critical, high, medium, low
frameworkstringFilter op framework: cis, eidsca, cisa, nis2

Voorbeeldverzoek

bash
curl "https://api.aether365.io/scans/scan_abc123/results?result=failed&severity=critical" \
  -H "Authorization: Bearer <token>"

Voorbeeldresponse

json
{
  "success": true,
  "data": [
    {
      "id": "result_001",
      "scan_id": "scan_abc123",
      "test_id": "CIS.M365.1.1.1",
      "title": "Ensure multifactor authentication is enabled for all users in administrative roles",
      "result": "failed",
      "severity": "critical",
      "framework": "cis",
      "help_url": "https://www.cisecurity.org/benchmark/microsoft_365",
      "remediation_steps": "1. Sign in to the Azure portal...",
      "source_tool": "compliance"
    }
  ],
  "meta": {
    "total": 12,
    "page": 1,
    "limit": 50
  }
}

Enkel resultaat ophalen

Retourneert het detail van een individueel controleresultaat.

GET /scans/{scanId}/results/{testId}

Voorbeeldverzoek

bash
curl https://api.aether365.io/scans/scan_abc123/results/CIS.M365.1.1.1 \
  -H "Authorization: Bearer <token>"

Voorbeeldresponse

json
{
  "success": true,
  "data": {
    "id": "result_001",
    "scan_id": "scan_abc123",
    "test_id": "CIS.M365.1.1.1",
    "title": "Ensure multifactor authentication is enabled for all users in administrative roles",
    "result": "failed",
    "severity": "critical",
    "framework": "cis",
    "help_url": "https://www.cisecurity.org/benchmark/microsoft_365",
    "remediation_steps": "1. Sign in to the Azure portal as a Global Administrator.\n2. Navigate to Microsoft Entra ID > Security > Conditional Access.\n3. Create or update a policy requiring MFA for all administrator roles.",
    "raw_output": {},
    "source_tool": "compliance"
  }
}

Veldreferentie

VeldTypeBeschrijving
test_idstringUnieke controle-identificatie (bijv. CIS.M365.1.1.1)
titlestringBegrijpelijke naam van de controle
resultstringpassed, failed of skipped
severitystringcritical, high, medium of low
frameworkstringFramework dat deze controle definieert (cis, eidsca, cisa, nis2)
help_urlstringLink naar officiele documentatie of benchmarkreferentie
remediation_stepsstringStapsgewijze herstelinstructies
source_toolstringType scan-engine (compliance of exposure)
raw_outputobjectRuwe evaluatie-uitvoer (kan null zijn voor sommige controles)
Was deze pagina nuttig?