EPM - Endpoint Still Uploading Policy Audit Events After Setting Disabled in Policy
Question
Why are Mac EPM agents and Windows EPM agents still sending policy audit events to the EPM Console even though policy audit has been disabled in those policies?
Environment
24.10;24.12;25.2;25.4 EPM Mac Agent;Windows Agent
Answer
Here are two possible reasons:
A) The endpoint has not received the change to the policy yet
B) The agent has policy audit events queued up to upload to EPM SaaS but is limited to 200 per hour
more details:
A) The endpoint has not received the change to the policy yet
To confirm if the endpoint has received your change (to disable policy audit on a policy), get SupportInfo logs. Then open the policy xml. On a Windows endpoint it's in the trace subfolder and is named vf_policies.xml. On a Mac it's named Policy.xml. Search for the policy name.
In the following example ...
<Policy id="36991" order="420" action="1" name="Test allow" reportUsage="2" internalType="3">
<Targets>
<ApplicationGroup id="{ecc0705c-9d62-4add-93dd-dc405c4e362c}"/>
<ApplicationGroup id="{8887b6d7-82a4-419d-b9cc-3ca2241c49ab}" name=""/>
</Targets>
</Policy>
...reportUsage="2" means that policy audit means policy audit is disabled for this policy. If you don't see reportUsage="2" at all, it means policy audit is enabled
B) The agent has policy audit events queued up to upload to EPM SaaS, but is limited to 200 per hour
The EPM Agent has a setting which is not configurable by the customer which determines how many events can be uploaded by the agent per hour. If you get support info logs and then look in the policy xml, you will see a section that looks like this:
<MaxHourlyEvents>
<PrivLack>250</PrivLack>
<File>100</File>
<PolicyUsage>200</PolicyUsage>
<Restrict>100</Restrict>
<NetAccess>500</NetAccess>
</MaxHourlyEvents>
PolicyUsage setting of 200 means the endpoint can only upload 200 policy audit events per hour. After one hour, it can upload more. If you disable policy audit on a particular policy, this does not remove policy audit events associated with that policy from the endpoints queue of policy events it needs to upload. They will continue to upload, 200 events at a time, until the queue is cleared.