Replies: 3 comments 2 replies
-
|
See this descrption for some info: For example, in order to colorize rows or cells based on patterns, drop this file to common-delegate.json{
"name": "commonDelegateConfig",
"created": "",
"updated": "",
"description": "customize Events tab view colors. Name of this action MUST be commonDelegateConfig for now",
"actions": {
"Highlight": {
"enabled": true,
"cells": [
{
"text": [
"allow",
"✓ online",
"LISTEN"
],
"cols": [1, 2, 3],
"color": "green",
"bgcolor": "",
"alignment": [
"center"
]
},
{
"text": [
"deny",
"☓ offline"
],
"cols": [1, 2, 3],
"color": "red",
"bgcolor": "",
"alignment": [
"center"
]
},
{
"text": [
"reject"
],
"cols": [1, 2, 3],
"color": "purple",
"bgcolor": "",
"alignment": [
"center"
]
}
],
"rows": [
{
"text": [
"53"
],
"cols": [7],
"color": "black",
"bgcolor": "yellow",
"alignment": []
},
{
"text": [
"443"
],
"cols": [7],
"color": "white",
"bgcolor": "darkRed",
"alignment": []
}
]
}
}
}The Highlight plugin is a bit special, because it's used internally. All the views use the Config example to configure the versionchecker plugin (replace versionchecker.json{
"name": "versionchecker",
"created": "",
"updated": "",
"description": "Checks the latest version published on github",
"type": ["global"],
"actions": {
"versionchecker": {
"enabled": true,
"config": {
"check_on_start": true,
"name": "check-latest-release",
"interval": "12",
"units": "seconds",
"url": "https://api.github.com/repos/evilsocket/opensnitch/releases"
}
}
}
}Configuration for the virustotal plugin: virustotal.json{
"name": "virustotal",
"created": "",
"updated": "",
"description": "analyze connections properties with virustotal",
"type": ["popups", "proc-dialog", "main-dialog"],
"actions": {
"virustotal": {
"enabled": true,
"config": {
"loglevel": "debug",
"api_timeout": 2,
"api_quota": 500,
"api_key": "get your api key: https://virustotal.readme.io/docs/please-give-me-an-api-key",
"api_domains_url": "https://www.virustotal.com/api/v3/domains/",
"api_ips_url": "https://www.virustotal.com/api/v3/ip_addresses/",
"api_files_url": "https://www.virustotal.com/api/v3/files/"
},
"widgets-color": {
"malicious": "color: blue",
"benign": "color: green",
"unknown": "color: orange"
},
"if-malicious": "reject",
"check": ["ips", "domains", "hashes"],
"exclusions": {
"ips": ["127.", "192.168."]
}
}
}
}I don't know when, but the idea is to let users configure the plugins from the GUI. Now that the dialogs have been refactorized, it should be easier to keep expanding it with more features. Remember that this is in development and there will be obvious bugs. Issues and PRs are welcome :) |
Beta Was this translation helpful? Give feedback.
-
|
the idea is to let users configure the plugins from the GUI YEP |
Beta Was this translation helpful? Give feedback.
-
|
So, Plugins GUI is TODO? as stated here @gustavo-iniguez-goya Thank you for the effort and responses to my questions! 🩶 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
.
Beta Was this translation helpful? Give feedback.
All reactions