SkillSpector
SkillSpector copied to clipboard
Support custom YARA rules when generating a baseline
The scan command supports --yara-rules-dir, but baseline rejects that option. A baseline generated with built-in rules alone cannot accept a finding emitted only by additional custom rules.
Add the same rule-directory option to baseline generation and use the existing graph configuration. Keep exact evidence-bound fingerprints, built-in rules, required-rule failures, partial-scan warnings and safe output behavior. Cover generating YAML/JSON/stdout baselines and applying them to subsequent scans with the same rules, plus changed-evidence and invalid-rule controls.