mirror of
https://github.com/kharonsec/br-acc
synced 2026-04-25 17:15:02 +02:00
1.3 KiB
1.3 KiB
Public Endpoint Matrix
Public-safe defaults
PUBLIC_MODE=truePUBLIC_ALLOW_PERSON=falsePUBLIC_ALLOW_ENTITY_LOOKUP=falsePUBLIC_ALLOW_INVESTIGATIONS=falsePATTERNS_ENABLED=false
Endpoint behavior
| Endpoint | Behavior with public-safe defaults |
|---|---|
GET /api/v1/entity/{cpf_or_cnpj} |
403 (Entity lookup endpoint disabled in public mode) |
GET /api/v1/entity/by-element-id/{id} |
403 (Entity lookup endpoint disabled in public mode) |
GET /api/v1/entity/{id}/connections |
Person/Partner targets filtered out |
GET /api/v1/search |
Person/Partner results filtered out |
GET /api/v1/graph/{entity_id} |
Person/Partner center blocked, person nodes filtered |
GET /api/v1/patterns/{entity_id} |
503 (Pattern engine temporarily unavailable pending validation.) |
GET /api/v1/investigations/* |
403 (Investigation endpoints disabled in public mode) |
GET /api/v1/public/meta |
Allowed |
GET /api/v1/public/patterns/company/{cnpj_or_id} |
503 while pattern engine is disabled |
GET /api/v1/public/graph/company/{cnpj_or_id} |
Allowed |
Exposure tiers
public_safe: company/contract/sanction/aggregate entities allowed in public surface.restricted: person-adjacent entities, filtered by default.