awesome-jsonschema VS datree

Compare awesome-jsonschema vs datree and see what are their differences.

datree

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 (by datreeio)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
awesome-jsonschema datree
70 34
98 6,403
- 0.1%
5.3 7.2
7 months ago 6 months ago
Handlebars Go
Creative Commons Zero v1.0 Universal Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

awesome-jsonschema

Posts with mentions or reviews of awesome-jsonschema. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-07.
  • YAML or JSON files that are typed?
    1 project | /r/AskProgramming | 8 Mar 2023
  • Parse, Don't Validate (2019)
    4 projects | news.ycombinator.com | 7 Mar 2023
  • The Last Breaking Change | JSON Schema Blog
    6 projects | /r/javascript | 5 Mar 2023
    Truth. Zod is comparable to JSON Schema plus AJV, and it doesn't compare well at all. Your Zod code is all locked inside TypeScript so not only can it not be shared to any other language in your stack but it also cannot be serialized, which introduces many limitations. You also miss out on all the JSON Schema ecosystem tooling. (1, 2) For example the intellisense you get in VS Code for config files is powered by JSON Schema and schemastore.
    3 projects | /r/programming | 5 Mar 2023
    The very first line of text below the header on the json-schema.org homepage is:
  • How to use FastAPI for microservices in Python
    2 projects | dev.to | 29 Jan 2023
    The framework's official website mentions a number of pros of FastAPI. In my opinion, the most useful features from a microservice perspective are: the simplicity of code (easy to use and avoid boilerplate), high operational capacity thanks to Starlette and Pydantic and compatibility with industry standards - OpenAPI and JSON Schema.
  • How to handle forms in a good way?
    2 projects | /r/sveltejs | 19 Jan 2023
    I've used Felte to reduce form boilerplate. Felte supports several different validation libraries like Zod. I actually used a custom validation function with ajv (which uses JSON schema).
  • A Brief Defense of XML
    3 projects | news.ycombinator.com | 6 Jan 2023
    (There is already a JSON Schema definition at https://json-schema.org/)

    Like you said - standard XML isn't terrible. Adding on an XSD isn't terrible, because now you can enforce structure and datatypes on files provided by outside parties. Creating an XSLT is much more of a mental challenge, and probably should be left to tools to define.

    Anything beyond those technologies is someone polishing up their resume.

  • On the seventh day of Enhancing: Forms
    1 project | dev.to | 1 Jan 2023
    While the aws-sdk is being installed to simulate DynamoDB locally, let me explain a few things about this command. First Comment will be the name of the model the scaffold creates. This model will be codified under app/models/schemas/comment.mjs as a JSON Schema object. Each of the parameters after Comment will be split into a property name and type (e.g. property name ā€œsubjectā€, property type ā€œstringā€). This JSON Schema document will be used to validate the form data both on the client and server sides.
  • Server Sent UI Schema Driven UIs
    4 projects | /r/reactjs | 20 Dec 2022
    What you are looking is called Json-schema. Have a look at the implementations page, which will give you an idea of what you can do with json-schema, which also includes UI rendering.
  • Tool to document Firestore 'schema'
    1 project | /r/Firebase | 27 Nov 2022

datree

Posts with mentions or reviews of datree. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-04.
  • Show HN: Datree (YC W20) ā€“ End-to-End Policy Management for Kubernetes
    2 projects | news.ycombinator.com | 4 Apr 2023
    Hi HN, Iā€™m Shimon, the co-founder of Datree: A policy management solution for Kubernetes. We help DevOps engineers prevent misconfigurations in their Kubernetes by enforcing an organizational policy on their clusters. Engineers can define a custom policy or use one of Datreeā€™s built-in policies, such as NIST/NSA Hardening Guide, EKS Security Best Practices, CIS Benchmark, and more.

    Our website is at https://datree.io and our GitHub is here: https://github.com/datreeio/datree

    This is not the first time I have shown Datree to the HN community: A little over a year ago, I posted here an earlier version of Datree (https://news.ycombinator.com/item?id=28918850). At that time, Datree consisted of a CLI tool to detect Kubernetes misconfigurations during the development process (locally or in the CI/CD), unlike the version I present today in which the enforcement happens in production.

    We built the CLI tool because we detected a big problem among Kubernetes operators: Misconfigurations. Kubernetes is extremely complex and flexible, which makes it very easy to poorly configure it in ways that are not secure. And indeed, we talked to dozens of Kubernetes operators who suffered from various problems, starting with failed audits, all the way to downtime in production, all because of misconfigurations.

    Our solution was simple: Give the developers the means to shift-left security testing during the development process with a CLI tool that can be integrated into the CI/CD. We thought this was the best way to approach the problem: It is easiest to fix misconfigurations in the development process before they are deployed to production, it prevents context-switching and relieves resources from the DevOps team.

    While the CLI tool was very popular among the open-source community (it got over 6000 stars on GitHub), we soon realized that CI/CD enforcement is not enough. As we talked with Datreeā€™s users, we realized we had made a fundamental mistake: We thought of misconfiguration prevention in technical terms rather than organizational terms.

    Indeed, from a technical point of view, it makes sense to shift-left Kubernetes security. But when considering the organizational structure in which it takes place, it simply isnā€™t enough. DevOps engineers told us that they love the shift-left concept, but they simply cannot rely on the goodwill of the engineers to run a CLI tool locally or to monitor all the pipelines leading to production. They need governance, something to help them stay in control of the state of their clusters.

    Moreover, we realized that many companies who use Kubernetes are heavily regulated, and cannot take any chances with their security. Sure, these companies want the engineers to fix misconfigurations during development, but they also want something to make sure that no matter what, their clusters remain misconfiguration-free.

    Based on this understanding, we developed a new version of Datree that sits on the cluster itself (rather than in the CI/CD) and protects the production environment by blocking misconfigured resources with an admission webhook. It has a centralized policy management solution to enable governance, and native monitoring to get real-time insights into the state of your Kubernetes.

    I look forward to hearing your feedback and answering any questions you may have.

  • Is OPA Gatekeeper the best solution for writing policies for k8s clusters?
    14 projects | /r/kubernetes | 10 Nov 2022
  • datreeio/datree: Prevent Kubernetes misconfigurations from reaching production (again šŸ˜¤ )! Datree is a CLI tool to ensure K8s configs follow stability & security best practices as well as your organizationā€™s policies. See our docs: https://hub.datree.io
    1 project | /r/devopsish | 7 Jun 2022
  • Question for the Argo-Verse
    3 projects | /r/argoproj | 12 May 2022
  • How to create a react app with Go support using WebAssembly in under 60 seconds
    4 projects | dev.to | 26 Apr 2022
    Go is a statically typed, compiled programming language designed at Google, it is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency. In my case, I needed to run Go for JSON schema validations, in other cases, you might want to perform a CPU-intensive task or use a CLI tool written in Go.
  • Techworld with Nana: Enforce K8s Best Practices with Datree
    1 project | /r/u_datree_io | 26 Apr 2022
  • Gatekeeper vs Kyverno
    3 projects | /r/kubernetes | 18 Apr 2022
    I worked with both of them and from my experience Gatekeeper is more solid and accountable, I even wrote an article about Gatekeeper. Both Gatekeeper and Kyverno require a lot of heavy lifting work. On the one hand, Gatekeeper will probably require more configuration work however the community and the tool itself are more stable than Kyverno. On the other hand, Kyverno policy-as-code capabilities are much easier to use/understand. This way or another, for me using Kyvernoā€™s policy language or Rego for my policies, wasnā€™t such a pleasant experience. I personally believe in GitOps and shifting left so if youā€™re looking for tools I would highly recommend you to review Datree, which is an open-source CLI (Disclaimer: Iā€™m one of the developers at Datree). Datree is a more centralized policy management solution rather than a policy engine. Unlike Kyverno/Gatekeeper Datree was built to help DevOps teams to shift left and practice GitOps by delegating more responsibilities to the developers more efficiently. In practice, Datree already comes with built-in rules and policies along with YAML and schema validation for K8s resources and CRDs such as Argo CRDs. Datreeā€™s policies are written in JSONScheme which is a common solid policy language supported by the community for many years. Additionally, Datreeā€™s CLI also comes with a dashboard app where you can monitor the policies in your organization. You can modify and update your policies, review which policies are being used in practice, and control who can create/delete/update your policies. The major difference is that at the moment, unlike Kyverno/Gatekeeper Datree doesnā€™t provide native policy enforcement in the Kubernetes cluster at the moment but we expect to release this support very soon. At the moment, we provide a way to scan the cluster using a kubectl plugin. Feel free to check it out :)
  • Working with Datreeā€™s Helm Plugin
    2 projects | dev.to | 27 Mar 2022
    $ helm plugin install https://github.com/datreeio/helm-datree Installing helm-datree... https://github.com/datreeio/datree/releases/download/1.0.6/datree-cli_1.0.6_Darwin_x86_64.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 673 100 673 0 0 1439 0 --:--:-- --:--:-- --:--:-- 1469 100 6901k 100 6901k 0 0 1852k 0 0:00:03 0:00:03 --:--:-- 2865k helm-datree is installed. See https://hub.datree.io for help getting started. Installed plugin: datree
  • Adding custom rules in Datree
    1 project | dev.to | 19 Feb 2022
    GitHub
  • Learn from Nana, AWS Hero & CNCF Ambassador, how to enforce K8s best practices with Datree.
    1 project | /r/u_datree_io | 26 Jan 2022

What are some alternatives?

When comparing awesome-jsonschema and datree you can also consider the following projects:

zod - TypeScript-first schema validation with static type inference

KubeArmor - Runtime Security Enforcement System. Workload hardening/sandboxing and implementing least-permissive policies made easy leveraging LSMs (BPF-LSM, AppArmor).

JSON-Schema Faker - JSON-Schema + fake data generators

polaris - Validation of best practices in your Kubernetes clusters

ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

kube-score - Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.

fastify-swagger - Swagger documentation generator for Fastify

polaris - Shopifyā€™s design system to help us work together to build a great experience for all of our merchants.

pydantic - Data validation using Python type hints

reviewdog - šŸ¶ Automated code review tool integrated with any code analysis tools regardless of programming language

Superstruct - A simple and composable way to validate data in JavaScript (and TypeScript).

Kyverno - Kubernetes Native Policy Management