Discover Packages
github.com/cert-lv/graphoscope
plugins
src
rest
command
Version:
v0.0.0-...-a2a794e
Opens a new window with list of versions in this module.
Published: Sep 25, 2025
License: AGPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
REST API plugin
Connector sends a GET request and expects a list of flat JSON objects back, one line - one JSON.
To the preconfigured REST API URL field/value will be attached as query.
curl to test:
curl 'https://localhost:443/api?uuid=auth-key&sql=FROM+service+WHERE+ip=%278.8.8.8%27'
Compile with:
go build -buildmode=plugin -ldflags="-w" -o rest.so ./*.go
Access details
Source YAML definition's access fields:
url : REST API access point, for example - http://localhost:8000/RESTv1
username : Username if exists
password : User's password if exists
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.