Skip to content

Scenario export function does not include payload tags #3645

Open
@antoinemzs

Description

@antoinemzs

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

  1. OS (where OpenBAS server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
  2. OpenBAS version: { e.g. OpenBAS 1.0.2 }
  3. OpenBAS client: { e.g. frontend or python }
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Create a scenario, add injects with a payload
  2. Set a tag on the payload thta only exists on that payload (do not place that tag anywhere else)
  3. Export scenario
  4. 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.

Additional information

Screenshots (optional)

Metadata

Metadata

Assignees

Labels

buguse for describing something not working as expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions