Overview
Reference for developers and AI agents that use Cehpoint Agentic SOC programmatically. Version 1.0 · 28 November 2026. For setup, features, plans and privacy in plain words, see the guide.
Interfaces
| Interface | Address | Use it to |
|---|---|---|
| REST API | https://soc.cehpoint.co.in/v1 | Read devices, alerts, software and threat intel; take actions; block addresses |
| MCP server | https://soc.cehpoint.co.in/mcp | Let an MCP-capable AI agent or coding assistant do the same through tools |
| Webhooks | Your HTTPS address | Receive signed events when alerts open or close, actions finish, or a server goes offline |
What you can automate
- Connect new servers and computers (get a one-time install command).
- Pull open alerts with plain-English reasons and the actions each alert offers, then run one.
- Export vulnerable software and projects per device, with the fixed version and upgrade command.
- Fetch incident reports with evidence and integrity status.
- Block or unblock addresses on all your servers; read threat intel.
- Push alerts into ticketing, chat or on-call tools through webhooks.
What to expect
Timing, limits and access
- Actions: queued at once; a server runs them within a minute; a computer at its next check-in (about a minute while it is on). Results arrive as
action.completedwebhooks. - Checks:
POST /v1/checksstarts within a minute and takes 2 to 15 minutes on a server. - Rate limit: 120 requests per minute per key (429 when exceeded).
- Scopes: a
readkey can call every GET endpoint and read-only MCP tools; anactkey is needed for every POST and DELETE and for acting tools. Strong actions also need a key created with Allow strong actions. - Plan: the REST API and MCP need the Business plan, Managed SOC or the free trial (402 otherwise). Webhooks are on Business too.
Quick start
- In the dashboard, open Settings → API keys and create a key. Copy it now; it is stored only as a hash.
- List your devices:
curl https://soc.cehpoint.co.in/v1/servers \ -H "Authorization: Bearer cehs_live_..." - List open alerts and the actions they offer:
curl "https://soc.cehpoint.co.in/v1/alerts?status=open" \ -H "Authorization: Bearer cehs_live_..."
REST API
Base address: https://soc.cehpoint.co.in/v1. Requests and responses are JSON. The REST API is part of the Business and Managed plans, and of the free trial.
Authentication
Create an API key in Settings → API keys in the dashboard. Send it in the Authorization header:
curl https://soc.cehpoint.co.in/v1/servers \
-H "Authorization: Bearer cehs_live_..."
- Each key has a scope: read or act. GET endpoints accept either. Every POST and DELETE needs an act key.
- Strong actions (
end_ssh_sessions,stop_container,kill_process,quarantine_cron, and on computerswin_install_updates,win_rdp_off,mac_install_updates,mac_remote_login_off) also need a key created with Allow strong actions ticked. - You can revoke a key at any time. Every action is logged; each key shows when it was last used.
- We store keys only as hashes, so copy a new key when it is shown.
| Method and path | Purpose | Key |
|---|---|---|
POST /v1/enroll-codes | Create a one-time install code | act |
GET /v1/servers | List servers | read or act |
GET /v1/servers/{id}/software | Vulnerable software and projects on one device | read or act |
GET /v1/alerts | List alerts | read or act |
GET /v1/alerts/{id} | Get one alert | read or act |
GET /v1/alerts/{id}/report | Incident report with evidence | read or act |
POST /v1/alerts/{id}/actions | Take an action on an alert | act |
POST /v1/alerts/{id}/resolve | Resolve an alert | act |
POST /v1/checks | Start a fresh security check | act |
GET /v1/intel | Threat intel: attackers for 7 days, daily totals for 14 days | read or act |
GET /v1/blocks | List blocked addresses | read or act |
POST /v1/blocks | Block an address | act |
DELETE /v1/blocks/{ip} | Unblock an address | act |
GET /v1/reports/automation | Automation summary | read or act |
Field values in the examples below are examples. Times are ISO 8601 in UTC.
POST /v1/enroll-codes
Creates a one-time code for connecting a device. The code is valid for 30 minutes. Send {"type":"windows"} or {"type":"mac"} as the JSON body to get the command for a computer; without a body you get a Linux server code.
curl -X POST https://soc.cehpoint.co.in/v1/enroll-codes \
-H "Authorization: Bearer cehs_live_..."
Response:
{
"type": "server",
"code": "CEH-7K2P-9QXM",
"expires_at": "2026-11-27T19:30:00.000Z",
"command": "curl -fsSL https://soc.cehpoint.co.in/install | sudo bash -s -- --code CEH-7K2P-9QXM",
"command_with_antivirus": "curl -fsSL https://soc.cehpoint.co.in/install | sudo bash -s -- --code CEH-7K2P-9QXM --antivirus",
"where": "the server, as root"
}
GET /v1/servers
Lists your servers and computers with their status, health, automation level and score. Each item has a type: server, windows or mac. Computers appear here on the Business plan and in the trial.
curl https://soc.cehpoint.co.in/v1/servers \
-H "Authorization: Bearer cehs_live_..."
Response:
{
"servers": [
{
"id": 12,
"name": "web-1",
"type": "server",
"hostname": "web-1",
"ip": "203.0.113.10",
"os": "Ubuntu 24.04.1 LTS",
"agent": "2.0f",
"level": "guard",
"created_at": "2026-11-20T09:14:02.000Z",
"last_seen": "2026-11-27T18:01:40.000Z",
"online": true,
"cpu": 12.5,
"mem": 41.2,
"disk": 63.0,
"security_updates": 0,
"last_check": "2026-11-27T06:00:12.000Z",
"open_alerts": 2,
"score": 83
}
]
}
level is watch, guard or full. cpu, mem and disk are percentages.
GET /v1/servers/{id}/software
Vulnerable software and projects found on one device. It works for computers too; the path says servers.
curl https://soc.cehpoint.co.in/v1/servers/12/software \
-H "Authorization: Bearer cehs_live_..."
Response:
{
"server_id": 12,
"server": "web-1",
"type": "server",
"checked_at": "2026-11-28T03:00:12.000Z",
"packages_checked": 1460,
"vulnerable_count": 3,
"actively_exploited_count": 1,
"findings": [
{
"ecosystem": "npm",
"name": "next",
"version": "15.1.6",
"fixed_in": "15.5.29",
"severity": "critical",
"actively_exploited": true,
"issues": 40,
"cves": ["CVE-2025-29927", "..."],
"where": "/var/www/demo-shop/package-lock.json",
"upgrade": "npm install next@15.5.29"
}
],
"projects": [
{ "file": "/var/www/demo-shop/package-lock.json", "eco": "npm", "libraries": 412, "vulnerable": 2, "actively_exploited": 1 }
]
}
| ecosystem | system, npm, Packagist, PyPI, Go, crates.io, RubyGems |
|---|---|
| fixed_in | The newest fixed version in the same major version line |
| issues | How many known vulnerabilities affect this version |
| upgrade | The command that installs the fixed version |
GET /v1/alerts
Lists alerts, open ones first. Query parameters: status = open, resolved or all; limit (default 200).
curl "https://soc.cehpoint.co.in/v1/alerts?status=open" \
-H "Authorization: Bearer cehs_live_..."
Response:
{
"alerts": [
{
"id": 481,
"server_id": 12,
"server": "web-1",
"severity": "high",
"kind": "login",
"title": "New login as root from 198.51.100.7 (password)",
"why": "This address has not signed in to your servers before...",
"status": "open",
"handled_automatically": false,
"count": 1,
"first_seen": "2026-11-27T17:58:03.000Z",
"last_seen": "2026-11-27T17:58:03.000Z",
"resolved_at": null,
"resolved_by": null,
"actions": [
{ "action": "trust_ip", "label": "It was us: trust this address", "args": { "ip": "198.51.100.7" }, "risk": "none" },
{ "action": "end_ssh_sessions", "label": "End its SSH sessions", "args": { "ip": "198.51.100.7" }, "risk": "strong" },
{ "action": "block_ip", "label": "Block it on all my servers", "args": { "ip": "198.51.100.7", "days": 30 }, "risk": "safe" }
],
"detail": { }
}
]
}
| severity | critical, high, medium, info |
|---|---|
| kind | attack, posture, malware, login, change, availability, updates, capacity, certificates, hygiene, web, vulnerability, compromise |
| actions[].risk | none, safe or strong |
| detail | Extra facts about the alert. Its fields depend on the kind. |
GET /v1/alerts/{id}
Returns one alert object, in the same shape as above.
curl https://soc.cehpoint.co.in/v1/alerts/481 \
-H "Authorization: Bearer cehs_live_..."
GET /v1/alerts/{id}/report
The incident report for an alert, with its timeline and evidence. A read key is enough.
curl https://soc.cehpoint.co.in/v1/alerts/512/report \
-H "Authorization: Bearer cehs_live_..."
Response (shape; values are examples):
{
"generated_at": "2026-11-28T09:12:00.000Z",
"alert": { "id": 512, "kind": "compromise", "severity": "critical", "title": "...", "status": "open" },
"device": { "name": "web-1", "type": "server", "os": "Ubuntu 24.04.1 LTS", "ip": "203.0.113.10", "agent": "2.0f" },
"timeline": [
{ "at": "2026-11-28T09:01:05.000Z", "what": "First seen" }
],
"evidence": [
{
"id": 77,
"captured_at": "2026-11-28T09:01:05.000Z",
"kind": "process",
"sha256": "...",
"intact": true,
"data": { },
"deleted_at": null,
"deleted_by": null
}
]
}
intact is true when the evidence still matches its fingerprint. After evidence is deleted, deleted_at and deleted_by are filled in.
POST /v1/alerts/{id}/actions act
Takes one of the actions in the alert's actions list. This works for servers and computers; a computer picks the action up at its next check-in, about a minute while it is on. Two special actions can be used when the alert offers them: accept closes the alert as fine, and trust_ip adds the address to your trusted list. Strong actions need a key with Allow strong actions, or the call returns 403.
curl -X POST https://soc.cehpoint.co.in/v1/alerts/481/actions \
-H "Authorization: Bearer cehs_live_..." \
-H "Content-Type: application/json" \
-d '{"action":"block_ip"}'
Response:
{
"ok": true,
"result": "Blocking 198.51.100.7 on 3 servers (takes effect within a minute)."
}
For block_ip the response has ok and result only. For other actions it also has an action_id, and result reads like "Sent to web-1; it runs within a minute." If you use webhooks, you get an action.completed event when it finishes.
POST /v1/alerts/{id}/resolve act
Marks the alert as resolved.
curl -X POST https://soc.cehpoint.co.in/v1/alerts/481/resolve \
-H "Authorization: Bearer cehs_live_..."
Response:
{ "ok": true }
POST /v1/checks act
Starts a fresh security check on a server. It starts within a minute and takes 2 to 15 minutes. For a computer, it asks for a full check at its next check-in (about a minute while it is on). The response carries the latest finished report.
curl -X POST https://soc.cehpoint.co.in/v1/checks \
-H "Authorization: Bearer cehs_live_..." \
-H "Content-Type: application/json" \
-d '{"server_id":12}'
Response:
{
"ok": true,
"action_id": 9032,
"message": "A fresh security check starts within a minute and takes 2 to 15 minutes. The report below is the latest one.",
"report": {
"server": "web-1",
"checked_at": "2026-11-27T06:00:12.000Z",
"score": 83,
"checks": [
{ "id": "password", "title": "Password login from the internet closed", "ok": false },
{ "id": "tmp_exec", "title": "Programs sitting in temp folders", "ok": true, "severity": "ok", "count": 0, "items": [], "ok_text": "...", "what": "..." }
]
}
}
GET /v1/intel
The addresses attacking your servers, with their attempts, country and network, for the last 7 days, and daily totals for the last 14 days.
curl https://soc.cehpoint.co.in/v1/intel \
-H "Authorization: Bearer cehs_live_..."
Response:
{
"attackers": [
{
"ip": "198.51.100.7",
"attempts": 1840,
"servers": 2,
"last_seen": "2026-11-27T17:40:00.000Z",
"country": "NL",
"network": "Example Hosting BV",
"network_type": "cloud / hosting",
"blocked": true
}
],
"countries": [ { "country": "NL", "attempts": 1840 } ],
"daily": [ { "day": "2026-11-26", "n": 3120 } ]
}
Blocks
GET /v1/blocks
Lists blocked addresses. by is auto when the agent blocked it by itself.
curl https://soc.cehpoint.co.in/v1/blocks \
-H "Authorization: Bearer cehs_live_..."
Response:
{
"blocks": [
{
"ip": "198.51.100.7",
"reason": "password guessing on web-1 (25 tries today)",
"until": "2026-12-04T17:40:00.000Z",
"by": "auto"
}
]
}
POST /v1/blocks act
Blocks an address on all your servers for the number of days you set.
curl -X POST https://soc.cehpoint.co.in/v1/blocks \
-H "Authorization: Bearer cehs_live_..." \
-H "Content-Type: application/json" \
-d '{"ip":"198.51.100.7","days":7}'
Response (servers is how many servers get the block):
{ "ok": true, "servers": 3 }
DELETE /v1/blocks/{ip} act
Removes a block.
curl -X DELETE https://soc.cehpoint.co.in/v1/blocks/198.51.100.7 \
-H "Authorization: Bearer cehs_live_..."
Response:
{ "ok": true }
GET /v1/reports/automation
What was found, what was handled automatically and what needs you. Set the period with days (default 7).
curl "https://soc.cehpoint.co.in/v1/reports/automation?days=7" \
-H "Authorization: Bearer cehs_live_..."
Response:
{
"days": 7,
"found": [ { "kind": "attack", "n": 4 } ],
"handled_automatically": [
{ "verb": "block_ip", "status": "done", "n": 57 },
{ "verb": "security_updates", "status": "done", "n": 1 }
],
"needs_you": 2,
"blocked_addresses": 57,
"attack_attempts": 18342
}
Errors and limits
Errors return JSON with a message. Plan errors also carry a code:
{ "error": "The API is part of the Business plan.", "code": "needs_business" }
| Status | Meaning |
|---|---|
| 400 | The request is missing a field or has an invalid value |
| 401 | Missing, wrong or revoked key |
| 402 | needs_business: the API and MCP need the Business plan or the free trial. plan_inactive: your trial or plan has ended. |
| 403 | A read-only key was used for a POST or DELETE, or a strong action was asked for without Allow strong actions |
| 404 | The server, alert or block was not found |
| 409 | The request conflicts with the current state of the alert or device |
| 429 | Too many requests. Wait and try again. |
Rate limit: 120 requests per minute per key.
MCP server
The MCP server lets an AI agent work with Cehpoint SOC for you: connect a server or computer, read alerts, explain them and take actions on servers and computers. It needs the Business plan or the free trial.
- Address:
https://soc.cehpoint.co.in/mcp - Transport: Streamable HTTP. Each JSON-RPC request is a
POSTand gets a plain JSON response (no SSE stream). - Authentication: your API key in the
Authorizationheader. A read key can look; an act key can also act. Strong actions need a key with Allow strong actions.
The dashboard's Settings → MCP shows these snippets with your details.
Setup
Add this to your AI agent's or coding assistant's MCP configuration. Most MCP-capable tools accept this format; some use a slightly different file, so check your tool's help for where MCP servers go.
{
"mcpServers": {
"cehpoint-soc": {
"type": "http",
"url": "https://soc.cehpoint.co.in/mcp",
"headers": { "Authorization": "Bearer cehs_live_..." }
}
}
}
Any MCP-capable AI agent or coding assistant works: give it the address and the Authorization header.
Protocol
- Transport: Streamable HTTP. Send each JSON-RPC 2.0 message as a
POSTtohttps://soc.cehpoint.co.in/mcpwith theAuthorization: Bearerheader. Responses are plain JSON (no SSE stream). - Methods:
initialize(the server echoes yourprotocolVersion; default2025-06-18),tools/list,tools/call,ping. Notifications get no response. - A tool result has
content[0].text(the result as pretty-printed JSON) andstructuredContent(the same object). Tool errors returnisError: truewith a message incontent[0].text. - The server's instructions ask agents to check with the user before strong actions.
Example call:
POST /mcp HTTP/1.1
Host: soc.cehpoint.co.in
Authorization: Bearer cehs_live_...
Content-Type: application/json
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"list_alerts","arguments":{"status":"open"}}}
Example result (shortened):
{
"jsonrpc": "2.0",
"id": 3,
"result": {
"content": [ { "type": "text", "text": "{\n \"alerts\": [ ... ]\n}" } ],
"structuredContent": { "alerts": [ { "id": 481, "severity": "high", "kind": "login", "title": "...", "actions": [ ... ] } ] }
}
}
Tools
Every tool works for servers and computers unless noted. "Key" is the minimum key scope.
connect_server act
Creates a one-time install code (30 minutes) and returns the command to run on the device.
{ "type": "object", "properties": {
"type": { "type": "string", "enum": ["server", "windows", "mac"] },
"antivirus": { "type": "boolean" } } }
Output: the enrol code object (type, code, expires_at, command, command_with_antivirus, where) plus run_this (the command to run; includes --antivirus when asked, Linux only) and note. type defaults to server.
list_servers read
{ "type": "object", "properties": {} }
Output: { "servers": [ ... ] }, same objects as GET /v1/servers.
server_status read
{ "type": "object", "properties": { "server_id": { "type": "integer" } }, "required": ["server_id"] }
Output: the latest check report: server, checked_at, score, checks[] (see report). Error "No such server." if the id is not yours.
vulnerable_software read
{ "type": "object", "properties": { "server_id": { "type": "integer" } }, "required": ["server_id"] }
Output: same as GET /v1/servers/{id}/software, with findings capped at 80.
list_alerts read
{ "type": "object", "properties": { "status": { "type": "string", "enum": ["open", "resolved", "all"] } } }
Output: { "alerts": [ ... ] }, up to 100, same objects as GET /v1/alerts but without detail. status defaults to open.
explain_alert read
{ "type": "object", "properties": { "alert_id": { "type": "integer" } }, "required": ["alert_id"] }
Output: one full alert object, including detail and actions.
run_check act
{ "type": "object", "properties": { "server_id": { "type": "integer" } }, "required": ["server_id"] }
Output: same as POST /v1/checks.
take_action act
{ "type": "object", "properties": { "alert_id": { "type": "integer" }, "action": { "type": "string" } }, "required": ["alert_id", "action"] }
action must be one of the action values in that alert's actions list. Output: same as POST /v1/alerts/{id}/actions. Strong actions without Allow strong actions are refused; approve them in the dashboard instead.
block_ip act
{ "type": "object", "properties": { "ip": { "type": "string" }, "days": { "type": "integer" } }, "required": ["ip"] }
Blocks the address on all your servers; days defaults to 7. Output: same as POST /v1/blocks. Trusted addresses, addresses seen in the first 15 minutes after a device was installed, and addresses marked "It was us" are never blocked.
Example prompt
Connect this server to Cehpoint SOC and fix what it finds.
Webhooks
Add your address in Settings → Webhooks in the dashboard. Only https:// addresses on public networks are accepted. The Test button sends an event called test. We send a JSON POST for these events:
| Event | When | data fields |
|---|---|---|
alert.opened | A new alert is raised | id, server, server_id, severity, kind, title, why |
alert.resolved | An alert is resolved | id, server, server_id, title, by |
action.completed | An action finished on a server or computer | id, server, server_id, action, args, ok, result, by |
server.offline | A server stopped reporting | server, server_id, last_seen |
Headers
X-Cehpoint-Event: the event name, for examplealert.opened.X-Cehpoint-Signature:sha256=followed by the hex HMAC-SHA256 of the raw request body, made with your webhook secret.
Example payload
POST /cehpoint/webhook HTTP/1.1
Content-Type: application/json
X-Cehpoint-Event: alert.opened
X-Cehpoint-Signature: sha256=9f2c...e41a
{
"event": "alert.opened",
"at": "2026-11-27T18:02:11.000Z",
"data": {
"id": 481,
"server": "web-1",
"server_id": 12,
"severity": "high",
"kind": "login",
"title": "New login as root from 198.51.100.7 (password)",
"why": "This address has not signed in to your servers before..."
}
}
Verify the signature
Always check the signature on the raw body before you parse it. Compare in constant time.
Node.js (Express)
const crypto = require("crypto");
const express = require("express");
const app = express();
const SECRET = process.env.CEHPOINT_WEBHOOK_SECRET;
app.post("/cehpoint/webhook", express.raw({ type: "application/json" }), (req, res) => {
const got = req.get("X-Cehpoint-Signature") || "";
const want = "sha256=" + crypto.createHmac("sha256", SECRET).update(req.body).digest("hex");
const ok = got.length === want.length &&
crypto.timingSafeEqual(Buffer.from(got), Buffer.from(want));
if (!ok) return res.status(401).end();
const event = req.get("X-Cehpoint-Event");
const { at, data } = JSON.parse(req.body.toString("utf8"));
console.log(event, at, data);
res.status(200).end();
});
app.listen(3000);
Python (Flask)
import hashlib, hmac, json, os
from flask import Flask, request, abort
app = Flask(__name__)
SECRET = os.environ["CEHPOINT_WEBHOOK_SECRET"].encode()
@app.post("/cehpoint/webhook")
def cehpoint_webhook():
raw = request.get_data()
want = "sha256=" + hmac.new(SECRET, raw, hashlib.sha256).hexdigest()
got = request.headers.get("X-Cehpoint-Signature", "")
if not hmac.compare_digest(got, want):
abort(401)
event = request.headers.get("X-Cehpoint-Event")
body = json.loads(raw)
print(event, body["at"], body["data"])
return "", 200
Retries
Reply with a 2xx status to confirm. If delivery fails, we try up to 3 times in all.
Alert kinds and severities
Severities
critical, high, medium, info.
Kinds
kind | Typical examples |
|---|---|
attack | Attacks such as password guessing |
posture | Weak settings, such as password login open to the internet |
malware | Miners, programs in temp folders, web shells, rootkit signs |
login | Logins from addresses not seen before |
change | New ports, containers, services, scheduled tasks, SSH keys, root users |
availability | Crashed services, a device that stopped reporting |
updates | Security updates waiting, pending reboots |
capacity | Disk, CPU or memory |
certificates | Certificates close to expiry |
hygiene | Findings of the 6-hourly security check |
web | Leaked paths on hosted websites |
vulnerability | Vulnerable system packages and project libraries |
compromise | Signs a device is already compromised (evidence kept; see incident report) |
Severities of compromise alerts
critical: in-memory program, remote-control shell, encoded PowerShell, WMI rule, Defender could not remove, suspicious Mac launch entry,ld.so.preloadchange.high: program whose file was deleted, wiped login records, temp-folder program on the internet, shell with an internet connection, cleared event log, temp or hidden program on a Mac, new or changed SSH key file, cron, Windows Run key, Startup folder, user LaunchAgents.medium: Defender found and removed something; other new startup entries (services, tasks, daemons).
Action verbs
An alert's actions list says which verbs you can send for it; send only those. safe verbs may run automatically in Guard. strong verbs run only in Full auto (servers), by a person in the dashboard, or by a key with Allow strong actions. Every verb is a fixed, named operation; there is no "run any command".
Special actions (any device, when the alert offers them)
accept: close the alert as fine ("This is fine", "This is ours").trust_ip: add the address to your trusted list ("It was us").
Linux server
| Verb | Risk | What it does |
|---|---|---|
block_ip | safe | Block an address in the agent's own firewall table |
unblock_ip | safe | Remove a block |
end_ssh_sessions | strong | End the SSH sessions of a login |
stop_container | strong | Stop a container |
kill_process | strong | Stop a process and quarantine its file. For compromise alerts the process is only stopped; its file is never moved, and quarantine never touches system paths. |
quarantine_cron | strong | Disable a scheduled task |
restart_unit | safe | Restart a systemd service |
pm2_restart | safe | Restart a pm2 app |
certbot_renew | safe | Renew certificates |
security_updates | safe | Install security updates |
cleanup_disk | safe | Remove old logs (journal over 7 days), the apt cache and unused Docker image layers; never touches containers |
run_hygiene | safe | Start a security check now (read-only, lowest priority) |
Quarantined files stay in /var/lib/cehpoint-soc/quarantine for review or manual restore; restoring is not offered as an action.
Windows computer
| Verb | Risk | What it does |
|---|---|---|
block_ip | safe | Block an address that keeps failing to sign in, in Windows Firewall |
win_firewall_on | safe | Turn the firewall on |
win_defender_on | safe | Turn Microsoft Defender protection on |
win_defender_update | safe | Update Defender's definitions |
win_defender_scan | safe | Run a Defender quick scan |
win_smb1_off | safe | Turn off SMBv1 |
win_uac_on | safe | Turn User Account Control on (after restart) |
win_install_updates | strong | Install the missing security updates (never restarts) |
win_rdp_off | strong | Turn off Remote Desktop |
Mac
| Verb | Risk | What it does |
|---|---|---|
mac_firewall_on | safe | Turn the firewall on |
mac_gatekeeper_on | safe | Turn Gatekeeper on |
mac_autoupdate_on | safe | Turn on automatic security updates |
mac_remote_login_off | strong | Turn off Remote Login (SSH) |
mac_install_updates | strong | Install the macOS security updates (no automatic restart) |
Recipes
Create a ticket for every critical alert
Receive alert.opened webhooks, verify the signature (see Webhooks), and open a ticket when data.severity is critical.
// Node.js (Express), after the signature check in the Webhooks section
const { at, data } = JSON.parse(req.body.toString("utf8"));
if (req.get("X-Cehpoint-Event") === "alert.opened" && data.severity === "critical") {
await createTicket({ // your ticketing call
title: `[${data.server}] ${data.title}`,
body: `${data.why}\n\nKind: ${data.kind}\nAlert id: ${data.id}\nOpened: ${at}`,
});
}
Nightly vulnerable-library report for all projects
# Python 3, run from cron once a night. Needs a read key.
import json, urllib.request
BASE = "https://soc.cehpoint.co.in/v1"
KEY = "cehs_live_..."
def get(path):
req = urllib.request.Request(BASE + path, headers={"Authorization": "Bearer " + KEY})
return json.load(urllib.request.urlopen(req))
for s in get("/servers")["servers"]:
sw = get(f"/servers/{s['id']}/software")
for f in sw["findings"]:
flag = " ACTIVELY EXPLOITED" if f["actively_exploited"] else ""
print(f"{s['name']}\t{f['severity']}\t{f['name']} {f['version']} -> {f['fixed_in']}\t{f['where']}\t{f['upgrade']}{flag}")
Stay under 120 requests a minute: with many devices, add a short pause between calls.
Let an AI agent triage and run safe fixes
- Create an
actkey without "Allow strong actions", and add the MCP server to your agent (see Setup). - Give it a standing instruction, for example:
Call list_alerts. For each alert, call explain_alert and summarise it in one line. If an offered action has risk "safe", run it with take_action and report the result. For anything else, do not act: list it for me with your recommendation. - Strong actions are refused for this key, so they stay with a person in the dashboard.
Versioning
- The REST API is versioned in the path (
/v1). New fields and endpoints may be added within v1, so ignore fields you do not know. Changes are listed in the changelog. - Agents update themselves and report their version in the
agentfield. Current: Linux2.0f, Windowswin-1.8, Macmac-1.7. - This reference is Version 1.0, 28 November 2026. The human guide is at agentic-soc-docs.
Changelog
Documentation 2.0 · 28 November 2026
The documentation is split in two: the guide for people, and this developer reference (Version 1.0) for developers and AI agents. MCP tools are documented with their exact input schemas; alert kinds and action verbs per operating system are listed.
v1.4 · 28 November 2026
Accuracy corrections. What the agent collects is now listed in full; which addresses are never blocked (trusted, first-15-minute learning window, "It was us"); exact compromise severities; Windows installs ask for permission themselves (no "Run as administrator" step); disk cleanup never touches containers; Linux servers read all nine lock-file types within search limits; "Delete evidence" also clears the copy in the alert; what is deleted and kept 14 days after a plan ends; yearly refunds; API details (400 and 409 errors, block_ip response, threat-intel periods). Linux agent 2.0f.
v1.3 · 28 November 2026
Compromise detection: signs that a device is already hacked, checked every minute on Linux servers and every 15 minutes on Windows and Mac. Evidence is kept with a SHA-256 fingerprint, every alert has an incident report, and evidence can be deleted once the investigation is closed. New GET /v1/alerts/{id}/report endpoint. Agents: Linux 2.0e, Windows win-1.8, Mac mac-1.7.
v1.2 · 28 November 2026
Vulnerable software and projects: servers report system packages and app lock files, and computers find developer projects, once a day. Each package is checked against OSV.dev and the CISA Known Exploited Vulnerabilities list, with the exact upgrade command. New GET /v1/servers/{id}/software endpoint and vulnerable_software MCP tool. Alert emails come from Cehpoint Security <security@mail.cehpoint.com>.
v1.1 · 28 November 2026
Computers check in every minute and report each fix as soon as it is done; installing updates runs in the background. Agents update themselves within about a minute of a new signed release. Alerts by your own Resend email, Slack, Microsoft Teams, Discord and Telegram. The dashboard shows the progress of every fix.
v1.0 · 27 November 2026
Launch: Linux server agent with Watch, Guard and Full auto levels; agent for Windows 10/11 and macOS 13+ computers with a vulnerability view and one-click fixes; dashboard, REST API, webhooks and MCP server.