> ## Documentation Index
> Fetch the complete documentation index at: https://docs.idemeum.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Events deep dive

> Deep dive into how allowlisting events work for major use cases. 

## How allowlisting events work

> [!NOTE]
>
> Let's review the major cases of events that you will encounter in idemeum. Here we assume both `Allowlisting` and `Endpoint Privilege Management` are enabled.

### Launch app without elevation

Let's say there is no rule for `cmd.exe`. You launch `cmd.exe`, and it gets blocked. There is one execution event generated.

![Image1](https://mintcdn.com/idemeum/11V4Whz_pyaKPeh_/images/image1.png?fit=max\&auto=format\&n=11V4Whz_pyaKPeh_\&q=85\&s=4f4c223cda41c181bfb63d7fb951db5d)

Now you create a rule for `cmd.exe` to allow execution, but not allowing child processes. You launch `cmd.exe`, and it is allowed.

![Image2](https://mintcdn.com/idemeum/11V4Whz_pyaKPeh_/images/image2.png?fit=max\&auto=format\&n=11V4Whz_pyaKPeh_\&q=85\&s=6110b68056e9e512fc70d05546b4393f)

Let's now explore [application fencing](https://docs.idemeum.com/documentation/products/allowlisting/application-fencing). You have a rule for `cmd.exe` to allow execution, but not allowing any child processes. You launch `tor.exe` from `cmd.exe`. The TOR launch is blocked. And in the event you can see the message that child process is denied.

> [!WARNING]
>
> Even if you have a direct rule for `TOR` to allow it, when launching `TOR` from `cmd`, `TOR` will still be blocked becase of application fencing control.

![Image3](https://mintcdn.com/idemeum/11V4Whz_pyaKPeh_/images/image3.png?fit=max\&auto=format\&n=11V4Whz_pyaKPeh_\&q=85\&s=fe71b06834f4f281f81fb6d8680f3866)

Now you edit the existing rule for `cmd.exe` to also allow child processes. You launch `tor.exe` from `cmd.exe`. The execution is allowed. And the badge now shows `Child allowed`.

![Image5](https://mintcdn.com/idemeum/11V4Whz_pyaKPeh_/images/image5.png?fit=max\&auto=format\&n=11V4Whz_pyaKPeh_\&q=85\&s=74338a7565017ae6daeebbfafac47b5f)

### Launch app with elevation

Let's say you do not have a rule for `notepad++.exe`. Execution is not allowed, and elevation is not allowed. When you trigger `notepad++` installation, the elevation screen is presented and the application is blocked. One event is generated with both execution and elevation denied.

![Image6](https://mintcdn.com/idemeum/11V4Whz_pyaKPeh_/images/image6.png?fit=max\&auto=format\&n=11V4Whz_pyaKPeh_\&q=85\&s=5a22203bec01a6c497874c497d34a819)

Now you have created a rule for `notepad++.exe`. You allow execution and configure the application to automatically elevate. When you trigger `notepad++` installation, elevation screen is presented and then allowed. Installation goes through. There are two events generated - one for elevation, and one for successful execution.

![Image7](https://mintcdn.com/idemeum/11V4Whz_pyaKPeh_/images/image7.png?fit=max\&auto=format\&n=11V4Whz_pyaKPeh_\&q=85\&s=f98c7cbf62a2e1e511dd1cc64f8f9efd)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.