-
Notifications
You must be signed in to change notification settings - Fork 94
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
Custom config file is not parsed correctly #147
Comments
Looks like there are two issues at play:
That will get to the correct elements within the finding structure, but because a single finding can now contain the issues related to multiple actions, filtering that becomes much more difficult. For example, let's say we have the following policy:
This will generate the finding:
Notice that the
It will mute this entire finding. So we'd have to somehow extract out the action we want to mute maybe? This will be a mess to fix unfortunately, and I think the best way forward is likely for me to remove this |
So Ive ran into a similar probelm; When parsing an IAM role trust policy I found the below comment: parliament/parliament/statement.py Line 681 in df6d93a
The above line leads me to believe that IAM role trust policies will raise findings like |
Hello!
Example policy:
custom_config.yaml:
It looks like jsoncfg.node_is_array(config_node) doesn't recognize list as list.
The text was updated successfully, but these errors were encountered: