スキップしてコンテンツを表示

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回答
1
承認された回答

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
エキスパート
回答済み 2年前
エキスパート
レビュー済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ