mitre / caldera

Automated Adversary Emulation Platform
https://caldera.mitre.org
Apache License 2.0
5.66k stars 1.08k forks source link

Can't seem to save anything in operations #3057

Open TB12AirJordan opened 1 month ago

TB12AirJordan commented 1 month ago

I have installed the manual version of 5.0.0 When I go to Adversaries and try to build a new Adversary, when I add an ability the save button doesn't work. No matter what it leaves the operation blank. Please let me know what logs would be helpful.

github-actions[bot] commented 1 month ago

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

uruwhy commented 1 month ago

If you open up your browser developer tools and go to the developer console, what error(s) pop up when using the save button?

TB12AirJordan commented 1 month ago

I get a 200 back which means it is good. It saves the adversary but doesn't save any of the abilities. It is so weird.

uruwhy commented 1 month ago

Did your server terminal output indicate any warnings or errors?

TB12AirJordan commented 1 month ago

No, but the weird thing is, if I restart Caldera the changes are there. Like it saves it properly but it won't load properly until a restart of Caldera. So apparently the save button is working, it just doesn't load the changes until a restart of the service.

uruwhy commented 1 month ago

If you exit out of the adversary/operation GUI module and reopen it, do the changes appear then? Or is restarting the entire server the only way for you to see the changes?

TB12AirJordan commented 1 month ago

Yes restarting the browser and going back seems to work fine. I don't apparently need to restart the server.

uruwhy commented 1 month ago

I just tried on a fresh local installation of 5.0.0. It looks like you don't get any "successfully saved" message when you save a new adversary profile, but if I go to the operations tab and create a new operation, my new adversary shows up in the adversary list (no page refresh needed)

TB12AirJordan commented 1 month ago

Yes I am noticing that also. But that can't be expected behavior right? I mean when we click save I would think it should save and staying on the adversary page should be enough.