splunk / contentctl

Splunk Content Control Tool
Apache License 2.0
80 stars 20 forks source link

Fix mlmodel changes bug #199

Closed pyth0n1c closed 1 month ago

pyth0n1c commented 1 month ago

A modified mlmodel file will cause an exception when mode:changes is run for contentctl test. This fixes that issue AND provides a more verbose error message when a file besides csv, mlmodel, or yml has been changed in lookups/ directory. This throws a descriptive exception, only those files should be present in that directory.

patel-bhavin commented 1 month ago

Tested with github-inte_schedule branch in gitlab!