StamusNetworks / scirius

Scirius is a web application for Suricata ruleset management and threat hunting.
GNU General Public License v3.0
626 stars 150 forks source link

Сan not activate the Commented Rules #114

Closed esmelnikov closed 7 years ago

esmelnikov commented 7 years ago

I use SELKS installed from the SELKS-4.0rc1-desktop.iso image. After installing worked fine. After the system the updated use script "/opt/selks/Scripts/Setup/selks-upgrade_stamus.sh", the following problems with the Scirius web interface appeared: After clicking on the link Action -> Toggle availability rule is not activated and its state does not change, that is, no additional items appear in the "Action" menu. The rule remains in the "Commented Rules" list.

esmelnikov commented 7 years ago

There is additional information on this issue. After a clean installation of SELKS 4, the Toggle availability link for the commented rules works fine. Immediately after installing Java using the /opt/selks/Scripts/Java/setup-oracle-java_stamus.sh script , the Toggle availability link stops working.

pevma commented 7 years ago

Interesting - is it the same after you restart Scirius - /usr/bin/supervisorctl restart scirius ?

esmelnikov commented 7 years ago

Checked, the problem remains.

pevma commented 7 years ago

One last check/confirmation please - if you switch the default JAVA back to the original one - update-alternatives --config java would it be of any change?

esmelnikov commented 7 years ago

After switching to default Java nothing has changed.

pevma commented 7 years ago

Ok thanks for checking. It seems not Java related in that respect then.

regit commented 7 years ago

OK. So there was a bug in the generated html preventing toggle availability to work. 51f7bb1062d4f823e9a18ba6c68c7f33cbad8a39 is fixing the issue.

regit commented 7 years ago

Closing as it is in 1.2.5 release.