func NewRuntimeSecurityClient() (*RuntimeSecurityClient, error) {
	socketPath := coreconfig.Datadog.GetString("runtime_security_config.socket")
	if socketPath == "" {
		return nil, errors.New("runtime_security_config.socket must be set")
	}

	path := "unix://" + socketPath
	conn, err := grpc.Dial(path, grpc.WithInsecure())
	if err != nil {
		return nil, err
	}

	return &RuntimeSecurityClient{
		conn: conn,
	}, nil
}
// NewRuntimeSecurityClient instantiates a new RuntimeSecurityClient
NewRuntimeSecurityClient instantiates a new RuntimeSecurityClient
// NewRuntimeSecurityClient instantiates a new RuntimeSecurityClient
func NewRuntimeSecurityClient() (*RuntimeSecurityClient, error) {
	socketPath := coreconfig.Datadog.GetString("runtime_security_config.socket")
	if socketPath == "" {
		return nil, errors.New("runtime_security_config.socket must be set")
	}
	path := "unix://" + socketPath
	conn, err := grpc.Dial(path, grpc.WithInsecure())
	if err != nil {
		return nil, err
	}
	return &RuntimeSecurityClient{
		conn: conn,
	}, nil
}
func NewRuntimeSecurityClient ( ) ( * RuntimeSecurityClient , error ) { socketPath := coreconfig . Datadog . GetString ( " " ) if socketPath == " " { return nil , errors . New ( " " ) } path := " " + socketPath conn , err := grpc . Dial ( path , grpc . WithInsecure ( ) ) if err != nil { return nil , err } return & RuntimeSecurityClient { conn : conn , } , nil }
NewRuntimeSecurityClient instantiates a new RuntimeSecurityClient
NewRuntimeSecurityClient instantiates a new RuntimeSecurityClient