Chore: Add WARN log if grafana server process is running with elevated privileges (#35205)
* warn on linux * add warning for grpc plugins * add windows support * update go.mod * reorganize imports * update naming * remove Windows logic * simplify and add check for when UID and EUID don't match * fix build * tidy go.mod * feedback * cleanup + migrate
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package process
|
||||
|
||||
func IsRunningWithElevatedPrivileges() (bool, error) {
|
||||
return elevatedPrivilegesCheck()
|
||||
}
|
||||
Reference in New Issue
Block a user