bradleyjkemp / sigma-go

A Go implementation and parser for Sigma rules.
MIT License
84 stars 18 forks source link

Add InferFileType helper function #6

Closed bradleyjkemp closed 3 years ago

bradleyjkemp commented 3 years ago

This is a helper function I've found necessary in both sigmafmt and sigma-test. Makes sense to keep this inference logic in one place.