{
  "repo": "tidbcloud/cloud-costs-management",
  "binary": "aws-nat-leak",
  "binary_path": "tools/aws_nat_leak.py",
  "dependencies": {
    "CLI python tools/aws_nat_leak.py": {
      "infrastructure": {
        "aws": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "DESCRIBE NAT GATEWAYS",
              "trigger": "Enumerate NAT gateways and compare them against live shoots",
              "conditions": [
                "The CLI is executed"
              ],
              "implementation": "boto3 ec2client.describe_nat_gateways()"
            }
          ]
        },
        "kubernetes": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "LIST NAMESPACES / CUSTOM OBJECTS",
              "trigger": "Load Gardener shoot inventory from kubeconfigs",
              "conditions": [
                "The CLI is executed"
              ],
              "implementation": "kubernetes client list_namespace() and list_namespaced_custom_object() calls"
            }
          ]
        }
      },
      "services": []
    }
  }
}
