Skip to content

Commit 979606c

Browse files
authored
Fixed the logic for dedeupe and ths missing alert fields (#35)
* Fixed the logic for dedeupe and ths missing alert fields * Updated version for new build
1 parent b6b988a commit 979606c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

socketdev/core/dedupe.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ def alert_identity(alert: dict) -> tuple:
4949
"file": file,
5050
"start": alert.get("start"),
5151
"end": alert.get("end"),
52-
"releases": [release]
52+
"releases": [release],
53+
"props": alert.get("props", []),
54+
"action": alert["action"]
5355
}
5456
else:
5557
if release not in alert_map[identity]["releases"]:

socketdev/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.21"
1+
__version__ = "2.0.22"

0 commit comments

Comments
 (0)