[PR #3945] Added regex-capabilities to process posture checks #19073

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3945
Author: @volkermauel
Created: 6/9/2025
Status: 🔄 Open

Base: mainHead: regex-processes


📝 Commits (2)

  • 058c440 added regex-capabilities to process posture checks
  • 81a7557 improved readability of code

📊 Changes

2 files changed (+55 additions, -1 deletions)

View changed files

📝 management/server/posture/process.go (+17 -1)
📝 management/server/posture/process_test.go (+38 -0)

📄 Description

Describe your changes

This PR aims at giving more flexibility for process-type posture checks by allowing the users to use regex in the process path.

Potentially also helps with https://github.com/netbirdio/netbird/issues/3760

Stack

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

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.


🔄 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/3945 **Author:** [@volkermauel](https://github.com/volkermauel) **Created:** 6/9/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `regex-processes` --- ### 📝 Commits (2) - [`058c440`](https://github.com/netbirdio/netbird/commit/058c440ca5dab2fed1097df422739643dc61b7c4) added regex-capabilities to process posture checks - [`81a7557`](https://github.com/netbirdio/netbird/commit/81a75576700dd254eb5f09e0baf152725804ad3d) improved readability of code ### 📊 Changes **2 files changed** (+55 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `management/server/posture/process.go` (+17 -1) 📝 `management/server/posture/process_test.go` (+38 -0) </details> ### 📄 Description ## Describe your changes This PR aims at giving more flexibility for process-type posture checks by allowing the users to use regex in the process path. ## Issue ticket number and link Potentially also helps with https://github.com/netbirdio/netbird/issues/3760 ## Stack <!-- branch-stack --> ### 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 > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). --- <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 04:09:16 -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#19073