// GetAuditEntries returns the last buffered audit entries.
//
// Retrives the last N audit entries created.
// See `GetAuditEntriesLive` for real-time notifications.
GetAuditEntries returns the last buffered audit entries.

Retrives the last N audit entries created.
See `GetAuditEntriesLive` for real-time notifications.
// GetAuditEntries returns the last buffered audit entries . // // Retrives the last N audit entries created . // See ` GetAuditEntriesLive ` for real - time notifications .
func (c *Client) GetAuditEntries() (entries []AuditEntry, err error) {
	resp, err := c.Do(http.MethodGet, auditPath, "", nil)
	if err != nil {
		return nil, nil
	}
	var auditsV3 AuditsV3
	err = c.ReadJSON(resp, &auditsV3)
	return auditsV3.Values, err
}
func ( c * Client ) GetAuditEntries ( ) ( entries [ ] AuditEntry , err error ) { resp , err := c . Do ( http . MethodGet , auditPath , " " , nil ) if err != nil { return nil , nil } var auditsV3 AuditsV3 err = c . ReadJSON ( resp , & auditsV3 ) return auditsV3 . Values , err }
GetAuditEntries returns the last buffered audit entries.
GetAuditEntries returns the last buffered audit entries .