[PR #3944] [CLOSED] Allow regex for posture checks #19074

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/3944
Author: @volkermauel
Created: 6/9/2025
Status: Closed

Base: mainHead: codex/allow-regex-for-posture-checks


📝 Commits (10+)

  • a01bca3 Fix script output
  • df7ef9b Merge pull request #1 from volkermauel/codex/setup-environment-for-project
  • b100c21 Add pcap to setup requirements
  • c92d25c Merge pull request #2 from volkermauel/codex/fix-environment-setup
  • df0732d Fix upload URL path duplication
  • c6e2970 Merge pull request #3 from volkermauel/codex/fix-bug
  • 4621496 mark privileged tests
  • 49a4d26 Merge pull request #5 from volkermauel/codex/find-tests-not-runnable-in-codex-environment
  • f98d360 fix: update peer approval flag
  • e7ec4c6 Use self-hosted runners

📊 Changes

50 files changed (+384 additions, -128 deletions)

View changed files

📝 .github/workflows/git-town.yml (+1 -1)
📝 .github/workflows/golang-test-darwin.yml (+1 -1)
📝 .github/workflows/golang-test-freebsd.yml (+1 -1)
📝 .github/workflows/golang-test-linux.yml (+9 -9)
📝 .github/workflows/golang-test-windows.yml (+1 -1)
📝 .github/workflows/golangci-lint.yml (+2 -2)
📝 .github/workflows/install-script-test.yml (+3 -1)
📝 .github/workflows/mobile-build-validation.yml (+2 -2)
📝 .github/workflows/release.yml (+8 -7)
📝 .github/workflows/sync-main.yml (+1 -1)
📝 .github/workflows/sync-tag.yml (+1 -1)
📝 .github/workflows/test-infrastructure-files.yml (+2 -2)
📝 .github/workflows/update-docs.yml (+1 -1)
📝 .goreleaser.yaml (+73 -73)
📝 CONTRIBUTING.md (+14 -0)
📝 client/firewall/iptables/manager_linux_test.go (+2 -0)
📝 client/firewall/iptables/router_linux_test.go (+1 -1)
📝 client/firewall/nftables/manager_linux_test.go (+2 -0)
📝 client/firewall/nftables/router_linux_test.go (+1 -1)
📝 client/iface/device/kernel_module_linux_test.go (+1 -1)

...and 30 more files

📄 Description

Describe your changes

This PR aims at allowing process-posturechecks to be more universal by giving users the option to specific regular expressions for the process path.

This could also work for 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.

Code was created by Codex, but reviewed by myself. Testcases passed successfully, the original ones and the new ones.


🔄 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/3944 **Author:** [@volkermauel](https://github.com/volkermauel) **Created:** 6/9/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/allow-regex-for-posture-checks` --- ### 📝 Commits (10+) - [`a01bca3`](https://github.com/netbirdio/netbird/commit/a01bca3798ff307fec4bf80c7c620032fb07865d) Fix script output - [`df7ef9b`](https://github.com/netbirdio/netbird/commit/df7ef9ba2adeca4332387f826d6d0e6c23228460) Merge pull request #1 from volkermauel/codex/setup-environment-for-project - [`b100c21`](https://github.com/netbirdio/netbird/commit/b100c211880a920fc1a96c7c8412c98e58edbe34) Add pcap to setup requirements - [`c92d25c`](https://github.com/netbirdio/netbird/commit/c92d25cecac869d3727f8de7f5017963b6161271) Merge pull request #2 from volkermauel/codex/fix-environment-setup - [`df0732d`](https://github.com/netbirdio/netbird/commit/df0732d71e0c9a0bd9d951b5829f5a7d749b25e7) Fix upload URL path duplication - [`c6e2970`](https://github.com/netbirdio/netbird/commit/c6e2970c32edb3cbe2b535ebcae35e0d1e5db49d) Merge pull request #3 from volkermauel/codex/fix-bug - [`4621496`](https://github.com/netbirdio/netbird/commit/46214967369dae23be9d16fc347140cf79e32c57) mark privileged tests - [`49a4d26`](https://github.com/netbirdio/netbird/commit/49a4d2664ac1231863ce2393b97dc0f7f04a7dde) Merge pull request #5 from volkermauel/codex/find-tests-not-runnable-in-codex-environment - [`f98d360`](https://github.com/netbirdio/netbird/commit/f98d36098ea5d265c957230da7c633b89ae9a96a) fix: update peer approval flag - [`e7ec4c6`](https://github.com/netbirdio/netbird/commit/e7ec4c63daa4e48c1c7d7df58debf5302e222d0f) Use self-hosted runners ### 📊 Changes **50 files changed** (+384 additions, -128 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/git-town.yml` (+1 -1) 📝 `.github/workflows/golang-test-darwin.yml` (+1 -1) 📝 `.github/workflows/golang-test-freebsd.yml` (+1 -1) 📝 `.github/workflows/golang-test-linux.yml` (+9 -9) 📝 `.github/workflows/golang-test-windows.yml` (+1 -1) 📝 `.github/workflows/golangci-lint.yml` (+2 -2) 📝 `.github/workflows/install-script-test.yml` (+3 -1) 📝 `.github/workflows/mobile-build-validation.yml` (+2 -2) 📝 `.github/workflows/release.yml` (+8 -7) 📝 `.github/workflows/sync-main.yml` (+1 -1) 📝 `.github/workflows/sync-tag.yml` (+1 -1) 📝 `.github/workflows/test-infrastructure-files.yml` (+2 -2) 📝 `.github/workflows/update-docs.yml` (+1 -1) 📝 `.goreleaser.yaml` (+73 -73) 📝 `CONTRIBUTING.md` (+14 -0) 📝 `client/firewall/iptables/manager_linux_test.go` (+2 -0) 📝 `client/firewall/iptables/router_linux_test.go` (+1 -1) 📝 `client/firewall/nftables/manager_linux_test.go` (+2 -0) 📝 `client/firewall/nftables/router_linux_test.go` (+1 -1) 📝 `client/iface/device/kernel_module_linux_test.go` (+1 -1) _...and 30 more files_ </details> ### 📄 Description ## Describe your changes This PR aims at allowing process-posturechecks to be more universal by giving users the option to specific regular expressions for the process path. ## Issue ticket number and link This could also work for 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). Code was created by Codex, but reviewed by myself. Testcases passed successfully, the original ones and the new ones. --- <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#19074