# Kubernetes RBAC Authorization Resolver

> Kubernetes RBAC Authorization Resolver is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-24).

Resolves whether an anonymous identity is authorized for specific Kubernetes RBAC requests, including subresources and non-resource URLs, given a set of roles and bindings.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-05/kubernetes132-rbac-resource-subresource-binding-authorization?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kubernetes-rbac-authorization-resolver-4d289be1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XS7the11l8q9mr15h-1_l

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kubernetes-rbac-authorization-resolver-4d289be1 -d '<json body>'
```

Example prompt: Can you check whether this Kubernetes service account 'monitoring-agent' in namespace 'ops' is allowed to 'get' and 'list' pods/log subresources, given these roles and bindings I'll provide?

## When to prefer this

Use this endpoint when you need to programmatically resolve Kubernetes RBAC authorization decisions without running a live cluster — especially useful for auditing, policy simulation, security analysis, or CI/CD pipelines that need to verify access control rules offline. It handles subresources and non-resource URLs which many simpler RBAC checkers omit.

## Known failure modes

- Malformed or missing required fields (bindings, roles, identity, requests) result in a 400 validation error
- Role index referenced in binding does not exist in the roles array
- Ambiguous or empty subject list in bindings may produce unexpected deny results
- Truncated input due to maxItems/maxLength limits may cause incomplete authorization evaluation
- Network timeout or service unavailability returns 5xx error

## How this service works

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

## Output

Returns a structured authorization decision indicating whether the given identity is allowed or denied for each requested action, along with which RBAC rules and bindings matched the decision, covering subresources and non-resource URLs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "$defs": {
    "s_8a1c90f566e8": {
     "type": "array",
     "items": {
      "type": "string",
      "maxLength": 20000
     },
     "maxItems": 512
    }
   },
   "required": [
    "k8sRbac"
   ],
   "properties": {
    "k8sRbac": {
     "type": "object",
     "required": [
      "data",
      "claim"
     ],
     "properties": {
      "data": {
       "type": "object",
       "required": [
        "bindings",
        "identity",
        "requests",
        "roles"
       ],
       "properties": {
        "roles": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "cluster",
           "namespace",
           "rules"
          ],
          "properties": {
           "rules": {
            "type": "array",
            "items": {
             "type": "object",
             "required": [
              "groups",
              "resource_names",
              "resources",
              "urls",
              "verbs"
             ],
             "properties": {
              "urls": {
               "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s_8a1c90f566e8"
              },
              "verbs": {
               "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s_8a1c90f566e8"
              },
              "groups": {
               "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s_8a1c90f566e8"
              },
              "resources": {
               "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s_8a1c90f566e8"
              },
              "resource_names": {
               "$ref": "#/properties/input/properties/body/properties/artifact/%24defs/s_8a1c90f566e8"
              }
             },
             "additionalProperties": false
            },
            "maxItems": 512
           },
           "cluster": {
            "type": "boolean"
           },
           "namespace": {
            "anyOf": [
             {
              "type": "null"
             },
             {
              "type": "string",
              "maxLength": 20000
             }
            ]
           }
          },
          "additionalProperties": false
         },
         "maxItems": 512
        },
        "bindings": {
         "type": "array",
         "items": {
          "type": "object",
          "required": [
           "namesp
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kubernetes-rbac-authorization-resolver-4d289be1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
