Get list of paths that returned most of 401 and 403 response status codes in your API Gateway access log group.
stats count(*) as accessDeniedCount by status, path, httpMethod | filter status=403 or status=401 | limit 10
GitHub icon View this snippet on GitHub
Giedrius is a senior solutions architect focusing on serverless at Amazon Web Services based in the US.
Follow on LinkedIn