Class Subject (1.31.0)

Subject(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Kubernetes subject.

Attributes

NameDescription
kind google.cloud.securitycenter_v2.types.Kubernetes.Subject.AuthType
Authentication type for the subject.
ns str
Namespace for the subject.
name str
Name for the subject.

Classes

AuthType

AuthType(value)

Auth types that can be used for the subject's kind field.

Values: AUTH_TYPE_UNSPECIFIED (0): Authentication is not specified. USER (1): User with valid certificate. SERVICEACCOUNT (2): Users managed by Kubernetes API with credentials stored as secrets. GROUP (3): Collection of users.