Skip to content

Sonuçlar API

Hazırlayan: Aether365 Ekibi Hedef Kitle: Geliştiriciler Kapsam: Sonuçlar API endpoint'leri - tarama bulgularını alma

Tarama Sonuçlarını Alma

Tamamlanmış bir taramanın bireysel kontrol sonuçlarını döndürür.

GET /scans/{scanId}/results

Sorgu Parametreleri

ParametreTürAçıklama
pageintegerSayfa numarası (varsayılan: 1)
limitintegerSayfa başına sonuç (varsayılan: 50, maksimum: 200)
resultstringFiltre: passed, failed, skipped
severitystringFiltre: critical, high, medium, low
frameworkstringFramework'e göre filtre: cis, eidsca, cisa, nis2

Örnek İstek

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

Örnek Yanıt

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
  }
}

Tekil Sonuç Alma

Tek bir kontrol sonucunun ayrıntısını döndürür.

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

Örnek İstek

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

Örnek Yanıt

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"
  }
}

Alan Referansı

AlanTürAçıklama
test_idstringBenzersiz kontrol tanımlayıcısı (ör. CIS.M365.1.1.1)
titlestringOkunabilir kontrol adı
resultstringpassed, failed veya skipped
severitystringcritical, high, medium veya low
frameworkstringBu kontrolü tanımlayan framework (cis, eidsca, cisa, nis2)
help_urlstringResmi dokümantasyon veya benchmark referans bağlantısı
remediation_stepsstringAdım adım düzeltme talimatları
source_toolstringTarama motoru türü (compliance veya exposure)
raw_outputobjectHam değerlendirme çıktısı (bazı kontrollerde null olabilir)
Bu sayfa işinize yaradı mı?