--- title: "Custom exclusion policy" slug: "custom-exclusion-policy" updated: 2026-09-08T19:11:22Z published: 2026-09-08T19:11:22Z canonical: "docs.trellix.com/custom-exclusion-policy" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Custom exclusion policy An exclusion policy is a type of custom policy that allows you to globally exclude specific files and folders, MD5 hashes, and processes from specific xAgent processes on all of your host endpoints or selected host sets. For example, you can access the Real-Time Indicator Detection policy within the xAgent Default Policy and globally exclude specific files and folders for Real-Time Indicator Detection processing for all of your host endpoints. You can also create a custom exclusion policy that excludes specific files and folders, MD5 hashes, and processes from specific xAgent a processes an assign it to select host sets in your environment. Your custom exclusion policy will override your global exclusion policy in the xAgent default policy. If you have existing global exclusion policies, after you upgrade your Endpoint Security (HX) server to version 4.5 or later, the server migrates and maps your global exclusion policies to the xAgent default policy. See [Migrating Exclusion Policies](/docs/migrated-exclusion-policies) for more information. :