// IsAuditEvent checks whether Event is one to be audited.
IsAuditEvent checks whether Event is one to be audited.
// IsAuditEvent checks whether Event is one to be audited .
func (e Event) IsAuditEvent() bool {
	switch e.Action {
	case "Employee Account Deleted":
	case "Employee Account Created":
	case "従業員のアカウントを作成しました":
	case "Edit Policy":
	case "ポリシーの編集":
	case "Deactivated User":
	case "Reactivated User":
	case "Make Admin":
	case "Remove Admin":
	case "Master Password Reuse":
	case "Require Password Change":
	case "Super Admin Password Reset":
	case "Add to Shared Folder":
		if !strings.Contains(e.Data, "Shared-Super-Admins") {
			return false
		}
		break
	default:
		return false
	}
	return true
}
func ( e Event ) IsAuditEvent ( ) bool { switch e . Action { case " " : case " " : case " case " " : case " case " " : case " " : case " " : case " " : case " " : case " " : case " " : case " " : if ! strings . Contains ( e . Data , " " ) { return false } break default : return false } return true }
IsAuditEvent checks whether Event is one to be audited.
IsAuditEvent checks whether Event is one to be audited .