Skip to content

[security solution] resolver_generator script uses transport.request without a leading / #68388

@pmuellr

Description

@pmuellr

I recently had to fix some usages of transport.request for alerting, where the paths we were using did not have a leading /. Turns out, that works fine locally, and in CI, but does not work in Cloud. You need to have the path start with a leading / (at least for most uses).

Did a quick search through the code base to see if there were any others, and found this one.

await client.transport.request({ method: 'DELETE', path: `_data_stream/${index}` });

Since this seems to be a stand-alone script vs code used in Kibana, I'm guessing there is no actual problem here, but perhaps it should be changed should this code get moved into Kibana at some point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:SIEM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions