Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 05 / kubernetes132 rbac resource subresource binding authorization

Resolve anonymous Kubernetes RBAC rule/binding authorization including subresources and non-resource URLs.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-05/kubernetes132-rbac-resource-subresource-binding-authorization

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "k8sRbac"
      ],
      "properties": {
        "k8sRbac": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "bindings",
                "identity",
                "requests",
                "roles"
              ],
              "properties": {
                "bindings": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "namespace",
                      "role",
                      "subjects"
                    ],
                    "properties": {
                      "namespace": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string",
                            "maxLength": 20000
                          }
                        ]
                      },
                      "role": {
                        "type": "number"
                      },
                      "subjects": {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "name"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "maxLength": 20000
                                },
                                "name": {
                                  "type": "string",
                                  "maxLength": 20000
                                }
                              }
                            },
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "kind",
                                "name",
                                "namespace"
                              ],
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "maxLength": 20000
                                },
                                "name": {
                                  "type": "string",
                                  "maxLength": 20000
                                },
                                "namespace": {
                                  "type": "string",
                                  "maxLength": 20000
                                }
                              }
                            }
                          ]
                        },
                        "maxItems": 512
                      }
                    }
                  },
                  "maxItems": 512
                },
                "identity": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "groups",
                    "user"
                  ],
                  "properties": {
                    "groups": {
                      "$ref": "#/properties/artifact/%24defs/s_8a1c90f566e8"
                    },
                    "user": {
                      "type": "string",
                      "maxLength": 20000
                    }
                  }
                },
                "requests": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "group",
                          "name",
                          "namespace",
                          "resource",
                          "resource_request",
                          "subresource",
                          "verb"
                        ],
                        "properties": {
                          "group": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "name": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "namespace": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "resource": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "resource_request": {
                            "type": "boolean"
                          },
                          "subresource": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "verb": {
                            "type": "string",
                            "maxLength": 20000
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "namespace",
                          "path",
                          "resource_request",
                          "verb"
                        ],
                        "properties": {
                          "namespace": {
                            "type": "null"
                          },
                          "path": {
                            "type": "string",
                            "maxLength": 20000
                          },
                          "resource_request": {
                            "type": "boolean"
                          },
                          "verb": {
                            "type": "string",
                            "maxLength": 20000
                          }
                        }
                      }
                    ]
                  },
                  "maxItems": 512
                },
                "roles": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "required": [
                      "cluster",
                      "namespace",
                      "rules"
                    ],
                    "properties": {
                      "cluster": {
                        "type": "boolean"
                      },
                      "namespace": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string",
                            "maxLength": 20000
                          }
                        ]
                      },
                      "rules": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "groups",
                            "resource_names",
                            "resources",
                            "urls",
                            "verbs"
                          ],
                          "properties": {
                            "groups": {
                              "$ref": "#/properties/artifact/%24defs/s_8a1c90f566e8"
                            },
                            "resource_names": {
                              "$ref": "#/properties/artifact/%24defs/s_8a1c90f566e8"
                            },
                            "resources": {
                              "$ref": "#/properties/artifact/%24defs/s_8a1c90f566e8"
                            },
                            "urls": {
                              "$ref": "#/properties/artifact/%24defs/s_8a1c90f566e8"
                            },
                            "verbs": {
                              "$ref": "#/properties/artifact/%24defs/s_8a1c90f566e8"
                            }
                          }
                        },
                        "maxItems": 512
                      }
                    }
                  },
                  "maxItems": 512
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "requests"
                  ],
                  "properties": {
                    "requests": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "allowed",
                          "matches"
                        ],
                        "properties": {
                          "allowed": {
                            "type": "boolean"
                          },
                          "matches": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "binding",
                                "rule"
                              ],
                              "properties": {
                                "binding": {
                                  "type": "number"
                                },
                                "rule": {
                                  "type": "number"
                                }
                              }
                            },
                            "maxItems": 512
                          }
                        }
                      },
                      "maxItems": 512
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "s_8a1c90f566e8": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 20000
          },
          "maxItems": 512
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →