Security-Onion-Solutions / security-onion

Security Onion 16.04 - Linux distro for threat hunting, enterprise security monitoring, and log management
https://securityonion.net
3.07k stars 521 forks source link

Setup: improve removal of Elastic auth files #1632

Closed dougburks closed 5 years ago

dougburks commented 5 years ago

In https://github.com/Security-Onion-Solutions/security-onion/issues/1570 we updated Setup to remove Logstash output files since they might contain auth information. However, the Logstash output files are not getting re-created because README.txt still exists. So let's delete that as well.

Also add an if statement so files are only removed if Elastic auth was actually enabled.

dougburks commented 5 years ago

securityonion-setup - 20120912-0ubuntu0securityonion314 is now available at ppa:securityonion/test. Please test and verify as follows:

Thanks in advance for your time and effort!

weslambert commented 5 years ago

No issues here!

dougburks commented 5 years ago

Published: https://blog.securityonion.net/2019/09/securityonion-setup-20120912.html