auditlogs

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditLogsClient

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

func NewClient

func NewClient(opts ...client.ClientOption) (*AuditLogsClient, error)

func (*AuditLogsClient) List

type AuditLogsListOptions

type AuditLogsListOptions struct {
	Cursor      string     `json:"cursor"`       // Pagination cursor.
	PerPage     *int       `json:"per_page"`     // Number of items to list per page.	[ 1 .. 100 ]
	DateBefore  *time.Time `json:"date_before"`  // Entries found before this date.
	DateAfter   *time.Time `json:"date_after"`   // Entries found after this date.
	EventName   string     `json:"event_name"`   // Entries matching this event name.
	MemberId    *int       `json:"member_id"`    // The id of the member to retrieve.
	MemberName  string     `json:"member_name"`  // Entries matching this member name.
	MemberEmail string     `json:"member_email"` // Entries matching this member email.
}

type AuditLogsListResponse

type AuditLogsListResponse struct {
	ID          int64                  `json:"id"`
	Date        time.Time              `json:"date"`
	MemberEmail string                 `json:"member_email"`
	MemberName  string                 `json:"member_name"`
	MemberID    int64                  `json:"member_id"`
	APITokenID  int64                  `json:"api_token_id"`
	IPAddress   string                 `json:"ip_address"`
	TargetIDS   []string               `json:"target_ids"`
	ActionType  string                 `json:"action_type"`
	EventName   string                 `json:"event_name"`
	Data        map[string]interface{} `json:"data"`
}

type AuditLogsListResult

type AuditLogsListResult struct {
	Result []AuditLogsListResponse `json:"result"`
	Error  *Error                  `json:"error"`
}

type Error

type Error struct {
	Detail string `json:"detail"`
}

Jump to

Keyboard shortcuts

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