MISP sync filter rules by tag and organisation

MISP sync filter rules control which events and attributes leave or enter an instance based on tags and organisations. This page explains how to design, combine and test them before connecting a new partner.

On this page

MISP sync filter rules by tag and organisation: when you need them

Set sync filter rules by tag and organisation when an instance is about to connect to a partner or community and you need to control what it sends out and what it takes in. In MISP, these rules limit synchronization traffic in each direction: push rules govern what your instance offers to a partner, and pull rules govern what it accepts from one. The need is most acute when a partner's sharing scope is broader than yours, when a community publishes feeds full of tags you do not want to ingest, or when one organisation's data should never leave your instance regardless of who asks for it.

The documented matching criteria are tags and organisations, and blocklists can be combined with those rules to exclude specific organisations or sources outright. Confirm the exact rule fields, operators and settings locations on your installed version, because interface details can differ between releases. The MISP features page describes the sharing model in general terms, so it will not settle every rule option for you. Treat filtering as one control alongside correct distribution settings, and do not treat it as a replacement for them. A rule can stop a tagged event from leaving, but it cannot make an event with a broad distribution level safe to share. Set distribution and sharing groups when data is created, then use filters to catch exceptions.

Before you connect a new partner, test the rules against a copy of your data or in a staging instance paired with a non-production partner, and check what the partner actually receives and what your instance ingests. Record each rule with its direction, the tags or organisations it matches, the reason for it and the person who approved it, so the next review can see why it exists. Ask the partner or community which tags they publish and which they expect, because a rule that is correct on your side can still send nothing useful or send too much if their tagging differs. Repeat these checks after upgrades and after any change to the partner's sharing groups.

Push rules, pull rules and organisation filters compared

Push rules decide which events and attributes your instance sends to a partner when it pushes. They are configured on your side, in the sync settings for that connection, and they are evaluated before anything leaves your database. A push rule typically matches on tags, such as a taxonomy classification or a traffic light tag, and sometimes on the event's distribution level or its organisation of origin. Because the rule runs on your instance, you control the outcome even if the partner's configuration changes later.

  • Tag inclusion or exclusion: Lists of tags that must be present or must be absent before an event is pushed. Exclusion is usually the safer default for internal investigation tags.
  • Distribution checks: Rules that stop events above a chosen distribution level from leaving, so that data meant for your organisation alone is not pushed.
  • Organisation of origin: Filters that stop material created by other organisations, which you received earlier, from being forwarded under your name.
  • Typical risk if left open: Every local event that matches the default distribution is pushed, including draft work, personal data fields and tags you use only internally.
  • Ownership: The instance administrator who owns the sync connection configures push rules, so changes should be recorded in your change process.

Confirm the exact labels and rule types in your MISP version's sync settings before you write a policy, because naming has changed across releases. Test each push rule against a sample event that you know should be blocked.

Which filter option fits which sharing situation

This table compares the filter options MISP offers for controlling what leaves and enters an instance during synchronization. Read each row as a question: what the option controls, which direction it applies to, what it cannot stop, and which sharing situation it suits best. The main takeaway is that no single filter covers every risk, so most deployments combine a tag or organisation rule with distribution settings and a review of what each partner receives.

Filter optionWhat it controlsWhere it appliesWhat it cannot protect againstBest fit
Tag-based allow list (pull or push)Only events and attributes carrying listed tags are synchronized in that directionOutbound (push) or inbound (pull), set per connectionMis-tagged data that carries an allowed tag, and content inside allowed events that you did not intend to shareBilateral partner with a defined topic, such as a sector or a campaign
Tag-based deny list (pull or push)Events and attributes carrying listed tags are excluded from synchronizationOutbound (push) or inbound (pull), set per connectionUntagged or incorrectly tagged sensitive material, so the list only works as well as the tagging discipline behind itHub or partner that receives broad feeds but must exclude a known category
Organisation-based filterIncludes or excludes events by the organisation that created themOutbound (push) or inbound (pull), set per connectionEvents re-published by an intermediary under another organisation, and information whose origin is unclearHub relaying many members where specific contributors should stay local
BlocklistsStops selected organisations or content from being published or accepted, applied at the instance levelInbound and outbound, depending on the blocklist type configuredData already imported before the block was added, and sharing that happens outside MISP syncProtecting an instance from a known noisy or untrusted source in addition to sync rules
Distribution levelsLimits how far an event or attribute can travel, from the organisation only up to sharing groupsApplied at creation and carried through each hop of sharingCareless labelling by the author, and recipients who manually forward content outside MISPEvery connection, since it governs spread even when sync rules are in place
Sync filter by internal instance flagKeeps organisation-only data within the organisation's own instancesBetween an organisation's own instancesErrors in the internal flag setting, which the user guide warns can downgrade data if misconfiguredInternal sync between analyst, hub and endpoint instances of one organisation
Combined rules with a test syncLayers tag, organisation and distribution rules, then checks results on sample data before live trafficBoth directions, validated before connecting a new partnerGaps in test data that do not reflect real event content, so review should include representative samplesNew partner onboarding, where the first sync should be checked against agreed rules

How to build and test sync filter rules before a partner goes live

This sequence turns an intended sharing agreement into tested push and pull rules, so each partner receives only the events and attributes that the agreement allows before any live data moves.

  1. Inventory the tags and organisations to share

    The data owner and the sharing lead list the tags that mark shareable material, such as a taxonomy tag or a TLP label agreed with the partner, and the organisations allowed to send or receive it. Write the list as a short table with one row per partner, naming the tags, the direction and the organisations involved. The step is done when every tag and organisation in the list has an owner who has confirmed it in writing, and any tag with no owner is removed from scope.

  2. Define push and pull rules for each partner

    The MISP administrator creates separate push and pull filter rules for the partner's sync connection, each with its own tag and organisation conditions. Push rules control what leaves your instance, and pull rules control what your instance accepts from the partner, so the two directions are written and reviewed separately. Confirm the rule set against the inventory from the previous step, checking that every allowed tag appears in one direction and no unlisted tag appears at all. The step is done when a reviewer can trace each rule back to a line in the agreement.

  3. Add blocklist entries for excluded sources

    Next, the administrator adds blocklist entries for organisations, event sources or other values that must never be accepted or shared, even if a tag rule would otherwise match them. Blocklist entries act as a second control beside the filter rules, so a mistaken tag on a partner event does not bypass the exclusion. Record why each entry exists and who approved it. The step is done when a test event from a blocked organisation is refused by the blocklist, which you can confirm in the event log or sync diagnostics on the test instance.

  4. Prepare a non-production or sample event set

    The team builds a sample event set on a non-production instance or uses sample events that contain no sensitive material. The set should include events that must pass, events that must be blocked by tag, events from an organisation outside the agreement and events with distribution levels that are too open for the partner. Label each sample with its expected result before the test starts, so the outcome can be checked against a written expectation. The step is done when every sample has an expected outcome recorded in the test plan.

  5. Run a test sync against the partner's test instance

    The administrator runs a push and a pull sync using the sample event set against the partner's test or staging instance, if the partner offers one, and otherwise against an isolated instance that stands in for it. Trigger the sync manually and keep the output, including any error messages and the list of events transferred. Check each sample against its expected result, for example confirming that an out-of-scope event does not appear on the partner instance after the push completes. The step is done when every sample has been checked and any mismatch has been logged for correction.

  6. Review accepted and rejected items

    The sharing lead and the data owner review the sync results side by side with the expected outcomes, looking for items that passed when they should have been blocked and items that were blocked when they should have passed. For each mismatch, adjust the rule or blocklist entry, rerun the affected samples and record the change. Check the distribution level of every event that transferred, so that no attribute is more open than its parent event. The step is done when the review record shows zero unexplained differences and each change has an approver.

  7. Confirm the rules with the partner before go-live

    Before live sync is enabled, the administrator sends the partner the final rule set and the test results, and asks the partner to confirm that the pull side matches what they expect to receive. Ask the partner's team to check their own instance for any out-of-scope material after the test run. Store the signed-off rule set with the agreement so future changes go through the same test cycle. The step is done when the partner has confirmed the rules in writing and the approved version is stored under change control.

Combining tag rules with blocklists without creating gaps

Tag rules, organisation rules and blocklists each decide what crosses the sync boundary, and they can contradict one another. The cards below cover how to confirm evaluation order, where blocklists fit, and how to keep the combined rule set reviewable and testable before a partner connects.

Confirm the evaluation order

Before writing any rule, confirm in your MISP version's documentation and in a test instance how push and pull filters, organisation exclusions and blocklists are applied relative to one another. Record the order as a written statement that the team can check against each release. An assumption about order is the most common source of rules that appear correct on paper and behave differently in practice. Re-check the order after every upgrade, because filtering behaviour is part of what changes between releases.

MISP repository

Too broad rules drop intelligence

A tag rule that matches more than intended, such as a broad taxonomy namespace or a generic tag used across many event types, silently removes events from sync. Nothing errors, so the analyst sees fewer indicators and assumes the feed is quiet. Check the event count on each side after a sync cycle, and compare a sample of excluded events against the tags that caused the exclusion. Narrow matches on specific tag values where possible.

Too narrow rules leak sensitive data

A rule that matches too few tags lets events through that the sharing agreement does not permit, including events whose sensitive content sits in attributes rather than in the event-level tags. Review which tags are applied at event and attribute level, because a rule written only against event tags can miss attribute content. Test with events that carry the sensitive markers you care about, and confirm that nothing outside the permitted set reaches the partner.

Blocklists for known sensitive values

A blocklist covers specific values, such as internal hostnames, customer identifiers or addresses that must never leave, regardless of how an event is tagged. Use it as a backstop for values that a tag may not catch. Keep the blocklist short and owned by a named person, since each entry adds a condition that must be tested. Confirm whether blocklist entries are applied to inbound as well as outbound data for your version.

Tag rules hiding blocklist-relevant events

A tag rule can exclude an event before a blocklist check is needed, so a value that a blocklist was meant to catch never reaches the review step that would have flagged it. The risk runs in both directions: a blocklist can also hide an event an incoming tag rule needs. Map each event category that a blocklist touches and confirm which control acts first. Write a test event that trips both controls and record which one fires.

Version control for filter rules

Store every rule set, including tag lists, organisation lists and blocklist entries, in a version-controlled repository with a named reviewer for each change. Tie each change to the partner it affects and the date it was tested. This gives an audit trail for why an event was shared or withheld, and makes rollback straightforward when a rule breaks sync. Pair the repository with a test run on every change so that a rule edit cannot reach production unreviewed.

Testing a new partner's rules before the first full sync

Test the rules before the first full sync, not after data has already left your instance. The goal of a dry run is to prove that your push and pull filters, tag rules and organisation rules produce the output you intended, using a small set of deliberately tagged test events. Create a handful of events that cover each case you care about: an organisation-only event, a community-level event, an event carrying a TLP:RED or TLP:AMBER tag, and an event with a blocklisted indicator. Then check each event's distribution setting, its tags and its attributes against the rule you expect to apply. Any mismatch is a rule error to fix before the partner connects.

Check the partner's view as well as your own. Ask the partner to confirm, from their side, which of your test events they can see, and make sure no organisation-only or community-level item reaches a sync user who should not hold it. Confirm that TLP and distribution tags are not contradicted by what the filter lets through: a tlp:amber attribute sitting in an event whose distribution is wider than your policy allows is a failure, even if the sync itself succeeds. Record the results, including the configuration version tested, so you can show later what was verified and when.

Remember that filtering is applied on both sides. The partner's own push and pull rules will decide what they accept and send back, so your test does not prove what arrives in their instance. Agree the rules in writing with the partner before the test, including which tags and organisations are included or excluded in each direction, who owns each change, and how a rule change is communicated. Confirm with them which MISP version they run and whether their instance applies the same filters, then repeat a short test after any rule change or version upgrade on either side.

Security and operational risks of filtering sync traffic

A sync filter is only as good as the people who maintain it and the controls around it. The cards below cover the risks that appear after the rules are live: drift, privileged access, change records, data review and the interaction with protected events. Check each one against the MISP security hardening guidance before you rely on the filters.

Hand-maintained filters drift

Tag and organisation rules often start as a short list and grow as partners ask for exceptions. Over months, a rule added for one partner can quietly allow a tag or organisation that no longer matches the sharing agreement. Schedule a periodic comparison of each rule against the current agreement, and record who owns each partner's rule set.

Admin access to sync settings

Anyone who can edit sync server configuration can widen what leaves or enters the instance, often without touching events at all. Limit administrator roles to named people, separate the role that manages partners from the role that manages users, and confirm that API keys used by sync accounts cannot change filter settings. Review these permissions against the hardening guidance.

MISP features

Logging of rule changes

A filter change is a security-relevant event, yet it is easy to make it without a trail. Confirm that your instance records edits to sync rules, who made them and when, and forward those logs to the place where your security team reviews administrative activity. Without this record, an unexpected leak is hard to trace to a configuration change.

Reviewing accepted and rejected items

Filters are rarely tested against real traffic after launch. Sample what was pushed and pulled over a set period, and separately check what was blocked, since a rejected item may signal a misconfigured partner or a rule that is too broad. Decide who reviews these samples, how often, and what triggers a rule change.

Interaction with protected events

Protected events and PGP signing add a second control on top of tag and organisation filters. A filter that passes a protected event to an instance without the right key, or an edit that alters a signed event, can break trust in the data even when the filter itself is correct. Test how protected events behave under your rules before connecting a partner, and confirm which instances are allowed to relay them.

Questions buyers ask about sync filter rules and outside help

How much effort does building MISP sync filter rules take?

The effort depends on how many partners you connect, how mature your tag taxonomy is, and how much testing you require before each connection goes live. Each partner needs its own push and pull rules, so the work grows with the number of agreements rather than with the size of your event store. A team that already uses consistent tags such as TLP and PAP markings, and has clear distribution rules, can write rules faster than a team that must first agree on what its tags mean. Ask any provider to break its quote into discovery of sharing agreements, rule design, a test plan with sample events, and cutover support, so you can see which part is driven by your data and which by the number of partners.

What does the work need from our sharing agreements and data owners?

Filter rules are only as accurate as the agreement they enforce, so the work starts with the written terms each partner has accepted. You need to know which tags, organisations, distribution levels and event types each partner may receive, and which must never leave your instance. Data owners in your organisation must confirm what they consider shareable, because an analyst's tag choice is not always the same as a legal or policy decision. Expect to supply a list of partner organisations, the tag taxonomy in use, any blocklists that apply, and a named approver for rule changes. Gaps in these inputs usually become the longest part of the project.

Can our internal team set up sync filter rules without outside help?

Yes, a team with MISP administration experience can write push and pull rules in the MISP interface and test them on its own, provided someone owns the sharing policy. The harder parts are usually not the configuration screens but agreeing on tag meanings, testing edge cases such as events that carry several tags, and documenting why each rule exists. Outside help makes most sense when you connect many partners at once, when a regulator or partner will review your controls, or when your team lacks time to run a separate test instance. Whatever you choose, confirm which rule behaviour your MISP version supports before you design around it.

How are sync filter rules kept current after go-live?

Rules drift when new tags are introduced, when a partner changes its sharing terms, or when an organisation is added to or removed from a community. Keeping them current needs a named owner, a change process that requires testing before a rule is edited, and a regular review date. Each change should be logged with the reason and the partner it affects. Teams often run a scheduled check that compares the tags and organisations in their rule set against the taxonomy and partner list, and they review sync logs after each change to confirm that events flow as intended. Ask whether a support arrangement covers these reviews, because the work recurs for as long as the connection exists.

What does a fixed-scope engagement for sync filter rules cover?

A fixed-scope engagement covers the agreed set of partners, the rules for each direction, the blocklists that apply, the test plan, and the documentation of how the rules work. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so you know which partners, instances and tag sets are included. A typical written scope lists the sync connections in scope, the rule design review, the test cases run against sample events, the cutover steps, and the handover notes. Anything outside that list, such as new partners added later or changes to the tag taxonomy, should be scoped separately. Ask for the exclusions in writing as well as the inclusions.

What goes wrong when sync filter rules are tested badly?

The most common failure is a rule that leaks data a partner should not receive, usually because an event carries a tag the rule did not anticipate or because distribution levels changed as the event moved between instances. The reverse also happens: a rule blocks events a partner expects, and the failure stays silent until someone notices missing indicators. Testing should use sample events that cover each tag, each organisation and each distribution level in scope, and it should check both pushed and pulled data. Confirm with the partner which outcome they expect for each test case before you connect the instance, and keep the test results as evidence for your review.

Should we add blocklists on top of tag rules?

Tag and organisation rules decide which events are eligible to move, and blocklists decide which individual values or sources are refused, so the two controls answer different questions. Combining them is common practice, but the order and interaction matter: a blocklist should not silently override a rule your partner depends on, and a rule should not allow an indicator your blocklist was built to stop. Document which control wins in each case and test the combination with the same sample events. Confirm the blocklist features available in your MISP version before designing this layer, because behaviour can differ between releases.

How outbound and inbound filters sit around a sync

The diagram starts with an event on the local instance, which first passes the local distribution check so that only events and attributes the organisation has marked for sharing enter the outbound stage. Outbound push rules and the outbound blocklist then decide what is sent across the trust boundary to the partner instance. On the way back, the partner's data meets the inbound pull rules and inbound blocklist before anything is written to the local database. Check each filter on both sides, because a rule that only exists on one instance does not protect the other.

Filters on both sides of a sync, with the trust boundary between the two organisations.

What DeployOpen delivers for filter rule work

A fixed-scope filter rule engagement ends with four deliverables: a documented rule set, test evidence, a partner-facing summary and a handover. The documented rule set lists every push and pull rule for each sync partner, the tag and organisation conditions it uses, how those rules interact with the instance blocklists, and which role or sync user each rule applies to. DeployOpen configures these settings in your own MISP instance, inside your infrastructure, so the record reflects what the instance actually does rather than what was intended. The scope, the number of partners and the number of rule sets are agreed in writing before work starts, which is the main factor in how much configuration and testing the engagement covers.

The test evidence shows how the rules behaved against the agreed cases. For each partner, the test set typically includes events that should be pushed, events that should be withheld, incoming events from the partner that should be accepted and ones that should be rejected, and the effect of tag and distribution changes on those results. The evidence records the MISP version tested, the rule configuration at the time and the outcome of each case, so your team can rerun the same checks after an upgrade. Ask for the test cases in writing and confirm which of them are run against a staging instance and which against production data.

The partner-facing summary is a short document you can share with a sync partner to explain what will leave your instance and what will be accepted from them. It should not expose internal rule logic beyond what the partner needs. DeployOpen does not issue audit reports, attestations or certifications. If a partner, regulator or assessor asks for independent assurance, that comes from an independent auditor or certification body, and the documented rule set and test evidence are the inputs they will examine. The handover covers how to edit rules, add a partner and rerun tests, with named owners on your side. Confirm before work starts who receives each deliverable and how long the handover support period runs.

How DeployOpen works on this

DeployOpen plans and implements self-hosted open-source platforms inside the client's own infrastructure, and MISP sync filter rules follow the same method. We scope the tag and organisation rules in writing before work starts, build and test them on the client's instance, and hand over the configuration with the documentation the team needs to run it.

How we scope

  • Written scope lists each push and pull rule, the tags and organisations it covers, and the partners affected.
  • We confirm which blocklists and distribution settings will be combined with the sync rules.
  • Scope names the test partners and the connection checks used before any live partner is added.

How we build

  • We configure push and pull filters on a test instance, mapped to the agreed tag and organisation lists.
  • We test rules against sample events to confirm what leaves and what enters, including edge cases.
  • Each rule change is recorded so the team can trace why a given event was allowed or blocked.

How we hand over

  • Deliverables include the rule set, a test record per partner and a runbook for adding new partners.
  • The handover explains how rules interact with blocklists and where each control lives in the instance.
  • Your team receives walkthroughs so administrators can review and adjust rules without outside help.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer for rule changes after handover.
  • Before onboarding a new partner, the retainer can include re-running the partner test set against updated rules.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.