audit

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2019 Cohesity Inc.

Copyright 2019 Cohesity Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AUDIT

type AUDIT interface {
	GetAuditLogsActions() ([]string, error)

	GetAuditLogsCategories() ([]string, error)

	SearchClusterAuditLogs([]string, []string, []string, []string, *string, *int64, *int64, *int64, *int64, *string, *string, *bool) (*models.ClusterAuditLogsSearchResult, error)
}

* Interface for the AUDIT_IMPL

type AUDIT_IMPL

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

* Client structure as interface implementation

func NewAUDIT

func NewAUDIT(config configuration.CONFIGURATION) *AUDIT_IMPL

* Factory for the AUDIT interaface returning AUDIT_IMPL

func (*AUDIT_IMPL) GetAuditLogsActions added in v1.1.2

func (me *AUDIT_IMPL) GetAuditLogsActions() ([]string, error)

*

  • A string array of all the actions used to filter audit logs.
  • @return Returns the []string response from the API call

func (*AUDIT_IMPL) GetAuditLogsCategories added in v1.1.2

func (me *AUDIT_IMPL) GetAuditLogsCategories() ([]string, error)

*

  • A string array of all the categories used to filter audit logs.
  • @return Returns the []string response from the API call

func (*AUDIT_IMPL) SearchClusterAuditLogs

func (me *AUDIT_IMPL) SearchClusterAuditLogs(
	userNames []string,
	domains []string,
	entityTypes []string,
	actions []string,
	search *string,
	startTimeUsecs *int64,
	endTimeUsecs *int64,
	startIndex *int64,
	pageCount *int64,
	outputFormat *string,
	tenantId *string,
	allUnderHierarchy *bool) (*models.ClusterAuditLogsSearchResult, error)

*

  • When actions (such as a login or a Job being paused) occur on the
  • Cohesity Cluster, the Cluster generates Audit Logs.
  • If no parameters are specified, all logs currently on the Cohesity Cluster
  • are returned. Specifying parameters filters the results that are returned.
  • @param []string userNames parameter: Optional
  • @param []string domains parameter: Optional
  • @param []string entityTypes parameter: Optional
  • @param []string actions parameter: Optional
  • @param *string search parameter: Optional
  • @param *int64 startTimeUsecs parameter: Optional
  • @param *int64 endTimeUsecs parameter: Optional
  • @param *int64 startIndex parameter: Optional
  • @param *int64 pageCount parameter: Optional
  • @param *string outputFormat parameter: Optional
  • @param *string tenantId parameter: Optional
  • @param *bool allUnderHierarchy parameter: Optional
  • @return Returns the *models.ClusterAuditLogsSearchResult response from the API call

Jump to

Keyboard shortcuts

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