wip: add process check posture

This commit is contained in:
bcmmbaga
2024-03-12 15:19:22 +03:00
parent 5dde044fa5
commit 5f0eec0add
4 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package posture
import (
nbpeer "github.com/netbirdio/netbird/management/server/peer"
)
type Process struct {
Path string
WindowsPath string
}
type ProcessCheck struct {
Processes []Process
}
var _ Check = (*ProcessCheck)(nil)
func (p *ProcessCheck) Check(peer nbpeer.Peer) (bool, error) {
return false, nil
}
func (p *ProcessCheck) Name() string {
return ProcessCheckName
}