You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In previous versions, MWDB Core was able to notify your plugins only of limited set of simple actions like creation of
53
+
the new object, added tag or comment. From v2.7.0 you are able to integrate with much broader set of actions including
54
+
object removals, changes in attributes and even administrative actions like creation of new user account.
55
+
56
+
Complete list of hooks can be found in :ref:`Available hooks` section.
57
+
10
58
v2.6.0
11
59
------
12
60
@@ -44,19 +92,19 @@ That's why we decided to migrate from plain strings to `JSONB type <https://www.
44
92
in internal attribute value representation. We also designed a new Attribute API to operate on JSON objects rather than
45
93
simple values.
46
94
47
-
.. image:: ../_static/json-attribute-add.png
48
-
:target:../_static/json-attribute-add.png
95
+
.. image:: _static/json-attribute-add.png
96
+
:target:_static/json-attribute-add.png
49
97
:alt:Adding JSON attribute
50
98
51
-
.. image:: ../_static/json-attribute.png
52
-
:target:../_static/json-attribute.png
99
+
.. image:: _static/json-attribute.png
100
+
:target:_static/json-attribute.png
53
101
:alt:JSON attribute
54
102
55
103
Attribute API is the new set of endpoints and request fields. You can easily recognize them as we name them `attributes`
56
104
instead of `meta(keys)`.
57
105
58
-
.. image:: ../_static/attribute-swagger.png
59
-
:target:../_static/attribute-swagger.png
106
+
.. image:: _static/attribute-swagger.png
107
+
:target:_static/attribute-swagger.png
60
108
:alt:Attribute API in Docs
61
109
62
110
For compatibility reasons: deprecated Metakey API just coerces object values to strings. Keep in mind that strings
@@ -69,8 +117,8 @@ when we try to add the same value twice, the second one won't be added.
69
117
Attribute API exposes attribute value identifier that can be used for removing the specific attribute value. Metakeys were identified directly by `key, value` tuple
70
118
but it wasn't convenient for objects because these values can be pretty huge.
71
119
72
-
.. image:: ../_static/json-attribute-response.png
73
-
:target:../_static/json-attribute-response.png
120
+
.. image:: _static/json-attribute-response.png
121
+
:target:_static/json-attribute-response.png
74
122
:alt:Attribute API response with exposed id
75
123
76
124
More information can be found in `#413 feature draft on Github <https://github.com/CERT-Polska/mwdb-core/issues/413>`_. At the time of
@@ -103,8 +151,8 @@ Default Web timeout is now a bit longer and set to 20 seconds instead of 8 secon
103
151
104
152
MWDB stores all unique names for sample that it was uploaded with. They are exposed via "Variant file names" field in Web UI object view.
105
153
106
-
.. image:: ../_static/alt_names.png
107
-
:target:../_static/alt_names.png
154
+
.. image:: _static/alt_names.png
155
+
:target:_static/alt_names.png
108
156
:alt:Variant file names in sample view
109
157
110
158
[New feature] Transactional tag adding along with object upload
0 commit comments