Skip to content

[pull] main from VirusTotal:main#180

Merged
pull[bot] merged 6 commits intothreatcode:mainfrom
VirusTotal:main
Mar 31, 2026
Merged

[pull] main from VirusTotal:main#180
pull[bot] merged 6 commits intothreatcode:mainfrom
VirusTotal:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 31, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

plusvic and others added 6 commits March 31, 2026 10:45
This commit exposes the linters to the python API via the Compiler class. With
this you can now do things like:

```
import yara_x

rule = '''
rule test : a b c {
  meta:
    author = "foo"
  strings:
    $a = "bar"
  condition:
    $a
}'''

c = yara_x.Compiler()
c.allowed_metadata('author', yara_x.MetaType.STRING, regexp='bar')
c.allowed_tags(['a', 'b'], error = True)
```

---------

Co-authored-by: Victor M. Alvarez <vmalvarez@virustotal.com>
@pull pull bot locked and limited conversation to collaborators Mar 31, 2026
@pull pull bot added the ⤵️ pull label Mar 31, 2026
@pull pull bot merged commit cd80efa into threatcode:main Mar 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants