Skip to content
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 kms key fix for securityhub finding #7998

Merged
merged 3 commits into from
Nov 16, 2022

Conversation

jare19
Copy link
Contributor

@jare19 jare19 commented Nov 15, 2022

A fix for #7977 and #7960
When the lambda policy is attempting to upload the finding to securityhub, the policy run fails and ends execution.

This is the error below:
botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in Findings[0].Resources[0].Details.AwsLambdaFunction: "KMSKeyArn", must be one of: Code, CodeSha256, DeadLetterConfig, Environment, FunctionName, Handler, KmsKeyArn, LastModified, Layers, MasterArn, MemorySize, RevisionId, Role, Runtime, Timeout, TracingConfig, VpcConfig, Version[ERROR] ParamValidationError: Parameter validation failed:

@jare19 jare19 requested a review from kapilt as a code owner November 15, 2022 21:52
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 15, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: jare19 / name: Jason Reeves (fd6ea6e)

Copy link
Member

@ajkerrigan ajkerrigan left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for the fix! 👍

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