Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEvent ¶
type AuditEvent struct {
ID string `json:"id"`
Timestamp string `json:"timestamp"`
EventType string `json:"event_type"`
TargetID string `json:"target_id"`
TargetName string `json:"target_name"`
TargetType string `json:"target_type"`
SubTargetType string `json:"sub_target_type"`
Origin string `json:"origin"`
TriggeredBy string `json:"triggered_by"`
ProjectID string `json:"project_id"`
ProjectName string `json:"project_name"`
EnvironmentID string `json:"environment_id"`
EnvironmentName string `json:"environment_name"`
EnvironmentType string `json:"environment_type"`
UserAgent string `json:"user_agent"`
Change string `json:"change"`
}
type AuditLogResponse ¶
type AuditLogResponse struct {
Links Links `json:"links"`
Events []AuditEvent `json:"events"`
}
Response structures for the audit logs API
type DownloadOptions ¶
type DownloadOptions struct {
OrganizationID string
FromDate string
ToDate string
TokenType string
Token string
}
DownloadOptions contains parameters for downloading audit logs
type Service ¶
type Service struct{}
Service handles audit log operations
func (*Service) DownloadAuditLogs ¶
func (s *Service) DownloadAuditLogs(options DownloadOptions) error
DownloadAuditLogs downloads audit logs and saves them to a CSV file
Click to show internal directories.
Click to hide internal directories.