All Projects → datreeio → datree

datreeio / datree

Licence: Apache-2.0 license
Prevent Kubernetes misconfigurations from reaching production (again 😤 )! From code to cloud, Datree provides an E2E policy enforcement solution to run automatic checks for rule violations. See our docs: https://hub.datree.io

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to datree

Terraform
Share Terraform best practices and custom modules with the community
Stars: ✭ 39 (-99.32%)
Mutual labels:  best-practices, policy
rubocop-graphql
Rubocop extension for enforcing graphql-ruby best practices
Stars: ✭ 143 (-97.51%)
Mutual labels:  static-code-analysis, best-practices
digitalgov.gov
Digital.gov — Helping the government community deliver better digital services.
Stars: ✭ 167 (-97.09%)
Mutual labels:  best-practices, policy
gotcha
Go Taint CHeck Analyser
Stars: ✭ 40 (-99.3%)
Mutual labels:  static-code-analysis
react-ssr-starter
🔥 ⚛️ A React boilerplate for a universal web app with a highly scalable, offline-first foundation and our focus on performance and best practices.
Stars: ✭ 40 (-99.3%)
Mutual labels:  best-practices
basetemplate9
TYPO3 v9 LTS Template Foundation - Use it as a base for your website configuration. Add all your Stylesheets, JavaScripts and Templates.
Stars: ✭ 15 (-99.74%)
Mutual labels:  best-practices
theBookOfNoah
Everything ive learned developing web applications
Stars: ✭ 22 (-99.62%)
Mutual labels:  best-practices
PolicyLib
权限申请和隐私政策弹窗提示库
Stars: ✭ 43 (-99.25%)
Mutual labels:  policy
kube-secrets-init
Kubernetes mutating webhook for `secrets-init` injection
Stars: ✭ 106 (-98.15%)
Mutual labels:  admission-webhook
mongoDB-Atlas
Best Practices of mongoDB in general and the cloud version of the database(Atlas)
Stars: ✭ 37 (-99.36%)
Mutual labels:  best-practices
html
silentimp.github.io/html/
Stars: ✭ 88 (-98.47%)
Mutual labels:  best-practices
old nesta daps
[archived]
Stars: ✭ 16 (-99.72%)
Mutual labels:  policy
elm-review
Analyzes Elm projects, to help find mistakes before your users find them.
Stars: ✭ 195 (-96.61%)
Mutual labels:  static-code-analysis
violation-comments-to-stash-plugin
Comments Bitbucket Server (or Stash) pull requests with static code analyzer findings.
Stars: ✭ 41 (-99.29%)
Mutual labels:  static-code-analysis
KubeArmor
Cloud-native Runtime Security Enforcement System
Stars: ✭ 434 (-92.44%)
Mutual labels:  policy
gamechanger
GAMECHANGER aspires to be the Department’s trusted solution for evidence-based, data-driven decision-making across the universe of DoD requirements
Stars: ✭ 27 (-99.53%)
Mutual labels:  policy
torinotech.github.io
torinotech.github.io
Stars: ✭ 16 (-99.72%)
Mutual labels:  best-practices
tomodachi
💻 Microservice library / framework using Python's asyncio event loop with full support for HTTP + WebSockets, AWS SNS+SQS, RabbitMQ / AMQP, middleware, etc. Extendable for GraphQL, protobuf, gRPC, among other technologies.
Stars: ✭ 170 (-97.04%)
Mutual labels:  best-practices
dotfiles
An elegant way to manage dotfiles, commands, completions, configurations for terminal players.
Stars: ✭ 27 (-99.53%)
Mutual labels:  best-practices
Y-BP
YFE Team 前端最佳实践
Stars: ✭ 28 (-99.51%)
Mutual labels:  best-practices

datree=github

Prevent Kubernetes Misconfigurations

Explore the docs »

🤔 What is Datree?

Datree automatically validates Kubernetes objects for rule violations, ensuring no misconfigurations reach production. It’s an E2E policy enforcement solution that can be used on the command line, admission webhook, or even as a kubectl plugin.

It’s far more effective than manual processes, such as sending an email to a slew of developers, begging them to set various limits, which likely falls on deaf ears because developers are already overwhelmed.

✌️ Quick-start in two steps

1. Install the latest release on your CLI

Linux & MacOS: curl https://get.datree.io | /bin/bash
Windows: iwr -useb https://get.datree.io/windows_install.ps1 | iex

Other installation options (Homebrew, Docker, etc.) can be found here

2. Pass Datree a Kubernetes manifest file to scan

datree test [k8s-manifest-file]

...and voilà, you just ran your first policy check! 🥳

Datree-cli

⚙️ How it works

Datree scans Kubernetes configurations and validates them against a centrally managed policy for rule violations and misconfigurations.

Architecture
Architecture

The CLI interface can be run locally, as a pre-commit hook, or in your CI, to shift left misconfiguration detection. With the admission webhook interface, you can enforce the same policy on the cluster.

Each Datree scan runs three validation on your Kubernetes objects:

  • YAML validation
  • Schema validation (Including CRD support)
  • Policy check

Datree comes with dozens of battle-tested rules for you to select to create your policy. The policy rules cover a variety of Kubernetes resources such as workload security, networking availability, Argo best practices, NSA hardening guide, and many more.

In addition to our built-in rules, you can write any custom rule you wish and then run it against your Kubernetes configurations to check for rule violations. The custom rule engine is based on JSON Schema.

🔌 Helm plugin

Datree's Helm plugin can be accessed through the helm CLI to provide a seamless experience to Helm users:

helm plugin install https://github.com/datreeio/helm-datree

🗂 Kustomize support

Datree comes with out-of-the-box support for Kustomize:

datree kustomize test [kustomization.yaml dir path/]

Management dashboard (web application)

Datree can be customized via code (policy as code) or via a management dashboard. The dashboard offers the following capabilities in an intuitive visual interface:

  • Customize policies
  • Edit rules failure message
  • Issue tokens
  • View policy check history
  • Configure Kubernetes schema version

Datree-saas

✔️ Next step: Integrate into your workflow

From develop to runtime, you can use Datree in every step of your Kuberenetes pipeline to help you prevent misconfigurations:

  • Develop (code) - run the CLI locally (or as a pre-commit hook) to get instant validation
  • Distribute (CI) - integrate with your CI platform to shift-left policy checks
  • Deploy (CD) - gate your cluster with the admission webhook
  • Runtime (production) - query deployed resources with the kubectl plugin to your know your status

Contributing

Contributions are welcome!

Contributors

Thank you to all the people who already contributed to Datree ❤️

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].