Package cloud.google.com/go/securitycenter/apiv1p1beta1/securitycenterpb (v1.37.0)

Variables

Finding_State_name, Finding_State_value

var (
	Finding_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "INACTIVE",
	}
	Finding_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"INACTIVE":          2,
	}
)

Enum value maps for Finding_State.

Finding_Severity_name, Finding_Severity_value

var (
	Finding_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "CRITICAL",
		2: "HIGH",
		3: "MEDIUM",
		4: "LOW",
	}
	Finding_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"CRITICAL":             1,
		"HIGH":                 2,
		"MEDIUM":               3,
		"LOW":                  4,
	}
)

Enum value maps for Finding_Severity.

NotificationConfig_EventType_name, NotificationConfig_EventType_value

var (
	NotificationConfig_EventType_name = map[int32]string{
		0: "EVENT_TYPE_UNSPECIFIED",
		1: "FINDING",
	}
	NotificationConfig_EventType_value = map[string]int32{
		"EVENT_TYPE_UNSPECIFIED": 0,
		"FINDING":                1,
	}
)

Enum value maps for NotificationConfig_EventType.

OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name, OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value

var (
	OrganizationSettings_AssetDiscoveryConfig_InclusionMode_name = map[int32]string{
		0: "INCLUSION_MODE_UNSPECIFIED",
		1: "INCLUDE_ONLY",
		2: "EXCLUDE",
	}
	OrganizationSettings_AssetDiscoveryConfig_InclusionMode_value = map[string]int32{
		"INCLUSION_MODE_UNSPECIFIED": 0,
		"INCLUDE_ONLY":               1,
		"EXCLUDE":                    2,
	}
)

Enum value maps for OrganizationSettings_AssetDiscoveryConfig_InclusionMode.

RunAssetDiscoveryResponse_State_name, RunAssetDiscoveryResponse_State_value

var (
	RunAssetDiscoveryResponse_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "COMPLETED",
		2: "SUPERSEDED",
		3: "TERMINATED",
	}
	RunAssetDiscoveryResponse_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"COMPLETED":         1,
		"SUPERSEDED":        2,
		"TERMINATED":        3,
	}
)

Enum value maps for RunAssetDiscoveryResponse_State.

ListAssetsResponse_ListAssetsResult_StateChange_name, ListAssetsResponse_ListAssetsResult_StateChange_value

var (
	ListAssetsResponse_ListAssetsResult_StateChange_name = map[int32]string{
		0: "UNUSED",
		1: "ADDED",
		2: "REMOVED",
		3: "ACTIVE",
	}
	ListAssetsResponse_ListAssetsResult_StateChange_value = map[string]int32{
		"UNUSED":  0,
		"ADDED":   1,
		"REMOVED": 2,
		"ACTIVE":  3,
	}
)

Enum value maps for ListAssetsResponse_ListAssetsResult_StateChange.

ListFindingsResponse_ListFindingsResult_StateChange_name, ListFindingsResponse_ListFindingsResult_StateChange_value

var (
	ListFindingsResponse_ListFindingsResult_StateChange_name = map[int32]string{
		0: "UNUSED",
		1: "CHANGED",
		2: "UNCHANGED",
		3: "ADDED",
		4: "REMOVED",
	}
	ListFindingsResponse_ListFindingsResult_StateChange_value = map[string]int32{
		"UNUSED":    0,
		"CHANGED":   1,
		"UNCHANGED": 2,
		"ADDED":     3,
		"REMOVED":   4,
	}
)

Enum value maps for ListFindingsResponse_ListFindingsResult_StateChange.

File_google_cloud_securitycenter_v1p1beta1_asset_proto

var File_google_cloud_securitycenter_v1p1beta1_asset_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_finding_proto

var File_google_cloud_securitycenter_v1p1beta1_finding_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_folder_proto

var File_google_cloud_securitycenter_v1p1beta1_folder_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_notification_config_proto

var File_google_cloud_securitycenter_v1p1beta1_notification_config_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_notification_message_proto

var File_google_cloud_securitycenter_v1p1beta1_notification_message_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_organization_settings_proto

var File_google_cloud_securitycenter_v1p1beta1_organization_settings_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_resource_proto

var File_google_cloud_securitycenter_v1p1beta1_resource_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response_proto

var File_google_cloud_securitycenter_v1p1beta1_run_asset_discovery_response_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_security_marks_proto

var File_google_cloud_securitycenter_v1p1beta1_security_marks_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_securitycenter_service_proto

var File_google_cloud_securitycenter_v1p1beta1_securitycenter_service_proto protoreflect.FileDescriptor

File_google_cloud_securitycenter_v1p1beta1_source_proto

var File_google_cloud_securitycenter_v1p1beta1_source_proto protoreflect.FileDescriptor

Functions

func RegisterSecurityCenterServer

func RegisterSecurityCenterServer(s *grpc.Server, srv SecurityCenterServer)

Asset

type Asset struct {

	// The relative resource name of this asset. See:
	// https://cloud.google.com/apis/design/resource_names#relative_resource_name
	// Example:
	// "organizations/{organization_id}/assets/{asset_id}".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Security Command Center managed properties. These properties are managed by
	// Security Command Center and cannot be modified by the user.
	SecurityCenterProperties *Asset_SecurityCenterProperties `protobuf:"bytes,2,opt,name=security_center_properties,json=securityCenterProperties,proto3" json:"security_center_properties,omitempty"`
	// Resource managed properties. These properties are managed and defined by
	// the Google Cloud resource and cannot be modified by the user.
	ResourceProperties map[string]*structpb.Value `protobuf:"bytes,7,rep,name=resource_properties,json=resourceProperties,proto3" json:"resource_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// User specified security marks. These marks are entirely managed by the user
	// and come from the SecurityMarks resource that belongs to the asset.
	SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
	// The time at which the asset was created in Security Command Center.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time at which the asset was last updated or added in Cloud SCC.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Cloud IAM Policy information associated with the Google Cloud resource
	// described by the Security Command Center asset. This information is managed
	// and defined by the Google Cloud resource and cannot be modified by the
	// user.
	IamPolicy *Asset_IamPolicy `protobuf:"bytes,11,opt,name=iam_policy,json=iamPolicy,proto3" json:"iam_policy,omitempty"`
	// The canonical name of the resource. It's either
	// "organizations/{organization_id}/assets/{asset_id}",
	// "folders/{folder_id}/assets/{asset_id}" or
	// "projects/{project_number}/assets/{asset_id}", depending on the closest CRM
	// ancestor of the resource.
	CanonicalName string `protobuf:"bytes,13,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"`
	// contains filtered or unexported fields
}

Security Command Center representation of a Google Cloud resource.

The Asset is a Security Command Center resource that captures information about a single Google Cloud resource. All modifications to an Asset are only within the context of Security Command Center and don't affect the referenced Google Cloud resource.

func (*Asset) Descriptor

func (*Asset) Descriptor() ([]byte, []int)

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetCanonicalName

func (x *Asset) GetCanonicalName() string

func (*Asset) GetCreateTime

func (x *Asset) GetCreateTime() *timestamppb.Timestamp

func (*Asset) GetIamPolicy

func (x *Asset) GetIamPolicy() *Asset_IamPolicy

func (*Asset) GetName

func (x *Asset) GetName() string

func (*Asset) GetResourceProperties

func (x *Asset) GetResourceProperties() map[string]*structpb.Value

func (*Asset) GetSecurityCenterProperties

func (x *Asset) GetSecurityCenterProperties() *Asset_SecurityCenterProperties

func (*Asset) GetSecurityMarks

func (x *Asset) GetSecurityMarks() *SecurityMarks

func (*Asset) GetUpdateTime

func (x *Asset) GetUpdateTime() *timestamppb.Timestamp

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

Asset_IamPolicy

type Asset_IamPolicy struct {

	// The JSON representation of the Policy associated with the asset.
	// See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for
	// format details.
	PolicyBlob string `protobuf:"bytes,1,opt,name=policy_blob,json=policyBlob,proto3" json:"policy_blob,omitempty"`
	// contains filtered or unexported fields
}

Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.

func (*Asset_IamPolicy) Descriptor

func (*Asset_IamPolicy) Descriptor() ([]byte, []int)

Deprecated: Use Asset_IamPolicy.ProtoReflect.Descriptor instead.

func (*Asset_IamPolicy) GetPolicyBlob

func (x *Asset_IamPolicy) GetPolicyBlob() string

func (*Asset_IamPolicy) ProtoMessage

func (*Asset_IamPolicy) ProtoMessage()

func (*Asset_IamPolicy) ProtoReflect

func (x *Asset_IamPolicy) ProtoReflect() protoreflect.Message

func (*Asset_IamPolicy) Reset

func (x *Asset_IamPolicy) Reset()

func (*Asset_IamPolicy) String

func (x *Asset_IamPolicy) String() string

Asset_SecurityCenterProperties

type Asset_SecurityCenterProperties struct {

	// The full resource name of the Google Cloud resource this asset
	// represents. This field is immutable after create time. See:
	// https://cloud.google.com/apis/design/resource_names#full_resource_name
	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// The type of the Google Cloud resource. Examples include: APPLICATION,
	// PROJECT, and ORGANIZATION. This is a case insensitive field defined by
	// Security Command Center and/or the producer of the resource and is
	// immutable after create time.
	ResourceType string `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	// The full resource name of the immediate parent of the resource. See:
	// https://cloud.google.com/apis/design/resource_names#full_resource_name
	ResourceParent string `protobuf:"bytes,3,opt,name=resource_parent,json=resourceParent,proto3" json:"resource_parent,omitempty"`
	// The full resource name of the project the resource belongs to. See:
	// https://cloud.google.com/apis/design/resource_names#full_resource_name
	ResourceProject string `protobuf:"bytes,4,opt,name=resource_project,json=resourceProject,proto3" json:"resource_project,omitempty"`
	// Owners of the Google Cloud resource.
	ResourceOwners []string `protobuf:"bytes,5,rep,name=resource_owners,json=resourceOwners,proto3" json:"resource_owners,omitempty"`
	// The user defined display name for this resource.
	ResourceDisplayName string `protobuf:"bytes,6,opt,name=resource_display_name,json=resourceDisplayName,proto3" json:"resource_display_name,omitempty"`
	// The user defined display name for the parent of this resource.
	ResourceParentDisplayName string `protobuf:"bytes,7,opt,name=resource_parent_display_name,json=resourceParentDisplayName,proto3" json:"resource_parent_display_name,omitempty"`
	// The user defined display name for the project of this resource.
	ResourceProjectDisplayName string `protobuf:"bytes,8,opt,name=resource_project_display_name,json=resourceProjectDisplayName,proto3" json:"resource_project_display_name,omitempty"`
	// Contains a Folder message for each folder in the assets ancestry.
	// The first folder is the deepest nested folder, and the last folder is the
	// folder directly under the Organization.
	Folders []*Folder `protobuf:"bytes,10,rep,name=folders,proto3" json:"folders,omitempty"`
	// contains filtered or unexported fields
}

Security Command Center managed properties. These properties are managed by Security Command Center and cannot be modified by the user.

func (*Asset_SecurityCenterProperties) Descriptor

func (*Asset_SecurityCenterProperties) Descriptor() ([]byte, []int)

Deprecated: Use Asset_SecurityCenterProperties.ProtoReflect.Descriptor instead.

func (*Asset_SecurityCenterProperties) GetFolders

func (x *Asset_SecurityCenterProperties) GetFolders() []*Folder

func (*Asset_SecurityCenterProperties) GetResourceDisplayName

func (x *Asset_SecurityCenterProperties) GetResourceDisplayName() string

func (*Asset_SecurityCenterProperties) GetResourceName

func (x *Asset_SecurityCenterProperties) GetResourceName() string

func (*Asset_SecurityCenterProperties) GetResourceOwners

func (x *Asset_SecurityCenterProperties) GetResourceOwners() []string

func (*Asset_SecurityCenterProperties) GetResourceParent

func (x *Asset_SecurityCenterProperties) GetResourceParent() string

func (*Asset_SecurityCenterProperties) GetResourceParentDisplayName

func (x *Asset_SecurityCenterProperties) GetResourceParentDisplayName() string

func (*Asset_SecurityCenterProperties) GetResourceProject

func (x *Asset_SecurityCenterProperties) GetResourceProject() string

func (*Asset_SecurityCenterProperties) GetResourceProjectDisplayName

func (x *Asset_SecurityCenterProperties) GetResourceProjectDisplayName() string

func (*Asset_SecurityCenterProperties) GetResourceType

func (x *Asset_SecurityCenterProperties) GetResourceType() string

func (*Asset_SecurityCenterProperties) ProtoMessage

func (*Asset_SecurityCenterProperties) ProtoMessage()

func (*Asset_SecurityCenterProperties) ProtoReflect

func (*Asset_SecurityCenterProperties) Reset

func (x *Asset_SecurityCenterProperties) Reset()

func (*Asset_SecurityCenterProperties) String

CreateFindingRequest

type CreateFindingRequest struct {

	// Required. Resource name of the new finding's parent. Its format should be
	// "organizations/[organization_id]/sources/[source_id]".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique identifier provided by the client within the parent scope.
	FindingId string `protobuf:"bytes,2,opt,name=finding_id,json=findingId,proto3" json:"finding_id,omitempty"`
	// Required. The Finding being created. The name and security_marks will be ignored as
	// they are both output only fields on this resource.
	Finding *Finding `protobuf:"bytes,3,opt,name=finding,proto3" json:"finding,omitempty"`
	// contains filtered or unexported fields
}

Request message for creating a finding.

func (*CreateFindingRequest) Descriptor

func (*CreateFindingRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateFindingRequest.ProtoReflect.Descriptor instead.

func (*CreateFindingRequest) GetFinding

func (x *CreateFindingRequest) GetFinding() *Finding

func (*CreateFindingRequest) GetFindingId

func (x *CreateFindingRequest) GetFindingId() string

func (*CreateFindingRequest) GetParent

func (x *CreateFindingRequest) GetParent() string

func (*CreateFindingRequest) ProtoMessage

func (*CreateFindingRequest) ProtoMessage()

func (*CreateFindingRequest) ProtoReflect

func (x *CreateFindingRequest) ProtoReflect() protoreflect.Message

func (*CreateFindingRequest) Reset

func (x *CreateFindingRequest) Reset()

func (*CreateFindingRequest) String

func (x *CreateFindingRequest) String() string

CreateNotificationConfigRequest

type CreateNotificationConfigRequest struct {

	// Required. Resource name of the new notification config's parent. Its format is
	// "organizations/[organization_id]".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique identifier provided by the client within the parent scope.
	// It must be between 1 and 128 characters, and contains alphanumeric
	// characters, underscores or hyphens only.
	ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"`
	// Required. The notification config being created. The name and the service account
	// will be ignored as they are both output only fields on this resource.
	NotificationConfig *NotificationConfig `protobuf:"bytes,3,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`
	// contains filtered or unexported fields
}

Request message for creating a notification config.

func (*CreateNotificationConfigRequest) Descriptor

func (*CreateNotificationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateNotificationConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateNotificationConfigRequest) GetConfigId

func (x *CreateNotificationConfigRequest) GetConfigId() string

func (*CreateNotificationConfigRequest) GetNotificationConfig

func (x *CreateNotificationConfigRequest) GetNotificationConfig() *NotificationConfig

func (*CreateNotificationConfigRequest) GetParent

func (x *CreateNotificationConfigRequest) GetParent() string

func (*CreateNotificationConfigRequest) ProtoMessage

func (*CreateNotificationConfigRequest) ProtoMessage()

func (*CreateNotificationConfigRequest) ProtoReflect

func (*CreateNotificationConfigRequest) Reset

func (*CreateNotificationConfigRequest) String

CreateSourceRequest

type CreateSourceRequest struct {

	// Required. Resource name of the new source's parent. Its format should be
	// "organizations/[organization_id]".
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The Source being created, only the display_name and description will be
	// used. All other fields will be ignored.
	Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	// contains filtered or unexported fields
}

Request message for creating a source.

func (*CreateSourceRequest) Descriptor

func (*CreateSourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSourceRequest.ProtoReflect.Descriptor instead.

func (*CreateSourceRequest) GetParent

func (x *CreateSourceRequest) GetParent() string

func (*CreateSourceRequest) GetSource

func (x *CreateSourceRequest) GetSource() *Source

func (*CreateSourceRequest) ProtoMessage

func (*CreateSourceRequest) ProtoMessage()

func (*CreateSourceRequest) ProtoReflect

func (x *CreateSourceRequest) ProtoReflect() protoreflect.Message

func (*CreateSourceRequest) Reset

func (x *CreateSourceRequest) Reset()

func (*CreateSourceRequest) String

func (x *CreateSourceRequest) String() string

DeleteNotificationConfigRequest

type DeleteNotificationConfigRequest struct {

	// Required. Name of the notification config to delete. Its format is
	// "organizations/[organization_id]/notificationConfigs/[config_id]".
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for deleting a notification config.

func (*DeleteNotificationConfigRequest) Descriptor

func (*DeleteNotificationConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteNotificationConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationConfigRequest) GetName

func (*DeleteNotificationConfigRequest) ProtoMessage

func (*DeleteNotificationConfigRequest) ProtoMessage()

func (*DeleteNotificationConfigRequest) ProtoReflect

func (*DeleteNotificationConfigRequest) Reset

func (*DeleteNotificationConfigRequest) String

Finding

type Finding struct {

	// The relative resource name of this finding. See:
	// https://cloud.google.com/apis/design/resource_names#relative_resource_name
	// Example:
	// "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The relative resource name of the source the finding belongs to. See:
	// https://cloud.google.com/apis/design/resource_names#relative_resource_name
	// This field is immutable after creation time.
	// For example:
	// "organizations/{organization_id}/sources/{source_id}"
	Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	// For findings on Google Cloud resources, the full resource
	// name of the Google Cloud resource this finding is for. See:
	// https://cloud.google.com/apis/design/resource_names#full_resource_name
	// When the finding is for a non-Google Cloud resource, the resourceName can
	// be a customer or partner defined string. This field is immutable after
	// creation time.
	ResourceName string `protobuf:"bytes,3,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// The state of the finding.
	State Finding_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.securitycenter.v1p1beta1.Finding_State" json:"state,omitempty"`
	// The additional taxonomy group within findings from a given source.
	// This field is immutable after creation time.
	// Example: "XSS_FLASH_INJECTION"
	Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
	// The URI that, if available, points to a web page outside of Security
	// Command Center where additional information about the finding can be found.
	// This field is guaranteed to be either empty or a well formed URL.
	ExternalUri string `protobuf:"bytes,6,opt,name=external_uri,json=externalUri,proto3" json:"external_uri,omitempty"`
	// Source specific properties. These properties are managed by the source
	// that writes the finding. The key names in the source_properties map must be
	// between 1 and 255 characters, and must start with a letter and contain
	// alphanumeric characters or underscores only.
	SourceProperties map[string]*structpb.Value `protobuf:"bytes,7,rep,name=source_properties,json=sourceProperties,proto3" json:"source_properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Output only. User specified security marks. These marks are entirely
	// managed by the user and come from the SecurityMarks resource that belongs
	// to the finding.
	SecurityMarks *SecurityMarks `protobuf:"bytes,8,opt,name=security_marks,json=securityMarks,proto3" json:"security_marks,omitempty"`
	// The time at which the event took place, or when an update to the finding
	// occurred. For example, if the finding represents an open firewall it would
	// capture the time the detector believes the firewall became open. The
	// accuracy is determined by the detector. If the finding were to be resolved
	// afterward, this time would reflect when the finding was resolved. Must not
	// be set to a value greater than the current timestamp.
	EventTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	// The time at which the finding was created in Security Command Center.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The severity of the finding. This field is managed by the source that
	// writes the finding.
	Severity Finding_Severity `protobuf:"varint,13,opt,name=severity,proto3,enum=google.cloud.securitycenter.v1p1beta1.Finding_Severity" json:"severity,omitempty"`
	// The canonical name of the finding. It's either
	// "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
	// "folders/{folder_id}/sources/{source_id}/findings/{finding_id}" or
	// "projects/{project_number}/sources/{source_id}/findings/{finding_id}",
	// depending on the closest CRM ancestor of the resource associated with the
	// finding.
	CanonicalName string `protobuf:"bytes,14,opt,name=canonical_name,json=canonicalName,proto3" json:"canonical_name,omitempty"`
	// contains filtered or unexported fields
}

Security Command Center finding.

A finding is a record of assessment data (security, risk, health or privacy) ingested into Security Command Center for presentation, notification, analysis, policy testing, and enforcement. For example, an XSS vulnerability in an App Engine application is a finding.

func (*Finding) Descriptor

func (*Finding) Descriptor() ([]byte, []int)

Deprecated: Use Finding.ProtoReflect.Descriptor instead.

func (*Finding) GetCanonicalName

func (x *Finding) GetCanonicalName() string

func (*Finding) GetCategory

func (x *Finding) GetCategory() string

func (*Finding) GetCreateTime

func (x *Finding) GetCreateTime() *timestamppb.Timestamp

func (*Finding) GetEventTime

func (x *Finding) GetEventTime() *timestamppb.Timestamp

func (*Finding) GetExternalUri

func (x *Finding) GetExternalUri() string

func (*Finding) GetName

func (x *Finding) GetName() string

func (*Finding) GetParent

func (x *Finding) GetParent() string

func (*Finding) GetResourceName

func (x *Finding) GetResourceName() string

func (*Finding) GetSecurityMarks

func (x *Finding) GetSecurityMarks() *SecurityMarks

func (*Finding) GetSeverity

func (x *Finding) GetSeverity() Finding_Severity

func (*Finding) GetSourceProperties

func (x *Finding) GetSourceProperties() map[string]*structpb.Value

func (*Finding) GetState

func (x *Finding) GetState() Finding_State

func (*Finding) ProtoMessage

func (*Finding) ProtoMessage()

func (*Finding) ProtoReflect

func (x *Finding) ProtoReflect() protoreflect.Message

func (*Finding) Reset

func (x *Finding) Reset()

func (*Finding) String

func (x *Finding) String() string

Finding_Severity

type Finding_Severity int32

The severity of the finding. This field is managed by the source that writes the finding.

Finding_SEVERITY_UNSPECIFIED, Finding_CRITICAL, Finding_HIGH, Finding_MEDIUM, Finding_LOW

const (
	// No severity specified. The default value.
	Finding_SEVERITY_UNSPECIFIED Finding_Severity = 0
	// Critical severity.
	Finding_CRITICAL Finding_Severity = 1
	// High severity.
	Finding_HIGH Finding_Severity = 2
	// Medium severity.
	Finding_MEDIUM Finding_Severity = 3
	// Low severity.
	Finding_LOW Finding_Severity = 4
)

func (Finding_Severity) Descriptor

func (Finding_Severity) Enum

func (Finding_Severity) EnumDescriptor

func (Finding_Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Finding_Severity.Descriptor instead.

func (Finding_Severity) Number

func (Finding_Severity) String

func (x Finding_Severity) String() string

func (Finding_Severity) Type

Finding_State

type Finding_State int32

The state of the finding.

Finding_STATE_UNSPECIFIED, Finding_ACTIVE, Finding_INACTIVE

const (
	// Unspecified state.
	Finding_STATE_UNSPECIFIED Finding_State = 0
	// The finding requires attention and has not been addressed yet.
	Finding_ACTIVE Finding_State = 1
	// The finding has been fixed, triaged as a non-issue or otherwise addressed
	// and is no longer active.
	Finding_INACTIVE Finding_State = 2
)

func (Finding_State) Descriptor

func (