diff options
| author | msm-code | 2022-09-09 00:08:30 +0200 |
|---|---|---|
| committer | GitHub | 2022-09-09 00:08:30 +0200 |
| commit | 60e46ae3c6a28c5a63f33ed60896f92c6cf47978 (patch) | |
| tree | 5bcc4f0d0dc338ec5767caee79038fb1768ea38f /karton/android/android.py | |
| parent | 2bc593e990e2915d63503df8d4be72d10fa77e9d (diff) | |
Add a sample to the payload
To properly handle task, karton-mwdb-reprter (and in fact, probably every reporter out there) needs to know **which sample** is being reported.
Without this connection, mwdb won't know which sample it should add attributes to.
With this simple change I've confirmed the karton works as expected.
Diffstat (limited to 'karton/android/android.py')
| -rw-r--r-- | karton/android/android.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/karton/android/android.py b/karton/android/android.py index b05bce2..7eb8790 100644 --- a/karton/android/android.py +++ b/karton/android/android.py | |||
| @@ -43,6 +43,6 @@ class Android(Karton): | |||
| 43 | "type": "sample", | 43 | "type": "sample", |
| 44 | "stage": "analyzed", | 44 | "stage": "analyzed", |
| 45 | }, | 45 | }, |
| 46 | payload={"attributes": metadata}, | 46 | payload={"sample": sample, "attributes": metadata}, |
| 47 | ) | 47 | ) |
| 48 | ) | 48 | ) |
