{"uid":"cap_XS7the11l8q9mr15h-1_l","slug":"kubernetes-rbac-authorization-resolver-4d289be1","name":"Kubernetes RBAC Authorization Resolver","description":"Resolve anonymous Kubernetes RBAC rule/binding authorization including subresources and non-resource URLs.","url":"https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-05/kubernetes132-rbac-resource-subresource-binding-authorization?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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":["namespace","role","subjects"],"properties":{"role":{"type":"number"},"subjects":{"type":"array","items":{"anyOf":[{"type":"object","required":["kind","name"],"properties":{"kind":{"type":"string","maxLength":20000},"name":{"type":"string","maxLength":20000}},"additionalProperties":false},{"type":"object","required":["kind","name","namespace"],"properties":{"kind":{"type":"string","maxLength":20000},"name":{"type":"string","maxLength":20000},"namespace":{"type":"string","maxLength":20000}},"additionalProperties":false}]},"maxItems":512},"namespace":{"anyOf":[{"type":"null"},{"type":"string","maxLength":20000}]}},"additionalProperties":false},"maxItems":512},"identity":{"type":"object","required":["groups","user"],"properties":{"user":{"type":"string","maxLength":20000},"groups":{"$ref":"#/properties/input/properties/body/properties/artifact/%24defs/s_8a1c90f566e8"}},"additionalProperties":false},"requests":{"type":"array","items":{"anyOf":[{"type":"object","required":["group","name","namespace","resource","resource_request","subresource","verb"],"properties":{"name":{"type":"string","maxLength":20000},"verb":{"type":"string","maxLength":20000},"group":{"type":"string","maxLength":20000},"resource":{"type":"string","maxLength":20000},"namespace":{"type":"string","maxLength":20000},"subresource":{"type":"string","maxLength":20000},"resource_request":{"type":"boolean"}},"additionalProperties":false},{"type":"object","required":["namespace","path","resource_request","verb"],"properties":{"path":{"type":"string","maxLength":20000},"verb":{"type":"string","maxLength":20000},"namespace":{"type":"null"},"resource_request":{"type":"boolean"}},"additionalProperties":false}]},"maxItems":512}},"additionalProperties":false},"claim":{"anyOf":[{"type":"null"},{"type":"object","required":["requests"],"properties":{"requests":{"type":"array","items":{"type":"object","required":["allowed","matches"],"properties":{"allowed":{"type":"boolean"},"matches":{"type":"array","items":{"type":"object","required":["binding","rule"],"properties":{"rule":{"type":"number"},"binding":{"type":"number"}},"additionalProperties":false},"maxItems":512}},"additionalProperties":false},"maxItems":512}},"additionalProperties":false}]}},"additionalProperties":false}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M1B_5Ap11q1OB0W6UyDbs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Audit service account access to secrets","prompt":"I need to verify whether the service account 'ci-runner' in the 'build' namespace is authorized to 'get' secrets under these ClusterRole and RoleBinding definitions — can you resolve the RBAC authorization for me?"},{"title":"Check non-resource URL access for a user","prompt":"Can you evaluate if the user 'jane@example.com' has permission to access the non-resource URL '/healthz' with a 'get' verb, given these Kubernetes RBAC roles and bindings?"},{"title":"Validate subresource authorization in multi-tenant cluster","prompt":"I want to know if the group 'dev-team' is authorized to 'create' pods/exec in namespace 'staging' — here are the roles, bindings, and identity details, please resolve the RBAC authorization."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T00:44:31.428Z","isFirstParty":false,"canonicalSlug":"kubernetes-rbac-authorization-resolver-4d289be1"}