-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teamLabel for the Agent Control Plane teambug
Description
Users are currently unable to set noexec on /tmp for a *nix OS as filebeat diagnostics use the OS's default temp directory when gathering the registry.
See
beats/filebeat/beater/diagnostics.go
Line 78 in 0678f4d
| f, err := os.CreateTemp("", "filebeat-registry-*.tar") |
We should change this to a directory that can be supplied through some other means.
For the elastic-agent we have paths.TempDir, we should use something similar for this creation call.
Metadata
Metadata
Assignees
Labels
Team:Elastic-Agent-Control-PlaneLabel for the Agent Control Plane teamLabel for the Agent Control Plane teambug