secure-cdk
Advanced tools
Comparing version 0.1.8 to 0.1.9
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.createSecureBehavior = exports.SecureDistribution = void 0; | ||
var aws_cloudfront_1 = require("@aws-cdk/aws-cloudfront"); | ||
var utils_1 = require("./../utils"); | ||
const aws_cloudfront_1 = require("@aws-cdk/aws-cloudfront"); | ||
const utils_1 = require("./../utils"); | ||
var DistributionSecurityWarning; | ||
@@ -37,17 +11,20 @@ (function (DistributionSecurityWarning) { | ||
})(DistributionSecurityWarning || (DistributionSecurityWarning = {})); | ||
var SecureDistribution = /** @class */ (function (_super) { | ||
__extends(SecureDistribution, _super); | ||
function SecureDistribution(scope, id, props) { | ||
var _this = this; | ||
class SecureDistribution extends aws_cloudfront_1.Distribution { | ||
constructor(scope, id, props) { | ||
utils_1.warnIfNotEquals(props === null || props === void 0 ? void 0 : props.minimumProtocolVersion, aws_cloudfront_1.SecurityPolicyProtocol.TLS_V1_2_2021, DistributionSecurityWarning.ProtocolVersionIsOutdated); | ||
_this = _super.call(this, scope, id, __assign({ minimumProtocolVersion: aws_cloudfront_1.SecurityPolicyProtocol.TLS_V1_2_2021 }, props)) || this; | ||
return _this; | ||
super(scope, id, { | ||
minimumProtocolVersion: aws_cloudfront_1.SecurityPolicyProtocol.TLS_V1_2_2021, | ||
...props | ||
}); | ||
} | ||
return SecureDistribution; | ||
}(aws_cloudfront_1.Distribution)); | ||
} | ||
exports.SecureDistribution = SecureDistribution; | ||
var createSecureBehavior = function (behaviorOptions) { | ||
const createSecureBehavior = (behaviorOptions) => { | ||
utils_1.warnIfEquals(behaviorOptions.viewerProtocolPolicy, aws_cloudfront_1.ViewerProtocolPolicy.ALLOW_ALL, DistributionSecurityWarning.HttpTrafficAllowed); | ||
return __assign({ viewerProtocolPolicy: aws_cloudfront_1.ViewerProtocolPolicy.HTTPS_ONLY }, behaviorOptions); | ||
return { | ||
viewerProtocolPolicy: aws_cloudfront_1.ViewerProtocolPolicy.HTTPS_ONLY, | ||
...behaviorOptions | ||
}; | ||
}; | ||
exports.createSecureBehavior = createSecureBehavior; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xvdWRmcm9udC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImNsb3VkZnJvbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNERBQXlJO0FBR3pJLHNDQUEyRDtBQUUzRCxJQUFLLDJCQUdKO0FBSEQsV0FBSywyQkFBMkI7SUFDOUIsb0hBQXFGLENBQUE7SUFDckYsK0dBQWdGLENBQUE7QUFDbEYsQ0FBQyxFQUhJLDJCQUEyQixLQUEzQiwyQkFBMkIsUUFHL0I7QUFFRCxNQUFhLGtCQUFtQixTQUFRLDZCQUFZO0lBQ2xELFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0FBeUI7UUFDakUsdUJBQWUsQ0FB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G4gIHJldHVybiB7XG4gICAgdmlld2VyUHJvdG9jb2xQb2xpY3k6IFZpZXdlclByb3RvY29sUG9saWN5LkhUVFBTX09OTFksXG4gICAgLi4uYmVoYXZpb3JPcHRpb25zXG4gIH1cbn07XG4iXX0= |
@@ -12,4 +12,5 @@ "use strict"; | ||
}; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./s3"), exports); | ||
__exportStar(require("./cloudfront"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx1Q0FBcUI7QUFDckIsK0NBQTZCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zMyc7XG5leHBvcnQgKiBmcm9tICcuL2Nsb3VkZnJvbnQnO1xuIl19 |
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SecureBucket = void 0; | ||
var aws_s3_1 = require("@aws-cdk/aws-s3"); | ||
var utils_1 = require("./../utils"); | ||
const aws_s3_1 = require("@aws-cdk/aws-s3"); | ||
const utils_1 = require("./../utils"); | ||
var BucketSecurityWarning; | ||
@@ -38,14 +12,16 @@ (function (BucketSecurityWarning) { | ||
})(BucketSecurityWarning || (BucketSecurityWarning = {})); | ||
var SecureBucket = /** @class */ (function (_super) { | ||
__extends(SecureBucket, _super); | ||
function SecureBucket(scope, id, props) { | ||
var _this = this; | ||
class SecureBucket extends aws_s3_1.Bucket { | ||
constructor(scope, id, props) { | ||
utils_1.warnIfEquals(props === null || props === void 0 ? void 0 : props.enforceSSL, false, BucketSecurityWarning.SSLIsNotEnforced); | ||
utils_1.warnIfEquals(props === null || props === void 0 ? void 0 : props.publicReadAccess, true, BucketSecurityWarning.PublicReadAccessEnabled); | ||
utils_1.warnIfEquals(props === null || props === void 0 ? void 0 : props.encryption, aws_s3_1.BucketEncryption.UNENCRYPTED, BucketSecurityWarning.BucketIsNotEncrypted); | ||
_this = _super.call(this, scope, id, __assign({ enforceSSL: true, publicReadAccess: false, encryption: aws_s3_1.BucketEncryption.S3_MANAGED }, props)) || this; | ||
return _this; | ||
super(scope, id, { | ||
enforceSSL: true, | ||
publicReadAccess: false, | ||
encryption: aws_s3_1.BucketEncryption.S3_MANAGED, | ||
...props | ||
}); | ||
} | ||
return SecureBucket; | ||
}(aws_s3_1.Bucket)); | ||
} | ||
exports.SecureBucket = SecureBucket; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiczMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzMy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw0Q0FBd0U7QUFHeEUsc0NBQTBDO0FBR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b246IEJ1Y2tldEVuY3J5cHRpb24uUzNfTUFOQUdFRCxcbiAgICAgIC4uLnByb3BzXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== |
@@ -12,3 +12,4 @@ "use strict"; | ||
}; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./warning.utils"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSxrREFBZ0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3dhcm5pbmcudXRpbHMnO1xuIl19 |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.warnIfNotEquals = exports.warnIfEquals = void 0; | ||
var CONSOLE_WARNING_COLOR = '\x1b[33m%s\x1b[0m'; | ||
var warnIfEquals = function (property, value, message) { | ||
const CONSOLE_WARNING_COLOR = '\x1b[33m%s\x1b[0m'; | ||
const warnIfEquals = (property, value, message) => { | ||
if (property === value) { | ||
@@ -11,3 +11,3 @@ warn(message); | ||
exports.warnIfEquals = warnIfEquals; | ||
var warnIfNotEquals = function (property, value, message) { | ||
const warnIfNotEquals = (property, value, message) => { | ||
if (property && property !== value) { | ||
@@ -18,4 +18,5 @@ warn(message); | ||
exports.warnIfNotEquals = warnIfNotEquals; | ||
var warn = function (message) { | ||
console.warn(CONSOLE_WARNING_COLOR, "### " + message); | ||
const warn = (message) => { | ||
console.warn(CONSOLE_WARNING_COLOR, `### ${message}`); | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FybmluZy51dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIndhcm5p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eTogYW55LCB2YWx1ZTogYW55LCBtZXNzYWdlOiBzdHJpbmcpOiB2b2lkID0+IHtcbiAgaWYgKHByb3BlcnR5ICYmIHByb3BlcnR5ICE9PSB2YWx1ZSkge1xuICAgIHdhcm4obWVzc2FnZSk7XG4gIH1cbn07XG5cbmNvbnN0IHdhcm4gPSAobWVzc2FnZTogc3RyaW5nKTogdm9pZCA9PiB7XG4gIGNvbnNvbGUud2FybihDT05TT0xFX1dBUk5JTkdfQ09MT1IsIGAjIyMgJHttZXNzYWdlfWApO1xufTtcbiJdfQ== |
{ | ||
"name": "secure-cdk", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Security abstraction for AWS CDK library. Create AWS resources with best security practices applied for you.", | ||
@@ -21,3 +21,3 @@ "keywords": [ | ||
"release": "standard-version && npm run build && npm publish", | ||
"build": "tsc lib/**/*.ts" | ||
"build": "tsc -b" | ||
}, | ||
@@ -24,0 +24,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23168
15
129