Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

h-eye

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h-eye

The agent has the following responsibilities:

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

H-Eye agent

The agent has the following responsibilities:

  • REST based operations

    • REST endpoint to do CRUD on dataspaces.
    • Serialize results to be consumed in JSON
  • Provide public URIs for infered assets.

  • Invoke the EYE reasoner

  • A small interpreter for dynamic operations on workspaces

Build hydra-eye

docker build -t cvasquez/hydra-eye .

(to build a clean image from scratch use the --no-cache option)

Run with docker

Start HydraEye on host port 3000:

docker run --name=hydra-eye -p 3000:3000 -v $PWD/workspace:/usr/src/app/workspace cvasquez/hydra-eye

Running your image with -d runs the container in detached mode, leaving the container running in the background. The -p flag redirects a public port to a private port inside the container. The -v flag mounts a directory to a directory inside the container.

If you need to go inside the container you can use the exec command:

# Enter the container
docker exec -it hydra-eye /bin/bash

Stop hydra-eye

docker rm -f hydra-eye

Test if it's up

curl -i localhost:3000

Running it without docker

First of all, you need to install the EYE reasoner (WindowsOS XLinux).

(make sure that you can run this using '/bin/sh eye', or set the EYE_PATH environment variable)

$ npm start

FAQs

Package last updated on 22 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc