Validate PDP mappings (inline and legacy)
Where:
- Preferred: inline per-route
authz_mapinServiceConfigs/BFF/config/routes.yaml. - Legacy:
ServiceConfigs/BFF/config/pdp.yamlunderendpoint_map(during migration).
Checklist (inline authz_map)
- Route has
authz: pdpand anauthz_mapentry for each method you protect - Each method maps to
resourceandaction; optionalid_fromandpropssupported - For wildcards, ensure mapping covers the method and that any required
id_fromis available via path or body
Checklist (legacy endpoint_map)
- Path pattern matches your route (
/api/...) and method (GET/POST/etc.) resourceandactionset;id_fromextracts{param}if neededpropsextract$.fieldfrom JSON body only for POST/PUT/PATCH
Test quickly
- Call the endpoint with a sample request
- Check BFF logs for mapping debug lines from the resolver (resource/id/action/props)
- Ensure a PDP decision occurs; adjust mapping if resource/action are blank