mispex v0.1.5 MISP.Tag View Source

A tag attached to an object, usually an event or attribute

Link to this section Summary

Functions

Either create a new tag or retrieve the representation of an already-existing tag

Link to this section Types

Link to this type

t() View Source
t() :: %MISP.Tag{
  colour: String.t() | nil,
  exportable: boolean(),
  hide_tag: boolean() | nil,
  id: String.t() | nil,
  name: String.t() | nil
}

Link to this section Functions

Either create a new tag or retrieve the representation of an already-existing tag

iex> MISP.Tag.create(%MISP.Tag{name: "my tag"})
Link to this function

get(struct, key, default \\ nil) View Source