{"id":37149544,"url":"https://github.com/cert-lv/graphoscope","last_synced_at":"2026-01-14T17:39:42.277Z","repository":{"id":40269919,"uuid":"436580553","full_name":"cert-lv/graphoscope","owner":"cert-lv","description":"Graphoscope is a solution to access multiple independent data sources from a common UI and show data relations as a graph","archived":false,"fork":false,"pushed_at":"2024-12-19T15:10:23.000Z","size":9186,"stargazers_count":37,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-19T16:22:55.935Z","etag":null,"topics":["go","graph"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cert-lv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-09T10:50:01.000Z","updated_at":"2024-12-19T15:10:26.000Z","dependencies_parsed_at":"2024-05-02T11:03:46.338Z","dependency_job_id":"87722278-1cb0-4529-b42e-9d381a21e97a","html_url":"https://github.com/cert-lv/graphoscope","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cert-lv/graphoscope","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-lv%2Fgraphoscope","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-lv%2Fgraphoscope/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-lv%2Fgraphoscope/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-lv%2Fgraphoscope/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cert-lv","download_url":"https://codeload.github.com/cert-lv/graphoscope/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cert-lv%2Fgraphoscope/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28428905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","graph"],"created_at":"2026-01-14T17:39:41.489Z","updated_at":"2026-01-14T17:39:42.268Z","avatar_url":"https://github.com/cert-lv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](assets/img/logo.svg)\n# Graphoscope\n\nAn interactive solution to access multiple independent data sources from a common UI and show data relations as a graph:\n\n![](assets/img/screen.png)\n\nContains a list of by default available data sources plugins. 3rd party plugins are also possible. Example workflow if all needed data sources are connected:\n\n1. IP address only is know at the beginning, use it as initial query\n2. From Passive DNS find related **domain names**\n3. From second data source find **institution** that address belongs to\n4. From clients database find institution contact person's **email**\n5. From leaked passwords database find where that email was used and secret **passwords**\n\nAt the end of `IP address -\u003e Institution -\u003e Contact person's email -\u003e Password` process there could be a possible explanation why something bad has happened to the institution's server.\n\n\n## Features\n\n- SQL query syntax with features like `BETWEEN`, `IN`, `LIMIT`\n- **Usage** examples to skip searching the correct SQL syntax\n- Use `... OR ...` or `field IN (...)` queries even if data source doesn't support them\n- **Common fields** (like `ip`, `domain`, `timestamp`) that work across all the data sources\n- Fields **autocomplete** with a `Tab` key\n- Can query both **Web GUI** and **API**\n- Every single node \u0026 edge type can have its **own style**\n- No need to remember all the connected **data source names** - select it from a dropdown\n- Search for more **node neighbors**\n- **Expand** all selected nodes or just one\n- Combine the same **node attributes** from different sources\n- **Select multiple nodes** with a mouse right button\n- Ability to add **notes** to nodes and edges, visible to everybody\n- **Center graph** when it was scrolled/moved far outside of the visible area\n- **Delete selected** nodes with `Del`\n- **Green inclusion filters**, which work similar to Kibana's filters\n- **Red exclusion filters** are applied to all nodes (data source independent)\n- Get **node \u0026 edge details** by clicking on them\n- **Pie-chart statistics** when the amount of requested data exceeds the limit\n- **Save \u0026 restore** dashboards, private or shared with a team\n- **Dashboard URL** can be used for a direct access\n- **Export/import** all graph visible data\n- Display the **amount of visible nodes** grouped by type\n- **Group node neighbors** of specific types into the clusters\n- **Cache** results for a faster re-query\n- **Save canvas** as an image\n- **Notification** about new features\n- **Format** comma or space separated values into a valid search query\n- **Upload indicators list** and wait for the report\n- If enabled, query **debug info** is returned to the user to see what happens in a background\n- **Background processing** of the data collectors responses for graph enrichment, etc.\n- **Personal graph settings**\n- **Global graph settings** for administrators\n- **User management**\n- Built-in **documentation**\n- Real-time communication between the browser and server through the **Websockets**\n\n\n## Architecture\n\n![](assets/img/architecture.png)\n\n\n## Documentation\n\nInstallation instructions can be found in [INSTALL.md](INSTALL.md) file.\n\nAdditional information is available in a Web GUI built-in documentation (also available in [docs/](docs/)):\n\n- UI elements in section `UI`\n- Search features in `Search`\n- Administration and connecting your own data sources in `Administration`\n\n\n## Plugins for the data sources\n\nAvailable plugins are in [plugins/src](plugins/src):\n\n- Elasticsearch\n- CSV file\n- HTTP GET/POST\n- REST API\n- MongoDB\n- MySQL\n- Pastelyzer\n- PostgreSQL\n- Redis\n- SQLite\n- AbuseIPDB\n- Hashlookup\n- CIRCL Passive SSL\n- MISP\n- Phishtank\n- Ipinfo.io\n- Shodan\n\n3rd party compiled `*.so` plugins should be placed in [plugins/sources](plugins/sources) directory.\n\n\n## Plugins for the background processing of the data sources response\n\nAvailable plugins are in [plugins/src](plugins/src):\n\n- Taxonomy\n- Modify\n\n3rd party compiled `*.so` plugins should be placed in [plugins/processors](plugins/processors) directory.\n\n\n## Plugins development\n\nCheck a built-in documentation, section `Administration`.\n\n\n## Usage from Web GUI\n\nWith a connected demo data source ([files/demo.csv](files/demo.csv)) select it from a sources dropdown and request all people with an age over **30**:\n```sql\nage \u003e 30\n```\nThen extend the graph by searching for more of John's neighbors - right click on `John` and choose `Search Demo` to search for more data in a `Demo` data source. We find that **Jennifer** and **Kate** also are his friends:\n\n![ui-demo](assets/img/ui-demo.gif)\n\nQuerying the `global` special source retrieves data from all the data sources connected to this namespace concurrently:\n```sql\nFROM global WHERE age \u003e 30\n```\n\n## API usage demo\n\nAPI can be queried by the external tools, for example with `curl`:\n```sh\n# SELECT * FROM demo WHERE age \u003e 30\ncurl -XGET 'https://localhost:443/api?uuid=09e545f2-3986-493c-983a-e39d310f695a\u0026sql=FROM+demo+WHERE+age\u003e30'\n# SELECT * FROM global WHERE datetime BETWEEN '2019-01-20T07:27:54+02:00' AND '2019-01-20T07:27:54+02:00'\ncurl -XGET 'https://localhost:443/api?uuid=09e545f2-3986-493c-983a-e39d310f695a\u0026sql=FROM+global+WHERE+datetime+BETWEEN+%272019-01-20T07:27:54%2B02:00%27+AND+%272019-01-20T07:27:54%2B02:00%27'\n# SELECT * FROM intelmq WHERE feed.provider='ShadowServer' AND source.ip='10.10.10.1'\ncurl -XGET 'https://localhost:443/api?uuid=09e545f2-3986-493c-983a-e39d310f695a\u0026sql=FROM+intelmq+WHERE+feed.provider=%27ShadowServer%27+AND+source.ip=%2710.10.10.1%27'\n```\n\nResponse example for the first query:\n```json\n{\n    \"relations\": [\n        {\n            \"from\": {\n                \"id\": \"Monica\",\n                \"attributes\": {\n                    \"age\": 35\n                },\n                \"search\": \"name\",\n                \"group\": \"name\"\n            },\n            \"edge\": {\n                \"label\": \"lives in\"\n            },\n            \"to\": {\n                \"id\": \"Canada\",\n                \"search\": \"country\",\n                \"group\": \"country\"\n            },\n            \"source\": \"demo\"\n        },{\n            \"from\": {\n                \"id\": \"Chin\",\n                \"search\": \"name\",\n                \"group\": \"name\"\n            },\n            \"to\": {\n                \"id\": \"Ben\",\n                \"search\": \"name\",\n                \"group\": \"name\"\n            },\n            \"source\": \"demo\"\n        }\n    ]\n}\n```\n... where main fields can be:\n- **relations** - list of relations, which consist of:\n  * **from**   - describes `From` node of a single relation\n  * **to**     - describes `To` node of the same relation\n  * **edge**   - describes a single connection between `From` and `To` nodes\n  * **source** - data source name\n- **stats** - statistics for the processed data when the amount of entries exceeds the limit\n- **error** - possible error message\n\n\n## Fields to use in queries\n\n`sources/*.yaml` data sources definitions allow to create common query fields, like **ip**, **domain**, **datetime**, etc. Other fields come from a related data source.\n\n\n## TODO \u0026 ideas\n\n- [ ] Generate DEB and RPM packages\n- [ ] In `graph.js` remove custom zoom limiting\n      when https://github.com/visjs/vis-network/pull/629 or similar is merged \u0026 new version released\n- [ ] Edges groups styling. **TODO** from `search.js`. Implement https://github.com/visjs/vis-network/issues/1229\n- [ ] Data sources access based on user groups permissions\n- [ ] API can return an image instead of JSON\n- [ ] Data source plugins:\n  - [ ] RTIR\n  - [ ] MS SQL\n  - [ ] Oracle SQL\n  - [ ] Apache Cassandra\n  - [ ] Genji\n  - [ ] Presto\n  - [ ] VirusTotal\n  - [ ] General TCP\n- [ ] Processor plugins:\n  - [ ] Filter\n- [ ] Output plugins:\n  - [ ] RTIR\n  - [ ] JIRA\n  - [ ] MISP\n  - [ ] RITA\n  - [ ] REST API\n\n\n## Useful info\n\n- SQL parsers:\u003cbr/\u003e\n  https://github.com/blastrain/vitess-sqlparser\u003cbr/\u003e\n  https://github.com/xwb1989/sqlparser\n\n- Vis-network.js:\u003cbr/\u003e\n  https://visjs.github.io/vis-network/docs/network/\u003cbr/\u003e\n  https://visjs.github.io/vis-network/examples/\n\n- Fomantic UI:\u003cbr/\u003e\n  https://fomantic-ui.com/introduction/getting-started.html\n\n- C3.js:\u003cbr/\u003e\n  https://c3js.org/reference.html#donut-width\u003cbr/\u003e\n  https://c3js.org/examples.html\n\n- Authentication\u003cbr/\u003e\n  https://github.com/gorilla/sessions\u003cbr/\u003e\n  https://github.com/go-stuff/mongostore\u003cbr/\u003e\n  https://medium.com/@theShiva5/creating-simple-login-api-using-go-and-mongodb-9b3c1c775d2f\n\n- Markdown renderer\u003cbr/\u003e\n  https://github.com/markdown-it/markdown-it\u003cbr/\u003e\n  https://github.com/valeriangalliat/markdown-it-anchor\u003cbr/\u003e\n  https://github.com/nagaozen/markdown-it-toc-done-right\u003cbr/\u003e\n  https://github.com/sindresorhus/github-markdown-css\u003cbr/\u003e\n  https://github.com/markedjs/marked\n\n- Pretty table renderers:\u003cbr/\u003e\n  https://github.com/olekukonko/tablewriter\u003cbr/\u003e\n  https://github.com/jedib0t/go-pretty\n\n\n## Acknowledgment\n\n![](assets/img/cef.png)\n\nFrom 01/09/2021 to 30/06/2024 development of Graphoscope is being co-funded by European Commission through the Connecting Europe Facility action entitled \"Joint Threat Analysis Network\", action number 2020-EU-IA-0260.\n\n\n## License\n\nThis project is released under the GNU Affero General Public License v3 or later.\n\nSee [LICENSE](./LICENSE) to see the full text.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcert-lv%2Fgraphoscope","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcert-lv%2Fgraphoscope","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcert-lv%2Fgraphoscope/lists"}