Skip to main content

Our team is building a web application where our engineers can write and manage their YARA-L 2.0 detection rules.

We want to provide instant syntax validation feedback directly within this web interface.

Are there any known JavaScript libraries, public APIs, or recommended approaches specifically for validating YARA-L 2.0 syntax for web integration?

Hello @David-Wang ,

The Chronicle API exposes an HTTP endpoint to verify a given rule : https://cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/verifyRuleText

Regards


Reply