jasonish / evebox

Web Based Event Viewer (GUI) for Suricata EVE Events in Elastic Search
https://evebox.org/
MIT License
418 stars 67 forks source link

[CLI] Adding users - parameters are not honored #173

Closed thereisnotime closed 3 years ago

thereisnotime commented 3 years ago

There should be a check if -u/-p length is bigger than 0 before printing "Username:" when declaring the variable here: https://github.com/jasonish/evebox/blob/efeabc07d7a5274a0094501ff17a9fb556121c4d/src/commands/config/users.rs#L110

Otherwise this blocks automation like so: https://i.imgur.com/34mI4ME.png

jasonish commented 3 years ago

Thanks. Will fix this in the next few days.

jasonish commented 3 years ago

Fixed in master branch. New development builds will be uploaded shortly.