Merged
Conversation
This list nodes permission should be added to prevent errors during execution.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I believe there is a missing permission not listed in the readme document. I get the following error:
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Audit-Id': '28a2a259-7956-44ba-b389-00559d384f75', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '411ad568-8973-41ef-bdf1-a6a22a2ca8e0', 'X-Kubernetes-Pf-Prioritylevel-Uid': '1b84519f-2062-4718-87a9-9f8940af9961', 'Date': 'Tue, 06 Feb 2024 02:03:11 GMT', 'Content-Length': '306'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"nodes is forbidden: User "arn:aws:sts::123456789012:assumed-role/prowler/i-0b4asdfasdfasdfc584" cannot list resource "nodes" in API group "" at the cluster scope","reason":"Forbidden","details":{"kind":"nodes"},"code":403}
when list nodes is not in the permissions
*Issue #, if available: N/a
Description of changes:
Add list nodes permission
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.