mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-06-14 15:15:12 +02:00
chore: Apply dashboard audit remediations, sync engine counts, update APIs
This commit is contained in:
parent
53c87c972d
commit
5ddfa74771
14 changed files with 354 additions and 153 deletions
|
|
@ -631,7 +631,7 @@ type socDoctorAdapter struct {
|
|||
}
|
||||
|
||||
func (a *socDoctorAdapter) Dashboard() (tools.SOCDashboardData, error) {
|
||||
dash, err := a.soc.Dashboard()
|
||||
dash, err := a.soc.Dashboard("")
|
||||
if err != nil {
|
||||
return tools.SOCDashboardData{}, err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -169,6 +169,7 @@ func main() {
|
|||
shieldEngine, shieldErr := engines.NewNativeShield()
|
||||
if shieldErr != nil {
|
||||
logger.Warn("shield: C engine not available, using stub", "error", shieldErr)
|
||||
srv.SetShieldEngine(engines.NewStubShield())
|
||||
} else {
|
||||
srv.SetShieldEngine(shieldEngine)
|
||||
logger.Info("shield: C engine initialized", "version", shieldEngine.Version())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue