Censys · Schema

Kubernetes_Role_Rule

Kubernetes_Role_Rule schema from Censys Platform API

SecurityInternet IntelligenceAttack Surface ManagementThreat HuntingCyber Threat IntelligenceOSINTInternet ScanningCertificatesAsset Discovery

Properties

Name Type Description
api_groups arraynull APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.
resources arraynull Resources is a list of resources this rule applies to. ResourceAll represents all resources
verbs arraynull Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.
View JSON Schema on GitHub

JSON Schema

platform-kubernetes-role-rule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/censys/refs/heads/main/json-schema/platform-kubernetes-role-rule-schema.json",
  "title": "Kubernetes_Role_Rule",
  "description": "Kubernetes_Role_Rule schema from Censys Platform API",
  "type": "object",
  "properties": {
    "api_groups": {
      "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed.",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "resources": {
      "description": "Resources is a list of resources this rule applies to. ResourceAll represents all resources",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "verbs": {
      "description": "Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule. VerbAll represents all kinds.",
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    }
  },
  "additionalProperties": false
}