{"uid":"cap_vM7b9nufzJEjd4pPanptx","slug":"brainiac-security-control-coverage-gap-analyzer-811acf2f","name":"BRAINIAC Security Control Coverage Gap Analyzer","description":"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.","url":"https://www.brainiac.software/api/v1/security/security-control-coverage-gap?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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"],"type":"string"},"name":{"type":"string","maxLength":200,"minLength":1},"zone_id":{"type":"string","maxLength":120,"minLength":1}},"additionalProperties":false},"maxItems":500},"requirements":{"type":"array","items":{"type":"object","required":["id","text","required_control_kinds"],"properties":{"id":{"type":"string","maxLength":120,"minLength":1},"text":{"type":"string","maxLength":500,"minLength":1},"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},"evidence_required":{"type":"boolean"},"required_control_kinds":{"type":"array","items":{"enum":["encryption_in_transit","encryption_at_rest","authentication","authorization","network_policy","tokenization","logging","other"],"type":"string"},"maxItems":20,"minItems":1}},"additionalProperties":false},"maxItems":500,"minItems":1}}},"responseSchema":{"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…"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W4VevqySd9nkSzrKSg0uh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a declared set of security controls, components, zones, and requirements to identify coverage gaps and insufficient evidence.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Compliance gap audit before SOC 2 review","prompt":"Before our SOC 2 audit, check whether our declared controls cover all our stated requirements. We have three zones — prod (trust 100), staging (trust 60), dev (trust 20) — services like api-gateway and user-db in prod, controls for encryption_in_transit and authentication on api-gateway, and a requirement that all datastores must have encryption_at_rest. Flag anything missing or lacking evidence."},{"title":"Zero-trust architecture validation","prompt":"We're rolling out a zero-trust model and need to know where our control coverage falls short. I have five zones all at trust level 0, 12 services, controls for network_policy and authorization declared on some of them, and requirements that every service must have both authorization and logging. Can you identify which services are unprotected and which controls are missing evidence?"},{"title":"Data flow encryption coverage check","prompt":"I need to verify that all our sensitive data flows have encryption_in_transit controls in place. We have flows between our client zone (trust 10) and API gateway (trust 80), controls declared for some but not all flows, and a requirement that every client-to-gateway flow must be encrypted. Show me which flows are uncovered and what evidence gaps exist."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T18:34:58.940Z","isFirstParty":false,"canonicalSlug":"brainiac-security-control-coverage-gap-analyzer-811acf2f"}