725ba9a972e0d73e1b3d9476604270c8fc67b5c3,evidenceProcess.py,EvidenceProcess,run,#EvidenceProcess#,63

Before Change


                    evidence = __database__.getEvidenceForTW(profileid, twid)
                    if evidence:
                        evidence = json.loads(evidence)
                        self.outputqueue.put("40|evidence|[Evidence] Evidence for IP: {}. TW: {}. Evidence: {}".format(ip, twid, evidence))
                        accumulated_threat_level = 0.0
                        for pieceEvid in evidence:
                            self.outputqueue.put("50|evidence|[Evidence] \tPiece of Evidence: {}".format(pieceEvid))
                            type_of_alert = pieceEvid[0]

After Change


                        // The accumulated threat level is for all the types of evidence for this profile
                        accumulated_threat_level = 0.0
                        ip = profileid.split(self.separator)[1]
                        self.print("Evidence for IP {}".format(ip), 5, 0)
                        for key in evidence:
                            data = evidence[key]
                            self.print("\tEvidence for key {}".format(key), 5, 0)
                            confidence = float(data[0])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 725ba9a972e0d73e1b3d9476604270c8fc67b5c3
Time: 2019-04-03
Author: eldraco@gmail.com
File Name: evidenceProcess.py
Class Name: EvidenceProcess
Method Name: run


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: f1415931c6ec4bd4bbd19bffab9a5852277ec9e4
Time: 2019-06-08
Author: eldraco@gmail.com
File Name: slips/core/database.py
Class Name: Database
Method Name: add_ips


Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: 91fcc70964ebe0c1c3a96977ad97abe5c4a6e7df
Time: 2019-06-08
Author: eldraco@gmail.com
File Name: slips/core/database.py
Class Name: Database
Method Name: add_tuple