---
title: es_event_type_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_event_type_t
---

# es_event_type_t

A type used to identify a message’s event type and subscribe to events of that type.

## Declaration

```swift
struct es_event_type_t
```

## Overview

Overview Call the es_subscribe(_:_:_:) function with the constants defined by this type to subscribe to specific Endpoint Security events. You also use this type when inspecting a received message. The es_message_t member event_type, which is of this type, indicates what kind of event the event field contains.

## Topics

### Authorization Event Types

- [ES_EVENT_TYPE_AUTH_CHDIR](endpointsecurity/es_event_type_auth_chdir.md)
- [ES_EVENT_TYPE_AUTH_CHROOT](endpointsecurity/es_event_type_auth_chroot.md)
- [ES_EVENT_TYPE_AUTH_CLONE](endpointsecurity/es_event_type_auth_clone.md)
- [ES_EVENT_TYPE_AUTH_COPYFILE](endpointsecurity/es_event_type_auth_copyfile.md)
- [ES_EVENT_TYPE_AUTH_CREATE](endpointsecurity/es_event_type_auth_create.md)
- [ES_EVENT_TYPE_AUTH_DELETEEXTATTR](endpointsecurity/es_event_type_auth_deleteextattr.md)
- [ES_EVENT_TYPE_AUTH_EXCHANGEDATA](endpointsecurity/es_event_type_auth_exchangedata.md)
- [ES_EVENT_TYPE_AUTH_EXEC](endpointsecurity/es_event_type_auth_exec.md)
- [ES_EVENT_TYPE_AUTH_FCNTL](endpointsecurity/es_event_type_auth_fcntl.md)
- [ES_EVENT_TYPE_AUTH_FILE_PROVIDER_MATERIALIZE](endpointsecurity/es_event_type_auth_file_provider_materialize.md)
- [ES_EVENT_TYPE_AUTH_FILE_PROVIDER_UPDATE](endpointsecurity/es_event_type_auth_file_provider_update.md)
- [ES_EVENT_TYPE_AUTH_FSGETPATH](endpointsecurity/es_event_type_auth_fsgetpath.md)
- [ES_EVENT_TYPE_AUTH_GET_TASK](endpointsecurity/es_event_type_auth_get_task.md)
- [ES_EVENT_TYPE_AUTH_GET_TASK_READ](endpointsecurity/es_event_type_auth_get_task_read.md)
- [ES_EVENT_TYPE_AUTH_GETATTRLIST](endpointsecurity/es_event_type_auth_getattrlist.md)
- [ES_EVENT_TYPE_AUTH_GETEXTATTR](endpointsecurity/es_event_type_auth_getextattr.md)
- [ES_EVENT_TYPE_AUTH_IOKIT_OPEN](endpointsecurity/es_event_type_auth_iokit_open.md)
- [ES_EVENT_TYPE_AUTH_KEXTLOAD](endpointsecurity/es_event_type_auth_kextload.md)
- [ES_EVENT_TYPE_AUTH_LINK](endpointsecurity/es_event_type_auth_link.md)
- [ES_EVENT_TYPE_AUTH_LISTEXTATTR](endpointsecurity/es_event_type_auth_listextattr.md)
- [ES_EVENT_TYPE_AUTH_MMAP](endpointsecurity/es_event_type_auth_mmap.md)
- [ES_EVENT_TYPE_AUTH_MOUNT](endpointsecurity/es_event_type_auth_mount.md)
- [ES_EVENT_TYPE_AUTH_MPROTECT](endpointsecurity/es_event_type_auth_mprotect.md)
- [ES_EVENT_TYPE_AUTH_OPEN](endpointsecurity/es_event_type_auth_open.md)
- [ES_EVENT_TYPE_AUTH_PROC_CHECK](endpointsecurity/es_event_type_auth_proc_check.md)
- [ES_EVENT_TYPE_AUTH_PROC_SUSPEND_RESUME](endpointsecurity/es_event_type_auth_proc_suspend_resume.md)
- [ES_EVENT_TYPE_AUTH_READDIR](endpointsecurity/es_event_type_auth_readdir.md)
- [ES_EVENT_TYPE_AUTH_READLINK](endpointsecurity/es_event_type_auth_readlink.md)
- [ES_EVENT_TYPE_AUTH_REMOUNT](endpointsecurity/es_event_type_auth_remount.md)
- [ES_EVENT_TYPE_AUTH_RENAME](endpointsecurity/es_event_type_auth_rename.md)
- [ES_EVENT_TYPE_AUTH_SEARCHFS](endpointsecurity/es_event_type_auth_searchfs.md)
- [ES_EVENT_TYPE_AUTH_SETACL](endpointsecurity/es_event_type_auth_setacl.md)
- [ES_EVENT_TYPE_AUTH_SETATTRLIST](endpointsecurity/es_event_type_auth_setattrlist.md)
- [ES_EVENT_TYPE_AUTH_SETEXTATTR](endpointsecurity/es_event_type_auth_setextattr.md)
- [ES_EVENT_TYPE_AUTH_SETFLAGS](endpointsecurity/es_event_type_auth_setflags.md)
- [ES_EVENT_TYPE_AUTH_SETMODE](endpointsecurity/es_event_type_auth_setmode.md)
- [ES_EVENT_TYPE_AUTH_SETOWNER](endpointsecurity/es_event_type_auth_setowner.md)
- [ES_EVENT_TYPE_AUTH_SETTIME](endpointsecurity/es_event_type_auth_settime.md)
- [ES_EVENT_TYPE_AUTH_SIGNAL](endpointsecurity/es_event_type_auth_signal.md)
- [ES_EVENT_TYPE_AUTH_TRUNCATE](endpointsecurity/es_event_type_auth_truncate.md)
- [ES_EVENT_TYPE_AUTH_UIPC_BIND](endpointsecurity/es_event_type_auth_uipc_bind.md)
- [ES_EVENT_TYPE_AUTH_UIPC_CONNECT](endpointsecurity/es_event_type_auth_uipc_connect.md)
- [ES_EVENT_TYPE_AUTH_UNLINK](endpointsecurity/es_event_type_auth_unlink.md)
- [ES_EVENT_TYPE_AUTH_UTIMES](endpointsecurity/es_event_type_auth_utimes.md)

### Notification Event Types

- [ES_EVENT_TYPE_NOTIFY_ACCESS](endpointsecurity/es_event_type_notify_access.md)
- [ES_EVENT_TYPE_NOTIFY_CHDIR](endpointsecurity/es_event_type_notify_chdir.md)
- [ES_EVENT_TYPE_NOTIFY_CHROOT](endpointsecurity/es_event_type_notify_chroot.md)
- [ES_EVENT_TYPE_NOTIFY_CLONE](endpointsecurity/es_event_type_notify_clone.md)
- [ES_EVENT_TYPE_NOTIFY_CLOSE](endpointsecurity/es_event_type_notify_close.md)
- [ES_EVENT_TYPE_NOTIFY_COPYFILE](endpointsecurity/es_event_type_notify_copyfile.md)
- [ES_EVENT_TYPE_NOTIFY_CREATE](endpointsecurity/es_event_type_notify_create.md)
- [ES_EVENT_TYPE_NOTIFY_CS_INVALIDATED](endpointsecurity/es_event_type_notify_cs_invalidated.md)
- [ES_EVENT_TYPE_NOTIFY_DELETEEXTATTR](endpointsecurity/es_event_type_notify_deleteextattr.md)
- [ES_EVENT_TYPE_NOTIFY_DUP](endpointsecurity/es_event_type_notify_dup.md)
- [ES_EVENT_TYPE_NOTIFY_EXCHANGEDATA](endpointsecurity/es_event_type_notify_exchangedata.md)
- [ES_EVENT_TYPE_NOTIFY_EXEC](endpointsecurity/es_event_type_notify_exec.md)
- [ES_EVENT_TYPE_NOTIFY_EXIT](endpointsecurity/es_event_type_notify_exit.md)
- [ES_EVENT_TYPE_NOTIFY_FCNTL](endpointsecurity/es_event_type_notify_fcntl.md)
- [ES_EVENT_TYPE_NOTIFY_FILE_PROVIDER_MATERIALIZE](endpointsecurity/es_event_type_notify_file_provider_materialize.md)
- [ES_EVENT_TYPE_NOTIFY_FILE_PROVIDER_UPDATE](endpointsecurity/es_event_type_notify_file_provider_update.md)
- [ES_EVENT_TYPE_NOTIFY_FORK](endpointsecurity/es_event_type_notify_fork.md)
- [ES_EVENT_TYPE_NOTIFY_FSGETPATH](endpointsecurity/es_event_type_notify_fsgetpath.md)
- [ES_EVENT_TYPE_NOTIFY_GETATTRLIST](endpointsecurity/es_event_type_notify_getattrlist.md)
- [ES_EVENT_TYPE_NOTIFY_GETEXTATTR](endpointsecurity/es_event_type_notify_getextattr.md)
- [ES_EVENT_TYPE_NOTIFY_GET_TASK](endpointsecurity/es_event_type_notify_get_task.md)
- [ES_EVENT_TYPE_NOTIFY_GET_TASK_READ](endpointsecurity/es_event_type_notify_get_task_read.md)
- [ES_EVENT_TYPE_NOTIFY_GET_TASK_INSPECT](endpointsecurity/es_event_type_notify_get_task_inspect.md)
- [ES_EVENT_TYPE_NOTIFY_GET_TASK_NAME](endpointsecurity/es_event_type_notify_get_task_name.md)
- [ES_EVENT_TYPE_NOTIFY_IOKIT_OPEN](endpointsecurity/es_event_type_notify_iokit_open.md)
- [ES_EVENT_TYPE_NOTIFY_KEXTLOAD](endpointsecurity/es_event_type_notify_kextload.md)
- [ES_EVENT_TYPE_NOTIFY_KEXTUNLOAD](endpointsecurity/es_event_type_notify_kextunload.md)
- [ES_EVENT_TYPE_NOTIFY_LINK](endpointsecurity/es_event_type_notify_link.md)
- [ES_EVENT_TYPE_NOTIFY_LISTEXTATTR](endpointsecurity/es_event_type_notify_listextattr.md)
- [ES_EVENT_TYPE_NOTIFY_LOOKUP](endpointsecurity/es_event_type_notify_lookup.md)
- [ES_EVENT_TYPE_NOTIFY_MMAP](endpointsecurity/es_event_type_notify_mmap.md)
- [ES_EVENT_TYPE_NOTIFY_MOUNT](endpointsecurity/es_event_type_notify_mount.md)
- [ES_EVENT_TYPE_NOTIFY_MPROTECT](endpointsecurity/es_event_type_notify_mprotect.md)
- [ES_EVENT_TYPE_NOTIFY_OPEN](endpointsecurity/es_event_type_notify_open.md)
- [ES_EVENT_TYPE_NOTIFY_PROC_CHECK](endpointsecurity/es_event_type_notify_proc_check.md)
- [ES_EVENT_TYPE_NOTIFY_PROC_SUSPEND_RESUME](endpointsecurity/es_event_type_notify_proc_suspend_resume.md)
- [ES_EVENT_TYPE_NOTIFY_PTY_CLOSE](endpointsecurity/es_event_type_notify_pty_close.md)
- [ES_EVENT_TYPE_NOTIFY_PTY_GRANT](endpointsecurity/es_event_type_notify_pty_grant.md)
- [ES_EVENT_TYPE_NOTIFY_READDIR](endpointsecurity/es_event_type_notify_readdir.md)
- [ES_EVENT_TYPE_NOTIFY_READLINK](endpointsecurity/es_event_type_notify_readlink.md)
- [ES_EVENT_TYPE_NOTIFY_REMOTE_THREAD_CREATE](endpointsecurity/es_event_type_notify_remote_thread_create.md)
- [ES_EVENT_TYPE_NOTIFY_REMOUNT](endpointsecurity/es_event_type_notify_remount.md)
- [ES_EVENT_TYPE_NOTIFY_RENAME](endpointsecurity/es_event_type_notify_rename.md)
- [ES_EVENT_TYPE_NOTIFY_SEARCHFS](endpointsecurity/es_event_type_notify_searchfs.md)
- [ES_EVENT_TYPE_NOTIFY_SETACL](endpointsecurity/es_event_type_notify_setacl.md)
- [ES_EVENT_TYPE_NOTIFY_SETATTRLIST](endpointsecurity/es_event_type_notify_setattrlist.md)
- [ES_EVENT_TYPE_NOTIFY_SETEGID](endpointsecurity/es_event_type_notify_setegid.md)
- [ES_EVENT_TYPE_NOTIFY_SETEUID](endpointsecurity/es_event_type_notify_seteuid.md)
- [ES_EVENT_TYPE_NOTIFY_SETEXTATTR](endpointsecurity/es_event_type_notify_setextattr.md)
- [ES_EVENT_TYPE_NOTIFY_SETGID](endpointsecurity/es_event_type_notify_setgid.md)
- [ES_EVENT_TYPE_NOTIFY_SETFLAGS](endpointsecurity/es_event_type_notify_setflags.md)
- [ES_EVENT_TYPE_NOTIFY_SETMODE](endpointsecurity/es_event_type_notify_setmode.md)
- [ES_EVENT_TYPE_NOTIFY_SETOWNER](endpointsecurity/es_event_type_notify_setowner.md)
- [ES_EVENT_TYPE_NOTIFY_SETREGID](endpointsecurity/es_event_type_notify_setregid.md)
- [ES_EVENT_TYPE_NOTIFY_SETREUID](endpointsecurity/es_event_type_notify_setreuid.md)
- [ES_EVENT_TYPE_NOTIFY_SETTIME](endpointsecurity/es_event_type_notify_settime.md)
- [ES_EVENT_TYPE_NOTIFY_SETUID](endpointsecurity/es_event_type_notify_setuid.md)
- [ES_EVENT_TYPE_NOTIFY_SIGNAL](endpointsecurity/es_event_type_notify_signal.md)
- [ES_EVENT_TYPE_NOTIFY_STAT](endpointsecurity/es_event_type_notify_stat.md)
- [ES_EVENT_TYPE_NOTIFY_TRACE](endpointsecurity/es_event_type_notify_trace.md)
- [ES_EVENT_TYPE_NOTIFY_TRUNCATE](endpointsecurity/es_event_type_notify_truncate.md)
- [ES_EVENT_TYPE_NOTIFY_UIPC_BIND](endpointsecurity/es_event_type_notify_uipc_bind.md)
- [ES_EVENT_TYPE_NOTIFY_UIPC_CONNECT](endpointsecurity/es_event_type_notify_uipc_connect.md)
- [ES_EVENT_TYPE_NOTIFY_UNLINK](endpointsecurity/es_event_type_notify_unlink.md)
- [ES_EVENT_TYPE_NOTIFY_UNMOUNT](endpointsecurity/es_event_type_notify_unmount.md)
- [ES_EVENT_TYPE_NOTIFY_UTIMES](endpointsecurity/es_event_type_notify_utimes.md)
- [ES_EVENT_TYPE_NOTIFY_WRITE](endpointsecurity/es_event_type_notify_write.md)

### Enumeration Marker

- [ES_EVENT_TYPE_LAST](endpointsecurity/es_event_type_last.md)

### Initializers

- [init(_:)](endpointsecurity/es_event_type_t/init(_:).md)
- [init(rawValue:)](endpointsecurity/es_event_type_t/init(rawvalue:).md)

### Instance Properties

- [rawValue](endpointsecurity/es_event_type_t/rawvalue.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)

## See Also

### Subscribing to Events

- [es_subscribe(_:_:_:)](endpointsecurity/es_subscribe(_:_:_:).md)
- [es_subscriptions(_:_:_:)](endpointsecurity/es_subscriptions(_:_:_:).md)
- [es_unsubscribe(_:_:_:)](endpointsecurity/es_unsubscribe(_:_:_:).md)
- [es_unsubscribe_all(_:)](endpointsecurity/es_unsubscribe_all(_:).md)
