logging

package
v0.0.0-...-6b3ec00 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_google_cloud_sensitiveaction_logging_v1_sensitive_action_payload_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SensitiveAction

type SensitiveAction struct {

	// The type of action (eg. "change_organization_policy").
	ActionType string `protobuf:"bytes,1,opt,name=action_type,json=actionType,proto3" json:"action_type,omitempty"`
	// The time this action was detected.
	ActionTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=action_time,json=actionTime,proto3" json:"action_time,omitempty"`
	// GCP resources that are involved in the action.
	AffectedResources []string `protobuf:"bytes,3,rep,name=affected_resources,json=affectedResources,proto3" json:"affected_resources,omitempty"`
	// Cloud Logging entries that were used to identify the action.
	SourceLogIds []*SensitiveAction_SourceLogId `protobuf:"bytes,4,rep,name=source_log_ids,json=sourceLogIds,proto3" json:"source_log_ids,omitempty"`
	// Link to documentation where you can learn more about sensitive actions.
	LearnMoreUri string `protobuf:"bytes,5,opt,name=learn_more_uri,json=learnMoreUri,proto3" json:"learn_more_uri,omitempty"`
	// Access details associated to the sensitive action.
	Access *v1.Access `protobuf:"bytes,6,opt,name=access,proto3" json:"access,omitempty"`
	// contains filtered or unexported fields
}

Payload proto for sensitiveaction.googleapis.com/action Platform Log event that describes a sensitive action

func (*SensitiveAction) Descriptor deprecated

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

Deprecated: Use SensitiveAction.ProtoReflect.Descriptor instead.

func (*SensitiveAction) GetAccess

func (x *SensitiveAction) GetAccess() *v1.Access

func (*SensitiveAction) GetActionTime

func (x *SensitiveAction) GetActionTime() *timestamppb.Timestamp

func (*SensitiveAction) GetActionType

func (x *SensitiveAction) GetActionType() string

func (*SensitiveAction) GetAffectedResources

func (x *SensitiveAction) GetAffectedResources() []string

func (*SensitiveAction) GetLearnMoreUri

func (x *SensitiveAction) GetLearnMoreUri() string

func (*SensitiveAction) GetSourceLogIds

func (x *SensitiveAction) GetSourceLogIds() []*SensitiveAction_SourceLogId

func (*SensitiveAction) ProtoMessage

func (*SensitiveAction) ProtoMessage()

func (*SensitiveAction) ProtoReflect

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

func (*SensitiveAction) Reset

func (x *SensitiveAction) Reset()

func (*SensitiveAction) String

func (x *SensitiveAction) String() string

type SensitiveAction_SourceLogId

type SensitiveAction_SourceLogId struct {

	// The GCP resource (organization, folder, or project) that the LogEntry
	// came from.
	ResourceContainer string `protobuf:"bytes,1,opt,name=resource_container,json=resourceContainer,proto3" json:"resource_container,omitempty"`
	// The timestamp of the LogEntry.
	LogTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=log_time,json=logTime,proto3" json:"log_time,omitempty"`
	// The insert_id of the LogEntry.
	InsertId string `protobuf:"bytes,3,opt,name=insert_id,json=insertId,proto3" json:"insert_id,omitempty"`
	// A link to the Cloud Logging dashboard with a query for the LogEntry.
	QueryUri string `protobuf:"bytes,4,opt,name=query_uri,json=queryUri,proto3" json:"query_uri,omitempty"`
	// contains filtered or unexported fields
}

Used to reference a specific Cloud Logging LogEntry.

func (*SensitiveAction_SourceLogId) Descriptor deprecated

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

Deprecated: Use SensitiveAction_SourceLogId.ProtoReflect.Descriptor instead.

func (*SensitiveAction_SourceLogId) GetInsertId

func (x *SensitiveAction_SourceLogId) GetInsertId() string

func (*SensitiveAction_SourceLogId) GetLogTime

func (*SensitiveAction_SourceLogId) GetQueryUri

func (x *SensitiveAction_SourceLogId) GetQueryUri() string

func (*SensitiveAction_SourceLogId) GetResourceContainer

func (x *SensitiveAction_SourceLogId) GetResourceContainer() string

func (*SensitiveAction_SourceLogId) ProtoMessage

func (*SensitiveAction_SourceLogId) ProtoMessage()

func (*SensitiveAction_SourceLogId) ProtoReflect

func (*SensitiveAction_SourceLogId) Reset

func (x *SensitiveAction_SourceLogId) Reset()

func (*SensitiveAction_SourceLogId) String

func (x *SensitiveAction_SourceLogId) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL