CybercentreCanada / CCCS-Yara

YARA rule metadata specification and validation utility / Spécification et validation pour les règles YARA
MIT License
98 stars 19 forks source link

fix typo in validator_functions.py #77

Closed xe6077 closed 8 months ago

xe6077 commented 8 months ago

Theres a typo and when launching it plain per CLI.

I guess that it this should have ment attributevalid() Since it throws an error while running directly the yara_validator against a bunch of files (-c) : yara_validator\validator_functions.py", line 324, in valid_date self.required_fields[DATE].attibutevalid() AttributeError: 'MetadataAttributes' object has no attribute 'attibutevalid'. Did you mean: 'attributevalid'?

Or maybe I'm completely wrong here and it was intended - it fixed my issue at least :) @cccs-rs

cccs-rs commented 8 months ago

Thanks for the PR! 🚀