Skip to content

No error when updating an indicator with incorrectly formatted pattern #8683

Closed

Description

Description

Environment

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

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. update Indicator Pattern with incorrectly formatted pattern. for exemple [ipv4-addr:value = '185.158.114.134' and ipv4-addr:value = '185.158.114.135'] instead of [ipv4-addr:value = '185.158.114.134' AND ipv4-addr:value = '185.158.114.135']
  2. Indicator is updated without any error

Expected Output

error from backend like we have for Indicator creation
{F3C22B76-3FCC-4FA2-9BC3-39310A0AB73A}

Actual Output

Indicator is updated without any error

{54C826DC-9D01-4795-AC21-1A2044FF4DCE}

{0E329875-289A-4204-B3CB-D3823E6D40E5}

Additional information

Screenshots (optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

buguse for describing something not working as expectedsolveduse to identify issue that has been solved (must be linked to the solving PR)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions