Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@condensetech/cdk-lib
Advanced tools
This library contains constructs and stacks we use across our projects.
This library contains constructs and stacks we use across our projects.
Networking provides a VPC already configured with public, private and isolated subnets.
It requires setting a cidr or IPAM allocation, to avoid accidental usage of default CIDR.
Optionally, it also creates a bastion host.
It is available as a construct:
class MyStack extends cdk.Stack {
constructor(scope: Construct, id :string, props?: cdk.StackProps) {
super(scope, id, props);
const networking = new Networking(this, 'Networking', {
cidr: ec2.IpAddresses.cidr('10.0.0.0/16'),
});
}
}
or as a stack:
const app = new cdk.App();
const networking = new NetworkingStack(app, 'networking', {
cidr: ec2.IpAddresses.cidr('10.0.0.0/16'),
})
Both of them implements the INetworking interface, allowing to easily compose your infrastructure.
Supported database constructs:
And their relative stack version:
All of them implements the IDatabase interface, allowing to easily compose your infrastructure.
The CloudwatchAlarmsTopicStack creates an SNS Topic which can be used as a target for Cloudwatch Alarms, allowing to easily:
NaiveBasicAuthCloudfrontFunction is useful when a basic protection layer must be added to Cloudfront (for SPAs or static sites) and you just need to avoid crawlers and unwanted visitors.
By instantiating this class in a stack, it ensures all resources are properly monitored by CloudWatch.
Further configuration can be done by .of
method.
class Stack extends cdk.Stack {
constructor(scope: Construct, id: string, props?: cdk.StackProps) {
super(scope, id, props);
const monitoring = new MonitoringFacade(this, 'Monitoring');
const construct = new MyConstruct(this, 'MyConstruct');
}
}
export class MyConstruct extends Construct {
constructor(scope: Construct, id: string) {
super(scope, id);
const elb = new elbv2.ApplicationLoadBalancer(this, 'ALB', {
...
});
MonitoringFacade.of(this).configAppliationLoadBalancer(elb, {
target5xxErrorsThreshold: 1,
});
}
}
FAQs
This library contains constructs and stacks we use across our projects.
The npm package @condensetech/cdk-lib receives a total of 0 weekly downloads. As such, @condensetech/cdk-lib popularity was classified as not popular.
We found that @condensetech/cdk-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.