Google Cloud Security Command Center Settings v1beta1 API - Class SecurityHealthAnalyticsSettings.Types.AdminServiceAccountSettings (2.0.0-beta02)

public sealed class SecurityHealthAnalyticsSettings.Types.AdminServiceAccountSettings : IMessage<SecurityHealthAnalyticsSettings.Types.AdminServiceAccountSettings>, IEquatable<SecurityHealthAnalyticsSettings.Types.AdminServiceAccountSettings>, IDeepCloneable<SecurityHealthAnalyticsSettings.Types.AdminServiceAccountSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Security Command Center Settings v1beta1 API class SecurityHealthAnalyticsSettings.Types.AdminServiceAccountSettings.

Settings for "ADMIN_SERVICE_ACCOUNT" scanner.

Inheritance

object > SecurityHealthAnalyticsSettings.Types.AdminServiceAccountSettings

Namespace

Google.Cloud.SecurityCenter.Settings.V1Beta1

Assembly

Google.Cloud.SecurityCenter.Settings.V1Beta1.dll

Constructors

AdminServiceAccountSettings()

public AdminServiceAccountSettings()

AdminServiceAccountSettings(AdminServiceAccountSettings)

public AdminServiceAccountSettings(SecurityHealthAnalyticsSettings.Types.AdminServiceAccountSettings other)
Parameter
NameDescription
otherSecurityHealthAnalyticsSettingsTypesAdminServiceAccountSettings

Properties

ApprovedIdentities

public RepeatedField<string> ApprovedIdentities { get; }

User-created service accounts ending in the provided identities are allowed to have Admin, Owner or Editor roles granted to them. Otherwise a finding will be created. A valid identity can be:

  • a partilly specified service account that starts with "@", e.g. "@myproject.iam.gserviceaccount.com". This approves all the service accounts suffixed with the specified identity.
  • a fully specified service account that does not start with "@", e.g. "myadmin@myproject.iam.gserviceaccount.com". Google-created service accounts are all approved.
Property Value
TypeDescription
RepeatedFieldstring