Skip to content

fix: CWE-285 in API Gateway#1017

Merged
tbrand merged 1 commit into
aws-samples:mainfrom
konippi:fix-cwe-285-in-api-gateway
Apr 21, 2025
Merged

fix: CWE-285 in API Gateway#1017
tbrand merged 1 commit into
aws-samples:mainfrom
konippi:fix-cwe-285-in-api-gateway

Conversation

@konippi
Copy link
Copy Markdown
Contributor

@konippi konippi commented Apr 19, 2025

Description of Changes

Added default authorization settings to all API Gateway methods using defaultMethodOptions to fix CWE-285 security vulnerability.

Checklist

  • Executed npm run lint
  • Modified relevant documentation
  • Verified operation in local environment
  • Executed npm run cdk:test and if there are snapshot differences, execute npm run cdk:test:update-snapshot to update snapshots

Related Issues

N/A

Copy link
Copy Markdown
Contributor

@tbrand tbrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tbrand tbrand merged commit 798d7a2 into aws-samples:main Apr 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants