
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Cdk-dia diagrams your CDK provisioned infrastructure using the Grpahviz dot lanuguage.
This Diagram was automatically generated from an AWS CDK stack
Add cdk-dia to your CDK project
$ npm install cdk-dia
Install Graphviz
$ brew install graphviz
Synthesize your CDK application
$ cdk synth
Generate a CDK-DIA diagram
$ npx cdk-dia
In some cases it is useful to be able to tweak a diagram. For this purpose CDK-DIA includes customizers/decorators you can use with your CDK constructs in order to tweak the diagram.
npm -g
won't allow you to use the CdkDiaDecorator
class)Consider the following diagram of a 3-Tier CDK Stack:
In this diagram CDK-DIA collapsed the DBTier (done automatically to any CDK Level 2 (L2) construct) in order to create a diagram which contains the most important details.
One can use a decorator in order to customize the diagram and prevent CDK-DIA from collapsing the Construct.
This is done by implementing CDK's IInpectable's interface and using CDK-DIA's decorator. example:
This results in a Diagram where the DB-Tier was not collapsed providing more details:
npx cdk-dia --help
- Get possible arguments
FAQs
🎡 Automated diagrams of CDK provisioned infrastructure
The npm package cdk-dia receives a total of 4,709 weekly downloads. As such, cdk-dia popularity was classified as popular.
We found that cdk-dia demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.