You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update the LocalStack sandbox steps in .github/workflows/main.yml - #10
This PR refreshes the LocalStack platform steps (between the # >>> localstack-platform markers) to match the project's current settings in job sam of .github/workflows/main.yml, for the platform project lambda-sam-authorizer. It was computed as a three-way merge onto the current file, so changes made since the adoption are kept.
Critical or High security findings on changed resources: 2
Tested the deployed SAM application in the LocalStack sandbox, including the API Gateway REST API and its custom Lambda authorizer. Requests with valid authorization ('allow') correctly passed authorization and returned 'hello world' from the backend Lambda function, while unauthorized or denied requests returned HTTP 401 and 403 status codes. Direct invocations of both the backend and authorizer Lambda functions also succeeded as expected.
Checks · 3 passed · 0 failed · 0 errored
Check
Result
Expectation
test_apigateway_authorizer
✅ passed
API Gateway REST API should be deployed and respond to requests with appropriate authorization.
test_apigateway_authorizer_deny
✅ passed
API Gateway REST API should reject requests when authorizer returns deny header or invalid token.
test_lambda_direct_invocation
✅ passed
Lambda functions should be directly invokable and return successful responses.
Security scan · 15 on changed resources
Severity
Check
Resource
Finding
High
iam_role_cross_service_confused_deputy_prevention
sam-app-MyAuthFunctionRole-3a194992
IAM Service Role sam-app-MyAuthFunctionRole-3a194992 does not prevent against a cross-service confused deputy attack.
High
iam_role_cross_service_confused_deputy_prevention
sam-app-MyFunctionRole-f65e7aec
IAM Service Role sam-app-MyFunctionRole-f65e7aec does not prevent against a cross-service confused deputy attack.
Medium
apigateway_restapi_public
sam-app-MyApi-ed21aa47
API Gateway sam-app-MyApi-ed21aa47 ID qkh6cdfec1 is internet accessible.
Medium
awslambda_function_no_dead_letter_queue
sam-app-MyAuthFunction-44b575d8
Lambda function sam-app-MyAuthFunction-44b575d8 does not have a Dead Letter Queue configured.
Medium
awslambda_function_no_dead_letter_queue
sam-app-MyFunction-1efa0e60
Lambda function sam-app-MyFunction-1efa0e60 does not have a Dead Letter Queue configured.
✅ passed · Run #11 · localstack/adopt-update-proj_b1e4056f → main @ 6754c91 · vs latest main run
✨ This CI run reflects an update to the SAM application, likely due to a code change or a SAM CLI version bump. The core Lambda functions (sam-app-MyFunction and sam-app-MyAuthFunction) and their associated IAM roles have been replaced with new versions, indicated by the new suffixes. Similarly, the API Gateway (qkh6cdfec1) and the SAM CLI's managed S3 source bucket (aws-sam-cli-managed-default-samclisourcebucket-b8475127) have also been recreated, which is typical behavior for SAM deployments when underlying resource properties change or a full redeployment is triggered.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR refreshes the LocalStack platform steps (between the
# >>> localstack-platformmarkers) to match the project's current settings in jobsamof.github/workflows/main.yml, for the platform project lambda-sam-authorizer. It was computed as a three-way merge onto the current file, so changes made since the adoption are kept.