Open robinsmidsrod opened 1 year ago
Thanks for contributing to Checkov! We've automatically marked this issue as stale to keep our issues list tidy, because it has not had any activity for 6 months. It will be closed in 14 days if no further activity occurs. Commenting on this issue will remove the stale tag. If you want to talk through the issue or help us understand the priority and context, feel free to add a comment or join us in the Checkov slack channel at https://slack.bridgecrew.io Thanks!
The problem statement above still stands. This is still relevant.
Thanks for contributing to Checkov! We've automatically marked this issue as stale to keep our issues list tidy, because it has not had any activity for 6 months. It will be closed in 14 days if no further activity occurs. Commenting on this issue will remove the stale tag. If you want to talk through the issue or help us understand the priority and context, feel free to add a comment or join us in the Checkov slack channel at codifiedsecurity.slack.com Thanks!
I'd still like to get this issue resolved.
Hi @robinsmidsrod , thanks for reaching out. Unfortunately, I don’t see any engagement on this issue, so it will likely have a very low priority among the many other issues we have. Would you like to contribute a fix? It would be much appreciated 🙂
Unfortunately I'm not very well versed in Python, so I'd have to have help from someone else to fix this.
@robinsmidsrod It seems like you’ve found the relevant check file. I’d suggest using an AI tool to assist with the fix; it shouldn’t be very difficult, I'm saying it without diving into the details. Worth the shot 🙂
Describe the issue
I'm getting this check failure:
In https://github.com/bridgecrewio/checkov/blob/b47dc024fd42dbec5f6cc27c5bd3b5f57ca09421/checkov/arm/checks/resource/CustomRoleDefinitionSubscriptionOwner.py#L34 I notice there is an
in
check instead of an equals check on the*
symbol. Adding all permissions explicitly makes for a very long list, and quite tricky to manage. Some amount of wildcard usage is commonly seen in Microsoft documentation, so I wouldn't consider it bad practice.I'd also change the text here and there to name it
role definition
, not justrole
.Examples
This fails the above check, and since it doesn't contain a single
*
in the actions parameter, I wouldn't expect it to fail.Version (please complete the following information):
Docker hub image bridgecrew/checkov:2 as of 2022-12-29 03:50.