-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 fix
aws.s3.bucket.policy
resource (#5228)
* 🐛 fix `aws.s3.bucket.policy` resource This change allows running `aws.s3.bucket.policy` when in discovery mode. ``` cnspec shell aws --discover s3-buckets ``` Also, fixes the issue discovered at #5218 where we noticed that the policy resource doesn't implement the `id()` func properly. Closes #5169 Signed-off-by: Salim Afiune Maya <afiune@mondoo.com> * 🔄 do not create bucket policy if not exists Signed-off-by: Salim Afiune Maya <afiune@mondoo.com> * 🐛 set policy to `plugin.StateIsNull` when not found Signed-off-by: Salim Afiune Maya <afiune@mondoo.com> * 🐛 fix accessing aws.s3.bucket.policy Signed-off-by: Salim Afiune Maya <afiune@mondoo.com> * 🧹 update aws.lr --------- Signed-off-by: Salim Afiune Maya <afiune@mondoo.com>
- Loading branch information
Showing
4 changed files
with
86 additions
and
53 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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