Export fails on campaign with hidden hosts
simplysean opened this issue · 1 comments
Describe the bug
Export of campaign fails if campaign contains hidden hosts.
To Reproduce
Steps to reproduce the behavior:
- Create a campaign by importing logs
- Hide a host
- Export the campaign with option 'Remove all hidden Beacons, Hosts, and Servers' checked
- See error
Expected behavior
Campaign to successfully export and the exported campaign does not contain the host(s) that were hidden.
Desktop (please complete the following information):
- OS: macOS Monterey
- Browser: Chrome
- Version: 107.0.5304.110
Additional context
I created a campaign, and then hid two hosts (SA-WIN10-21H1-1 and SA-DC01-2019). I then attempted to export the campaign with the option 'Remove all hidden Beacons, Hosts, and Servers' checked, and received the errors in the above screenshots.
Thanks for creating a ticket for this! This has been fixed and will be included in the next release tomorrow! It will only work on future campaign uploads; we are working on a simple way to migrate eligible campaigns on version updates and when database schema changes are made.