Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create "modules" that run when a package is reported #73

Open
jonathan-d-zhang opened this issue Aug 18, 2024 · 0 comments
Open

Create "modules" that run when a package is reported #73

jonathan-d-zhang opened this issue Aug 18, 2024 · 0 comments
Assignees

Comments

@jonathan-d-zhang
Copy link
Contributor

We want the ability to run code (@import-pandas-as-numpy is calling them 'modules') in response to a package being reported.
 
Requirements:

  • Should not run as part of existing services (any issues with modules shouldn't impact existing Dragonfly services)
    • Also means that it should be outside Dragonfly's review + release cycle like the Yara rules
  • These modules will have the package being reported as an input (the actual format of this input is not specified).
  • The modules will produce some arbitrary output, such as posting to a webhook or writing to a database.
  • The modules will be written in Python.

An idea: use a message queue and Pub/Sub and make reporter one of these modules. Other modules would simply Sub to the Pub in order to register themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔎 Discovery
Development

No branches or pull requests

2 participants