Skip to content

Commit

Permalink
#268 Fix type of IOC attribute in alert (string -> boolean)
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Jul 24, 2017
1 parent 2439db5 commit 8183f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thehive-backend/app/models/Alert.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ trait AlertAttributes {
Attribute("alert", "remoteAttachment", OptionalAttributeFormat(F.objectFmt(remoteAttachmentAttributes)), Nil, None, ""),
Attribute("alert", "tlp", OptionalAttributeFormat(F.numberFmt), Nil, None, ""),
Attribute("alert", "tags", MultiAttributeFormat(F.stringFmt), Nil, None, ""),
Attribute("alert", "ioc", OptionalAttributeFormat(F.stringFmt), Nil, None, ""))
Attribute("alert", "ioc", OptionalAttributeFormat(F.booleanFmt), Nil, None, ""))
}

val alertId: A[String] = attribute("_id", F.stringFmt, "Alert id", O.readonly)
Expand Down

0 comments on commit 8183f54

Please sign in to comment.