# BRAINIAC Security Control Coverage Gap Analyzer

> BRAINIAC Security Control Coverage Gap Analyzer is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-14).

Analyzes a declared set of security controls, components, zones, and requirements to identify coverage gaps and insufficient evidence.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/security/security-control-coverage-gap?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-security-control-coverage-gap-analyzer-811acf2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vM7b9nufzJEjd4pPanptx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-security-control-coverage-gap-analyzer-811acf2f -d '<json body>'
```

Example prompt: Check my security control coverage gaps — I have two zones (zone-prod with trust 90, zone-dmz with trust 50), controls for encryption_in_transit and authentication covering zone-prod, and a requirement that all zones must have encryption_in_transit. Tell me what's uncovered and what evidence is missing.

## When to prefer this

Use this endpoint when you need a fast, stateless, pay-per-call analysis of security control coverage gaps against declared requirements — without connecting to any cloud account, SIEM, or policy engine. It is ideal for agents performing architecture reviews, pre-audit checks, or compliance gap analysis purely from structured model data. Prefer this over manual review or heavyweight GRC tools when you already have your security model in structured form and need programmatic, deterministic gap findings with remediation guidance.

## Known failure modes

- Missing required fields (zone id, trust_level, control kind) return 400 validation errors
- Referencing undefined zone_ids or component_ids in controls or requirements may produce incorrect gap results
- Exceeding array size limits (500 components, 1000 controls, 2000 evidence records) will cause request rejection
- Supplying no requirements results in an empty findings array with no meaningful output
- Controls with no zone_ids or component_ids are treated as global and may mask real gaps

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with a summary (counts of gaps, controls, requirements, insufficient evidence), an array of findings (each with a severity level, finding code like 'no_effective_control' or 'insufficient_evidence', requirement ID, affected control IDs, evidence details, and a remediation recommendation), and explanations of how coverage was computed. All analysis is done from supplied data only — no cloud accounts or external policy engines are queried.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "zones": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "trust_level"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "trust_level": {
      "type": "integer",
      "maximum": 100,
      "minimum": 0
     }
    },
    "additionalProperties": false
   },
   "maxItems": 100
  },
  "controls": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "kind"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "kind": {
      "enum": [
       "encryption_in_transit",
       "encryption_at_rest",
       "authentication",
       "authorization",
       "network_policy",
       "tokenization",
       "logging",
       "other"
      ],
      "type": "string"
     },
     "flow_ids": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 120,
       "minLength": 1
      },
      "maxItems": 100
     },
     "zone_ids": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 120,
       "minLength": 1
      },
      "maxItems": 100
     },
     "component_ids": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 120,
       "minLength": 1
      },
      "maxItems": 100
     }
    },
    "additionalProperties": false
   },
   "maxItems": 1000
  },
  "evidence": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "control_id",
     "detail"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "detail": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1
     },
     "control_id": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 2000
  },
  "components": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "zone_id"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "kind": {
      "enum": [
       "service",
       "datastore",
       "gateway",
       "client",
       "queue",
       "other"
      ],
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "summary": {
   "gaps": 1,
   "controls": 1,
   "requirements": 2,
   "insufficient_evidence": 1
  },
  "findings": [
   {
    "code": "no_effective_control",
    "evidence": [
     "No supplied control covers requirement req-1 kinds encryption_in_transit in the declared scope."
    ],
    "severity": "high",
    "remediation": "Implement and declare a control of one of: encryption_in_transit.",
    "requirement_id": "req-1",
    "required_control_kinds": [
     "encryption_in_transit"
    ]
   },
   {
    "code": "insufficient_evidence",
    "evidence": [
     "Controls ctl-1 match requirement req-2, but no evidence[] rows were supplied for them."
    ],
    "severity": "medium",
    "control_ids": [
     "ctl-1"
    ],
    "remediation": "Attach evidence rows naming those control ids, or set evidence_required to false only when evidence is intentionally ou…",
    "requirement_id": "req-2"
   }
  ],
  "explanations": [
   "Coverage is computed only from supplied requirements, controls, and evidence. No policy engine or cloud account is quer…",
   "A control matches when its kind is required and, if the requirement scopes components or zones, the control lists an ov…"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-security-control-coverage-gap-analyzer-811acf2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
