[PR #1450] [MERGED] Extend policy endpoint with posture checks #17052

Closed
opened 2026-08-05 04:06:51 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/1450
Author: @bcmmbaga
Created: 1/9/2024
Status: Merged
Merged: 1/9/2024
Merged by: @bcmmbaga

Base: feature/posture-checks-endpointsHead: extend-policy-endpoint-posture-checks


📝 Commits (7)

  • 782b1c9 Implement posture and version checks in API models
  • fe15f15 go mod tidy
  • 2879e3a Allow attaching posture checks to policy
  • f04fe26 Update error message for linked posture check on deleting
  • d0d310e Refactor PostureCheck and Checks structures
  • a49f2ef go mod tidy
  • 6aa40c3 Merge branch 'feature/posture-checks-endpoints' into extend-policy-endpoint-posture-checks

📊 Changes

7 files changed (+35 additions, -9 deletions)

View changed files

📝 management/server/http/api/openapi.yml (+7 -1)
📝 management/server/http/api/types.gen.go (+4 -1)
📝 management/server/http/policies_handler.go (+18 -0)
📝 management/server/http/posture_checks_handler.go (+1 -1)
📝 management/server/http/posture_checks_handler_test.go (+2 -2)
📝 management/server/policy.go (+2 -1)
📝 management/server/posture_checks.go (+1 -3)

📄 Description

Describe your changes

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/1450 **Author:** [@bcmmbaga](https://github.com/bcmmbaga) **Created:** 1/9/2024 **Status:** ✅ Merged **Merged:** 1/9/2024 **Merged by:** [@bcmmbaga](https://github.com/bcmmbaga) **Base:** `feature/posture-checks-endpoints` ← **Head:** `extend-policy-endpoint-posture-checks` --- ### 📝 Commits (7) - [`782b1c9`](https://github.com/netbirdio/netbird/commit/782b1c9e2adc1fb9a9759b69e3c89f3ace8ec136) Implement posture and version checks in API models - [`fe15f15`](https://github.com/netbirdio/netbird/commit/fe15f15ebb07e6b83f422793e4bd67fe9b36fb40) go mod tidy - [`2879e3a`](https://github.com/netbirdio/netbird/commit/2879e3aee1b88a4210f323082c96269de14257f7) Allow attaching posture checks to policy - [`f04fe26`](https://github.com/netbirdio/netbird/commit/f04fe2691c7c935570571c9b99b9608963e5d17e) Update error message for linked posture check on deleting - [`d0d310e`](https://github.com/netbirdio/netbird/commit/d0d310efc0533c36782b8136a5d38d34a1552649) Refactor PostureCheck and Checks structures - [`a49f2ef`](https://github.com/netbirdio/netbird/commit/a49f2ef02b785c542152783998d403cfa60f1f8a) go mod tidy - [`6aa40c3`](https://github.com/netbirdio/netbird/commit/6aa40c3f9619c236927742deeeba45d254ea7435) Merge branch 'feature/posture-checks-endpoints' into extend-policy-endpoint-posture-checks ### 📊 Changes **7 files changed** (+35 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `management/server/http/api/openapi.yml` (+7 -1) 📝 `management/server/http/api/types.gen.go` (+4 -1) 📝 `management/server/http/policies_handler.go` (+18 -0) 📝 `management/server/http/posture_checks_handler.go` (+1 -1) 📝 `management/server/http/posture_checks_handler_test.go` (+2 -2) 📝 `management/server/policy.go` (+2 -1) 📝 `management/server/posture_checks.go` (+1 -3) </details> ### 📄 Description ## Describe your changes ## 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 04:06:51 -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#17052