GitOps to enhance cloud native security

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น • 3

  • @vmgs100
    @vmgs100 ปีที่แล้ว +1

    I didn't quite understand the process of composing these CRD schema files, like gitops-the-magickey/policies/schemas/argocd.json in your example.
    Suppose I have a YAML manifest of a CRD ("kind: CustomResourceDefinition"), how do I create a json schema for it, so Trivy scanner can understand my custom misconfiguration policies?

    • @AnaisUrlichs
      @AnaisUrlichs  ปีที่แล้ว +1

      that is another video -- I guess I should have sent more time explaining it -- I based it on the following tutorial json-schema.org/learn/getting-started-step-by-step.html
      The json schema is there to set the fields that have to be present in the CRD -- this makes it possibel to check the fields in the CRD with the schema and specify Rego policies for them

    • @vmgs100
      @vmgs100 ปีที่แล้ว

      @@AnaisUrlichs Thank you!