Salta al contenuto

AWS API Gateway Mock Integration Cost/Risk

0

What use is the mock integration and does it cost if there are responses etc? Just curious if it is a security risk with having these mock integrations as unauthorised and if they can be abused similar to other endpoints.

1 Risposta
1
Risposta accettata

Mock integrations are just like any other integration, with the difference that they return a fixed value and do not actually invoke a backend. They can be used for testing your API, but for other things as redirecting one endpoint to another.

You should protect it as you protect any other endpoint. There are cases when you need to protect and others when you do not. It depends on the specific use case.

Mock integrations cost the same as any other endpoint (from API Gateway's point of view), but there is no additional cost for a backend.

AWS
ESPERTO
con risposta 2 anni fa
ESPERTO
verificato 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.