@stratiformdigital/serverless-s3-security-helper
v4.0.0
Published
Serverless plugin to set security related settings on s3 buckets.
Downloads
339
Readme
Usage
...
plugins:
- serverless-s3-security-helper
...
Background
This plugin set settings on all S3 buckets. These are settings that are commonly required for security compliance. It handles severless deployment buckets as well as buckets created by a service.
Currently, the plugin:
- enables versioning for objects
- blocks all public access on the bucket, by default
This plugin has two hooks:
- package:createDeploymentArtifacts
- package:compileEvents
At each step, the buckets are set to be configured properly. This ensures the serverless deployment bucket is configured properly throughout its entire lifecycle.
License
See LICENSE for full details.