[Improvement]: Support multiple JSONPaths in the AWS Bedrock Guardrail policy

Aperta
#4,211 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
aws, go
Ambito
api

Direzione di ricerca

The payload names no files, so start by finding the AWS Bedrock Guardrail policy in the gateway code and how its JSONPath policy parameter is currently read and applied. Decide what counts as a valid hit when several paths are tried in order, and confirm that choice with the maintainers before coding. Done means a list of paths is accepted, evaluated in sequence until one matches, and covered by tests for the first-match, no-match, and single-path cases.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Aspect/AI Type/Improvement
Please select the area the issue is related to

Gateway

Please select the aspect the issue is related to

Aspect/AI (AI/LLM integration, MCP, AI readiness)

Suggested Improvement

Under the policy params add a list of json paths and evaluate them as per the sequence until we get a valid hit More robust use case is to have a map where we define json path for different operations but this is getting ruled out with operational policies we have in place.

Related Issues

No response

Lingua principale
Go
Stelle
85
Fork
137
Merge medio
1g 12h
PR unite (30g)
247

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wso2/api-platform

Tutte le issue di wso2/api-platform

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.