From data collection to draft product with the zsazsa analyser
Introduction
zsazsa is a plugin for MISP for day-to-day CTI work. In earlier posts we made a daily threat briefing and a vulnerability advisory by hand. That works, but every day starts the same way. You read the new articles, decide which ones matter, write a summary and start a draft.
The analyser does that part for you. It reads what you collected, picks out what concerns you and drafts the daily threat briefing, the flash intel alerts and the vulnerability advisories. You review the drafts and decide what goes out. The source events, the AI summaries and the products all stay in MISP.
The analyser has changed a lot since zsazsa 1.0.9. In this post we follow an event from collection to draft, and look at what you do with the result.
What you get as an analyst
You start with a short list of drafts instead of a long queue of articles.
- The daily threat briefing is one draft a day.
- A flash intel alert is a short warning about one event that needs attention within the day.
- A vulnerability advisory describes a CVE for the teams that have to patch.
An event can lead to more than one product. An exploited CVE in a product you use can get an advisory for the teams that patch, an alert for the teams that monitor and a story in the briefing.
Every draft says why it was created. The lists of alerts and advisories show the requirement, focus point or CVE that matched under the title. For the events it turned down, the analyser logs the reason, so you can check its decisions afterwards.
Screenshot: the Products to review card on the dashboard, with the drafts per product.
How it works, from collection to draft

When it runs
You can start the analyser from the dashboard, with Start analyser . But more often you'll use the scheduled analyser, run_analyser.py, which does the same every hour from cron. The briefing follows once a day, by default from 21:00 UTC.
Screenshot: Start analyser with its three options and "Read again the last (hours)".
Step 1: reading the events
The analyser reads three kinds of sources, and you can enable them under Settings > Analyser.
- The events from the MISP scraper, by default at most seven days old. This includes the articles that came in through a newsletter.
- The manual entries that have a report.
- The events with a report on your other MISP servers. This is disabled for each MISP server until you enable "Analyse its events" under Collection sources.
Be careful with that last one. The text of those events goes to the AI features whatever their TLP.
Step 2: the AI summary
An event whose article could not be fetched, or whose report is empty, is rejected. Every other event gets an AI summary if it has none. zsazsa also uses the summary to tag the event with sectors, countries, techniques and threat actors.
Step 3: the verdict
One AI call reads the article, its title and its summary against your focus points and your active PIRs and GIRs. It answers two questions. Is this worth an alert? Is it worth a story in the briefing?
It also scores the article on the cti-evaluation taxonomy and reads its publication date. By default an alert needs an article of at most three days old, and a story one of at most a week.
The priority of a PIR counts as well. A "Must have" or "Should have" PIR can give an alert. A "Could have" PIR gives a story but no alert, and a "Won't have" PIR is ignored.
Step 4: has this been told before?
Before it writes anything, the analyser compares the event with the products of the last 30 days, also the rejected ones. A new alert is compared with earlier alerts, and a new story with the stories of the earlier briefings. Only products that share a CVE, a threat actor or much of the title are compared, by the AI. The same story is left out. A story that adds new facts is still drafted, as an update that names the earlier product, unless that product was rejected. An event you pushed is never left out. Its draft only names the earlier product.
Step 5: the drafts
Flash intel alerts are written with the same prompt as the Build with AI button. An event gets at most one alert. The alert names every PIR and GIR behind it and is meant for their stakeholders. An alert from focus points alone is for everyone who can receive it.
The daily briefing prioritises the stories. Events you pushed are first, then the events worth an alert, then the rest by PIR priority and score. The 15 are kept. The others go under Also seen on the draft, you can still add them before publishing the draft.
Vulnerability advisories do not use the verdict. The analyser looks for CVEs in the vulnerability attributes of the event, or else in its title, and gets the details from the vulnerability database. A CVE gets an advisory if it concerns you. That means its product is in your asset database, or its vendor or product is in your vendor or technology focus points, or in the scope of an active PIR or GIR. A new CVE record often names no product yet. The analyser then looks for those names in the title and summary of the event. If it finds none, it still drafts the advisory and marks it "Not checked" under Our exposure. Without an asset database, vendor or technology focus points or the scope of a PIR or GIR, every CVE gets an advisory. A CVE that an advisory of the last 90 days already covers, whatever its state, gets no new one. The exception is a CVE that has since gone on the CISA KEV list, or whose CVSS score rose by 1.0 or more. It gets an update that names the earlier advisory, unless that advisory was rejected.
The analyser never drafts a product below its TLP. A briefing starts at TLP:CLEAR and an alert or advisory at TLP:AMBER, and both go up to the strictest TLP of their source events.
Step 6: closing the events
Apart from the empty events of step 2, an event is only rejected when it's not used in a product. The reasons are added as a MISP report, so you can read them in MISP too. An event that you flagged for follow-up is never rejected.
How you follow up
Review and publish
The Products to review on the dashboard counts the drafts and the products waiting for a review, with a link to each list.
- Read the reason under the title, and open the draft.
- For alerts and advisories, use QA check against source. It compares the draft with its source events and lists the claims you should check.
- Check the audience and the TLP. The analyser fills in an audience, but "everyone who can receive it" may be too wide.
- Use Submit for review so a colleague looks at it first.
- Check the recipients on the product page. It shows who will receive the product, and why the others will not.
- Publish or reject.
Publishing sends the product to the stakeholders over their notification channels. In a next post we look at the new Microsoft Teams channel.
Screenshot: a flash intel alert draft with the reason from the analyser and the QA check.
Correct the analyser
You will not agree with every decision, and most corrections take one click.
| What you see | What to do |
|---|---|
| A draft you do not want | Reject it, with a reason if you like. Do not delete it. A deleted product's events are read again by the next run, so the draft can come back |
| A story in a briefing you do not want | Delete it from the briefing. Saving the briefing rejects its event, so it does not return tomorrow |
| A good story that was not added to the briefing | Add it under Also seen |
| An event the analyser declined, and you disagree | Push it in the Pipeline activity, for a story or for an alert and a story. The next run makes the product |
| An event you want to look at yourself | Review by hand in the Pipeline activity. It opens Data collection, flagged for follow-up, and stays open |
| You changed a focus point, a requirement or a prompt | Use Read again the last (hours) under Start analyser. Events already judged under the current settings cost no model call |
See what it did
The Pipeline page answers most questions.
- Overview lists what needs a look, such as a source that does not answer or a run that failed, and charts the last two weeks.
- Analyser runs is the history. Open a run to see the decision and the reason for each event.
- Activity shows what became of each event. Filter on outcome, period or feed.
The next day, start with the declined events. If you often push the same kind of event, a focus point is missing. If you often reject the same kind of draft, a focus point is too wide or a feed is too noisy.
Screenshot: the Pipeline activity with a declined event and its Push and Review by hand buttons.
Screenshot: an analyser run opened on the Pipeline page, with the decision per event.
Setting it up
Everything depends on your focus points and requirements. Enter your focus points under Settings > Products, and be specific. Focus points such as "IT" and "Energy" are too vague for a model to judge against. The analyser uses the requirements with the status Active, so also check your PIRs and GIRs and their priority.
zsazsa works with OpenAI or a local model, for example with Ollama. On the AI tab you choose the provider, model and temperature per feature.
Settings > Analyser has everything else. By default the scheduled analyser only makes flash intel alerts. You can switch on the advisories and the briefing, and choose the hour of the briefing.
Screenshot: the Analyser tab, with the flash intel alerts card.
The asset database is optional. For now it is a CSV file with the supplier, product and version of each asset, which you set under Settings > Connections.
In a standard installation, add the analyser to the crontab of the web user. In Docker it runs in its own container, and the setup script asks if you want this.
Where to start
Start with the default, the flash intel alerts, and spend a week on your focus points. Read the declined events in the Pipeline activity and adjust. When you trust those drafts, switch on the briefing, and then the advisories.