go-engines-community

module
v0.0.0-...-7ff62be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: AGPL-3.0

README

Canopsis Community Go engines

This directory contains the open-source “new generation” engines for Canopsis Community. They are written in Go and licensed under the GNU AGPLv3.

Requirements

  • A native build requires Requires Go (see the GOLANG_VERSION variable in the .env for the exact version) and GNU Make.
  • A Docker build requires Docker and GNU Make.

Building

Run make to do a native build in your local environment. Resulting binaries will appear in the build/ directory.

Run make docker-images to build the engines through Docker; the resulting images use the same format as our official containers.

Available targets can be listed with make help.

Notes

  • The Canopsis Community tree only builds the Canopsis Community parts. If you need a full set of Canopsis engines, you need to build Canopsis Community AND Canopsis Pro.
  • Plugins should be run and built with the exact same version of Canopsis. A plugin built with go-engines 3.20.0 will not work with an engine in version 3.20.1.

Directories

Path Synopsis
cmd
random-feeder
nolint no lint until #4082 has not fixed
nolint no lint until #4082 has not fixed
lib
api
api/sessionauth
Package sessionauth contains authentication by session.
Package sessionauth contains authentication by session.
api/websocket
Package websocket contains implementation of websocket.
Package websocket contains implementation of websocket.
axe
canopsis/contextgraph
Package contextgraph contains a service, which is responsible for building canopsis context graph.
Package contextgraph contains a service, which is responsible for building canopsis context graph.
canopsis/engine
Package engine contain implementation of canopsis engine.
Package engine contain implementation of canopsis engine.
canopsis/idlealarm
Package idlealarm implements alarm modification on idle alarm.
Package idlealarm implements alarm modification on idle alarm.
canopsis/idlerule
Package idlerule contains idle rule model and adapter.
Package idlerule contains idle rule model and adapter.
canopsis/pattern
Package pattern provides functionality for filtering and matching models.
Package pattern provides functionality for filtering and matching models.
che
expression/parser
Package parser contains expression parser for search parameter.
Package parser contains expression parser for search parameter.
file
Package file contains operations with files.
Package file contains operations with files.
ics
Package ics contains ics calendar implementation.
Package ics contains ics calendar implementation.
keymutex
Package keymutex contains mutex that allows locking by key.
Package keymutex contains mutex that allows locking by key.
log
Package log defines the default loggers.
Package log defines the default loggers.
security
security contains implementation of authentication and authorization methods.
security contains implementation of authentication and authorization methods.
security/httpprovider
httpprovider contains http authentication methods.
httpprovider contains http authentication methods.
security/mongoadapter
Package mongoadapter contains casbin mongo adapter.
Package mongoadapter contains casbin mongo adapter.
security/password
Package password contains password encoders.
Package password contains password encoders.
security/provider
Package provider contains authentication methods.
Package provider contains authentication methods.
security/session
Package session contains implementation of http session.
Package session contains implementation of http session.
security/session/mongostore
mongostore contains gorilla session store.
mongostore contains gorilla session store.
security/userprovider
Package userprovider contains user storages.
Package userprovider contains user storages.
mocks
github.com/go-ldap/ldap
Package mock_v3 is a generated GoMock package.
Package mock_v3 is a generated GoMock package.
github.com/gorilla/sessions
Package mock_sessions is a generated GoMock package.
Package mock_sessions is a generated GoMock package.
github.com/jackc/pgx
Package mock_v5 is a generated GoMock package.
Package mock_v5 is a generated GoMock package.
github.com/redis/go-redis/v9
Package mock_v9 is a generated GoMock package.
Package mock_v9 is a generated GoMock package.
lib/amqp
Package mock_amqp is a generated GoMock package.
Package mock_amqp is a generated GoMock package.
lib/api/alarm
Package mock_alarm is a generated GoMock package.
Package mock_alarm is a generated GoMock package.
lib/api/websocket
Package mock_websocket is a generated GoMock package.
Package mock_websocket is a generated GoMock package.
lib/axe/event
Package mock_event is a generated GoMock package.
Package mock_event is a generated GoMock package.
lib/canopsis/action
Package mock_action is a generated GoMock package.
Package mock_action is a generated GoMock package.
lib/canopsis/alarm
Package mock_alarm is a generated GoMock package.
Package mock_alarm is a generated GoMock package.
lib/canopsis/alarmstatus
Package mock_alarmstatus is a generated GoMock package.
Package mock_alarmstatus is a generated GoMock package.
lib/canopsis/config
Package mock_config is a generated GoMock package.
Package mock_config is a generated GoMock package.
lib/canopsis/contextgraph
Package mock_contextgraph is a generated GoMock package.
Package mock_contextgraph is a generated GoMock package.
lib/canopsis/correlation
Package mock_correlation is a generated GoMock package.
Package mock_correlation is a generated GoMock package.
lib/canopsis/datastorage
Package mock_datastorage is a generated GoMock package.
Package mock_datastorage is a generated GoMock package.
lib/canopsis/encoding
Package mock_encoding is a generated GoMock package.
Package mock_encoding is a generated GoMock package.
lib/canopsis/engine
Package mock_engine is a generated GoMock package.
Package mock_engine is a generated GoMock package.
lib/canopsis/entity
Package mock_entity is a generated GoMock package.
Package mock_entity is a generated GoMock package.
lib/canopsis/entitycounters
Package mock_entitycounters is a generated GoMock package.
Package mock_entitycounters is a generated GoMock package.
lib/canopsis/entityservice
Package mock_entityservice is a generated GoMock package.
Package mock_entityservice is a generated GoMock package.
lib/canopsis/eventfilter
Package mock_eventfilter is a generated GoMock package.
Package mock_eventfilter is a generated GoMock package.
lib/canopsis/idlealarm
Package mock_idlealarm is a generated GoMock package.
Package mock_idlealarm is a generated GoMock package.
lib/canopsis/idlerule
Package mock_idlerule is a generated GoMock package.
Package mock_idlerule is a generated GoMock package.
lib/canopsis/metrics
Package mock_metrics is a generated GoMock package.
Package mock_metrics is a generated GoMock package.
lib/canopsis/pbehavior
Package mock_pbehavior is a generated GoMock package.
Package mock_pbehavior is a generated GoMock package.
lib/canopsis/resolverule
Package mock_resolverule is a generated GoMock package.
Package mock_resolverule is a generated GoMock package.
lib/canopsis/statesetting
Package mock_statesetting is a generated GoMock package.
Package mock_statesetting is a generated GoMock package.
lib/canopsis/template
Package mock_template is a generated GoMock package.
Package mock_template is a generated GoMock package.
lib/canopsis/view
Package mock_view is a generated GoMock package.
Package mock_view is a generated GoMock package.
lib/file
Package mock_file is a generated GoMock package.
Package mock_file is a generated GoMock package.
lib/http
Package mock_http is a generated GoMock package.
Package mock_http is a generated GoMock package.
lib/metrics
Package mock_metrics is a generated GoMock package.
Package mock_metrics is a generated GoMock package.
lib/mongo
Package mock_mongo is a generated GoMock package.
Package mock_mongo is a generated GoMock package.
lib/postgres
Package mock_postgres is a generated GoMock package.
Package mock_postgres is a generated GoMock package.
lib/redis
Package mock_redis is a generated GoMock package.
Package mock_redis is a generated GoMock package.
lib/security
Package mock_security is a generated GoMock package.
Package mock_security is a generated GoMock package.
lib/security/password
Package mock_password is a generated GoMock package.
Package mock_password is a generated GoMock package.
lib/security/provider
Package mock_provider is a generated GoMock package.
Package mock_provider is a generated GoMock package.
lib/statesetting
Package mock_statesetting is a generated GoMock package.
Package mock_statesetting is a generated GoMock package.
lib/techmetrics
Package mock_techmetrics is a generated GoMock package.
Package mock_techmetrics is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL