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

Unknown action logs:TagResource #230

Closed
dngrtech opened this issue May 4, 2023 · 4 comments
Closed

Unknown action logs:TagResource #230

dngrtech opened this issue May 4, 2023 · 4 comments

Comments

@dngrtech
Copy link

dngrtech commented May 4, 2023

While running parliament against an IAM policy document it throws an error:
LOW - Unknown action - - Unknown action logs:TagResource - {'string': 'logs:TagResource', 'line': 1, 'column': 5000, 'filepath': 'test.json'}
However, this action exists according to AWS documentation: https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TagResource.html
parliament version: 1..6.1

running update_iam_data.py didn't help, this IAM actions doesn't appear in the output.

@0xdabbad00
Copy link
Collaborator

Please ensure that reading the update_iam_data.py script replaces the existing iam_definition.json and check if that priv exists in there. I do see it in https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazoncloudwatchlogs.html

@iainelder
Copy link
Contributor

iainelder commented Jul 26, 2024

#239 fixed this specific instance by adding logs:TagResource to iam_definition.json.

#240 added @0xdabbad00 's workaround hint to the README.

But the latest release 1.6.2 doesn't include these fixes.

@rjcassara- , can we make a new release?

@iainelder
Copy link
Contributor

Version 1.63 just released which includes all the above changes! ❤️

A project admin can close this now.

@rjcassara-
Copy link
Contributor

Release 1.6.3 is up with changes

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

4 participants