Skip to main content
Solved

API for validate YARA-L

  • April 9, 2025
  • 1 reply
  • 52 views

Forum|alt.badge.img+1

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?

Best answer by chrisd2

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

1 reply

chrisd2
Forum|alt.badge.img+9
  • Bronze 5
  • Answer
  • April 9, 2025

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