MISP workflows and automation: when your team needs rules, not reminders
A security team whose publishing and tagging rules live in a wiki, and depend on analyst memory, will eventually publish an event without its TLP tag or share indicators with no context attached. MISP workflows close that gap by running a defined sequence of checks and actions inside the platform when an event or attribute changes, so the rule applies to every user and every import. They are worth building when the same rule is applied by hand repeatedly, or when one missed step is costly, such as an event reaching a sync partner. Workflows are assembled from the published blueprints, which you enable, adjust and test before relying on them. A workflow fires on its trigger each time it matches, while a one-off script runs only when someone remembers to start it.
Start by deciding which rules must block and which should only warn. A blocking rule stops an action such as publishing, so it needs a clear owner, a documented exception path and a test on a non-production instance first, or analysts will work around it. An advisory rule that adds a tag or posts a message is safer to pilot. Before enabling anything, confirm in your installed version which blueprints ship, which trigger each one fires on, whether the blueprint can be edited, and how it interacts with your distribution and sync settings. Behavior can differ between builds in the MISP 2.5 line, so check the documentation for the exact build you run. The MISP features page gives the platform overview to start from.
The rules in scope for this topic include blocking publication when required context is missing, normalizing TLP tags to one vocabulary, stopping enrichment of attributes marked sensitive, and posting a notice to a webhook or chat channel when a high-impact event is published. These are illustrative examples only. For each rule, record who owns it, what the analyst sees when it fires, how an authorized override is recorded, and where the trigger is logged. Restrict who can edit workflows, since a changed rule quietly changes what your team can publish. Treat the workflow configuration as controlled change and review it the way you would review any other security setting.
Which blueprints cover the common publishing controls
Most publishing controls in MISP follow one pattern: an event action triggers a blueprint, and the blueprint either changes the event, blocks the action or sends a notification. Each card below describes one common pattern, what starts it and what the analyst sees, so you can match them to your own sharing rules before you enable anything.
Block publishing on missing context
This pattern runs when an analyst tries to publish an event. It checks for the fields your sharing policy requires, such as a threat level, a source or a required tag, and stops the publish if any are absent. The analyst sees the action refused and needs to add the missing context before trying again. Define the required fields with your intelligence leads first, because a check that is too strict will push analysts toward workarounds. Test the check on a copy of a recent event before enabling it on production.
Normalize TLP tags
This pattern runs when an event is saved or published and standardizes the traffic light protocol tag so that every event carries one consistent marking. It helps when different analysts or imported feeds apply variant spellings or competing markings to the same content. The analyst sees the tag corrected or replaced rather than left as entered. Confirm which TLP taxonomy values your instance enables, and decide in advance how the blueprint should handle an event that already carries two conflicting markings.
Stop enrichment of sensitive data
This pattern runs when an analyst requests enrichment of an attribute, and it checks the event or attribute for a sensitivity marker before any external lookup is sent. When the marker is present, the enrichment step is skipped or blocked so that internal indicators do not leave your environment. The analyst sees no enrichment result, and should be told why through the interface or a log entry. Confirm which marker your version can test, and document the exception process for analysts who need enrichment on a marked event.
Post to webhooks or chat
This pattern runs when an event is published or updated and sends a message to a webhook or chat channel, so responders learn about new intelligence without polling the platform. The analyst sees no change in MISP, but the receiving channel shows the event title, identifiers or a link. Check which fields the message carries, since anything in it is visible to everyone with access to that channel. Confirm that the channel's membership matches the distribution level of the events being posted.
Check the blueprint list for your version
Blueprint names, inputs and triggers can change between MISP releases, so the set of patterns available to you depends on the version you run. Before designing any control, open the workflow blueprint list on your own instance and record which triggers, conditions and actions it offers. Repeat this check after each upgrade within the MISP 2.5 line, and compare the list with the controls in your sharing policy to find any gaps that need a custom workflow.
MISP featuresWorkflow options and when each fits
This table compares the main workflow configuration choices for MISP: blocking or warning on publish, normalizing or rejecting tags, gating enrichment, and choosing outbound notification targets. Read each row for where the option fits, what goes wrong if it is set incorrectly, and what to test before enabling it on an instance that syncs with partners. Testing on a copy with sync disabled is the safest first step.
| Choice | Fit and risk | What to test before enabling |
|---|---|---|
| Blocking publish on missing context | Fits events that must carry a TLP tag, a threat level or an owner before partners receive them. Risk: analysts with incomplete events hit a dead end, and urgent sharing slows down. | Publish an incomplete test event with sync disabled and confirm the block message, the override path for a named role, and that the event stays unpublished. |
| Warning on missing context | Fits teams still learning the standard who need visibility without stopping work. Risk: warnings are ignored over time, so incomplete events reach partners anyway. | Confirm the warning appears in the publish flow and is logged, and that reviewers can find the events that triggered it. |
| Normalizing TLP tags | Fits feeds and imports that arrive with inconsistent tag spellings or casing. Risk: a rule that maps a tag to a different level can silently widen sharing for an event. | Run the rule on a sample set of imported tags and compare the before and after distribution and tag values for each case. |
| Rejecting events with non-standard tags | Fits strict sharing rules where any unknown marking must stop publication. Risk: legitimate partner tags are rejected, and the cause is hard to trace for the analyst. | Import events from each partner feed and confirm the rejection message names the tag and that approved tags pass. |
| Gating enrichment by distribution level | Fits events marked for restricted sharing that must not reach third-party enrichment services. Risk: an event whose distribution is changed later may be enriched or left unenriched without anyone noticing. | Test enrichment on events at each distribution level and confirm restricted ones are skipped, including after a distribution change. |
| Gating enrichment by tag | Fits sensitive classifications identified by a tag, such as a customer or incident marking. Risk: untagged sensitive data is enriched because the tag was missed, and tag spelling variants bypass the gate. | Enrich a test event carrying each sensitive tag and each known variant, and check the enrichment log for skipped and processed items. |
| Outbound notification to a chat or webhook target | Fits alerts on new published events or high-severity changes to an operations channel. Risk: restricted event content or attribute values leave the organization in the message body. | Send a test event at each distribution level and verify the payload contains only the fields approved for that channel. |
| Outbound notification to a ticketing or SIEM target | Fits routing events to queues or detection pipelines. Risk: duplicate tickets or alert floods if the trigger fires on every edit or sync. | Replay a batch of edits and syncs in a test instance and count how many notifications the target receives. |
How a MISP workflow decides what happens to an event
A MISP workflow is a trigger, one or more conditions and a set of actions. When an analyst attempts to publish an event, the trigger fires, the conditions read the event's content and metadata (tags, attribute types, distribution level, organisation and similar fields), and the actions run. The outcome determines whether the publish action completes. A blocking result stops the event from being published and should tell the analyst which condition failed, so the fix is obvious. Confirm which triggers and condition fields your MISP version exposes, because the available set changes between releases. Because the decision happens on your instance before publication, a blocked event is not released to sync partners.
Distribution levels are the main link between workflows and sharing. Conditions can check the distribution of an event, so a broadly shared event can be held to stricter checks than one restricted to your own organisation. Once an event passes and is published, it moves to other instances according to its distribution level and any sync filters you have configured. Your workflows do not control what a partner does with the data after it arrives. Partners that run their own workflows apply their own rules. Confirm with your sharing partners whether they also run publish-time checks, and whether workflows run on events pulled from a remote instance in your version.
Enabling a workflow changes behaviour for every user who publishes on the instance, not only the analyst who asked for it. Treat each workflow as a controlled configuration item with a named owner, a written purpose and a record of who approved changes. Test changes on a copy of the instance using representative events, including edge cases such as events with no tags and events at the widest distribution level. Review enabled workflows after each upgrade, since trigger names and behaviour can change. Decide in advance who may edit workflows and how a rollback works if a rule starts blocking legitimate publishing.
How a publish request passes through workflow checks
The flow starts when an analyst submits an event for publishing inside the MISP instance. The workflow first checks that required context such as tags and analysis fields is present, then normalizes TLP tags, then applies an enrichment gate that stops sensitive data from reaching external enrichment services. Only events that clear every check are published. Notifications to webhooks or chat leave the trust boundary, so check what fields the payload carries before enabling them.
Publish checks inside MISP, with outbound notices crossing the trust boundary.
Setting up and testing a MISP workflow
This sequence takes a workflow from written publishing rules to a tested, audited production change, so each rule behaves as intended before it touches live intelligence sharing.
Inventory the publishing and sharing rules
The data owner and the MISP administrator list every rule the workflow must enforce: required context fields, accepted TLP markings, distribution levels allowed per community, and content that must never be enriched or posted externally. Each rule is written as a blocked case and an allowed case with the expected result. The step is done when a reviewer from the sharing or compliance side signs off the list, and the list names an owner for every rule.
Enable workflows on a non-production instance
The administrator enables the workflow feature on a test MISP instance that mirrors the production version, roles and sync settings, and confirms that the instance is not connected to live partners. Workflow activity should be reviewed on the test instance before any production change. The step is complete when the workflow editor and its modules load for the admin role and the test instance has no active sync connections to production communities.
Choose and adapt a published blueprint
The team starts from one of the workflow blueprints published with MISP rather than building from an empty canvas, selects the blueprint closest to the rule inventory, and removes or renames steps that do not apply. Each remaining step is checked against the inventory, with conditions, module names and outputs documented in the workflow description. The step is done when every rule in the inventory maps to a named step, and unused blueprint steps are removed.
Test blocked and allowed cases at each distribution level
The tester creates sample events, clearly labeled as test data, covering each TLP marking and each distribution level the rules mention, including events that lack the required context. For every sample, the tester records whether publishing was blocked or allowed, and whether enrichment or webhook posting ran. The check is that each blocked case stays unpublished and each allowed case behaves as written. Any mismatch goes back to step three.
Verify sensitive data is not enriched or posted
The tester runs the sensitive-content samples through the workflow with the enrichment modules and the chat or webhook actions enabled, then confirms from the test chat channel and the module logs that nothing left the instance. This check should include a sample that matches the exclusion condition and one that does not, so the negative and positive paths are both proven. The step is complete when the exclusion holds for every sensitive sample and the positive sample shows the expected action.
Review audit logs for each test run
The administrator reviews the audit log entries produced by the test runs, confirming that each publish attempt, block, module call and webhook post is recorded with the correct user, event and outcome. Gaps in logging are logged as findings and fixed before promotion. The step is done when a reviewer can trace one sample event from creation to its final workflow outcome using only the logs, and the reviewer records that result in the change ticket.
Promote the workflow to production with a rollback path
The team exports the tested workflow configuration, applies it to production through the change process, and keeps the previous configuration available to restore. The first production events are watched closely by the administrator, and the rule owner confirms behavior on real but low-risk events before the workflow is considered live. Confirm with the MISP version in use that the workflow feature and modules behave the same as on the test instance. The step is complete when the change record includes the test evidence, the rollback steps and the owner's acceptance.
Security risks when automating MISP publishing
Automated publishing moves MISP data to places analysts do not watch directly: chat channels, webhooks, enrichment services and other instances. The risks below share one root cause: a workflow can carry credentials, data and decisions further than its author intended, so each card names a check to run before and after go-live.
Credentials for webhook and chat targets
A workflow that posts to a chat channel or webhook needs a secret to authenticate. That secret is stored in the workflow configuration or a connected setting, so anyone who can read workflow definitions or the instance configuration may be able to read it. Confirm where each target credential is stored, use a dedicated low-privilege token for each target, and plan rotation for every token that a former administrator could have seen.
Sensitive attributes sent to enrichment
Enrichment steps send attribute values to external or third-party services. An attribute that marks an internal host, a customer identifier or an unpublished incident can leave your control the moment an enrichment step runs on it. Before enabling any enrichment in a workflow, list which attribute types and TLP levels it will touch, and confirm with the module owner what the service retains and where it processes data.
Workflows that fail open
A blocking check that errors out can let an event continue to publish. A missing tag, a timed-out lookup or a disabled module may pass the event through unchecked if the workflow does not handle the failure path explicitly. Test each blocking workflow with missing context, an unreachable module and a malformed input, and confirm that the result is a stop, not a silent publish.
Who can edit workflow definitions
A workflow that publishes or forwards data is a privileged change, yet editing it may be open to more users than can publish events. Review which roles can create, modify and enable workflows, and separate the people who author workflows from the people who approve them. Keep the number of accounts with this permission small and reviewed on a schedule.
Logging of workflow edits
Without a record of who changed a workflow and when, a weakened check can look like normal operation. Confirm which audit events your MISP version writes for workflow changes, forward them to your central log platform, and alert on edits to blocking or publishing workflows. If the instance does not log an edit, record the change through your change management process instead.
Review after each MISP upgrade
Upgrades can change default workflow blueprints, module behavior and the fields a workflow reads. A check that passed on one release can behave differently on the next. After each upgrade, rerun the test cases for every blocking, enrichment and notification workflow, compare them with the release notes, and confirm that the workflow still reads the tags and attributes it was built for.
MISP release notesQuestions buyers ask about MISP workflow work
What drives the effort to build MISP workflows?
The effort depends mainly on how many workflow rules you need, how much context each rule must check, and how many external systems the workflow calls. A workflow that only blocks publishing when a required tag is missing is small. A set of rules that normalizes TLP tags, stops enrichment of sensitive data and posts to a chat tool touches more of the instance, so it needs more design, more testing and more approval steps. Other drivers include how many distribution levels and sharing groups your policy uses, whether your MISP version and installation method are settled, and how many event types your analysts create. Ask any partner to break the quote down by rule, by integration and by test cycle.
Can our internal team build MISP workflows without a partner?
Yes, if you have an engineer who can read the MISP workflow documentation, test changes on a non-production instance and maintain the setup after handover. The harder part is usually not the configuration but the policy decisions behind it, such as which tags are mandatory, who can override a block and what counts as sensitive. Those decisions need written owners from your intelligence, legal and compliance teams before any rule is built. A partner adds value when you need the rules designed, tested against realistic sample events and documented for an assessor. Compare the cost of that work with the time your own team would spend on it.
What do we need to provide before workflow work starts?
Plan to provide four things: named policy owners who can approve each rule, a set of representative sample events covering normal and edge cases, access to a test instance that mirrors your production configuration, and a change approval path that defines who signs off before a rule goes live. Sample events matter most, because a rule that looks correct on paper can block legitimate publishing or miss sensitive content in practice. Ask the partner to list these inputs in the written scope, with the dates each one is needed, so delays in your organization do not silently extend the timeline.
How long does testing take, and does it depend on the number of rules?
Yes, testing time generally grows with the number of rules and with how many of them interact. Each rule needs positive and negative test events, and rules that run in sequence need tests for the combined result, since one workflow can change the input of another. Testing also has to cover the publish path, enrichment and any outbound webhook or chat message. No duration can be stated here without your rule list and environment. Ask the partner to state the number of test cycles, the test events each cycle uses and the criteria for moving from test to production.
What recurs after go-live for MISP workflows?
Workflows need ongoing attention after go-live. Recurring work usually includes reviewing blocked publishing events to tune rules that create false blocks, updating rules when taxonomies, tag names or sharing policies change, reviewing webhook and chat integrations when their endpoints or credentials rotate, and retesting after each MISP upgrade. Changes to the MISP 2.5 line may alter workflow behavior, so each upgrade should include a regression run against your sample events. Ask any partner whether this support is included in the initial fixed scope or sold as a separate retainer, and what the response process looks like for a broken workflow.
Which parts of a MISP workflow project create the most compliance evidence?
The most useful evidence is the written policy each rule enforces, the test results against sample events, the approval record for each change and the logs showing when a workflow blocked or modified an event. Assessors often ask how you know a control works, so keep the test cases and logs together with the rule definitions. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications. Independent auditors and certification bodies make those determinations. Confirm with your assessor which evidence format they expect before the build starts.
Does the MISP workflow project include security review of the webhooks and chat integrations?
Webhooks and chat posts can leak sensitive attribute content if a rule sends more data than intended, so each outbound integration should be reviewed for what fields it sends, where they go and how its credentials are stored. Confirm in the written scope whether this review is included, and whether it covers the MISP instance settings that control enrichment and access. Testing the rules alone does not show whether an outbound message exposes data to the wrong audience. Ask for the list of destinations and data fields in the quote.
How DeployOpen scopes and delivers MISP workflow automation
DeployOpen treats MISP workflows as part of the platform's publishing and sharing controls, not as an afterthought. We scope the rules your teams need, build and test them on a non-production instance, and hand over the configuration with documentation your administrators can maintain.
How we scope
- Inventory the publishing, tagging and enrichment steps your analysts perform by hand today.
- Agree in writing which workflow rules are in scope, such as publish blocks, TLP normalization, sensitive-data enrichment limits and webhook or chat posts.
- Confirm the MISP version, deployment model and identity setup the workflows will run on before any build starts.
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work begins.
How we build
- Start from the published workflow blueprints and adapt only the blocks your rules require.
- Build and test each workflow on a separate instance with sample events that cover allowed and blocked cases.
- Check that each rule fires for the right roles, distribution levels and tag combinations before it reaches production.
- Record the expected behavior of every rule so reviewers can verify it against the configuration.
How we hand over
- Deliver the exported workflow configuration, the rule logic and a runbook explaining each block and its owner.
- Walk administrators through how to add, disable and review rules without breaking publishing for analysts.
- Document the webhook and chat endpoints used, the credentials they need and where those secrets are stored.
- Provide a test log showing each rule's results so your compliance or security team can review the evidence.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers.
- Retest workflows after each MISP upgrade, since blueprints and block behavior can change between releases.
- Review new rules against your sharing policy before they are enabled in production.
- Confirm with your team which support tier and response expectations apply before the engagement begins.

