Skip to content

Commit

Permalink
Renamed to mwdb-plugin-drakvuf to make common 'mwdb-plugin' prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Oct 16, 2020
1 parent 9c6eeba commit ed48f6a
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea/
.vscode/
*.pyc

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mwdb-drakvuf-plugin
mwdb-plugin-drakvuf
===================

[DRAKVUF Sandbox](https://github.com/CERT-Polska/drakvuf-sandbox) simple integration plugin for [mwdb-core](https://github.com/CERT-Polska/mwdb-core).
Expand All @@ -15,22 +15,22 @@ First of all, make sure that `mwdb-core` is installed and configured correctly.
Plugin can be installed using pip:

```
$ pip install mwdb-drakvuf-plugin
$ pip install mwdb-plugin-drakvuf
```

Then edit `mwdb.ini` file to activate and configure the plugin.

```diff
- # plugins =
+ plugins = mwdb_drakvuf_plugin
+ plugins = mwdb_plugin_drakvuf

...

+ [drakvuf]
+ drakvuf_url = http://localhost:6300
```

If you have more plugins activated, just add `mwdb_drakvuf_plugin` after comma.
If you have more plugins activated, just add `mwdb_plugin_drakvuf` after comma.

`http://localhost:6300` used in example points at the DRAKVUF Sandbox web interface.
Change it to the URL of your DRAKVUF instance according to your setup.
Expand All @@ -40,12 +40,12 @@ Run `mwdb-core configure` to apply changes required by plugin:
```
$ mwdb-core configure
INFO [mwdb.configure] Configuration already initialized... skipping
INFO [mwdb.application] Loaded plugin 'mwdb_drakvuf_plugin'
INFO [mwdb.application] Loaded plugin 'mwdb_plugin_drakvuf'
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [mwdb.configure] Database already initialized... skipping
INFO [mwdb.plugin.drakvuf] Configuring 'drakvuf' attribute key.
INFO [mwdb.application] Configured plugin 'mwdb_drakvuf_plugin'
INFO [mwdb.application] Configured plugin 'mwdb_plugin_drakvuf'
MWDB configured successfully!
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .plugin import entrypoint, configure

__author__ = "CERT Polska"
__version__ = "1.0.0"
__version__ = "0.1.0"
__doc__ = "Drakvuf webhook for mwdb-core"

__plugin_entrypoint__ = entrypoint
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from setuptools import setup

setup(name="mwdb-drakvuf-plugin",
setup(name="mwdb-plugin-drakvuf",
version="0.1.0",
description="MWDB Drakvuf Sandbox plugin",
author="CERT Polska",
author_email="[email protected]",
packages=["mwdb_drakvuf_plugin"],
packages=["mwdb_plugin_drakvuf"],
install_requires=[
"mwdb-core",
"requests"
Expand Down

0 comments on commit ed48f6a

Please sign in to comment.