Skip to content
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

add support for aws s3 account public access block #1588

Merged
merged 4 commits into from
Oct 12, 2022

Conversation

moadibfr
Copy link
Contributor

Q A
πŸ› Bug fix? no
πŸš€ New feature? yes
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues #...
❓ Documentation yes

Description

add support for aws s3 account public access block

@moadibfr moadibfr requested a review from a team as a code owner September 28, 2022 14:17
@moadibfr moadibfr requested review from muratcelep, eliecharra and wbeuil and removed request for a team September 28, 2022 14:17
enumeration/remote/aws/repository/s3control_repository.go Outdated Show resolved Hide resolved
enumeration/resource/resource_types.go Outdated Show resolved Hide resolved
pkg/cmd/scan/output/html_test.go Show resolved Hide resolved
@moadibfr moadibfr force-pushed the fea/add_aws_s3_account_public_access_block branch from 6335139 to d22ff23 Compare October 5, 2022 14:06
eliecharra
eliecharra previously approved these changes Oct 11, 2022
Copy link
Contributor

@eliecharra eliecharra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just check if we could drop the GetAccountID method from the repo maybe

cache: c,
}
}
func (s *s3ControlRepository) GetAccountID() string {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this method still used ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah sorry I pushed an half done thing for you to comment on where the accountid was injected. It's fixed now.

@moadibfr moadibfr merged commit a1427f4 into main Oct 12, 2022
@moadibfr moadibfr deleted the fea/add_aws_s3_account_public_access_block branch October 12, 2022 09:04
@JAleksandrov
Copy link

After update seems like it could no longer scan my state:

Scanned resources
NoSuchPublicAccessBlockConfiguration: The public access block configuration was not found
status code: 404

@moadibfr
Copy link
Contributor Author

After update seems like it could no longer scan my state:

Scanned resources NoSuchPublicAccessBlockConfiguration: The public access block configuration was not found status code: 404

thanks @JAleksandrov just reproduced that and working on it: #1590
πŸ™

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.

3 participants