Skip to content

[BUG] Discrepancy for parameters with JSON values #3769

@AndreiBanaru

Description

@AndreiBanaru

Describe the bug

  1. For bug reproduction, one needs to open any TTP correlation search type, via Content Management in ES.
  2. We hit the Save button (but we don't make any changes).
  3. We check DA-ESS-ContentUpdate/local/savedsearches.conf and we notice these parameters have appeared for the search we saved:
    • action.correlationsearch.annotations
    • action.notable.param.drilldown_searches
    • action.risk.param._risk

From what it appears, contentctl uses the built-in tojson jinja2 filter and adds 1 whitespace, while the ES Content Management adds none.

Can we have the behaviour aligned in any way?

Expected behavior

As I haven't made any changes to the parameters, I find the way ES reads those JSONized parameters and sets them in local/savedsearches.conf an issue, as it locks those paramters in place, so any further updates in default/savedsearches.conf will not be taken into account.

Screenshots

Image

App Version:

  • ESCU: 5.16.0
  • SplunkEnterpriseSecuritySuite: 7.3.4

Additional context

Splunk Support Ticket: 3894188

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions