Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

secure-cdk

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-cdk - npm Package Compare versions

Comparing version 0.1.2-alpha.2 to 0.1.2-alpha.3

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.1.2-alpha.3](https://github.com/dudyn5ky1/secure-cdk/compare/v0.1.2-alpha.2...v0.1.2-alpha.3) (2021-08-04)
### Features
* **s3:** add publicReadAceess property ([9eb822f](https://github.com/dudyn5ky1/secure-cdk/commit/9eb822f30c64cebcd8cb35d4b53699db8f660dde))
### [0.1.2-alpha.2](https://github.com/dudyn5ky1/secure-cdk/compare/v0.1.2-alpha.1...v0.1.2-alpha.2) (2021-08-04)

@@ -7,0 +14,0 @@

2

package.json
{
"name": "secure-cdk",
"version": "0.1.2-alpha.2",
"version": "0.1.2-alpha.3",
"description": "Security abstraction for AWS CDK library. Create AWS resources with best security practices applied for you.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -26,5 +26,6 @@ # Security abstraction for AWS CDK library. Create AWS resources with best security practices applied for you.

| Property | Value | Description | AWS CDK Default |
| --- | --- | --- | --- |
| enforceSSL | true | Enforces SSL for requests. | false |
| Property | Value | Description | AWS CDK Default |
| --- | --- | --- | --- |
| enforceSSL | true | Enforces SSL for requests. | false |
| publicReadAccess | false | Grants public read access to all objects in the bucket. | false |

@@ -31,0 +32,0 @@ ```typescript

import { Bucket, BucketProps } from '@aws-cdk/aws-s3';
import { Construct } from '@aws-cdk/core';
export declare const createSecureS3Bucket: (scope: Construct, id: string, props?: BucketProps | undefined) => Bucket;
export declare class SecureBucket extends Bucket {
constructor(scope: Construct, id: string, props?: BucketProps);
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SecureBucket = exports.createSecureS3Bucket = void 0;
exports.SecureBucket = void 0;
const aws_s3_1 = require("@aws-cdk/aws-s3");
const createSecureS3Bucket = (scope, id, props) => {
return new aws_s3_1.Bucket(scope, id, {
enforceSSL: true,
...props
});
};
exports.createSecureS3Bucket = createSecureS3Bucket;
class SecureBucket extends aws_s3_1.Bucket {

@@ -16,3 +9,3 @@ constructor(scope, id, props) {

enforceSSL: true,
encryption: aws_s3_1.BucketEncryption.S3_MANAGED,
publicReadAccess: false,
...props

@@ -23,2 +16,2 @@ });

exports.SecureBucket = SecureBucket;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiczMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzMy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw0Q0FBd0U7QUFHakUsTUFBTSxvQkFBb0IsR0FBRyxDQUFDLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQW1CLEVBQVUsRUFBRTtJQUNoRyxPQUFPLElBQUksZUFBTSxDQUNmLEtBQUssRUFBRSxFQUFFLEVBQUU7UUFDVCxVQUFVLEVBQUUsSUFBSTtRQUNoQixHQUFHLEtBQUs7S0FDTSxDQUNqQixDQUFDO0FBQ0osQ0FBQyxDQUFDO0FBUFcsUUFBQSxvQkFBb0Isd0JBTy9CO0FBRUYsTUFBYSxZQUFhLFNBQVEsZUFBTTtJQUN0QyxZQUFZLEtBQWdCLEVBQUUsRUFBVSxFQUFFLEtBQW1CO1FBQzNELEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFO1lBQ2YsVUFBVSxFQUFFLElBQUk7WUFDaEIsVUFBVSxFQUFFLHlCQUFnQixDQUFDLFVBQVU7WUFDdkMsR0FBRyxLQUFLO1NBQ1QsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztDQUNGO0FBUkQsb0NBUUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCdWNrZXQsIEJ1Y2tldFByb3BzLCBCdWNrZXRFbmNyeXB0aW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BSztZQUN2QixHQUFHLEtBQUs7U0FDVCxDQUFDLENBQUM7SUFDTCxDQUFDO0NBQ0Y7QUFSRCxvQ0FRQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJ1Y2tldCwgQnVja2V0UHJvcHMgfSBmcm9tICdAYXdzLWNkay9hd3MtczMnO1xuaW1wb3J0IHsgQ29uc3RydWN0IH0gZnJvbSAnQGF3cy1jZGsvY29yZSc7XG5cbmV4cG9ydCBjbGFzcyBTZWN1cmVCdWNrZXQgZXh0ZW5kcyBCdWNrZXQge1xuICBjb25zdHJ1Y3RvcihzY29wZTogQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wcz86IEJ1Y2tldFByb3BzKSB7XG4gICAgc3VwZXIoc2NvcGUsIGlkLCB7XG4gICAgICBlbmZvcmNlU1NMOiB0cnVlLFxuICAgICAgcHVibGljUmVhZEFjY2VzczogZmFsc2UsXG4gICAgICAuLi5wcm9wc1xuICAgIH0pO1xuICB9XG59XG4iXX0=
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc