Do not call add_basics() in createAlertSignature, which is probably only
used by Sealert. The method detects and adds executable item containing
path to the executable of the current process, which is useless as the
report is not about current process.
---
src/report-python/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/report-python/__init__.py b/src/report-python/__init__.py
index 7955878..ac1da3a 100644
--- a/src/report-python/__init__.py
+++ b/src/report-python/__init__.py
@@ -137,7 +137,7 @@ def createAlertSignature(component, hashmarkername, hashvalue,
summary, alertSig
pd.add("duphash", hashvalue)
pd.add("reason", summary)
pd.add("description", alertSignature)
- pd.add_basics()
+ pd.add("analyzer", "libreport")
return pd
--
1.7.6.4