Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::Kubernetes.
Kubernetes-related attributes.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_reviews
def access_reviews() -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::AccessReview>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::AccessReview>) — Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
#access_reviews=
def access_reviews=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::AccessReview>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::AccessReview>) — Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::AccessReview>) — Provides information on any Kubernetes access reviews (privilege checks) relevant to the finding.
#bindings
def bindings() -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Binding>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Binding>) — Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.
#bindings=
def bindings=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Binding>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Binding>) — Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Binding>) — Provides Kubernetes role binding information for findings that involve RoleBindings or ClusterRoleBindings.
#node_pools
def node_pools() -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::NodePool>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::NodePool>) — GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.
#node_pools=
def node_pools=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::NodePool>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::NodePool>) — GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::NodePool>) — GKE node pools associated with the finding. This field contains node pool information for each node, when it is available.
#nodes
def nodes() -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Node>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Node>) — Provides Kubernetes node information.
#nodes=
def nodes=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Node>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Node>) — Provides Kubernetes node information.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Node>) — Provides Kubernetes node information.
#objects
def objects() -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Object>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Object>) — Kubernetes objects related to the finding.
#objects=
def objects=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Object>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Object>) — Kubernetes objects related to the finding.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Object>) — Kubernetes objects related to the finding.
#pods
def pods() -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Pod>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Pod>) — Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.
#pods=
def pods=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Pod>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Pod>) — Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Pod>) — Kubernetes Pods associated with the finding. This field contains Pod records for each container that is owned by a Pod.
#roles
def roles() -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Role>
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Role>) — Provides Kubernetes role information for findings that involve Roles or ClusterRoles.
#roles=
def roles=(value) -> ::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Role>
Parameter
- value (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Role>) — Provides Kubernetes role information for findings that involve Roles or ClusterRoles.
Returns
- (::Array<::Google::Cloud::SecurityCenter::V2::Kubernetes::Role>) — Provides Kubernetes role information for findings that involve Roles or ClusterRoles.