--- title: "Import and export detection rules" slug: "import-and-export-detection-rules-1" updated: 2026-09-12T15:51:52Z published: 2026-09-12T15:51:52Z canonical: "docs.trellix.com/import-and-export-detection-rules-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. # Import and export detection rules If you have existing custom detection rules, you can quickly and easily import them into Helix. For example, you might have rules that you use with a particular third party product, or rules specific to your organization's requirements. Being able to import these rules saves you time as you don't have to re-create the rule from scratch, or copy and paste the rule. ### Note You can only import custom detection rules in YAML format. You can import a single custom detection rule, or a file with multiple rules. Imported rules are validated, and any errors are displayed along with an explanation of what went wrong. Incorrectly formatted rules are not imported into Helix. To import detection rules: 1. On the **Rules** page, click **Import Rules**. 2. Click **Choose File...**, select the file you want to import, and then click **Upload File**. Valid rules are imported into Helix and error messages explain why any rules are invalid. Repeat this step for any other files you want to import. 3. When you have uploaded all your detection rules, click **Close**. To export detection rules: - On the **Rules** page, do one of the following: ### Note You cannot export Trellix rules. 1. To export a single rule, at the end of the row click **More Options** ![more-options.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-257359a4-a589-4772-de7f-04a343f85f8b(3).png?sv=2026-02-06&spr=https&st=2026-11-20T01%3A28%3A44Z&se=2026-11-20T02%3A28%3A44Z&sr=c&sp=r&sig=Y2U%2BxA1uNjp3OT4K6yVDU0WLkJa%2B3tXl1ivOckh0F2g%3D) > **Export** > **Export Rule**. 2. To export multiple rules, select the checkbox next to each rule and click **Actions** > **Export** > **Export Rule**.