Skip to content

[beatreceiver] replace global paths in javascript processor #46988

@leehinman

Description

@leehinman

The javascript processor uses paths.Resolve to find scripts to load from the filesystem.

filePath = paths.Resolve(paths.Config, filePath)

This should be modified to use:

Paths *paths.Path // per beat paths definition

For beatreceivers this is not a critical bug since all the javascript "scripts" are in the policy as source and not read from the filesystem. However it is possible that this feature was used in the custom section of integrations.

Relates #44903

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions