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

AccessDeniedException InvokeFunction #1338

Open
rsavjani opened this issue Dec 5, 2022 · 0 comments
Open

AccessDeniedException InvokeFunction #1338

rsavjani opened this issue Dec 5, 2022 · 0 comments

Comments

@rsavjani
Copy link

rsavjani commented Dec 5, 2022

Background

Running latest version of StreamAlert with 1 cluster

Description

When AlertMerger invokes the alert processor it gets IAM access denied based on the policy StreamAlert created.
Its missing the :production tag on the policy. See below:

[ERROR] ClientError: An error occurred (AccessDeniedException) when calling the Invoke operation: User: arn:aws:sts::xxxxxxxxxxx:assumed-role/xxxxx_streamalert_alert_merger_role/xxxxxx_streamalert_alert_merger is not authorized to perform: lambda:InvokeFunction on resource: arn:aws:lambda:eu-west-2:xxxxxxxxx:function:xxxxxx_streamalert_alert_processor:production because no identity-based policy allows the lambda:InvokeFunction action

Steps to Reproduce

Do action that triggers a rule

Desired Change

Code change to fix IAM policy

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

No branches or pull requests

1 participant