#18360·opencti

feat(Fintel): Ability to remove automatically part of the generated HTML fintel when some variables are empty.

Author: nino-filigranCreated Sep 18, 2026Updated Sep 18, 2026
Labelsfeatureneeds triagefintel

Use case

When a variable does not provide any result, some part of hte HTML because useless. For instance, if you have the following template:

H1. Title H2. Subtitle text to explain the anlayst what do to $variable

H2. Another subtitle

Then if the variable is empty, you want to directly remove any data related to this variable, meaning that you want to autotmatically remove the "text to explain the anlayst what do to", the "H2. Subtitle", but not the "H1. Title" since the content of "H2. Another subtitle" is needed.

Current workaround

Proposed solution

  • AT HTML generation, assess the result of the variable
  • When user generated the Fintel as HTML, provide an option to "automatically remove titles & content related to empty variables"
  • If the toggle is enabled and If the variable is empty/returns no result, then consider each titels as blocks. Based on this if empty/no result, remove up to the highest "block" possible.
  • The user will then get an HTML ready to export.
  • This should apply both with the Fintel connecotr and the HTML to PDF, enabled in fintel mode.

Additional information

This solution is subject to change.

If the feature request is approved, would you be willing to submit a PR?

Yes / No (help can be provided if you need assistance submitting a PR)

Source: OpenCTI-Platform/opencti