-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save & Add button breaks Add an Ability to Adversary window #2632
Comments
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/ |
Hi @thanoskoutr, really appreciate the detailed issue and bringing it to our attention. I was able to replicate the problem locally and have identified the source of it. Could you please try checking out the branch from this pull request and see if the issue persists? #2637 If that fixes the issue for you we can get that merged in ASAP. |
I checked the branch from the pull request and the issue is now fixed. Thanks for the quick response. I may face another issue now, but before describing it or opening a new issue I need to verify if it is an issue and if it is relevant to the changes made for the fix. I will reply in a while in this discussion first. |
Ok just checked and the issues I am facing are not relevant to the fix, as they also appear in the I will describe them shortly here just to get an opinion and if they are relevant:
|
I was also able to replicate those bugs, thanks again for letting us know. They were fairly easy to patch to please check out the branch again from the PR above and see if those two issues are resolved. Regarding the latter on #2, it should default to linux as the platform each time but I agree it would make more sense to default to whatever the user had last selected. I'll add that one to our backlog and get that in for a future release. |
Ok just checked the new commits from the MR, and the 1st issue is fixed. |
Describe the bug
When editing an existing Ability of an Adversary Profile (not when adding a new one), when you click the Save & Add button it saves the changes, but you can not close the window and the Close button does not do anything. If we then try to press Save or the Save & Add button, we get an
! Error Saving Ability
error. Therefore, we can not make any more changes or exit this window (even when clicking outside of the pop-up window) and the only way to access the UI again is to refresh the page.The only error I can find is in the Browser’s Console, where we get the following errors:
The logs from the docker container at that moment do not contain any error, only the beacons from the 2 agents that I have running:
I am running CALDERA version 4.0.0 (commit
4fe71ac87468e97665f3f26516137a442c7fab32
) withdocker-compose up -d
and with no modification to the source code or extra plugins downloaded.To Reproduce
Steps to reproduce the behavior:
docker-compose
:red
using the password found in theconf/local.yml
file (this file will be generated on server start).adversaries
page and select an adversary from the dropdown, e.g.Discovery
.Identify active user
to open theAdd an Ability to Adversary
window.Expected behavior
The expected behavior is to be able to close the window after pressing the Save & Add button and not break the functionality of the other buttons in the window.
Screenshots
Click the Save & Add button on an existing Ability of an Adversary Profile :
Trying to click the Save button or the Save & Add button again:
Trying to click the Close button to close the window:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: