Skip to content

Conversation

afiune
Copy link
Contributor

@afiune afiune commented Nov 16, 2023

Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
```
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>
```
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>
Signed-off-by: Salim Afiune Maya <afiune@lacework.net>
@afiune afiune changed the title fix: more fixes fix: more and more fixes Nov 16, 2023
@afiune afiune merged commit e112df9 into main Nov 16, 2023
This was referenced Nov 16, 2023
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

Successfully merging this pull request may close these issues.

2 participants