Documentation
¶
Index ¶
- type API
- type APIType
- type Audit
- type AuditAction
- type AuditCategory
- func (z *AuditCategory) DecodeMsg(dc *msgp.Reader) (err error)
- func (z AuditCategory) EncodeMsg(en *msgp.Writer) (err error)
- func (z AuditCategory) MarshalMsg(b []byte) (o []byte, err error)
- func (z AuditCategory) Msgsize() (s int)
- func (z *AuditCategory) UnmarshalMsg(bts []byte) (o []byte, err error)
- type AuditDetails
- func (z *AuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *AuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *AuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *AuditDetails) Msgsize() (s int)
- func (z *AuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type BatchAuditDetails
- func (z *BatchAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z BatchAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z BatchAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z BatchAuditDetails) Msgsize() (s int)
- func (b *BatchAuditDetails) Redact()
- func (z *BatchAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type BucketConfigAuditDetails
- func (z *BucketConfigAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *BucketConfigAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *BucketConfigAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *BucketConfigAuditDetails) Msgsize() (s int)
- func (b *BucketConfigAuditDetails) Redact()
- func (z *BucketConfigAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type BucketInventoryAuditDetails
- func (z *BucketInventoryAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *BucketInventoryAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *BucketInventoryAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *BucketInventoryAuditDetails) Msgsize() (s int)
- func (i *BucketInventoryAuditDetails) Redact()
- func (z *BucketInventoryAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type BucketQOSAuditDetails
- func (z *BucketQOSAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *BucketQOSAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *BucketQOSAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *BucketQOSAuditDetails) Msgsize() (s int)
- func (q *BucketQOSAuditDetails) Redact()
- func (z *BucketQOSAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type BucketQuotaAuditDetails
- func (z *BucketQuotaAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z BucketQuotaAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z BucketQuotaAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z BucketQuotaAuditDetails) Msgsize() (s int)
- func (q *BucketQuotaAuditDetails) Redact()
- func (z *BucketQuotaAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type CallInfo
- func (z *CallInfo) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *CallInfo) EncodeMsg(en *msgp.Writer) (err error)
- func (z *CallInfo) MarshalMsg(b []byte) (o []byte, err error)
- func (z *CallInfo) Msgsize() (s int)
- func (c CallInfo) String() string
- func (z *CallInfo) UnmarshalMsg(bts []byte) (o []byte, err error)
- type ConfigAuditDetails
- func (z *ConfigAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *ConfigAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *ConfigAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *ConfigAuditDetails) Msgsize() (s int)
- func (c *ConfigAuditDetails) Redact()
- func (z *ConfigAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Error
- func (z *Error) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *Error) EncodeMsg(en *msgp.Writer) (err error)
- func (e Error) GetTagValByKey(key string) string
- func (z *Error) MarshalMsg(b []byte) (o []byte, err error)
- func (z *Error) Msgsize() (s int)
- func (e Error) String() string
- func (z *Error) UnmarshalMsg(bts []byte) (o []byte, err error)
- type GroupAuditDetails
- func (z *GroupAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *GroupAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *GroupAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *GroupAuditDetails) Msgsize() (s int)
- func (g *GroupAuditDetails) Redact()
- func (z *GroupAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type HealAuditDetails
- func (z *HealAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z HealAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z HealAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z HealAuditDetails) Msgsize() (s int)
- func (h *HealAuditDetails) Redact()
- func (z *HealAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type IAMImportDetails
- func (z *IAMImportDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *IAMImportDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *IAMImportDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *IAMImportDetails) Msgsize() (s int)
- func (z *IAMImportDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type IDPAuditDetails
- func (z *IDPAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *IDPAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *IDPAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *IDPAuditDetails) Msgsize() (s int)
- func (i *IDPAuditDetails) Redact()
- func (z *IDPAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type KMSAuditDetails
- func (z *KMSAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z KMSAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z KMSAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z KMSAuditDetails) Msgsize() (s int)
- func (k *KMSAuditDetails) Redact()
- func (z *KMSAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Origin
- type PolicyAuditDetails
- func (z *PolicyAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *PolicyAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *PolicyAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *PolicyAuditDetails) Msgsize() (s int)
- func (p *PolicyAuditDetails) Redact()
- func (z *PolicyAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type PoolAuditDetails
- func (z *PoolAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *PoolAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *PoolAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *PoolAuditDetails) Msgsize() (s int)
- func (p *PoolAuditDetails) Redact()
- func (z *PoolAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type QOSRuleDetail
- func (z *QOSRuleDetail) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *QOSRuleDetail) EncodeMsg(en *msgp.Writer) (err error)
- func (z *QOSRuleDetail) MarshalMsg(b []byte) (o []byte, err error)
- func (z *QOSRuleDetail) Msgsize() (s int)
- func (z *QOSRuleDetail) UnmarshalMsg(bts []byte) (o []byte, err error)
- type RecorderAuditDetails
- func (z *RecorderAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *RecorderAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *RecorderAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *RecorderAuditDetails) Msgsize() (s int)
- func (r *RecorderAuditDetails) Redact()
- func (z *RecorderAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type ServiceAccountAuditDetails
- func (z *ServiceAccountAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *ServiceAccountAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *ServiceAccountAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *ServiceAccountAuditDetails) Msgsize() (s int)
- func (s *ServiceAccountAuditDetails) Redact()
- func (z *ServiceAccountAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type ServiceAuditDetails
- func (z *ServiceAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *ServiceAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *ServiceAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *ServiceAuditDetails) Msgsize() (s int)
- func (s *ServiceAuditDetails) Redact()
- func (z *ServiceAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type SiteReplicationAuditDetails
- func (z *SiteReplicationAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *SiteReplicationAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *SiteReplicationAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *SiteReplicationAuditDetails) Msgsize() (s int)
- func (s *SiteReplicationAuditDetails) Redact()
- func (z *SiteReplicationAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type TierAuditDetails
- func (z *TierAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z TierAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z TierAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z TierAuditDetails) Msgsize() (s int)
- func (t *TierAuditDetails) Redact()
- func (z *TierAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
- type Trace
- type UserAuditDetails
- func (z *UserAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *UserAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
- func (z *UserAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
- func (z *UserAuditDetails) Msgsize() (s int)
- func (u *UserAuditDetails) Redact()
- func (z *UserAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
Version string `json:"version" parquet:"version"`
Time time.Time `json:"time" parquet:"time,timestamp(microsecond)"`
Node string `json:"node,omitempty" parquet:"node,optional"`
Origin Origin `json:"origin,omitempty" parquet:"origin,optional"`
Type APIType `json:"type,omitempty" parquet:"type,optional"`
Name string `json:"name,omitempty" parquet:"name,optional"`
Bucket string `json:"bucket,omitempty" parquet:"bucket,optional"`
Object string `json:"object,omitempty" parquet:"object,optional"`
VersionID string `json:"versionId,omitempty" parquet:"versionId,optional"`
Tags map[string]string `json:"tags,omitempty" parquet:"tags,optional"`
CallInfo *CallInfo `json:"callInfo,omitempty" parquet:"callInfo,optional"`
}
API represents the api event
func (*API) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type APIType ¶
type APIType string
func (APIType) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type Audit ¶
type Audit struct {
Version string `json:"version"`
Time time.Time `json:"time"`
Node string `json:"node,omitempty"`
APIName string `json:"apiName,omitempty"`
Category AuditCategory `json:"category,omitempty"`
Action AuditAction `json:"action,omitempty"`
Bucket string `json:"bucket,omitempty"`
Tags map[string]string `json:"tags,omitempty"`
RequestID string `json:"requestID,omitempty"`
ReqClaims map[string]interface{} `json:"requestClaims,omitempty"`
SourceHost string `json:"sourceHost,omitempty"`
AccessKey string `json:"accessKey,omitempty"`
ParentUser string `json:"parentUser,omitempty"`
Details *AuditDetails `json:"details,omitempty"`
}
Audit represents the user triggered audit events. It captures administrative operations performed on the MinIO cluster with contextual metadata.
func (*Audit) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*Audit) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
type AuditAction ¶
type AuditAction string
AuditAction represents the type of action performed
const ( AuditActionCreate AuditAction = "create" AuditActionUpdate AuditAction = "update" AuditActionDelete AuditAction = "delete" AuditActionEnable AuditAction = "enable" AuditActionDisable AuditAction = "disable" AuditActionSet AuditAction = "set" AuditActionReset AuditAction = "reset" AuditActionRestore AuditAction = "restore" AuditActionClear AuditAction = "clear" AuditActionStart AuditAction = "start" AuditActionStop AuditAction = "stop" AuditActionRestart AuditAction = "restart" AuditActionAttach AuditAction = "attach" AuditActionDetach AuditAction = "detach" )
func (*AuditAction) DecodeMsg ¶
func (z *AuditAction) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (AuditAction) EncodeMsg ¶
func (z AuditAction) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (AuditAction) MarshalMsg ¶
func (z AuditAction) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (AuditAction) Msgsize ¶
func (z AuditAction) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*AuditAction) UnmarshalMsg ¶
func (z *AuditAction) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type AuditCategory ¶
type AuditCategory string
AuditCategory represents the category of audit event
const ( AuditCategoryConfig AuditCategory = "config" AuditCategoryUser AuditCategory = "user" AuditCategoryServiceAccount AuditCategory = "service-account" AuditCategoryPolicy AuditCategory = "policy" AuditCategoryGroup AuditCategory = "group" AuditCategoryBucket AuditCategory = "bucket" AuditCategoryLifecycle AuditCategory = "lifecycle" AuditCategoryReplication AuditCategory = "replication" AuditCategoryNotification AuditCategory = "notification" AuditCategoryEncryption AuditCategory = "encryption" AuditCategoryCORS AuditCategory = "cors" AuditCategoryVersioning AuditCategory = "versioning" AuditCategoryService AuditCategory = "service" AuditCategoryKMS AuditCategory = "kms" AuditCategorySiteRepl AuditCategory = "site-replication" AuditCategoryPool AuditCategory = "pool" AuditCategoryIDP AuditCategory = "idp" AuditCategoryLogRecorder AuditCategory = "log-recorder" AuditCategoryHeal AuditCategory = "heal" AuditCategoryBatch AuditCategory = "batch" )
func (*AuditCategory) DecodeMsg ¶
func (z *AuditCategory) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (AuditCategory) EncodeMsg ¶
func (z AuditCategory) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (AuditCategory) MarshalMsg ¶
func (z AuditCategory) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (AuditCategory) Msgsize ¶
func (z AuditCategory) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*AuditCategory) UnmarshalMsg ¶
func (z *AuditCategory) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type AuditDetails ¶
type AuditDetails struct {
Config *ConfigAuditDetails `json:"config,omitempty"`
User *UserAuditDetails `json:"user,omitempty"`
ServiceAccount *ServiceAccountAuditDetails `json:"serviceAccount,omitempty"`
Policy *PolicyAuditDetails `json:"policy,omitempty"`
Group *GroupAuditDetails `json:"group,omitempty"`
BucketConfig *BucketConfigAuditDetails `json:"bucketConfig,omitempty"`
BucketQuota *BucketQuotaAuditDetails `json:"bucketQuota,omitempty"`
BucketQOS *BucketQOSAuditDetails `json:"bucketQOS,omitempty"`
BucketInventory *BucketInventoryAuditDetails `json:"bucketInventory,omitempty"`
Tier *TierAuditDetails `json:"tier,omitempty"`
Service *ServiceAuditDetails `json:"service,omitempty"`
KMS *KMSAuditDetails `json:"kms,omitempty"`
Pool *PoolAuditDetails `json:"pool,omitempty"`
SiteRepl *SiteReplicationAuditDetails `json:"siteRepl,omitempty"`
IDP *IDPAuditDetails `json:"idp,omitempty"`
Recorder *RecorderAuditDetails `json:"recorder,omitempty"`
Heal *HealAuditDetails `json:"heal,omitempty"`
Batch *BatchAuditDetails `json:"batch,omitempty"`
}
AuditDetails is a union type containing category-specific audit details. Only one field should be populated based on the audit event category.
func (*AuditDetails) DecodeMsg ¶
func (z *AuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*AuditDetails) EncodeMsg ¶
func (z *AuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*AuditDetails) MarshalMsg ¶
func (z *AuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*AuditDetails) Msgsize ¶
func (z *AuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*AuditDetails) UnmarshalMsg ¶
func (z *AuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type BatchAuditDetails ¶
type BatchAuditDetails struct {
JobID string `json:"jobID,omitempty"`
JobType string `json:"jobType,omitempty"`
User string `json:"user,omitempty"`
}
BatchAuditDetails captures batch job operation details. It tracks batch operations like replication jobs, key rotation, and object expiration tasks.
func (*BatchAuditDetails) DecodeMsg ¶
func (z *BatchAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (BatchAuditDetails) EncodeMsg ¶
func (z BatchAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (BatchAuditDetails) MarshalMsg ¶
func (z BatchAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (BatchAuditDetails) Msgsize ¶
func (z BatchAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*BatchAuditDetails) Redact ¶
func (b *BatchAuditDetails) Redact()
Redact redacts sensitive fields in BatchAuditDetails
func (*BatchAuditDetails) UnmarshalMsg ¶
func (z *BatchAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type BucketConfigAuditDetails ¶
type BucketConfigAuditDetails struct {
BucketName string `json:"bucketName"`
ConfigType string `json:"configType,omitempty"`
OldConfig string `json:"oldConfig,omitempty"`
NewConfig string `json:"newConfig,omitempty"`
TargetBucket string `json:"targetBucket,omitempty"`
TagKeys []string `json:"tagKeys,omitempty"`
TagCount int `json:"tagCount,omitempty"`
}
BucketConfigAuditDetails captures bucket configuration changes. It tracks modifications to bucket settings like lifecycle, replication, encryption, versioning, and tags.
func (*BucketConfigAuditDetails) DecodeMsg ¶
func (z *BucketConfigAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*BucketConfigAuditDetails) EncodeMsg ¶
func (z *BucketConfigAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*BucketConfigAuditDetails) MarshalMsg ¶
func (z *BucketConfigAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*BucketConfigAuditDetails) Msgsize ¶
func (z *BucketConfigAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*BucketConfigAuditDetails) Redact ¶
func (b *BucketConfigAuditDetails) Redact()
Redact redacts sensitive fields in BucketConfigAuditDetails
func (*BucketConfigAuditDetails) UnmarshalMsg ¶
func (z *BucketConfigAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type BucketInventoryAuditDetails ¶
type BucketInventoryAuditDetails struct {
BucketName string `json:"bucketName"`
InventoryID string `json:"inventoryID,omitempty"`
DestinationBucket string `json:"destinationBucket,omitempty"`
Schedule string `json:"schedule,omitempty"`
}
BucketInventoryAuditDetails captures bucket inventory configuration changes. It tracks bucket inventory report settings including destination bucket, schedule, and inventory configuration IDs.
func (*BucketInventoryAuditDetails) DecodeMsg ¶
func (z *BucketInventoryAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*BucketInventoryAuditDetails) EncodeMsg ¶
func (z *BucketInventoryAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*BucketInventoryAuditDetails) MarshalMsg ¶
func (z *BucketInventoryAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*BucketInventoryAuditDetails) Msgsize ¶
func (z *BucketInventoryAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*BucketInventoryAuditDetails) Redact ¶
func (i *BucketInventoryAuditDetails) Redact()
Redact redacts sensitive fields in BucketInventoryAuditDetails
func (*BucketInventoryAuditDetails) UnmarshalMsg ¶
func (z *BucketInventoryAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type BucketQOSAuditDetails ¶
type BucketQOSAuditDetails struct {
BucketName string `json:"bucketName"`
Enabled bool `json:"enabled"`
Rules []QOSRuleDetail `json:"rules,omitempty"`
}
BucketQOSAuditDetails captures bucket QoS configuration changes. It tracks Quality of Service settings for buckets including rate limits, burst sizes, and priority rules for API operations.
func (*BucketQOSAuditDetails) DecodeMsg ¶
func (z *BucketQOSAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*BucketQOSAuditDetails) EncodeMsg ¶
func (z *BucketQOSAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*BucketQOSAuditDetails) MarshalMsg ¶
func (z *BucketQOSAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*BucketQOSAuditDetails) Msgsize ¶
func (z *BucketQOSAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*BucketQOSAuditDetails) Redact ¶
func (q *BucketQOSAuditDetails) Redact()
Redact redacts sensitive fields in BucketQOSAuditDetails
func (*BucketQOSAuditDetails) UnmarshalMsg ¶
func (z *BucketQOSAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type BucketQuotaAuditDetails ¶
type BucketQuotaAuditDetails struct {
BucketName string `json:"bucketName"`
QuotaSize uint64 `json:"quotaSize,omitempty"`
QuotaType string `json:"quotaType,omitempty"`
}
BucketQuotaAuditDetails captures bucket quota configuration changes. It tracks changes to bucket storage quotas including size limits and quota type (hard/FIFO).
func (*BucketQuotaAuditDetails) DecodeMsg ¶
func (z *BucketQuotaAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (BucketQuotaAuditDetails) EncodeMsg ¶
func (z BucketQuotaAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (BucketQuotaAuditDetails) MarshalMsg ¶
func (z BucketQuotaAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (BucketQuotaAuditDetails) Msgsize ¶
func (z BucketQuotaAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*BucketQuotaAuditDetails) Redact ¶
func (q *BucketQuotaAuditDetails) Redact()
Redact redacts sensitive fields in BucketQuotaAuditDetails
func (*BucketQuotaAuditDetails) UnmarshalMsg ¶
func (z *BucketQuotaAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type CallInfo ¶
type CallInfo struct {
HTTPStatusCode int `json:"httpStatusCode,omitempty" parquet:"httpStatusCode,optional"`
InputBytes int64 `json:"rx,omitempty" parquet:"inputBytes,optional"`
OutputBytes int64 `json:"tx,omitempty" parquet:"outputBytes,optional"`
HeaderBytes int64 `json:"txHeaders,omitempty" parquet:"headerBytes,optional"`
TimeToFirstByte string `json:"timeToFirstByte,omitempty" parquet:"timeToFirstByte,optional"`
RequestReadTime string `json:"requestReadTime,omitempty" parquet:"requestReadTime,optional"`
ResponseWriteTime string `json:"responseWriteTime,omitempty" parquet:"responseWriteTime,optional"`
RequestTime string `json:"requestTime,omitempty" parquet:"requestTime,optional"`
TimeToResponse string `json:"timeToResponse,omitempty" parquet:"timeToResponse,optional"`
ReadBlocked string `json:"readBlocked,omitempty" parquet:"readBlocked,optional"`
WriteBlocked string `json:"writeBlocked,omitempty" parquet:"writeBlocked,optional"`
SourceHost string `json:"sourceHost,omitempty" parquet:"sourceHost,optional"`
RequestID string `json:"requestID,omitempty" parquet:"requestId,optional"`
UserAgent string `json:"userAgent,omitempty" parquet:"userAgent,optional"`
ReqPath string `json:"requestPath,omitempty" parquet:"reqPath,optional"`
ReqHost string `json:"requestHost,omitempty" parquet:"reqHost,optional"`
ReqClaims map[string]string `json:"requestClaims,omitempty" parquet:"reqClaims,optional"`
ReqQuery map[string]string `json:"requestQuery,omitempty" parquet:"reqQuery,optional"`
ReqHeader map[string]string `json:"requestHeader,omitempty" parquet:"reqHeader,optional"`
RespHeader map[string]string `json:"responseHeader,omitempty" parquet:"respHeader,optional"`
AccessKey string `json:"accessKey,omitempty" parquet:"accessKey,optional"`
ParentUser string `json:"parentUser,omitempty" parquet:"parentUser,optional"`
}
CallInfo represents the info for the external call
func (*CallInfo) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
func (*CallInfo) Msgsize ¶
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
type ConfigAuditDetails ¶
type ConfigAuditDetails struct {
SubSystem string `json:"subSystem,omitempty"`
Target string `json:"target,omitempty"`
Key string `json:"key,omitempty"`
OldValue string `json:"oldValue,omitempty"`
NewValue string `json:"newValue,omitempty"`
}
ConfigAuditDetails captures config mutation details. It tracks changes to server configuration settings including subsystem, target, key, and value changes.
func (*ConfigAuditDetails) DecodeMsg ¶
func (z *ConfigAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*ConfigAuditDetails) EncodeMsg ¶
func (z *ConfigAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*ConfigAuditDetails) MarshalMsg ¶
func (z *ConfigAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ConfigAuditDetails) Msgsize ¶
func (z *ConfigAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ConfigAuditDetails) Redact ¶
func (c *ConfigAuditDetails) Redact()
Redact redacts sensitive fields in ConfigAuditDetails
func (*ConfigAuditDetails) UnmarshalMsg ¶
func (z *ConfigAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Error ¶
type Error struct {
Version string `json:"version"`
Node string `json:"node"`
Time time.Time `json:"time"`
Message string `json:"message"`
API string `json:"apiName"`
Trace *Trace `json:"trace,omitempty"`
Tags map[string]string `json:"tags,omitempty"`
}
Error represents the error event
func (Error) GetTagValByKey ¶
GetTagValByKey gets the tag value by key
func (*Error) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type GroupAuditDetails ¶
type GroupAuditDetails struct {
GroupName string `json:"groupName"`
MembersAdded []string `json:"membersAdded,omitempty"`
MembersRemoved []string `json:"membersRemoved,omitempty"`
OldStatus string `json:"oldStatus,omitempty"`
NewStatus string `json:"newStatus,omitempty"`
}
GroupAuditDetails captures group mutation details. It tracks changes to IAM groups including member additions, removals, and status changes.
func (*GroupAuditDetails) DecodeMsg ¶
func (z *GroupAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*GroupAuditDetails) EncodeMsg ¶
func (z *GroupAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*GroupAuditDetails) MarshalMsg ¶
func (z *GroupAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*GroupAuditDetails) Msgsize ¶
func (z *GroupAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*GroupAuditDetails) Redact ¶
func (g *GroupAuditDetails) Redact()
Redact redacts sensitive fields in GroupAuditDetails
func (*GroupAuditDetails) UnmarshalMsg ¶
func (z *GroupAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type HealAuditDetails ¶
type HealAuditDetails struct {
Operation string `json:"operation,omitempty"`
Bucket string `json:"bucket,omitempty"`
Prefix string `json:"prefix,omitempty"`
}
HealAuditDetails captures heal operation details. It tracks data healing operations that scan and repair inconsistent or missing objects in buckets.
func (*HealAuditDetails) DecodeMsg ¶
func (z *HealAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (HealAuditDetails) EncodeMsg ¶
func (z HealAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (HealAuditDetails) MarshalMsg ¶
func (z HealAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (HealAuditDetails) Msgsize ¶
func (z HealAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*HealAuditDetails) Redact ¶
func (h *HealAuditDetails) Redact()
Redact redacts sensitive fields in HealAuditDetails
func (*HealAuditDetails) UnmarshalMsg ¶
func (z *HealAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type IAMImportDetails ¶
type IAMImportDetails struct {
UsersAdded int `json:"usersAdded,omitempty"`
PoliciesAdded int `json:"policiesAdded,omitempty"`
GroupsAdded int `json:"groupsAdded,omitempty"`
SvcAcctsAdded int `json:"svcAcctsAdded,omitempty"`
UsersRemoved int `json:"usersRemoved,omitempty"`
PoliciesRemoved int `json:"policiesRemoved,omitempty"`
GroupsRemoved int `json:"groupsRemoved,omitempty"`
SvcAcctsRemoved int `json:"svcAcctsRemoved,omitempty"`
UsersSkipped int `json:"usersSkipped,omitempty"`
PoliciesSkipped int `json:"policiesSkipped,omitempty"`
GroupsSkipped int `json:"groupsSkipped,omitempty"`
SvcAcctsSkipped int `json:"svcAcctsSkipped,omitempty"`
UsersFailed int `json:"usersFailed,omitempty"`
PoliciesFailed int `json:"policiesFailed,omitempty"`
GroupsFailed int `json:"groupsFailed,omitempty"`
SvcAcctsFailed int `json:"svcAcctsFailed,omitempty"`
}
IAMImportDetails captures IAM import operation counts. It tracks the number of users, policies, groups, and service accounts added, removed, skipped, or failed during IAM imports.
func (*IAMImportDetails) DecodeMsg ¶
func (z *IAMImportDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*IAMImportDetails) EncodeMsg ¶
func (z *IAMImportDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*IAMImportDetails) MarshalMsg ¶
func (z *IAMImportDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*IAMImportDetails) Msgsize ¶
func (z *IAMImportDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*IAMImportDetails) UnmarshalMsg ¶
func (z *IAMImportDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type IDPAuditDetails ¶
type IDPAuditDetails struct {
IDPName string `json:"idpName,omitempty"`
IDPType string `json:"idpType,omitempty"`
ConfigKey string `json:"configKey,omitempty"`
OldValue string `json:"oldValue,omitempty"`
NewValue string `json:"newValue,omitempty"`
}
IDPAuditDetails captures identity provider configuration details. It tracks changes to IDP configurations like LDAP, OpenID, or SAML settings including credentials and endpoints.
func (*IDPAuditDetails) DecodeMsg ¶
func (z *IDPAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*IDPAuditDetails) EncodeMsg ¶
func (z *IDPAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*IDPAuditDetails) MarshalMsg ¶
func (z *IDPAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*IDPAuditDetails) Msgsize ¶
func (z *IDPAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*IDPAuditDetails) Redact ¶
func (i *IDPAuditDetails) Redact()
Redact redacts sensitive fields in IDPAuditDetails
func (*IDPAuditDetails) UnmarshalMsg ¶
func (z *IDPAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type KMSAuditDetails ¶
type KMSAuditDetails struct {
KeyID string `json:"keyId,omitempty"`
Operation string `json:"operation,omitempty"`
}
KMSAuditDetails captures KMS operation details. It tracks Key Management Service operations like key creation, deletion, and encryption/decryption activities.
func (*KMSAuditDetails) DecodeMsg ¶
func (z *KMSAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (KMSAuditDetails) EncodeMsg ¶
func (z KMSAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (KMSAuditDetails) MarshalMsg ¶
func (z KMSAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (KMSAuditDetails) Msgsize ¶
func (z KMSAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*KMSAuditDetails) Redact ¶
func (k *KMSAuditDetails) Redact()
Redact redacts sensitive fields in KMSAuditDetails
func (*KMSAuditDetails) UnmarshalMsg ¶
func (z *KMSAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Origin ¶
type Origin string
Origin for the API event
func (Origin) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type PolicyAuditDetails ¶
type PolicyAuditDetails struct {
PolicyName string `json:"policyName"`
OldPolicy string `json:"oldPolicy,omitempty"`
NewPolicy string `json:"newPolicy,omitempty"`
Operation string `json:"operation,omitempty"`
User string `json:"user,omitempty"`
Group string `json:"group,omitempty"`
PoliciesAttached []string `json:"policiesAttached,omitempty"`
PoliciesDetached []string `json:"policiesDetached,omitempty"`
}
PolicyAuditDetails captures policy mutation details. It tracks IAM policy changes including policy content, attachments, and detachments for users or groups.
func (*PolicyAuditDetails) DecodeMsg ¶
func (z *PolicyAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*PolicyAuditDetails) EncodeMsg ¶
func (z *PolicyAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*PolicyAuditDetails) MarshalMsg ¶
func (z *PolicyAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*PolicyAuditDetails) Msgsize ¶
func (z *PolicyAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*PolicyAuditDetails) Redact ¶
func (p *PolicyAuditDetails) Redact()
Redact redacts sensitive fields in PolicyAuditDetails
func (*PolicyAuditDetails) UnmarshalMsg ¶
func (z *PolicyAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type PoolAuditDetails ¶
type PoolAuditDetails struct {
PoolIndex int `json:"poolIndex,omitempty"`
Endpoints []string `json:"endpoints,omitempty"`
Operation string `json:"operation,omitempty"`
}
PoolAuditDetails captures pool operation details. It tracks storage pool operations like expansion, decommission, and rebalancing across multiple endpoints.
func (*PoolAuditDetails) DecodeMsg ¶
func (z *PoolAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*PoolAuditDetails) EncodeMsg ¶
func (z *PoolAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*PoolAuditDetails) MarshalMsg ¶
func (z *PoolAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*PoolAuditDetails) Msgsize ¶
func (z *PoolAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*PoolAuditDetails) Redact ¶
func (p *PoolAuditDetails) Redact()
Redact redacts sensitive fields in PoolAuditDetails
func (*PoolAuditDetails) UnmarshalMsg ¶
func (z *PoolAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type QOSRuleDetail ¶
type QOSRuleDetail struct {
ID string `json:"id,omitempty"`
Label string `json:"label,omitempty"`
Priority int `json:"priority,omitempty"`
ObjectPrefix string `json:"objectPrefix,omitempty"`
API string `json:"api,omitempty"`
Rate int64 `json:"rate,omitempty"`
Burst int64 `json:"burst,omitempty"`
LimitType string `json:"limitType,omitempty"`
}
QOSRuleDetail captures details of a single QoS rule. Each rule defines rate limiting for specific object prefixes or API operations with priority levels and burst capacities.
func (*QOSRuleDetail) DecodeMsg ¶
func (z *QOSRuleDetail) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*QOSRuleDetail) EncodeMsg ¶
func (z *QOSRuleDetail) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*QOSRuleDetail) MarshalMsg ¶
func (z *QOSRuleDetail) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*QOSRuleDetail) Msgsize ¶
func (z *QOSRuleDetail) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*QOSRuleDetail) UnmarshalMsg ¶
func (z *QOSRuleDetail) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type RecorderAuditDetails ¶
type RecorderAuditDetails struct {
LogType string `json:"logType,omitempty"`
OldEnabled bool `json:"oldEnabled,omitempty"`
NewEnabled bool `json:"newEnabled,omitempty"`
OldLimit string `json:"oldLimit,omitempty"`
NewLimit string `json:"newLimit,omitempty"`
OldFlushCount int `json:"oldFlushCount,omitempty"`
NewFlushCount int `json:"newFlushCount,omitempty"`
OldFlushInterval string `json:"oldFlushInterval,omitempty"`
NewFlushInterval string `json:"newFlushInterval,omitempty"`
}
RecorderAuditDetails captures log recorder configuration details. It tracks changes to audit/error log recorder settings including enable status, limits, flush intervals, and batch sizes.
func (*RecorderAuditDetails) DecodeMsg ¶
func (z *RecorderAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*RecorderAuditDetails) EncodeMsg ¶
func (z *RecorderAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*RecorderAuditDetails) MarshalMsg ¶
func (z *RecorderAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*RecorderAuditDetails) Msgsize ¶
func (z *RecorderAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*RecorderAuditDetails) Redact ¶
func (r *RecorderAuditDetails) Redact()
Redact redacts sensitive fields in RecorderAuditDetails
func (*RecorderAuditDetails) UnmarshalMsg ¶
func (z *RecorderAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type ServiceAccountAuditDetails ¶
type ServiceAccountAuditDetails struct {
AccountName string `json:"accountName"`
ParentUser string `json:"parentUser,omitempty"`
Policies []string `json:"policies,omitempty"`
Expiration time.Time `json:"expiration,omitempty"`
UpdatedName string `json:"updatedName,omitempty"`
UpdatedStatus string `json:"updatedStatus,omitempty"`
UpdatedPolicy bool `json:"updatedPolicy,omitempty"`
UpdatedExpiry bool `json:"updatedExpiry,omitempty"`
UpdatedSecretKey bool `json:"updatedSecretKey,omitempty"`
}
ServiceAccountAuditDetails captures service account details. It tracks changes to service accounts including parent user, policies, expiration, and secret key updates.
func (*ServiceAccountAuditDetails) DecodeMsg ¶
func (z *ServiceAccountAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*ServiceAccountAuditDetails) EncodeMsg ¶
func (z *ServiceAccountAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*ServiceAccountAuditDetails) MarshalMsg ¶
func (z *ServiceAccountAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ServiceAccountAuditDetails) Msgsize ¶
func (z *ServiceAccountAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ServiceAccountAuditDetails) Redact ¶
func (s *ServiceAccountAuditDetails) Redact()
Redact redacts sensitive fields in ServiceAccountAuditDetails
func (*ServiceAccountAuditDetails) UnmarshalMsg ¶
func (z *ServiceAccountAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type ServiceAuditDetails ¶
type ServiceAuditDetails struct {
ServiceName string `json:"serviceName,omitempty"`
Operation string `json:"operation,omitempty"`
Status string `json:"status,omitempty"`
Legacy bool `json:"legacy,omitempty"`
IAMImport *IAMImportDetails `json:"iamImport,omitempty"`
}
ServiceAuditDetails captures service operation details. It tracks MinIO service operations like restart, update, IAM import/export, and cluster management actions.
func (*ServiceAuditDetails) DecodeMsg ¶
func (z *ServiceAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*ServiceAuditDetails) EncodeMsg ¶
func (z *ServiceAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*ServiceAuditDetails) MarshalMsg ¶
func (z *ServiceAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*ServiceAuditDetails) Msgsize ¶
func (z *ServiceAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*ServiceAuditDetails) Redact ¶
func (s *ServiceAuditDetails) Redact()
Redact redacts sensitive fields in ServiceAuditDetails
func (*ServiceAuditDetails) UnmarshalMsg ¶
func (z *ServiceAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type SiteReplicationAuditDetails ¶
type SiteReplicationAuditDetails struct {
SiteName string `json:"siteName,omitempty"`
Endpoint string `json:"endpoint,omitempty"`
Operation string `json:"operation,omitempty"`
Sites []string `json:"sites,omitempty"`
}
SiteReplicationAuditDetails captures site replication details. It tracks multi-site replication operations including site additions, removals, and replication status changes.
func (*SiteReplicationAuditDetails) DecodeMsg ¶
func (z *SiteReplicationAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*SiteReplicationAuditDetails) EncodeMsg ¶
func (z *SiteReplicationAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*SiteReplicationAuditDetails) MarshalMsg ¶
func (z *SiteReplicationAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*SiteReplicationAuditDetails) Msgsize ¶
func (z *SiteReplicationAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*SiteReplicationAuditDetails) Redact ¶
func (s *SiteReplicationAuditDetails) Redact()
Redact redacts sensitive fields in SiteReplicationAuditDetails
func (*SiteReplicationAuditDetails) UnmarshalMsg ¶
func (z *SiteReplicationAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type TierAuditDetails ¶
type TierAuditDetails struct {
TierName string `json:"tierName"`
TierType string `json:"tierType,omitempty"`
}
TierAuditDetails captures tier configuration changes. It tracks remote tier configurations for lifecycle transitions including S3, Azure, GCS, and MinIO tiers.
func (*TierAuditDetails) DecodeMsg ¶
func (z *TierAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (TierAuditDetails) EncodeMsg ¶
func (z TierAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (TierAuditDetails) MarshalMsg ¶
func (z TierAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (TierAuditDetails) Msgsize ¶
func (z TierAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*TierAuditDetails) Redact ¶
func (t *TierAuditDetails) Redact()
Redact redacts sensitive fields in TierAuditDetails
func (*TierAuditDetails) UnmarshalMsg ¶
func (z *TierAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler
type Trace ¶
type Trace struct {
Source []string `json:"source,omitempty"`
Variables map[string]string `json:"variables,omitempty"`
}
Trace represents the call trace
func (*Trace) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type UserAuditDetails ¶
type UserAuditDetails struct {
UserName string `json:"userName"`
UserType string `json:"userType,omitempty"`
Field string `json:"field,omitempty"`
OldValue string `json:"oldValue,omitempty"`
NewValue string `json:"newValue,omitempty"`
OldStatus string `json:"oldStatus,omitempty"`
NewStatus string `json:"newStatus,omitempty"`
Policies []string `json:"policies,omitempty"`
Groups []string `json:"groups,omitempty"`
}
UserAuditDetails captures user mutation details. It tracks changes to user accounts including status, credentials, policies, and group memberships.
func (*UserAuditDetails) DecodeMsg ¶
func (z *UserAuditDetails) DecodeMsg(dc *msgp.Reader) (err error)
DecodeMsg implements msgp.Decodable
func (*UserAuditDetails) EncodeMsg ¶
func (z *UserAuditDetails) EncodeMsg(en *msgp.Writer) (err error)
EncodeMsg implements msgp.Encodable
func (*UserAuditDetails) MarshalMsg ¶
func (z *UserAuditDetails) MarshalMsg(b []byte) (o []byte, err error)
MarshalMsg implements msgp.Marshaler
func (*UserAuditDetails) Msgsize ¶
func (z *UserAuditDetails) Msgsize() (s int)
Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
func (*UserAuditDetails) Redact ¶
func (u *UserAuditDetails) Redact()
Redact redacts sensitive fields in UserAuditDetails
func (*UserAuditDetails) UnmarshalMsg ¶
func (z *UserAuditDetails) UnmarshalMsg(bts []byte) (o []byte, err error)
UnmarshalMsg implements msgp.Unmarshaler