[PR #1893] [MERGED] Separate Unix process path into Linux and macOS paths #14416

Open
opened 2026-08-05 02:09:57 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1893
Author: @bcmmbaga
Created: 4/26/2024
Status: Merged
Merged: 4/30/2024
Merged by: @bcmmbaga

Base: add-process-posture-checkHead: split-unix-process-path


📝 Commits (1)

  • 9a5cebf split unix path into a linux and mac path

📊 Changes

8 files changed (+72 additions, -35 deletions)

View changed files

📝 management/server/grpcserver.go (+5 -2)
📝 management/server/http/api/openapi.yml (+6 -2)
📝 management/server/http/api/types.gen.go (+5 -2)
📝 management/server/http/posture_checks_handler.go (+7 -3)
📝 management/server/http/posture_checks_handler_test.go (+4 -2)
📝 management/server/posture/checks_test.go (+1 -1)
📝 management/server/posture/process.go (+12 -4)
📝 management/server/posture/process_test.go (+32 -19)

📄 Description

Describe your changes

Separate the unix process path into Linux and MacOS process path for handling platform-specific paths more effectively.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/1893 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 4/26/2024 **Status:** ✅ Merged **Merged:** 4/30/2024 **Merged by:** [@bcmmbaga](https://github.com/bcmmbaga) **Base:** `add-process-posture-check` ← **Head:** `split-unix-process-path` --- ### 📝 Commits (1) - [`9a5cebf`](https://github.com/netbirdio/netbird/commit/9a5cebf4343361595608570cab90dbebd069f0f5) split unix path into a linux and mac path ### 📊 Changes **8 files changed** (+72 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `management/server/grpcserver.go` (+5 -2) 📝 `management/server/http/api/openapi.yml` (+6 -2) 📝 `management/server/http/api/types.gen.go` (+5 -2) 📝 `management/server/http/posture_checks_handler.go` (+7 -3) 📝 `management/server/http/posture_checks_handler_test.go` (+4 -2) 📝 `management/server/posture/checks_test.go` (+1 -1) 📝 `management/server/posture/process.go` (+12 -4) 📝 `management/server/posture/process_test.go` (+32 -19) </details> ### 📄 Description ## Describe your changes Separate the unix process path into Linux and MacOS process path for handling platform-specific paths more effectively. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:09:57 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14416