-
Notifications
You must be signed in to change notification settings - Fork 2
fix: improvements #1
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
Merged
Merged
Conversation
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
dmurray-lacework
previously approved these changes
Nov 7, 2023
PengyuanZhao
reviewed
Nov 7, 2023
I tested again but on a delegated account in the org. There is a problem with Lacework assuming the role - could this be the externalID problem that Jeff ran into? |
dmurray-lacework
approved these changes
Nov 8, 2023
afiune
added a commit
that referenced
this pull request
Nov 16, 2023
``` Result #1 HIGH IAM policy document uses wildcarded action 's3:*' ──────────────────────────────────────────────────────────────────────────────── main.tf:107-109 ──────────────────────────────────────────────────────────────────────────────── 94 data "aws_iam_policy_document" "lacework_copy_zip_files_role" { .. 107 ┌ actions = [ 108 │ "s3:*", 109 └ ] ... 118 } ``` Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
afiune
added a commit
that referenced
this pull request
Nov 16, 2023
``` Result #1 HIGH IAM policy document uses sensitive action 's3:PutObject' on wildcarded resource 'ec025b26-4ef5-4d0e-80f7-b02f25e7c851' ──────────────────────────────────────────────────────────────────────────────── main.tf:115-118 ──────────────────────────────────────────────────────────────────────────────── 96 data "aws_iam_policy_document" "lacework_copy_zip_files_role" { .. 115 ┌ resources = [ 116 │ aws_s3_bucket.lacework_org_lambda.arn, 117 │ "${aws_s3_bucket.lacework_org_lambda.arn}/*", 118 └ ] ... 122 } ``` Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
afiune
added a commit
that referenced
this pull request
Nov 16, 2023
* fix: more and more fixes Signed-off-by: Salim Afiune Maya <afiune@lacework.net> * fix: validation error messages Signed-off-by: Salim Afiune Maya <afiune@lacework.net> * ci: fix example org_unit_id Signed-off-by: Salim Afiune Maya <afiune@lacework.net> * ci: fix org_unit_id Signed-off-by: Salim Afiune Maya <afiune@lacework.net> * fix: high vulnerability fix ``` Result #1 HIGH IAM policy document uses wildcarded action 's3:*' ──────────────────────────────────────────────────────────────────────────────── main.tf:107-109 ──────────────────────────────────────────────────────────────────────────────── 94 data "aws_iam_policy_document" "lacework_copy_zip_files_role" { .. 107 ┌ actions = [ 108 │ "s3:*", 109 └ ] ... 118 } ``` Signed-off-by: Salim Afiune Maya <afiune@lacework.net> * fix: high vulnerability n.2 fix ``` Result #1 HIGH IAM policy document uses sensitive action 's3:PutObject' on wildcarded resource 'ec025b26-4ef5-4d0e-80f7-b02f25e7c851' ──────────────────────────────────────────────────────────────────────────────── main.tf:115-118 ──────────────────────────────────────────────────────────────────────────────── 96 data "aws_iam_policy_document" "lacework_copy_zip_files_role" { .. 115 ┌ resources = [ 116 │ aws_s3_bucket.lacework_org_lambda.arn, 117 │ "${aws_s3_bucket.lacework_org_lambda.arn}/*", 118 └ ] ... 122 } ``` Signed-off-by: Salim Afiune Maya <afiune@lacework.net> * fix: bucket Signed-off-by: Salim Afiune Maya <afiune@lacework.net> --------- Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
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.
Summary
Fixing all of the problems.
How did you test this change?
AWS Org
Issue
https://lacework.atlassian.net/browse/GROW-2529