MCPcopy
hub / github.com/crowdsecurity/crowdsec / getUUID

Function getUUID

pkg/csplugin/broker.go:470–477  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468}
469
470func getUUID() (string, error) {
471 uuidv4, err := uuid.NewRandom()
472 if err != nil {
473 return "", err
474 }
475
476 return uuidv4.String(), nil
477}
478
479func getHandshake() (plugin.HandshakeConfig, error) {
480 uuid, err := getUUID()

Callers 1

getHandshakeFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…