Skip to main content

Create a YARA rule

POST 

/detection/yara/sets/:set_id/rules

Compiles content and saves it in a set you own or your team shares. The rule is yours. A source that does not compile returns 422 with the compiler errors and nothing is saved. Quota class yara_write.

Request​

Responses​

The new rule.

Response Headers
    RateLimit-Policy

    The minute, hour, and day limits of the governing quota, for example 50;w=60, 500;w=3600, 500;w=86400.

    RateLimit-Limit

    Limit of the governing window.

    RateLimit-Remaining

    Requests remaining in the governing window.

    RateLimit-Reset

    Seconds until capacity is available in the governing window.