--- title: "YARA rules external API" slug: "yara-rules-external-api" tags: ["Reference", "Email Security - Cloud", "Customer", "Cloud Security"] updated: 2026-09-04T13:32:19Z published: 2026-09-04T19:23:15Z canonical: "docs.trellix.com/yara-rules-external-api" --- > ## 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. # YARA rules external API The following YARA Rules External APIs are available: - [Fetch list of YARA rulesets request](/data-and-email/docs/fetch-list-of-yara-rulesets-request) GET `https://<etp_instance_addr>/api/v1/policies/policy_uuid/configuration/rules/yara/rulesets` - [Create YARA ruleset request](/data-and-email/docs/create-yara-rulesets-request) POST `https://<etp_instance_addr>/api/v1/policies/policy_uuid/configuration/rules/yara/rulesets` - [Fetch YARA ruleset attributes request](/data-and-email/docs/fetch-yara-ruleset-attributes-request) GET `https://<etp_instance_addr>/api/v1/policies/policy_uuid/configuration/rules/yara/rulesets/ruleset_uuid/attributes` - [Download YARA file request](/data-and-email/docs/download-yara-file-request) GET `https://<etp_instance_addr>/api/v1/policies/policy_uuid/configuration/rules/yara/rulesets/ruleset_uuid/file` - [Update YARA ruleset attributes request](/data-and-email/docs/update-yara-ruleset-attributes-request) PATCH `https://<etp_instance_addr>/api/v1/policies/policy_uuid/configuration/rules/yara/rulesets/ruleset_uuid/attributes` - [Update or replace YARA rule file request](/data-and-email/docs/replace-yara-rule-file-request) PUT `https://<etp_instance_addr>/api/v1/policies/policy_uuid/configuration/rules/yara/rulesets/ruleset_uuid/file` - [Delete rulesets request](/data-and-email/docs/delete-rulesets-request) POST `https://<etp_instance_addr>/api/v1/policies/policy_uuid/configuration/rules/yara/rulesets/delete` > [!WARNING] > Important > > You need to log in to the Web UI and get the YARA policy UUID.