View Source GoogleApi.SecurityCenter.V1.Model.AccessReview (google_api_security_center v0.29.0)

Conveys information about a Kubernetes access review (such as one returned by a kubectl auth can-i command) that was involved in a finding.

Attributes

  • group (type: String.t, default: nil) - The API group of the resource. "*" means all.
  • name (type: String.t, default: nil) - The name of the resource being requested. Empty means all.
  • ns (type: String.t, default: nil) - Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
  • resource (type: String.t, default: nil) - The optional resource type requested. "*" means all.
  • subresource (type: String.t, default: nil) - The optional subresource type.
  • verb (type: String.t, default: nil) - A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
  • version (type: String.t, default: nil) - The API version of the resource. "*" means all.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecurityCenter.V1.Model.AccessReview{
  group: String.t() | nil,
  name: String.t() | nil,
  ns: String.t() | nil,
  resource: String.t() | nil,
  subresource: String.t() | nil,
  verb: String.t() | nil,
  version: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.