Direkt zum Inhalt

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 Antwort
1
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 2 Jahren
EXPERTE
überprüft vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.