public sealed class Kubernetes.Types.AccessReview : IMessage<Kubernetes.Types.AccessReview>, IEquatable<Kubernetes.Types.AccessReview>, IDeepCloneable<Kubernetes.Types.AccessReview>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class Kubernetes.Types.AccessReview.
Conveys information about a Kubernetes access review (such as one returned
by a kubectl auth
can-i
command) that was involved in a finding.
Implements
IMessageKubernetesTypesAccessReview, IEquatableKubernetesTypesAccessReview, IDeepCloneableKubernetesTypesAccessReview, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
AccessReview()
public AccessReview()
AccessReview(AccessReview)
public AccessReview(Kubernetes.Types.AccessReview other)
Parameter | |
---|---|
Name | Description |
other |
KubernetesTypesAccessReview |
Properties
Group
public string Group { get; set; }
The API group of the resource. "*" means all.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
The name of the resource being requested. Empty means all.
Property Value | |
---|---|
Type | Description |
string |
Ns
public string Ns { get; set; }
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
Property Value | |
---|---|
Type | Description |
string |
Resource
public string Resource { get; set; }
The optional resource type requested. "*" means all.
Property Value | |
---|---|
Type | Description |
string |
Subresource
public string Subresource { get; set; }
The optional subresource type.
Property Value | |
---|---|
Type | Description |
string |
Verb
public string Verb { get; set; }
A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
Property Value | |
---|---|
Type | Description |
string |
Version
public string Version { get; set; }
The API version of the resource. "*" means all.
Property Value | |
---|---|
Type | Description |
string |