Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nextronsystems/thor-plugin
Plugin interface for THOR APT Scanner
https://github.com/nextronsystems/thor-plugin
Last synced: about 2 months ago
JSON representation
Plugin interface for THOR APT Scanner
- Host: GitHub
- URL: https://github.com/nextronsystems/thor-plugin
- Owner: NextronSystems
- License: mit
- Created: 2023-06-06T12:36:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-16T15:46:06.000Z (8 months ago)
- Last Synced: 2024-06-19T15:15:23.769Z (7 months ago)
- Language: Go
- Size: 18.6 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## THOR Plugin System
Starting with THOR 10.8, THOR supports Plugins. THOR Plugins give a quick option to extend THOR with your own,
custom features by executing your own scanning or parsing logic within THOR.### Introduction
Plugins are Golang files placed in a `plugins/` folder in your THOR directory. Each file is interpreted as a separate plugin.
Each plugin must define an `Init(thor.Configuration, thor.Logger, thor.RegisterActions)` function. This function is called
on THOR startup and allows plugins to define the conditions when a plugin should be notified.Plugins are notified when their conditions are matched by some analyzed data, including said data. They can then work
with this data to possibly create alerts or scan further data.### Examples
See the `examples/` folder for several examples and ideas on how to write THOR plugins.