-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws lambda func url not in use #1970
base: master
Are you sure you want to change the base?
aws lambda func url not in use #1970
Conversation
Co-authored-by: Fatima <[email protected]>
Co-authored-by: Fatima <[email protected]>
Co-authored-by: Fatima <[email protected]>
Co-authored-by: Fatima <[email protected]>
Co-authored-by: Fatima <[email protected]>
Co-authored-by: Fatima <[email protected]>
Co-authored-by: Fatima <[email protected]>
Co-authored-by: Fatima <[email protected]>
|
||
if (!urlConfigs || urlConfigs.err || !urlConfigs.data) { | ||
helpers.addResult(results, 3, | ||
`Unable to query for Lambda function URL configs: ${helpers.addError(urlConfigs)}`, region, resource); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`Unable to query for Lambda function URL configs: ${helpers.addError(urlConfigs)}`, region, resource); | |
`Unable to query for Lambda function url configs: ${helpers.addError(urlConfigs)}`, region, resource); |
title: 'Lambda Function URL Not In Use', | ||
category: 'Lambda', | ||
domain: 'Serverless', | ||
severity: 'Medium', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
severity: 'Medium', | |
severity: 'Low', |
domain: 'Serverless', | ||
severity: 'Medium', | ||
description: 'Ensure that AWS Lambda functions are not configured with function URLs for HTTP(S) endpoints.', | ||
more_info: 'A function URL is a dedicated HTTP(S) endpoint created for your Amazon Lambda function. You can use a function URL to invoke your Lambda function. But it can lead to some security risks depending on the security configuration and intention of the function.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more_info: 'A function URL is a dedicated HTTP(S) endpoint created for your Amazon Lambda function. You can use a function URL to invoke your Lambda function. But it can lead to some security risks depending on the security configuration and intention of the function.', | |
more_info: 'Using function URL creates a direct HTTP(S) endpoint to function allowing public, and unauthenticated access to your function URL posing a security threat and public exposure to application. |
|
||
if (urlConfigs.data.FunctionUrlConfigs && | ||
urlConfigs.data.FunctionUrlConfigs.length){ | ||
helpers.addResult(results, 2, 'Lambda function Url is configured', region, resource); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
helpers.addResult(results, 2, 'Lambda function Url is configured', region, resource); | |
helpers.addResult(results, 2, 'Lambda function url is configured', region, resource); |
urlConfigs.data.FunctionUrlConfigs.length){ | ||
helpers.addResult(results, 2, 'Lambda function Url is configured', region, resource); | ||
} else { | ||
helpers.addResult(results, 0, 'Lambda function Url is not configured', region, resource); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
helpers.addResult(results, 0, 'Lambda function Url is not configured', region, resource); | |
helpers.addResult(results, 0, 'Lambda function url is not configured', region, resource); |
No description provided.