--- title: "Assigning a policy to a host set" slug: "assigning-a-policy-to-a-host-set-1" tags: ["HX 10.x", "Endpoint Security (HX)", "Product Usage"] updated: 2026-09-10T15:35:17Z published: 2026-09-10T15:35:17Z canonical: "docs.trellix.com/assigning-a-policy-to-a-host-set-1" --- > ## 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. # Assigning a policy to a host set If you want to apply custom policies to a group of hosts, you can create a host set and apply the custom policies to all hosts in the set, as described in this section. ### Note All host endpoints have the Agent Default policy applied automatically. For special cases in which you want to apply custom policies to a single host, create a host set that has only that host in it. Prerequisites - Admin access To apply a policy to a host set: 1. Log in to the Endpoint Security (HX) Web UI. 2. On the **Manage Hosts** menu, select **Host Sets**. 3. Click the **Assign Policies to Host Sets** button in the upper right corner of the page. The **Assign Policies to Host Sets** page appears. ![HX_AssignPolicy.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-e2dcae9f-2ab5-8fa5-d537-489d27348c2e(1).png?sv=2026-02-06&spr=https&st=2026-11-23T00%3A09%3A44Z&se=2026-11-23T01%3A09%3A44Z&sr=c&sp=r&sig=ScgdP3eG3seuuZ6dbi3DnKo55L%2FFzzK%2BZu%2BvDxFifKk%3D) 4. Select a host set from the **Host Sets** column. 5. Select the policies to assign to the host set in the **Policies** column. 6. Review the details of a host set or policy on the **Selected Host Set** or **Selected Policy** tab. 7. Click **Save**. ### Note If a host is added to an existing host set, the policies applicable to that host set are sent to the newly added host. For more information about policies, including how to prioritize the order in which policies are applied, see Endpoint Security Agent (HX) Administration Guide. :