Kintyre / ksconf

Kintyre's Splunk Configuration tool
Apache License 2.0
50 stars 13 forks source link

'ksconf check` should improve metadata checks #44

Open lowell80 opened 5 years ago

lowell80 commented 5 years ago

Theksconf check (and by extension, the ksconf-check pre-commit hook) should do a better job validating .meta files. Right now just the generic .conf parsing rules are applied, but this could be handled better.

In particular, I don't think btool check does much (if anything) in terms of validating metadata files (possibly just default files???) so there's an opportunity to provide additional value here.

Things that should be reported:

Things that could be warned about:

(Note that currently the concept of 'warnings' don't exist so possibly these could be implemented as hard checks, or the concept of warnings or strictness could be introduced.)

Things to figure out: