Implement filament rule action

Abierto
#243 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go, python
Área
backend, security

Línea de trabajo

Start by reading the detection rule action handling and YARA scanner rule matching paths; the issue does not name specific files or tests. Trace how rules currently trigger actions and how filaments are exposed to the Python VM. Done means detection rules and YARA matches can invoke the configured filaments with alert details and optional arguments as described.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

needs: docs scope: filaments scope: yara

A prominent use case for filaments is alert post-processing. This would allow any filament defining the on_next_alert function to react on alert arrival, either generated by the detection engine or YARA scanner.
If the filament has the definition of the on_next_alert(alert) function, each time an alert is triggered, the filament framework will invoke the former function. The first parameter of this function contains the alert details such as:

  • alert title
  • alert detailed description
  • provenance (detection, yara, etc.)
  • tags
  • alert metadata

Detection rules will define a new action to specify the filament to execute and an optional args given to the Python VM.
Yara scanner must specify the list of filaments to execute when the rule matches. Additionally, the Yara rule can declare the filament metadata with the name of the filament to execute upon rule firing.

Lenguaje dominante
Go
Estrellas
2.6k
Forks
222
Merge medio
16 h 23 min
PR fusionados (30 d)
11

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de rabbitstack/fibratus

Todos los issues de rabbitstack/fibratus

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.