auditv1alpha1

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActorType_name = map[int32]string{
		0: "ACTOR_TYPE_UNSPECIFIED",
		1: "ACTOR_TYPE_USER",
		2: "ACTOR_TYPE_SYSTEM",
	}
	ActorType_value = map[string]int32{
		"ACTOR_TYPE_UNSPECIFIED": 0,
		"ACTOR_TYPE_USER":        1,
		"ACTOR_TYPE_SYSTEM":      2,
	}
)

Enum value maps for ActorType.

View Source
var (
	ResourceType_name = map[int32]string{
		0: "RESOURCE_TYPE_UNSPECIFIED",
		1: "RESOURCE_TYPE_USER",
		2: "RESOURCE_TYPE_ORGANIZATION",
		3: "RESOURCE_TYPE_ORGANIZATION_MEMBER",
		4: "RESOURCE_TYPE_REPOSITORY",
		5: "RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR",
		6: "RESOURCE_TYPE_REPOSITORY_COMMIT",
		7: "RESOURCE_TYPE_PLUGIN",
		8: "RESOURCE_TYPE_CURATED_PLUGIN",
	}
	ResourceType_value = map[string]int32{
		"RESOURCE_TYPE_UNSPECIFIED":            0,
		"RESOURCE_TYPE_USER":                   1,
		"RESOURCE_TYPE_ORGANIZATION":           2,
		"RESOURCE_TYPE_ORGANIZATION_MEMBER":    3,
		"RESOURCE_TYPE_REPOSITORY":             4,
		"RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR": 5,
		"RESOURCE_TYPE_REPOSITORY_COMMIT":      6,
		"RESOURCE_TYPE_PLUGIN":                 7,
		"RESOURCE_TYPE_CURATED_PLUGIN":         8,
	}
)

Enum value maps for ResourceType.

View Source
var (
	EventType_name = map[int32]string{
		0:  "EVENT_TYPE_UNSPECIFIED",
		1:  "EVENT_TYPE_ORGANIZATION_CREATED",
		2:  "EVENT_TYPE_ORGANIZATION_DELETED",
		3:  "EVENT_TYPE_ORGANIZATION_MEMBER_ADDED",
		4:  "EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED",
		5:  "EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED",
		6:  "EVENT_TYPE_REPOSITORY_CREATED",
		7:  "EVENT_TYPE_REPOSITORY_DELETED",
		8:  "EVENT_TYPE_REPOSITORY_COMMIT_PUSHED",
		9:  "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED",
		10: "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED",
		11: "EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED",
		12: "EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED",
		13: "EVENT_TYPE_PLUGIN_CREATED",
		14: "EVENT_TYPE_PLUGIN_DELETED",
		15: "EVENT_TYPE_USER_CREATED",
		16: "EVENT_TYPE_USER_DELETED",
		17: "EVENT_TYPE_USER_DEACTIVATED",
		18: "EVENT_TYPE_USER_LOGGED_IN",
		19: "EVENT_TYPE_USER_LOGGED_OUT",
		20: "EVENT_TYPE_CURATED_PLUGIN_CREATED",
	}
	EventType_value = map[string]int32{
		"EVENT_TYPE_UNSPECIFIED":                         0,
		"EVENT_TYPE_ORGANIZATION_CREATED":                1,
		"EVENT_TYPE_ORGANIZATION_DELETED":                2,
		"EVENT_TYPE_ORGANIZATION_MEMBER_ADDED":           3,
		"EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED":    4,
		"EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED":         5,
		"EVENT_TYPE_REPOSITORY_CREATED":                  6,
		"EVENT_TYPE_REPOSITORY_DELETED":                  7,
		"EVENT_TYPE_REPOSITORY_COMMIT_PUSHED":            8,
		"EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED":        9,
		"EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED": 10,
		"EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED":      11,
		"EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED":       12,
		"EVENT_TYPE_PLUGIN_CREATED":                      13,
		"EVENT_TYPE_PLUGIN_DELETED":                      14,
		"EVENT_TYPE_USER_CREATED":                        15,
		"EVENT_TYPE_USER_DELETED":                        16,
		"EVENT_TYPE_USER_DEACTIVATED":                    17,
		"EVENT_TYPE_USER_LOGGED_IN":                      18,
		"EVENT_TYPE_USER_LOGGED_OUT":                     19,
		"EVENT_TYPE_CURATED_PLUGIN_CREATED":              20,
	}
)

Enum value maps for EventType.

View Source
var File_buf_alpha_audit_v1alpha1_event_proto protoreflect.FileDescriptor
View Source
var File_buf_alpha_audit_v1alpha1_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Actor added in v1.8.0

type Actor struct {

	// Type of actor who caused the audited event.
	Type ActorType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ActorType" json:"type,omitempty"`
	// Id of the actor who caused the audited event.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the actor who caused the audited event.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Actor is the actor who caused the audited event.

func (*Actor) Descriptor deprecated added in v1.8.0

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

Deprecated: Use Actor.ProtoReflect.Descriptor instead.

func (*Actor) GetId added in v1.8.0

func (x *Actor) GetId() string

func (*Actor) GetName added in v1.8.0

func (x *Actor) GetName() string

func (*Actor) GetType added in v1.8.0

func (x *Actor) GetType() ActorType

func (*Actor) ProtoMessage added in v1.8.0

func (*Actor) ProtoMessage()

func (*Actor) ProtoReflect added in v1.8.0

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

func (*Actor) Reset added in v1.8.0

func (x *Actor) Reset()

func (*Actor) String added in v1.8.0

func (x *Actor) String() string

type ActorType added in v1.8.0

type ActorType int32

ActorType is the type of actor that caused the audited event.

const (
	ActorType_ACTOR_TYPE_UNSPECIFIED ActorType = 0
	ActorType_ACTOR_TYPE_USER        ActorType = 1
	ActorType_ACTOR_TYPE_SYSTEM      ActorType = 2
)

func (ActorType) Descriptor added in v1.8.0

func (ActorType) Descriptor() protoreflect.EnumDescriptor

func (ActorType) Enum added in v1.8.0

func (x ActorType) Enum() *ActorType

func (ActorType) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use ActorType.Descriptor instead.

func (ActorType) Number added in v1.8.0

func (x ActorType) Number() protoreflect.EnumNumber

func (ActorType) String added in v1.8.0

func (x ActorType) String() string

func (ActorType) Type added in v1.8.0

type Event

type Event struct {

	// Unique id of the audited event.
	EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// Type of the audited event. It specifies "what" happened.
	Type EventType `protobuf:"varint,2,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.EventType" json:"type,omitempty"`
	// Actor of the audited event. It specifies "who" did it.
	Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"`
	// Resource of the audited event. It specifies "which resource" was affected.
	Resource *Resource `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
	// Time of the audited event. It specifies "when" it happened.
	EventTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	// Metadata about the audited event. It specifies any additional details about the audited event.
	Metadata *EventMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Payload of the audited event. It specifies additional context on the event.
	//
	// Types that are assignable to Payload:
	//
	//	*Event_OrganizationCreated
	//	*Event_OrganizationDeleted
	//	*Event_OrganizationMemberAdded
	//	*Event_OrganizationMemberRoleChanged
	//	*Event_OrganizationMemberRemoved
	//	*Event_RepositoryCreated
	//	*Event_RepositoryDeleted
	//	*Event_RepositoryCommitPushed
	//	*Event_RepositoryContributorAdded
	//	*Event_RepositoryContributorRoleChanged
	//	*Event_RepositoryContributorRemoved
	//	*Event_RepositoryVisibilityChanged
	//	*Event_PluginCreated
	//	*Event_PluginDeleted
	//	*Event_UserCreated
	//	*Event_UserDeactivated
	//	*Event_UserDeleted
	//	*Event_UserLoggedIn
	//	*Event_UserLoggedOut
	//	*Event_CuratedPluginCreated
	Payload isEvent_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

Event is an audited action that happened in the BSR, with the information of what happened, when it happened, who did it, which resource was affected, and more contextual information on the event.

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetActor

func (x *Event) GetActor() *Actor

func (*Event) GetCuratedPluginCreated added in v1.10.0

func (x *Event) GetCuratedPluginCreated() *PayloadCuratedPluginCreated

func (*Event) GetEventId

func (x *Event) GetEventId() string

func (*Event) GetEventTime

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

func (*Event) GetMetadata added in v1.9.0

func (x *Event) GetMetadata() *EventMetadata

func (*Event) GetOrganizationCreated added in v1.8.0

func (x *Event) GetOrganizationCreated() *PayloadOrganizationCreated

func (*Event) GetOrganizationDeleted added in v1.8.0

func (x *Event) GetOrganizationDeleted() *PayloadOrganizationDeleted

func (*Event) GetOrganizationMemberAdded added in v1.8.0

func (x *Event) GetOrganizationMemberAdded() *PayloadOrganizationMemberAdded

func (*Event) GetOrganizationMemberRemoved added in v1.8.0

func (x *Event) GetOrganizationMemberRemoved() *PayloadOrganizationMemberRemoved

func (*Event) GetOrganizationMemberRoleChanged added in v1.8.0

func (x *Event) GetOrganizationMemberRoleChanged() *PayloadOrganizationMemberRoleChanged

func (*Event) GetPayload added in v1.8.0

func (m *Event) GetPayload() isEvent_Payload

func (*Event) GetPluginCreated deprecated added in v1.8.0

func (x *Event) GetPluginCreated() *PayloadPluginCreated

Deprecated: Do not use.

func (*Event) GetPluginDeleted deprecated added in v1.8.0

func (x *Event) GetPluginDeleted() *PayloadPluginDeleted

Deprecated: Do not use.

func (*Event) GetRepositoryCommitPushed added in v1.9.0

func (x *Event) GetRepositoryCommitPushed() *PayloadRepositoryCommitPushed

func (*Event) GetRepositoryContributorAdded added in v1.8.0

func (x *Event) GetRepositoryContributorAdded() *PayloadRepositoryContributorAdded

func (*Event) GetRepositoryContributorRemoved added in v1.8.0

func (x *Event) GetRepositoryContributorRemoved() *PayloadRepositoryContributorRemoved

func (*Event) GetRepositoryContributorRoleChanged added in v1.8.0

func (x *Event) GetRepositoryContributorRoleChanged() *PayloadRepositoryContributorRoleChanged

func (*Event) GetRepositoryCreated added in v1.8.0

func (x *Event) GetRepositoryCreated() *PayloadRepositoryCreated

func (*Event) GetRepositoryDeleted added in v1.8.0

func (x *Event) GetRepositoryDeleted() *PayloadRepositoryDeleted

func (*Event) GetRepositoryVisibilityChanged added in v1.8.0

func (x *Event) GetRepositoryVisibilityChanged() *PayloadRepositoryVisibilityChanged

func (*Event) GetResource added in v1.8.0

func (x *Event) GetResource() *Resource

func (*Event) GetType added in v1.8.0

func (x *Event) GetType() EventType

func (*Event) GetUserCreated added in v1.9.0

func (x *Event) GetUserCreated() *PayloadUserCreated

func (*Event) GetUserDeactivated added in v1.8.0

func (x *Event) GetUserDeactivated() *PayloadUserDeactivated

func (*Event) GetUserDeleted added in v1.8.0

func (x *Event) GetUserDeleted() *PayloadUserDeleted

func (*Event) GetUserLoggedIn added in v1.8.0

func (x *Event) GetUserLoggedIn() *PayloadUserLoggedIn

func (*Event) GetUserLoggedOut added in v1.8.0

func (x *Event) GetUserLoggedOut() *PayloadUserLoggedOut

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventMetadata added in v1.9.0

type EventMetadata struct {

	// UserAgent is the User-Agent header associated with the request that triggered the audited event, if any.
	UserAgent string `protobuf:"bytes,1,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	// IP is the IP address associated with the request that triggered the audited event, if any.
	Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
	// TraceID is the ID of the trace associated with the audited event, if any.
	TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
	// contains filtered or unexported fields
}

EventMetadata provides additional details about the audited event.

func (*EventMetadata) Descriptor deprecated added in v1.9.0

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

Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.

func (*EventMetadata) GetIp added in v1.9.0

func (x *EventMetadata) GetIp() string

func (*EventMetadata) GetTraceId added in v1.9.0

func (x *EventMetadata) GetTraceId() string

func (*EventMetadata) GetUserAgent added in v1.9.0

func (x *EventMetadata) GetUserAgent() string

func (*EventMetadata) ProtoMessage added in v1.9.0

func (*EventMetadata) ProtoMessage()

func (*EventMetadata) ProtoReflect added in v1.9.0

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

func (*EventMetadata) Reset added in v1.9.0

func (x *EventMetadata) Reset()

func (*EventMetadata) String added in v1.9.0

func (x *EventMetadata) String() string

type EventType added in v1.8.0

type EventType int32

EventType is the type of audited event.

const (
	EventType_EVENT_TYPE_UNSPECIFIED                         EventType = 0
	EventType_EVENT_TYPE_ORGANIZATION_CREATED                EventType = 1
	EventType_EVENT_TYPE_ORGANIZATION_DELETED                EventType = 2
	EventType_EVENT_TYPE_ORGANIZATION_MEMBER_ADDED           EventType = 3
	EventType_EVENT_TYPE_ORGANIZATION_MEMBER_ROLE_CHANGED    EventType = 4
	EventType_EVENT_TYPE_ORGANIZATION_MEMBER_REMOVED         EventType = 5
	EventType_EVENT_TYPE_REPOSITORY_CREATED                  EventType = 6
	EventType_EVENT_TYPE_REPOSITORY_DELETED                  EventType = 7
	EventType_EVENT_TYPE_REPOSITORY_COMMIT_PUSHED            EventType = 8
	EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ADDED        EventType = 9
	EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_ROLE_CHANGED EventType = 10
	EventType_EVENT_TYPE_REPOSITORY_CONTRIBUTOR_REMOVED      EventType = 11
	EventType_EVENT_TYPE_REPOSITORY_VISIBILITY_CHANGED       EventType = 12
	// Deprecated: Do not use.
	EventType_EVENT_TYPE_PLUGIN_CREATED EventType = 13
	// Deprecated: Do not use.
	EventType_EVENT_TYPE_PLUGIN_DELETED         EventType = 14
	EventType_EVENT_TYPE_USER_CREATED           EventType = 15
	EventType_EVENT_TYPE_USER_DELETED           EventType = 16
	EventType_EVENT_TYPE_USER_DEACTIVATED       EventType = 17
	EventType_EVENT_TYPE_USER_LOGGED_IN         EventType = 18
	EventType_EVENT_TYPE_USER_LOGGED_OUT        EventType = 19
	EventType_EVENT_TYPE_CURATED_PLUGIN_CREATED EventType = 20
)

func (EventType) Descriptor added in v1.8.0

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum added in v1.8.0

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number added in v1.8.0

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String added in v1.8.0

func (x EventType) String() string

func (EventType) Type added in v1.8.0

type Event_CuratedPluginCreated added in v1.10.0

type Event_CuratedPluginCreated struct {
	CuratedPluginCreated *PayloadCuratedPluginCreated `protobuf:"bytes,26,opt,name=curated_plugin_created,json=curatedPluginCreated,proto3,oneof"`
}

type Event_OrganizationCreated added in v1.8.0

type Event_OrganizationCreated struct {
	OrganizationCreated *PayloadOrganizationCreated `protobuf:"bytes,7,opt,name=organization_created,json=organizationCreated,proto3,oneof"`
}

type Event_OrganizationDeleted added in v1.8.0

type Event_OrganizationDeleted struct {
	OrganizationDeleted *PayloadOrganizationDeleted `protobuf:"bytes,8,opt,name=organization_deleted,json=organizationDeleted,proto3,oneof"`
}

type Event_OrganizationMemberAdded added in v1.8.0

type Event_OrganizationMemberAdded struct {
	OrganizationMemberAdded *PayloadOrganizationMemberAdded `protobuf:"bytes,9,opt,name=organization_member_added,json=organizationMemberAdded,proto3,oneof"`
}

type Event_OrganizationMemberRemoved added in v1.8.0

type Event_OrganizationMemberRemoved struct {
	OrganizationMemberRemoved *PayloadOrganizationMemberRemoved `protobuf:"bytes,11,opt,name=organization_member_removed,json=organizationMemberRemoved,proto3,oneof"`
}

type Event_OrganizationMemberRoleChanged added in v1.8.0

type Event_OrganizationMemberRoleChanged struct {
	OrganizationMemberRoleChanged *PayloadOrganizationMemberRoleChanged `protobuf:"bytes,10,opt,name=organization_member_role_changed,json=organizationMemberRoleChanged,proto3,oneof"`
}

type Event_PluginCreated added in v1.8.0

type Event_PluginCreated struct {
	// Deprecated: Do not use.
	PluginCreated *PayloadPluginCreated `protobuf:"bytes,19,opt,name=plugin_created,json=pluginCreated,proto3,oneof"`
}

type Event_PluginDeleted added in v1.8.0

type Event_PluginDeleted struct {
	// Deprecated: Do not use.
	PluginDeleted *PayloadPluginDeleted `protobuf:"bytes,20,opt,name=plugin_deleted,json=pluginDeleted,proto3,oneof"`
}

type Event_RepositoryCommitPushed added in v1.9.0

type Event_RepositoryCommitPushed struct {
	RepositoryCommitPushed *PayloadRepositoryCommitPushed `protobuf:"bytes,14,opt,name=repository_commit_pushed,json=repositoryCommitPushed,proto3,oneof"`
}

type Event_RepositoryContributorAdded added in v1.8.0

type Event_RepositoryContributorAdded struct {
	RepositoryContributorAdded *PayloadRepositoryContributorAdded `protobuf:"bytes,15,opt,name=repository_contributor_added,json=repositoryContributorAdded,proto3,oneof"`
}

type Event_RepositoryContributorRemoved added in v1.8.0

type Event_RepositoryContributorRemoved struct {
	RepositoryContributorRemoved *PayloadRepositoryContributorRemoved `protobuf:"bytes,17,opt,name=repository_contributor_removed,json=repositoryContributorRemoved,proto3,oneof"`
}

type Event_RepositoryContributorRoleChanged added in v1.8.0

type Event_RepositoryContributorRoleChanged struct {
	RepositoryContributorRoleChanged *PayloadRepositoryContributorRoleChanged `protobuf:"bytes,16,opt,name=repository_contributor_role_changed,json=repositoryContributorRoleChanged,proto3,oneof"`
}

type Event_RepositoryCreated added in v1.8.0

type Event_RepositoryCreated struct {
	RepositoryCreated *PayloadRepositoryCreated `protobuf:"bytes,12,opt,name=repository_created,json=repositoryCreated,proto3,oneof"`
}

type Event_RepositoryDeleted added in v1.8.0

type Event_RepositoryDeleted struct {
	RepositoryDeleted *PayloadRepositoryDeleted `protobuf:"bytes,13,opt,name=repository_deleted,json=repositoryDeleted,proto3,oneof"`
}

type Event_RepositoryVisibilityChanged added in v1.8.0

type Event_RepositoryVisibilityChanged struct {
	RepositoryVisibilityChanged *PayloadRepositoryVisibilityChanged `protobuf:"bytes,18,opt,name=repository_visibility_changed,json=repositoryVisibilityChanged,proto3,oneof"`
}

type Event_UserCreated added in v1.9.0

type Event_UserCreated struct {
	UserCreated *PayloadUserCreated `protobuf:"bytes,21,opt,name=user_created,json=userCreated,proto3,oneof"`
}

type Event_UserDeactivated added in v1.8.0

type Event_UserDeactivated struct {
	UserDeactivated *PayloadUserDeactivated `protobuf:"bytes,22,opt,name=user_deactivated,json=userDeactivated,proto3,oneof"`
}

type Event_UserDeleted added in v1.8.0

type Event_UserDeleted struct {
	UserDeleted *PayloadUserDeleted `protobuf:"bytes,23,opt,name=user_deleted,json=userDeleted,proto3,oneof"`
}

type Event_UserLoggedIn added in v1.8.0

type Event_UserLoggedIn struct {
	UserLoggedIn *PayloadUserLoggedIn `protobuf:"bytes,24,opt,name=user_logged_in,json=userLoggedIn,proto3,oneof"`
}

type Event_UserLoggedOut added in v1.8.0

type Event_UserLoggedOut struct {
	UserLoggedOut *PayloadUserLoggedOut `protobuf:"bytes,25,opt,name=user_logged_out,json=userLoggedOut,proto3,oneof"`
}

type ListAuditedEventsRequest added in v1.9.0

type ListAuditedEventsRequest struct {

	// The page size for listing audited events, values between 1-250.
	PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The page token for paginating. The first page is returned if this is empty.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The start timestamp to filter events from.
	Start *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	// The end timestamp to filter events to.
	End *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditedEventsRequest) Descriptor deprecated added in v1.9.0

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

Deprecated: Use ListAuditedEventsRequest.ProtoReflect.Descriptor instead.

func (*ListAuditedEventsRequest) GetEnd added in v1.9.0

func (*ListAuditedEventsRequest) GetPageSize added in v1.9.0

func (x *ListAuditedEventsRequest) GetPageSize() uint32

func (*ListAuditedEventsRequest) GetPageToken added in v1.9.0

func (x *ListAuditedEventsRequest) GetPageToken() string

func (*ListAuditedEventsRequest) GetStart added in v1.9.0

func (*ListAuditedEventsRequest) ProtoMessage added in v1.9.0

func (*ListAuditedEventsRequest) ProtoMessage()

func (*ListAuditedEventsRequest) ProtoReflect added in v1.9.0

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

func (*ListAuditedEventsRequest) Reset added in v1.9.0

func (x *ListAuditedEventsRequest) Reset()

func (*ListAuditedEventsRequest) String added in v1.9.0

func (x *ListAuditedEventsRequest) String() string

type ListAuditedEventsResponse added in v1.9.0

type ListAuditedEventsResponse struct {

	// The list of audited events in the current page.
	Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// The token for the next page of audited events. There are no more pages if
	// this is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAuditedEventsResponse) Descriptor deprecated added in v1.9.0

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

Deprecated: Use ListAuditedEventsResponse.ProtoReflect.Descriptor instead.

func (*ListAuditedEventsResponse) GetEvents added in v1.9.0

func (x *ListAuditedEventsResponse) GetEvents() []*Event

func (*ListAuditedEventsResponse) GetNextPageToken added in v1.9.0

func (x *ListAuditedEventsResponse) GetNextPageToken() string

func (*ListAuditedEventsResponse) ProtoMessage added in v1.9.0

func (*ListAuditedEventsResponse) ProtoMessage()

func (*ListAuditedEventsResponse) ProtoReflect added in v1.9.0

func (*ListAuditedEventsResponse) Reset added in v1.9.0

func (x *ListAuditedEventsResponse) Reset()

func (*ListAuditedEventsResponse) String added in v1.9.0

func (x *ListAuditedEventsResponse) String() string

type PayloadCuratedPluginCreated added in v1.10.0

type PayloadCuratedPluginCreated struct {

	// owner_id is the id of the owner of the plugin.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the plugin.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadCuratedPluginCreated) Descriptor deprecated added in v1.10.0

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

Deprecated: Use PayloadCuratedPluginCreated.ProtoReflect.Descriptor instead.

func (*PayloadCuratedPluginCreated) GetOwnerId added in v1.10.0

func (x *PayloadCuratedPluginCreated) GetOwnerId() string

func (*PayloadCuratedPluginCreated) GetOwnerName added in v1.10.0

func (x *PayloadCuratedPluginCreated) GetOwnerName() string

func (*PayloadCuratedPluginCreated) ProtoMessage added in v1.10.0

func (*PayloadCuratedPluginCreated) ProtoMessage()

func (*PayloadCuratedPluginCreated) ProtoReflect added in v1.10.0

func (*PayloadCuratedPluginCreated) Reset added in v1.10.0

func (x *PayloadCuratedPluginCreated) Reset()

func (*PayloadCuratedPluginCreated) String added in v1.10.0

func (x *PayloadCuratedPluginCreated) String() string

type PayloadOrganizationCreated added in v1.8.0

type PayloadOrganizationCreated struct {
	// contains filtered or unexported fields
}

func (*PayloadOrganizationCreated) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadOrganizationCreated.ProtoReflect.Descriptor instead.

func (*PayloadOrganizationCreated) ProtoMessage added in v1.8.0

func (*PayloadOrganizationCreated) ProtoMessage()

func (*PayloadOrganizationCreated) ProtoReflect added in v1.8.0

func (*PayloadOrganizationCreated) Reset added in v1.8.0

func (x *PayloadOrganizationCreated) Reset()

func (*PayloadOrganizationCreated) String added in v1.8.0

func (x *PayloadOrganizationCreated) String() string

type PayloadOrganizationDeleted added in v1.8.0

type PayloadOrganizationDeleted struct {
	// contains filtered or unexported fields
}

func (*PayloadOrganizationDeleted) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadOrganizationDeleted.ProtoReflect.Descriptor instead.

func (*PayloadOrganizationDeleted) ProtoMessage added in v1.8.0

func (*PayloadOrganizationDeleted) ProtoMessage()

func (*PayloadOrganizationDeleted) ProtoReflect added in v1.8.0

func (*PayloadOrganizationDeleted) Reset added in v1.8.0

func (x *PayloadOrganizationDeleted) Reset()

func (*PayloadOrganizationDeleted) String added in v1.8.0

func (x *PayloadOrganizationDeleted) String() string

type PayloadOrganizationMemberAdded added in v1.8.0

type PayloadOrganizationMemberAdded struct {

	// organization_id is the id of the organization with the new member.
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// organization_name is the name of the organization with the new member.
	OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"`
	// member_role is the role granted to the member added to the organization.
	MemberRole v1alpha1.OrganizationRole `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadOrganizationMemberAdded) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadOrganizationMemberAdded.ProtoReflect.Descriptor instead.

func (*PayloadOrganizationMemberAdded) GetMemberRole added in v1.8.0

func (*PayloadOrganizationMemberAdded) GetOrganizationId added in v1.8.0

func (x *PayloadOrganizationMemberAdded) GetOrganizationId() string

func (*PayloadOrganizationMemberAdded) GetOrganizationName added in v1.8.0

func (x *PayloadOrganizationMemberAdded) GetOrganizationName() string

func (*PayloadOrganizationMemberAdded) ProtoMessage added in v1.8.0

func (*PayloadOrganizationMemberAdded) ProtoMessage()

func (*PayloadOrganizationMemberAdded) ProtoReflect added in v1.8.0

func (*PayloadOrganizationMemberAdded) Reset added in v1.8.0

func (x *PayloadOrganizationMemberAdded) Reset()

func (*PayloadOrganizationMemberAdded) String added in v1.8.0

type PayloadOrganizationMemberRemoved added in v1.8.0

type PayloadOrganizationMemberRemoved struct {

	// organization_id is the id of the organization that the member was removed from.
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// organization_name is the name of the organization that the member was removed from.
	OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"`
	// member_role is the role that the member had when removed from the organization.
	MemberRole v1alpha1.OrganizationRole `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadOrganizationMemberRemoved) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadOrganizationMemberRemoved.ProtoReflect.Descriptor instead.

func (*PayloadOrganizationMemberRemoved) GetMemberRole added in v1.8.0

func (*PayloadOrganizationMemberRemoved) GetOrganizationId added in v1.8.0

func (x *PayloadOrganizationMemberRemoved) GetOrganizationId() string

func (*PayloadOrganizationMemberRemoved) GetOrganizationName added in v1.8.0

func (x *PayloadOrganizationMemberRemoved) GetOrganizationName() string

func (*PayloadOrganizationMemberRemoved) ProtoMessage added in v1.8.0

func (*PayloadOrganizationMemberRemoved) ProtoMessage()

func (*PayloadOrganizationMemberRemoved) ProtoReflect added in v1.8.0

func (*PayloadOrganizationMemberRemoved) Reset added in v1.8.0

func (*PayloadOrganizationMemberRemoved) String added in v1.8.0

type PayloadOrganizationMemberRoleChanged added in v1.8.0

type PayloadOrganizationMemberRoleChanged struct {

	// organization_id is the id of the organization within which the role was changed.
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// organization_name is the name of the organization within which the role was changed.
	OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"`
	// old_role is the old role of the member whose role was changed.
	OldRole v1alpha1.OrganizationRole `` /* 133-byte string literal not displayed */
	// new_role is the new role of the member whose role was changed.
	NewRole v1alpha1.OrganizationRole `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadOrganizationMemberRoleChanged) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadOrganizationMemberRoleChanged.ProtoReflect.Descriptor instead.

func (*PayloadOrganizationMemberRoleChanged) GetNewRole added in v1.8.0

func (*PayloadOrganizationMemberRoleChanged) GetOldRole added in v1.8.0

func (*PayloadOrganizationMemberRoleChanged) GetOrganizationId added in v1.8.0

func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationId() string

func (*PayloadOrganizationMemberRoleChanged) GetOrganizationName added in v1.8.0

func (x *PayloadOrganizationMemberRoleChanged) GetOrganizationName() string

func (*PayloadOrganizationMemberRoleChanged) ProtoMessage added in v1.8.0

func (*PayloadOrganizationMemberRoleChanged) ProtoMessage()

func (*PayloadOrganizationMemberRoleChanged) ProtoReflect added in v1.8.0

func (*PayloadOrganizationMemberRoleChanged) Reset added in v1.8.0

func (*PayloadOrganizationMemberRoleChanged) String added in v1.8.0

type PayloadPluginCreated deprecated added in v1.8.0

type PayloadPluginCreated struct {

	// owner_id is the id of the owner of the plugin.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the plugin.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// visibility is the visibility of the plugin.
	Visibility v1alpha1.PluginVisibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.PluginVisibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*PayloadPluginCreated) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadPluginCreated.ProtoReflect.Descriptor instead.

func (*PayloadPluginCreated) GetOwnerId added in v1.8.0

func (x *PayloadPluginCreated) GetOwnerId() string

func (*PayloadPluginCreated) GetOwnerName added in v1.8.0

func (x *PayloadPluginCreated) GetOwnerName() string

func (*PayloadPluginCreated) GetVisibility added in v1.10.0

func (x *PayloadPluginCreated) GetVisibility() v1alpha1.PluginVisibility

func (*PayloadPluginCreated) ProtoMessage added in v1.8.0

func (*PayloadPluginCreated) ProtoMessage()

func (*PayloadPluginCreated) ProtoReflect added in v1.8.0

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

func (*PayloadPluginCreated) Reset added in v1.8.0

func (x *PayloadPluginCreated) Reset()

func (*PayloadPluginCreated) String added in v1.8.0

func (x *PayloadPluginCreated) String() string

type PayloadPluginDeleted deprecated added in v1.8.0

type PayloadPluginDeleted struct {

	// owner_id is the id of the owner of the plugin.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the plugin.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// visibility is the visibility of the plugin.
	Visibility v1alpha1.PluginVisibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.PluginVisibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Do not use.

func (*PayloadPluginDeleted) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadPluginDeleted.ProtoReflect.Descriptor instead.

func (*PayloadPluginDeleted) GetOwnerId added in v1.8.0

func (x *PayloadPluginDeleted) GetOwnerId() string

func (*PayloadPluginDeleted) GetOwnerName added in v1.8.0

func (x *PayloadPluginDeleted) GetOwnerName() string

func (*PayloadPluginDeleted) GetVisibility added in v1.10.0

func (x *PayloadPluginDeleted) GetVisibility() v1alpha1.PluginVisibility

func (*PayloadPluginDeleted) ProtoMessage added in v1.8.0

func (*PayloadPluginDeleted) ProtoMessage()

func (*PayloadPluginDeleted) ProtoReflect added in v1.8.0

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

func (*PayloadPluginDeleted) Reset added in v1.8.0

func (x *PayloadPluginDeleted) Reset()

func (*PayloadPluginDeleted) String added in v1.8.0

func (x *PayloadPluginDeleted) String() string

type PayloadRepositoryCommitPushed added in v1.9.0

type PayloadRepositoryCommitPushed struct {

	// owner_id is the id of the owner of the repository.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the repository.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// repository_id is the id of the repository within which the commit was created.
	RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// repository_name is the name of the repository within which the commit was created.
	RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// tags are the tags included in the push. Optional.
	Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
	// draft_name is the name of the draft. Optional.
	DraftName string `protobuf:"bytes,6,opt,name=draft_name,json=draftName,proto3" json:"draft_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadRepositoryCommitPushed) Descriptor deprecated added in v1.9.0

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

Deprecated: Use PayloadRepositoryCommitPushed.ProtoReflect.Descriptor instead.

func (*PayloadRepositoryCommitPushed) GetDraftName added in v1.9.0

func (x *PayloadRepositoryCommitPushed) GetDraftName() string

func (*PayloadRepositoryCommitPushed) GetOwnerId added in v1.9.0

func (x *PayloadRepositoryCommitPushed) GetOwnerId() string

func (*PayloadRepositoryCommitPushed) GetOwnerName added in v1.9.0

func (x *PayloadRepositoryCommitPushed) GetOwnerName() string

func (*PayloadRepositoryCommitPushed) GetRepositoryId added in v1.9.0

func (x *PayloadRepositoryCommitPushed) GetRepositoryId() string

func (*PayloadRepositoryCommitPushed) GetRepositoryName added in v1.9.0

func (x *PayloadRepositoryCommitPushed) GetRepositoryName() string

func (*PayloadRepositoryCommitPushed) GetTags added in v1.9.0

func (x *PayloadRepositoryCommitPushed) GetTags() []string

func (*PayloadRepositoryCommitPushed) ProtoMessage added in v1.9.0

func (*PayloadRepositoryCommitPushed) ProtoMessage()

func (*PayloadRepositoryCommitPushed) ProtoReflect added in v1.9.0

func (*PayloadRepositoryCommitPushed) Reset added in v1.9.0

func (x *PayloadRepositoryCommitPushed) Reset()

func (*PayloadRepositoryCommitPushed) String added in v1.9.0

type PayloadRepositoryContributorAdded added in v1.8.0

type PayloadRepositoryContributorAdded struct {

	// owner_id is the id of the owner of the repository.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the repository.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// repository_id is the id of the repository with the new contributor.
	RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// repository_name is the name of the repository with the new contributor.
	RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// contributor_role is the role granted to the contributor added to the repository.
	ContributorRole v1alpha1.RepositoryRole `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadRepositoryContributorAdded) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadRepositoryContributorAdded.ProtoReflect.Descriptor instead.

func (*PayloadRepositoryContributorAdded) GetContributorRole added in v1.8.0

func (*PayloadRepositoryContributorAdded) GetOwnerId added in v1.8.0

func (x *PayloadRepositoryContributorAdded) GetOwnerId() string

func (*PayloadRepositoryContributorAdded) GetOwnerName added in v1.8.0

func (x *PayloadRepositoryContributorAdded) GetOwnerName() string

func (*PayloadRepositoryContributorAdded) GetRepositoryId added in v1.8.0

func (x *PayloadRepositoryContributorAdded) GetRepositoryId() string

func (*PayloadRepositoryContributorAdded) GetRepositoryName added in v1.8.0

func (x *PayloadRepositoryContributorAdded) GetRepositoryName() string

func (*PayloadRepositoryContributorAdded) ProtoMessage added in v1.8.0

func (*PayloadRepositoryContributorAdded) ProtoMessage()

func (*PayloadRepositoryContributorAdded) ProtoReflect added in v1.8.0

func (*PayloadRepositoryContributorAdded) Reset added in v1.8.0

func (*PayloadRepositoryContributorAdded) String added in v1.8.0

type PayloadRepositoryContributorRemoved added in v1.8.0

type PayloadRepositoryContributorRemoved struct {

	// owner_id is the id of the owner of the repository.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the repository.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// repository_id is the id of the repository that the contributor was removed from.
	RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// repository_name is the name of the repository that the contributor was removed from.
	RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// contributor_role is the role that the contributor had when removed from the repository.
	ContributorRole v1alpha1.RepositoryRole `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadRepositoryContributorRemoved) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadRepositoryContributorRemoved.ProtoReflect.Descriptor instead.

func (*PayloadRepositoryContributorRemoved) GetContributorRole added in v1.8.0

func (*PayloadRepositoryContributorRemoved) GetOwnerId added in v1.8.0

func (*PayloadRepositoryContributorRemoved) GetOwnerName added in v1.8.0

func (x *PayloadRepositoryContributorRemoved) GetOwnerName() string

func (*PayloadRepositoryContributorRemoved) GetRepositoryId added in v1.8.0

func (x *PayloadRepositoryContributorRemoved) GetRepositoryId() string

func (*PayloadRepositoryContributorRemoved) GetRepositoryName added in v1.8.0

func (x *PayloadRepositoryContributorRemoved) GetRepositoryName() string

func (*PayloadRepositoryContributorRemoved) ProtoMessage added in v1.8.0

func (*PayloadRepositoryContributorRemoved) ProtoMessage()

func (*PayloadRepositoryContributorRemoved) ProtoReflect added in v1.8.0

func (*PayloadRepositoryContributorRemoved) Reset added in v1.8.0

func (*PayloadRepositoryContributorRemoved) String added in v1.8.0

type PayloadRepositoryContributorRoleChanged added in v1.8.0

type PayloadRepositoryContributorRoleChanged struct {

	// owner_id is the id of the owner of the repository.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the repository.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// repository_id is the id of the repository within which the role was changed.
	RepositoryId string `protobuf:"bytes,3,opt,name=repository_id,json=repositoryId,proto3" json:"repository_id,omitempty"`
	// repository_name is the name of the repository within which the role was changed.
	RepositoryName string `protobuf:"bytes,4,opt,name=repository_name,json=repositoryName,proto3" json:"repository_name,omitempty"`
	// old_role is the old role of the contributor whose role was changed.
	OldRole v1alpha1.RepositoryRole `` /* 131-byte string literal not displayed */
	// new_role is the new role of the contributor whose role was changed.
	NewRole v1alpha1.RepositoryRole `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadRepositoryContributorRoleChanged) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadRepositoryContributorRoleChanged.ProtoReflect.Descriptor instead.

func (*PayloadRepositoryContributorRoleChanged) GetNewRole added in v1.8.0

func (*PayloadRepositoryContributorRoleChanged) GetOldRole added in v1.8.0

func (*PayloadRepositoryContributorRoleChanged) GetOwnerId added in v1.8.0

func (*PayloadRepositoryContributorRoleChanged) GetOwnerName added in v1.8.0

func (*PayloadRepositoryContributorRoleChanged) GetRepositoryId added in v1.8.0

func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryId() string

func (*PayloadRepositoryContributorRoleChanged) GetRepositoryName added in v1.8.0

func (x *PayloadRepositoryContributorRoleChanged) GetRepositoryName() string

func (*PayloadRepositoryContributorRoleChanged) ProtoMessage added in v1.8.0

func (*PayloadRepositoryContributorRoleChanged) ProtoReflect added in v1.8.0

func (*PayloadRepositoryContributorRoleChanged) Reset added in v1.8.0

func (*PayloadRepositoryContributorRoleChanged) String added in v1.8.0

type PayloadRepositoryCreated added in v1.8.0

type PayloadRepositoryCreated struct {

	// owner_id is the id of the owner of the repository.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the repository.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// visibility is the visibility of the repository.
	Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadRepositoryCreated) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadRepositoryCreated.ProtoReflect.Descriptor instead.

func (*PayloadRepositoryCreated) GetOwnerId added in v1.8.0

func (x *PayloadRepositoryCreated) GetOwnerId() string

func (*PayloadRepositoryCreated) GetOwnerName added in v1.8.0

func (x *PayloadRepositoryCreated) GetOwnerName() string

func (*PayloadRepositoryCreated) GetVisibility added in v1.10.0

func (x *PayloadRepositoryCreated) GetVisibility() v1alpha1.Visibility

func (*PayloadRepositoryCreated) ProtoMessage added in v1.8.0

func (*PayloadRepositoryCreated) ProtoMessage()

func (*PayloadRepositoryCreated) ProtoReflect added in v1.8.0

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

func (*PayloadRepositoryCreated) Reset added in v1.8.0

func (x *PayloadRepositoryCreated) Reset()

func (*PayloadRepositoryCreated) String added in v1.8.0

func (x *PayloadRepositoryCreated) String() string

type PayloadRepositoryDeleted added in v1.8.0

type PayloadRepositoryDeleted struct {

	// owner_id is the id of the owner of the repository.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the repository.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// visibility is the visibility of the repository.
	Visibility v1alpha1.Visibility `protobuf:"varint,3,opt,name=visibility,proto3,enum=buf.alpha.registry.v1alpha1.Visibility" json:"visibility,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadRepositoryDeleted) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadRepositoryDeleted.ProtoReflect.Descriptor instead.

func (*PayloadRepositoryDeleted) GetOwnerId added in v1.8.0

func (x *PayloadRepositoryDeleted) GetOwnerId() string

func (*PayloadRepositoryDeleted) GetOwnerName added in v1.8.0

func (x *PayloadRepositoryDeleted) GetOwnerName() string

func (*PayloadRepositoryDeleted) GetVisibility added in v1.10.0

func (x *PayloadRepositoryDeleted) GetVisibility() v1alpha1.Visibility

func (*PayloadRepositoryDeleted) ProtoMessage added in v1.8.0

func (*PayloadRepositoryDeleted) ProtoMessage()

func (*PayloadRepositoryDeleted) ProtoReflect added in v1.8.0

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

func (*PayloadRepositoryDeleted) Reset added in v1.8.0

func (x *PayloadRepositoryDeleted) Reset()

func (*PayloadRepositoryDeleted) String added in v1.8.0

func (x *PayloadRepositoryDeleted) String() string

type PayloadRepositoryVisibilityChanged added in v1.8.0

type PayloadRepositoryVisibilityChanged struct {

	// owner_id is the id of the owner of the repository.
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// owner_name is the name of the owner of the repository.
	OwnerName string `protobuf:"bytes,2,opt,name=owner_name,json=ownerName,proto3" json:"owner_name,omitempty"`
	// old_visibility is the old visibility of the repository.
	OldVisibility v1alpha1.Visibility `` /* 145-byte string literal not displayed */
	// new_visibility is the new visibility of the repository.
	NewVisibility v1alpha1.Visibility `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PayloadRepositoryVisibilityChanged) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadRepositoryVisibilityChanged.ProtoReflect.Descriptor instead.

func (*PayloadRepositoryVisibilityChanged) GetNewVisibility added in v1.8.0

func (*PayloadRepositoryVisibilityChanged) GetOldVisibility added in v1.8.0

func (*PayloadRepositoryVisibilityChanged) GetOwnerId added in v1.8.0

func (*PayloadRepositoryVisibilityChanged) GetOwnerName added in v1.8.0

func (x *PayloadRepositoryVisibilityChanged) GetOwnerName() string

func (*PayloadRepositoryVisibilityChanged) ProtoMessage added in v1.8.0

func (*PayloadRepositoryVisibilityChanged) ProtoMessage()

func (*PayloadRepositoryVisibilityChanged) ProtoReflect added in v1.8.0

func (*PayloadRepositoryVisibilityChanged) Reset added in v1.8.0

func (*PayloadRepositoryVisibilityChanged) String added in v1.8.0

type PayloadUserCreated added in v1.9.0

type PayloadUserCreated struct {
	// contains filtered or unexported fields
}

func (*PayloadUserCreated) Descriptor deprecated added in v1.9.0

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

Deprecated: Use PayloadUserCreated.ProtoReflect.Descriptor instead.

func (*PayloadUserCreated) ProtoMessage added in v1.9.0

func (*PayloadUserCreated) ProtoMessage()

func (*PayloadUserCreated) ProtoReflect added in v1.9.0

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

func (*PayloadUserCreated) Reset added in v1.9.0

func (x *PayloadUserCreated) Reset()

func (*PayloadUserCreated) String added in v1.9.0

func (x *PayloadUserCreated) String() string

type PayloadUserDeactivated added in v1.8.0

type PayloadUserDeactivated struct {
	// contains filtered or unexported fields
}

func (*PayloadUserDeactivated) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadUserDeactivated.ProtoReflect.Descriptor instead.

func (*PayloadUserDeactivated) ProtoMessage added in v1.8.0

func (*PayloadUserDeactivated) ProtoMessage()

func (*PayloadUserDeactivated) ProtoReflect added in v1.8.0

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

func (*PayloadUserDeactivated) Reset added in v1.8.0

func (x *PayloadUserDeactivated) Reset()

func (*PayloadUserDeactivated) String added in v1.8.0

func (x *PayloadUserDeactivated) String() string

type PayloadUserDeleted added in v1.8.0

type PayloadUserDeleted struct {
	// contains filtered or unexported fields
}

func (*PayloadUserDeleted) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadUserDeleted.ProtoReflect.Descriptor instead.

func (*PayloadUserDeleted) ProtoMessage added in v1.8.0

func (*PayloadUserDeleted) ProtoMessage()

func (*PayloadUserDeleted) ProtoReflect added in v1.8.0

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

func (*PayloadUserDeleted) Reset added in v1.8.0

func (x *PayloadUserDeleted) Reset()

func (*PayloadUserDeleted) String added in v1.8.0

func (x *PayloadUserDeleted) String() string

type PayloadUserLoggedIn added in v1.8.0

type PayloadUserLoggedIn struct {
	// contains filtered or unexported fields
}

func (*PayloadUserLoggedIn) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadUserLoggedIn.ProtoReflect.Descriptor instead.

func (*PayloadUserLoggedIn) ProtoMessage added in v1.8.0

func (*PayloadUserLoggedIn) ProtoMessage()

func (*PayloadUserLoggedIn) ProtoReflect added in v1.8.0

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

func (*PayloadUserLoggedIn) Reset added in v1.8.0

func (x *PayloadUserLoggedIn) Reset()

func (*PayloadUserLoggedIn) String added in v1.8.0

func (x *PayloadUserLoggedIn) String() string

type PayloadUserLoggedOut added in v1.8.0

type PayloadUserLoggedOut struct {
	// contains filtered or unexported fields
}

func (*PayloadUserLoggedOut) Descriptor deprecated added in v1.8.0

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

Deprecated: Use PayloadUserLoggedOut.ProtoReflect.Descriptor instead.

func (*PayloadUserLoggedOut) ProtoMessage added in v1.8.0

func (*PayloadUserLoggedOut) ProtoMessage()

func (*PayloadUserLoggedOut) ProtoReflect added in v1.8.0

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

func (*PayloadUserLoggedOut) Reset added in v1.8.0

func (x *PayloadUserLoggedOut) Reset()

func (*PayloadUserLoggedOut) String added in v1.8.0

func (x *PayloadUserLoggedOut) String() string

type Resource added in v1.8.0

type Resource struct {

	// Type of resource that was affected by the audited event.
	Type ResourceType `protobuf:"varint,1,opt,name=type,proto3,enum=buf.alpha.audit.v1alpha1.ResourceType" json:"type,omitempty"`
	// Id of the affected resource by the audited event.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// Name of the affected resource by the audited event.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Resource is the affected resource by the audited event.

func (*Resource) Descriptor deprecated added in v1.8.0

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

Deprecated: Use Resource.ProtoReflect.Descriptor instead.

func (*Resource) GetId added in v1.8.0

func (x *Resource) GetId() string

func (*Resource) GetName added in v1.8.0

func (x *Resource) GetName() string

func (*Resource) GetType added in v1.8.0

func (x *Resource) GetType() ResourceType

func (*Resource) ProtoMessage added in v1.8.0

func (*Resource) ProtoMessage()

func (*Resource) ProtoReflect added in v1.8.0

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

func (*Resource) Reset added in v1.8.0

func (x *Resource) Reset()

func (*Resource) String added in v1.8.0

func (x *Resource) String() string

type ResourceType added in v1.8.0

type ResourceType int32

ResourceType is the type of the resource that was affected by the audited event.

const (
	ResourceType_RESOURCE_TYPE_UNSPECIFIED            ResourceType = 0
	ResourceType_RESOURCE_TYPE_USER                   ResourceType = 1
	ResourceType_RESOURCE_TYPE_ORGANIZATION           ResourceType = 2
	ResourceType_RESOURCE_TYPE_ORGANIZATION_MEMBER    ResourceType = 3
	ResourceType_RESOURCE_TYPE_REPOSITORY             ResourceType = 4
	ResourceType_RESOURCE_TYPE_REPOSITORY_CONTRIBUTOR ResourceType = 5
	ResourceType_RESOURCE_TYPE_REPOSITORY_COMMIT      ResourceType = 6
	// Deprecated: Do not use.
	ResourceType_RESOURCE_TYPE_PLUGIN         ResourceType = 7
	ResourceType_RESOURCE_TYPE_CURATED_PLUGIN ResourceType = 8
)

func (ResourceType) Descriptor added in v1.8.0

func (ResourceType) Enum added in v1.8.0

func (x ResourceType) Enum() *ResourceType

func (ResourceType) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use ResourceType.Descriptor instead.

func (ResourceType) Number added in v1.8.0

func (ResourceType) String added in v1.8.0

func (x ResourceType) String() string

func (ResourceType) Type added in v1.8.0

Jump to

Keyboard shortcuts

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