question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[aws-s3] Enforce AWS Foundational Security Best Practice

See original GitHub issue

It would be nice to have the ability to enforce AWS Foundational Security Best Practice through CDK.

Use Case

When creating s3 buckets AWS FSBP should be followed.

Proposed Solution

      new s3.Bucket(stack, 'MyBucket', {
        enforceSecurityBestPractice: true,
      });

And behind the scenes it will block all public access and enforce data transmission over HTTPS.

A PR is ready to go which introduces a simple way of adding these controls for s3 buckets.

Other

This is really just to get the conversation started around enforcing the AWS FSBP controls as a default for CDK and perhaps this could be a first step into helping prevent AWS users from using defaults which are not secure.

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

This is a 🚀 Feature Request

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
hoegertncommented, Oct 20, 2020

Instead of adding enforcement options to all resources I would love to have an aspect for this that traverses all resources in the stack.

0reactions
github-actions[bot]commented, Feb 23, 2021

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AWS Foundational Security Best Practices controls
The AWS Foundational Security Best Practices standard contains the following controls. For each control, the information includes the following information.
Read more >
Aligning to AWS Foundational Security Best Practices With ...
As you'd expect, this check focuses on identifying S3 buckets that are available to the public internet. One of the first things you'll...
Read more >
AWS Foundational Security Best Practices benchmark
Browse the documentation for the Steampipe AWS Compliance mod foundational_security benchmark.
Read more >
AWS Security Best Practices - Awsstatic
Amazon Web Services provides a secure global infrastructure and services in the cloud. You can build your systems using AWS as the foundation,...
Read more >
AWS Foundational Security Best Practices Controls - Lightlytics
The AWS Foundational Security Best Practices standard is a set controls that help you identify deviation within your cloud resources from security best ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found