Skip to content

clean_up_inconsistent_bundle option should warn some references are dropped #862

Open
@flavienSindou

Description

@flavienSindou

Description

When using

def send_stix2_bundle(self, bundle: str, **kwargs) -> list:
with cleanup_inconsistent_bundle option there is no user info about the missing references that are removed from the bundle.

Environment

  1. OS (where OpenCTI server runs): NA
  2. OpenCTI version: 6.5.9
  3. Other environment details: NA

Reproducible Steps

  1. create an inconsistent bundle (for instance 1 relationship pointing to missing entities)
  2. use send_stix2_bundle method
  3. No message is emitted

Expected Output

A warning message alerting bundle have been modified

Actual Output

Nothing

Additional information

NA

Metadata

Metadata

Assignees

No one assigned

    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