Implement filament rule action

Offen
#243 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
go, python
Bereich
backend, security

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Go
Sterne
2.6k
Forks
222
Ø Merge
16 Std. 23 Min.
Gemergte PRs (30 T.)
11

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus rabbitstack/fibratus

Alle Issues in rabbitstack/fibratus

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.