Open
Description
Description
Exporting a scenario with OpenBAS Implant contract injects (payloads) does not export the tags that are only referenced on Payloads. The resulting bundle is missing those tags while they are still referenced by the payloads serialisation.
Environment
- OS (where OpenBAS server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
- OpenBAS version: { e.g. OpenBAS 1.0.2 }
- OpenBAS client: { e.g. frontend or python }
- Other environment details:
Reproducible Steps
Steps to create the smallest reproducible scenario:
- Create a scenario, add injects with a payload
- Set a tag on the payload thta only exists on that payload (do not place that tag anywhere else)
- Export scenario
- Import scenario on a different instance => crash
Expected Output
Payload tags should be included in export bundle
Actual Output
Payload tags are ignored in the scenario export bundle.