RESOURCE CATALOG
Sentinel
Traffic filtering layer with basic WAF rules.
type: "sentinel"analogous to a managed WAFDefinition
Applies filtering rules before Gateway. Two modes: warn (log only) or block (reject the request). Basic rules cover common patterns (SQLi, XSS, scanners, LFI).
When to use
- Public production applications.
- When formal OWASP Top 10 protection requirements exist.
- To mitigate abusive traffic while permanent fixes are applied.
When not to use
- Internal environments with no public exposure.
Configuration fields
Each field is validated at creation time. Defaults apply when fields are omitted.
config · sentinel
| Campo | Tipo | Default · Opções |
|---|---|---|
modo Modo | enum | avisobloquearDefault bloquear |
regras_basicas Regras básicas (SQLi, XSS, etc.) | bool | Default true |
Examples
Full payloads for POST to /api/projetos/{id}/recursos:
Warn mode for staging
json
{
"tipo": "sentinel",
"nome": "waf-stg",
"config": {
"modo": "aviso",
"regras_basicas": true
}
}