From 5b721ff2285277ffd680331498ed31ee1194e643 Mon Sep 17 00:00:00 2001 From: To-om Date: Mon, 13 Nov 2017 10:29:22 +0100 Subject: [PATCH] #365 Add sighted flag in observable --- thehive-backend/app/models/Artifact.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/thehive-backend/app/models/Artifact.scala b/thehive-backend/app/models/Artifact.scala index 8e0ad5036b..e242c77f41 100644 --- a/thehive-backend/app/models/Artifact.scala +++ b/thehive-backend/app/models/Artifact.scala @@ -38,6 +38,7 @@ trait ArtifactAttributes { _: AttributeDef ⇒ val tlp: A[Long] = attribute("tlp", TlpAttributeFormat, "TLP level", 2L) val tags: A[Seq[String]] = multiAttribute("tags", F.stringFmt, "Artifact tags") val ioc: A[Boolean] = attribute("ioc", F.booleanFmt, "Artifact is an IOC", false) + val sighted: A[Boolean] = attribute("sighted", F.booleanFmt, "Artifact has been sighted on the local network", false) val status: A[ArtifactStatus.Value] = attribute("status", F.enumFmt(ArtifactStatus), "Status of the artifact", ArtifactStatus.Ok) val reports: A[String] = attribute("reports", F.textFmt, "Json object that contains all short reports", "{}", O.unaudited) }