Closed mergify[bot] closed 1 month ago
Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices)
This pull request has not been merged yet. Could you please review and merge it @aleksmaus? 🙏
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)
Proposed commit message
Fix long filepaths in diagnostics exceeding max path limits on Windows.
Following the first proposal here https://github.com/elastic/elastic-agent/issues/3758#issuecomment-1830229924 Added
IDWithoutName
that doesn't include the source name and using that instead.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Related issues
Screenshots
The screenshot that shows the diagnostics collected before and after this change. The earlier diagnostics shows the long path that includes the sanitized okta log collection URL. The diagnostics after this change have shorter path that doesn't include the sanitized URL in the path.
This is an automatic backport of pull request #40909 done by Mergify.