Skip to content

Db models package

Galaxy

Bases: Base, DictMixin, UpdateMixin

kill_chain_order class-attribute instance-attribute

kill_chain_order: Mapped[str] = mapped_column(String(255))

must be serialized

OIDCIdentityProvider

Bases: Base

scope class-attribute instance-attribute

scope: Mapped[str] = mapped_column(String(255))

Possibility to add more scopes to be requested from the idp in addition to the default scopes, currently not used.

Workflow

Bases: Base

A python class representation of the database model for workflows in MISP.

The most central of the attributes in this model is the data attribute, containing the information about the workflow structure and the modules contained in the workflow, represented/stored as a JSON-String. (The other attributes are what their name sais, e.g. counter represents the numer of times the workflow was executed.)

WorkflowBlueprint

Bases: Base

A python class representation of the database model for blueprints of workflows in MISP.

The most attributes of this model are similar to the attributes of workflows, except the attributes "enabled", "counter", "trigger_id" and "debug_enabled", because these attributes are not useful or sensible for blueprints.

Also, the attribute "default" is added, which is a boolean clarifying whether the blueprint is a default MISP blueprint.

Log

Bases: Base

A python class representation of the database model for logs in MISP.

Further explanation for some of the central attributes of the database model: - Action: Describes the action that was logged, e.g. a login or workflow execution - Change: A string-representation of the changes made to the logged object or of central information about the logged object.