auditrecord

package
v0.82.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Billing Customer Events
	BillingCustomerCreatedEvent       Event = "billing_customer.created"
	BillingCustomerUpdatedEvent       Event = "billing_customer.updated"
	BillingCustomerCreditUpdatedEvent Event = "billing_customer.credit_updated"
	BillingCustomerDeletedEvent       Event = "billing_customer.deleted"

	// Billing Checkout Events
	BillingCheckoutCreatedEvent Event = "billing_checkout.created"

	// Billing Subscription Events
	BillingSubscriptionCreatedEvent Event = "billing_subscription.created"
	BillingSubscriptionChangedEvent Event = "billing_subscription.changed"

	// Billing Transaction Events
	BillingTransactionDebitEvent  Event = "billing_transaction.debit"
	BillingTransactionCreditEvent Event = "billing_transaction.credit"

	// Service User Events
	ServiceUserCreatedEvent Event = "serviceuser.created"
	ServiceUserDeletedEvent Event = "serviceuser.deleted"

	// Organization Events
	OrganizationCreateEvent             Event = "organization.create"
	OrganizationUpdateEvent             Event = "organization.update"
	OrganizationStateChangeEvent        Event = "organization.state_change"
	OrganizationDeleteEvent             Event = "organization.delete"
	OrganizationInvitedEvent            Event = "organization.invited"
	OrganizationMemberAddedEvent        Event = "organization.added"
	OrganizationMemberRemovedEvent      Event = "organization.removed"
	OrganizationInvitationAcceptedEvent Event = "organization.accepted"

	// KYC Events
	KYCVerifiedEvent   Event = "kyc.verified"
	KYCUnverifiedEvent Event = "kyc.unverified"

	// Role Events
	RoleCreatedEvent Event = "role.created"
	RoleUpdatedEvent Event = "role.updated"

	// Session Events
	SessionRevokedEvent Event = "session.revoked"

	SystemActor = "system"

	// Entity Types (used in Resource.Type and Target.Type)
	OrganizationType        EntityType = "organization"
	UserType                EntityType = "user"
	RoleType                EntityType = "role"
	ServiceUserType         EntityType = "serviceuser"
	InvitationType          EntityType = "invitation"
	KycType                 EntityType = "kyc"
	BillingCustomerType     EntityType = "billing_customer"
	BillingCheckoutType     EntityType = "billing_checkout"
	BillingSubscriptionType EntityType = "billing_subscription"
	BillingTransactionType  EntityType = "billing_transaction"
	SessionType             EntityType = "session"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityType added in v0.78.0

type EntityType string

EntityType represents the type of a resource or target in an audit record

func (EntityType) String added in v0.78.0

func (t EntityType) String() string

String returns the string representation of the entity type

type Event

type Event string

Event represents an audit event type

func (Event) String

func (e Event) String() string

String returns the string representation of the event

Jump to

Keyboard shortcuts

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