Hi Jay,
Thanks for using our community!
The following rule will achieve what you want:
<group name="windel,">
<rule id="100100" level="5" timeframe="86400">
<if_sid>60111</if_sid>
<if_matched_sid>60109</if_matched_sid>
<description>User deleted after being created within the last 24 hours</description>
</rule>
</group>
Line: <if_sid>60111</if_sid> is the rule that triggers when a user is deleted on windows.
To make sure the user was created on the last 24 hours we will use <if_matched_sid>60109</if_matched_sid> rule 60109 is the rule triggered when a user was created.
On the new rule title we define the timeframe of the if_matched_sid field <rule id="100100" level="5" timeframe="86400"> 86400 seconds = 24 hours
Below is an example I replicated on my lab
User created rule was first triggered:
Then after removing the user on the time frame new alert was triggered