Decay manager is wrongly skipping computation when revoke score is zero and no decay points are setup #9512
Labels
bug
use for describing something not working as expected
Milestone
Description
This warn in log on Decay manager run
Relates to slack discussion here: https://filigran-community.slack.com/archives/C06CF1N302W/p1736160175127409
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
In kibana run (please update index name if needed):
Expected Output
No warn, and indicator is processed correctly (revoked)
Actual Output
Additional information
Bug source from fist analyses: it's because newStableScore ===0 means false, and so all of that is skip. So patch value is empty because of
let patch: IndicatorPatch = {};
above. => If score === revoke score indicator should be revoke and no have an empty patch.opencti/opencti-platform/opencti-graphql/src/modules/indicator/indicator-domain.ts
Lines 368 to 369 in f2e7d91
Screenshots (optional)
The text was updated successfully, but these errors were encountered: