Documentation
Last updated: December 3, 2026
How CybrOak connects to Intune, what it computes, how to hand the result to an auditor, what the optional agent does, and what the API returns. Short on purpose; the product is meant to be understood in one sitting.
What changed
- December 1AI-attack readiness: nine workspace checks on the dashboard (GET /api/v1/readiness), with pass / warn / fail / not assessed and the scope or licence each one needs.
- December 1Agent 0.7.0 adds two monitoring checks: Defender tamper protection and Defender for Endpoint onboarding (ten checks in total).
- December 2Sample-data cleanup: sample devices are removed from every real workspace at start-up and can no longer be loaded into one. The public /demo page keeps its own labelled sample fleet.
- December 3This page gained the API section below: how the portal authenticates, six read endpoints with response shapes, and the error conventions.
Getting started
- 1. Sign in with Microsoft
- Start from /signup. CybrOak signs in with Microsoft Entra and asks a Global Administrator for admin consent to read-only Microsoft Graph scopes. The exact scopes are listed on the Security page. Nothing is installed on Intune-managed devices.
- 2. First sync
- The first sync pulls every Intune-managed Windows device, computes a 0–100 fleet risk score and runs every enabled rule. Most tenants see the dashboard within about 60 seconds.
- 3. Country and currency
- Your workspace is tagged with the country and currency you chose on the site. They drive billing, the evidence-pack template and the support channel, and they are locked after signup; contact support to change them.
Findings, rules and frameworks
- Built-in rules
- BitLocker, Defender and Firewall disabled; stale (no check-in for more than 14 days); non-compliant in Intune; OS end of life; active threat detected; never synced; missing security patches with CVE exposure. One finding per device and rule.
- Framework mapping
- Each rule maps to CIS Controls v8, SOC 2 and ISO 27001 controls, and for Nigeria to NDPA 2023 section 39 measures as implemented by GAID 2025. Which frameworks you see follows your country. GDPR (EU / UK) is the next framework pack and is shown as a slot, not as shipped.
- Two numbers, two meanings
- Device coverage is the share of devices satisfying each assessed control, averaged across the framework. Controls fully passing is strict: one failing device fails the control. Controls evidenced by modules you have not enabled are excluded from both.
- AI-attack readiness
- Nine checks (MFA coverage, Conditional Access, Defender tamper protection, EDR coverage, patch currency and CVE exposure, privileged accounts, dormant accounts, legacy authentication, exposed admin ports) with pass / warn / fail / not assessed, a value, a threshold and a fix; checks that need the optional identity scopes or an Entra ID P1 licence read not assessed until granted. CybrOak finds and evidences these gaps; it does not block attacks.
Evidence packs and verification
- Generate
- Compliance → Evidence Pack (PDF) produces the pack for your frameworks; each framework also has a CSV export of control status. On paid plans each pack is registered with an Evidence ID and a SHA-256 fingerprint of the file at generation time. Free-tier packs are watermarked and carry no Evidence ID.
- Verify
- Anyone with the Evidence ID can confirm a pack is genuine and unaltered at cybroak.com/verify (paste the ID or the URL printed in the PDF) without an account. Try the public example at /verify/demo.
- White-label
- On Growth and above, MSPs can brand packs for each client tenant from the multi-tenant console.
CybrOak Agent (optional add-on)
- What it is
- A Windows service for devices outside Intune. Opt-in per workspace: nothing enrolls without a token minted under Endpoints. The core product stays agentless for Intune-managed devices.
- Install
- Endpoints → Add endpoint shows a 7-day token (once) and the full command: msiexec /i CybrOakAgent.msi /qn ENROLLTOKEN=<token> SERVERURL=https://api.cybroak.com. Double-clicking the installer asks for the token instead. The installer card on Endpoints shows the published build's version, size, SHA-256 and signed status.
- What it sends
- Hardware identity, OS and build, installed software, IP and MAC addresses, antivirus product and definitions status, and ten health-check results every five minutes (including Defender tamper protection and Defender for Endpoint onboarding from agent 0.7.0). The Security page and Privacy Policy describe exactly this.
- Updates
- Pushed from the portal to one endpoint or one workspace. The agent verifies the SHA-256 and the Authenticode signer before installing and rolls back automatically if the new version does not heartbeat within 10 minutes. Builds are test-signed until the OV certificate is issued; every update and rollback is in the audit log.
API
The REST API under https://api.cybroak.com/api/v1/ is the one the portal uses. Every route in this section is read-only, returns JSON, and is scoped to the workspace of the signed-in user. There is no separate public API product yet; what follows documents what exists.
Authentication
The portal signs in with Microsoft Entra using the OAuth2 authorization-code flow. GET /api/v1/auth/login redirects the browser to Microsoft; after consent, Microsoft calls GET /api/v1/auth/callback, which exchanges the code, creates or updates the workspace and user, and issues a CybrOak JWT (HS256, valid for 8 hours). The portal stores that token in the browser and sends it on every request as Authorization: Bearer <token>. There are no customer API keys today: the JWT is the portal's session, it expires, and signing in again is the only way to get a new one. If you script against the API, use a token copied from a signed-in session and expect to refresh it within 8 hours; do not build on it as a long-lived credential.
# 1. Sign in (browser): starts the Microsoft authorization-code flow
GET https://api.cybroak.com/api/v1/auth/login
# 2. Microsoft redirects to the callback, which issues the JWT and redirects to the portal
GET https://api.cybroak.com/api/v1/auth/callback?code=…&state=…
# → 302 https://cybroak.com/auth/callback?token=<jwt>®ion=us&country=US¤cy=USD
# 3. Every API call carries the token
curl -H "Authorization: Bearer $TOKEN" https://api.cybroak.com/api/v1/auth/meGET /api/v1/auth/me returns the signed-in user and workspace (id, email, display_name, tenant_id, tenant_name, plan, device_limit, country, currency, subscription_status, trial_ends_at). Three routes need no token: /api/v1/health, /api/v1/health/history and /api/v1/billing/price-lists; the public evidence check at /api/v1/compliance/verify/{evidence_id} is unauthenticated too and returns only pack metadata.
Read endpoints
GET /api/v1/dashboard
Device counts and the active-findings breakdown for your workspace.
curl -H "Authorization: Bearer $TOKEN" \
https://api.cybroak.com/api/v1/dashboard{
"devices": { "total": 248, "compliant": 231, "non_compliant": 14, "unknown": 3 },
"findings": {
"total": 37,
"high": 12,
"medium": 25,
"by_rule": { "bitlocker_disabled": 6, "device_stale": 9, "os_missing_patches": 11 }
}
}unknown = devices whose Intune compliance state is neither compliant nor one of noncompliant / error / conflict. by_rule is keyed by rule id.
GET /api/v1/findings?active_only=true
Findings for your workspace, newest first. active_only defaults to true; pass false to include resolved ones.
curl -H "Authorization: Bearer $TOKEN" \
"https://api.cybroak.com/api/v1/findings?active_only=true"{
"count": 37,
"findings": [
{
"id": "3f1c…", "device_id": "9a7e…",
"rule": "bitlocker_disabled", "severity": "high",
"title": "BitLocker Encryption Disabled",
"description": "Device does not have BitLocker encryption enabled.",
"is_active": true, "status": "open", "notes": null,
"acknowledged_at": null, "acknowledged_by_user_id": null,
"detected_at": "2026-12-01T08:14:09+00:00", "resolved_at": null
}
]
}severity is high or medium. status is one of open, acknowledged, in_progress, resolved, dismissed. PATCH /findings/{id} with {status, notes} updates one; POST /findings/bulk-update with {finding_ids, status} updates many.
GET /api/v1/compliance/frameworks
Coverage summary for the frameworks shown for your country, in display order.
curl -H "Authorization: Bearer $TOKEN" \
https://api.cybroak.com/api/v1/compliance/frameworks{
"region": "us", "country": "US", "currency": "USD",
"frameworks": [
{
"framework": "cis_v8", "name": "CIS Controls v8",
"summary": {
"total_controls": 7, "passing": 5, "failing": 2,
"score": 97, "strict_score": 71,
"not_assessed": 7, "catalog_controls": 14
}
}
],
"coming_next": [ { "key": "gdpr", "name": "GDPR (EU / UK)", "status": "coming_next", "note": "…" } ]
}score is mean device coverage across assessed controls; strict_score is the share of assessed controls with no failing device; not_assessed controls are excluded from both. GET /compliance/frameworks/{framework} (cis_v8, soc2, iso_27001, ndpa) returns the control-by-control detail; /compliance/frameworks/{framework}/export.csv streams the CSV. coming_next lists announced packs that are not scored.
GET /api/v1/readiness
Latest result of each of the nine AI-attack readiness checks.
curl -H "Authorization: Bearer $TOKEN" \
https://api.cybroak.com/api/v1/readiness{
"measured_at": "2026-12-03T06:00:12+00:00",
"summary": { "pass": 4, "warn": 1, "fail": 1, "na": 3 },
"graph": { "available": true, "reason": null },
"checks": [
{
"key": "tamper_protection", "title": "Defender tamper protection",
"scope": "device", "source": "agent+graph", "status": "fail", "severity": "high",
"value": 2, "value_text": "2 of 248 devices with tamper protection off",
"threshold": "fail if any device has tamper protection off; …",
"detail": "…", "fix": "Turn tamper protection on tenant-wide …",
"requires": null,
"controls": { "cis_v8": ["10.1"], "soc2": ["CC6.8"], "iso_27001": ["A.8.7"], "ndpa": ["s39(2)(b)"] },
"evidence": { "…": "…" },
"measured_at": "2026-12-03T06:00:12+00:00", "alerts": true
}
]
}status is pass, warn, fail or na (shown as Not assessed). requires is set only when status is na and names the Graph scope, licence or setting missing. graph.available is false when none of the Graph-backed checks could run; graph.reason says why. POST /readiness/run evaluates now. MSPs may pass ?tenant_id= for a managed client workspace.
GET /api/v1/alerts?state=active
Agent alerts for your workspace (and managed client workspaces for MSPs).
curl -H "Authorization: Bearer $TOKEN" \
"https://api.cybroak.com/api/v1/alerts?state=active"{
"count": 2,
"counts": { "open": 1, "acknowledged": 1, "resolved": 40 },
"tenants": [],
"alerts": [
{
"id": "b2d4…", "endpoint_id": "7c01…", "hostname": "FIN-LAPTOP-07",
"check_type": "disk_space", "check_title": "Disk space (system drive)",
"severity": "high", "state": "open",
"title": "…", "detail": "…", "value_text": "4% free",
"opened_at": "2026-12-02T21:35:00+00:00", "last_seen_at": "2026-12-03T06:05:00+00:00",
"occurrences": 103,
"acknowledged_at": null, "acknowledged_by": null,
"resolved_at": null, "resolved_by": null, "resolution": null, "note": null,
"tenant_id": "0f3a…", "tenant_name": null
}
]
}state is active (open + acknowledged, the default), open, acknowledged, resolved or all; anything else is a 400. Sorted by severity (high first) then age. Workspace-level readiness alerts have endpoint_id null and hostname "Workspace". POST /alerts/{id}/acknowledge and /alerts/{id}/resolve take an optional {note}. Every alerts route is a 404 when the agent add-on is not enabled.
GET /api/v1/endpoints
Agent-enrolled endpoints with online / stale / offline status.
curl -H "Authorization: Bearer $TOKEN" \
https://api.cybroak.com/api/v1/endpoints{
"count": 1,
"counts": { "online": 1, "stale": 0, "offline": 0, "retired": 0 },
"open_alerts_high": 1, "open_alerts": 2,
"tenants": [ { "id": "0f3a…", "name": "Contoso Ltd" } ],
"rules": { "heartbeat_interval_seconds": 300, "online_within_seconds": 600, "stale_within_seconds": 86400 },
"server_time": "2026-12-03T06:10:00+00:00",
"endpoints": [
{
"id": "7c01…", "retired": false, "retired_at": null, "key_revoked_at": null, "update": null,
"hostname": "FIN-LAPTOP-07", "os": "Windows 11 Pro", "os_version": "10.0.26100", "agent_version": "0.7.0",
"status": "online", "enrolled_at": "…", "last_heartbeat_at": "…", "last_seen_at": "…",
"uptime_seconds": 86112, "heartbeat_count": 4120,
"inventory_at": "…", "inventory_requested_at": null, "inventory_due": false,
"checks_failing": 1, "checks_total": 10, "software_count": 112,
"open_alerts": 2, "open_alerts_high": 1,
"tenant_id": "0f3a…", "tenant_name": "Contoso Ltd"
}
]
}online = heartbeat within 10 minutes, stale = within 24 hours, offline = older or never. Retired endpoints are hidden unless include_retired=true. GET /endpoints/{id} adds the latest inventory and local security checks; /endpoints/{id}/checks, /alerts and /inventory/history give the per-endpoint detail. Like /alerts, every endpoints route is a 404 when the agent add-on is not enabled.
Errors
Errors are JSON with a detail field. The conventions are the same on every route:
| Status | When | Body |
|---|---|---|
| 401 | Missing, malformed or expired bearer token, or the user has been deactivated. | { "detail": "Invalid or expired token" } |
| 403 | Intune refused a sync because the signed-in Microsoft account holds no Intune role (returned by the sync routes, not by the reads above). | { "detail": "Intune denied access to managed devices. The signed-in Microsoft account needs an Intune role …" } |
| 404 | An object that is not in your workspace (or a managed client workspace), an unknown framework key, or an agent/alert route while the add-on is off. Another workspace's id is a 404, never a 403. | { "detail": "Finding not found" } |
| 400 | A query or body value the route rejects: an invalid state, status, tenant_id or endpoint_id, an empty finding_ids list. | { "detail": "state must be active, open, acknowledged, resolved or all." } |
| 422 | FastAPI's own validation error when a path or body does not parse (for example a finding id that is not a UUID). | { "detail": [ { "loc": ["path", "finding_id"], "msg": "…" } ] } |
Rate limits, CORS and integrations
- Rate limits
- No published rate limit; the API has no limiter today. Be reasonable: device data changes on each Intune sync (scheduled every few hours per workspace, or on demand from the dashboard), readiness re-evaluates hourly and agent data arrives every five minutes, so polling more often than that returns the same answers.
- CORS
- Browser calls are accepted from the portal origins only. Server-side scripts are not affected.
- Alerts out
- Slack and Microsoft Teams incoming webhooks per tenant from Settings → Webhook Alerts, and a daily alert digest email. There is no streaming or push API.
- Microsoft Graph
- All device data comes through Graph with the read-only scopes on the Security page. Remediation uses a separate write scope that an admin grants explicitly.
Missing something? Email support@cybroak.com. Step-by-step help lives under Support; guides for specific audits under Guides.