
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@datreeio/datree-cdk8s
Advanced tools
cdk8s by AWS is an open-source software development framework for defining Kubernetes applications using familiar programming languages and rich object-oriented APIs. cdk8s apps synthesize into standard Kubernetes manifests which can then be applied to any Kubernetes cluster.
This plugin allows you to run automatic policy checks against synthesized manifests to ensure that they are configured according to your standards.
cdk8s plugins come in the form of NPM packages.
When specified in the configuration file, the cdk8s CLI will automatically install and run a plugin. See the Usage section below for instructions.
To use this plugin, the cdk8s CLI needs to be installed.
In your cdk8s configuration file, add a validations key with the following properties:
policy is supported, used to set the desired Datree policy to be used for the policy checkTo use this plugin, your configuration file should look like this:
language: typescript
app: ts-node main.ts
validations:
- package: '@datreeio/datree-cdk8s'
class: DatreeValidation
version: 1.3.4
properties:
policy: cdk8s
You can use any policy in your Datree account for your checks, simply change the value of the policy key in your configuration file to the name of your desired policy:
properties:
policy: default
FAQs
a plugin to validate cdk8s
We found that @datreeio/datree-cdk8s demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.