opencti icon indicating copy to clipboard operation
opencti copied to clipboard

[backend] nil filter operators for empty strings and dates (#6517)

Open Archidoit opened this issue 1 year ago • 1 comments

  • backend: nil and not_nil operators now handles empty string and empty dates
  • frontend: nil and not_nil operators now available for dates filters (exemple: last_seen for malwares, publication date for reports, etc)

issue: https://github.com/OpenCTI-Platform/opencti/issues/6517

Archidoit avatar Apr 03 '24 08:04 Archidoit

Codecov Report

Attention: Patch coverage is 98.34711% with 2 lines in your changes missing coverage. Please review.

Project coverage is 67.76%. Comparing base (34ca2e8) to head (17d131a). Report is 2 commits behind head on master.

Files Patch % Lines
...ti-platform/opencti-graphql/src/database/engine.js 98.34% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6550      +/-   ##
==========================================
+ Coverage   67.70%   67.76%   +0.06%     
==========================================
  Files         570      570              
  Lines       70592    70676      +84     
  Branches     6013     6020       +7     
==========================================
+ Hits        47791    47891     +100     
+ Misses      22801    22785      -16     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Apr 03 '24 13:04 codecov[bot]

tested locally ✅

labo-flg avatar Aug 01 '24 15:08 labo-flg