avast / yls

YARA Language Server
https://avast.github.io/yls/
MIT License
68 stars 13 forks source link

Missing support for module VT #27

Open kn0t3k opened 1 year ago

kn0t3k commented 1 year ago

import "vt"

Is shown as an error. Are you planning to add support for VirusTotal module? Without it I cannot lint and work on my VT, which is a real shame. The missing support (and thus the error) causes:

Cannot parse the current document, please fix all errors before formatting.

Thanks

MatejKastak commented 1 year ago

Ahoj Martin,

thanks for the feedback! Sure, I don't see a problem adding this functionality in the future releases. We will need to create a module spec for Yaramod, similar to the cuckoo one. The reason why it was not supported is that the vt module itself is not open-source, so people cannot use it locally (and all we had was a doc page). I understand that people are writing rules for this module.