Create Vulnerability Records And Alert Your Operations Team
ASecurity
Build a Zap on Zapier that takes a dependency-audit webhook, writes one vulnerability record per package to a Zapier Table, and posts one summary to an operations Microsoft Teams channel when vulnerabilities are found. Use when a security scanner or CI job posts dependency results and the operations team needs each finding logged and a quick channel alert.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Create Vulnerability Records And Alert Your Operations Team?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/zapier-create-vulnerability-records-and-alert-your-operat)
---
name: create-vulnerability-records-and-alert-your-operations-team
description: Build a Zap on Zapier that takes a dependency-audit webhook, writes one vulnerability record per package to a Zapier Table, and posts one summary to an operations Microsoft Teams channel when vulnerabilities are found. Use when a security scanner or CI job posts dependency results and the operations team needs each finding logged and a quick channel alert.
license: MIT
metadata:
author: zapier
summary: "When a dependency scan reports in, each package gets a vulnerability record in your table and your operations channel gets one summary, so triage starts right away."
apps: "Webhooks by Zapier, Zapier Tables, Microsoft Teams"
category: "IT"
job: "Vulnerability management"
source: "https://zapier.com/automations/it/vulnerability-management/vulnerability-scanning-reporting/create-vulnerability-records-and-alert-your-operations-team"
---
# Create vulnerability records and alert your operations team
The Zap's code lives at https://github.com/zapier/awesome-zaps/tree/main/zaps/create-vulnerability-records-and-alert-your-operations-team. Read the files there if this skill was installed on its own.
## What it does
1. **Trigger:** a dependency-audit result arrives at a Webhooks by Zapier catch hook (`webhook`, `hook_v2`). A scanner or CI job posts to it.
2. **Zapier Tables** creates one record per package in your vulnerability table: package name, version, vulnerability notes and the time the scan ran.
3. **Microsoft Teams** posts one summary message to your operations channel with the packages scanned, the vulnerable count, the records created and any that failed. It posts only when at least one package is vulnerable or a record failed to write.
The Zap only adds records and posts messages. It never edits or deletes existing records.
## Ask the user
Each `REPLACE_…` value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
| ------------------ | ---------------------------------------------------------------------------------------------- |
| `TABLE_ID` | The Zapier Table that holds the vulnerability records; look up its ID from the table's name |
| `TEAMS_TEAM_ID` | The Teams team that holds the operations channel; look up its ID from the team's name |
| `TEAMS_CHANNEL_ID` | The channel that receives the summary; look up its ID from the channel's name within that team |
Before building, confirm two things:
- The table has four columns, in this order: package name, version, vulnerability notes and recorded-at time. The workflow writes to them by position.
- The scanner's payload has a list named `packages` (or `dependencies`), where each item has `name` (or `package`), `version` and `vulnerabilities` (a list or a string), plus a `run_timestamp`. If their payload uses other names, change the workflow's input schema before installing.
## Build it
Build with Zapier MCP. If the user wants the Zap kept in their project, copy this folder into `zaps/` there first, then deploy those files. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
1. **Accounts:** bind `zapier-tables` to the user's Zapier Tables connection for the account that owns the vulnerability table, and `microsoft-teams` to their Microsoft Teams connection for an account that can post to the operations channel. Webhooks by Zapier needs no connection, so the trigger's `authentication_id` is `null`.
2. **Source:** publish `workflow.ts` and `config.ts`, with each `REPLACE_…` replaced by the user's answer. `triggers/hook.ts` and `connections/` are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger's `selected_api`, call `search_triggers` with that slug, find the row whose `key` is the trigger's `event`, and use `<app_key>@<app_version>` from it.
3. **Build guide:** load Zapier's build guide with `get_zapier_skill("zapier:build-workflows")` and follow it to create, test and publish the workflow.
4. **Fields:** inspect each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in `workflow.ts` that doesn't match.
## Test it
Run this sample as a draft test, against a table the user is happy to write to:
```json
{
"packages": [
{
"name": "lodash",
"version": "4.17.15",
"vulnerabilities": ["CVE-2020-8203"]
},
{ "name": "express", "version": "4.18.2", "vulnerabilities": [] }
],
"run_timestamp": "2026-10-29T10:15:00Z"
}
```
Confirm that two records were written, with the `lodash` record holding the CVE in its notes and the `express` record's notes empty. Confirm one Teams message in the test channel reports 2 packages scanned and 1 vulnerable. If run-status tools aren't available, check the table and the Teams channel directly. Ask the user to delete the test records and message; the user deletes test data, not the agent.
Then publish, confirm the trigger is active, and give the user their webhook URL to point their scanner at.
## Notes
- Each run appends records. Nothing checks for an existing record with the same package and version, so a webhook sent twice creates duplicate rows.
- The Teams message is one digest per run, not one per package.
- A payload with no `packages` or `dependencies` list ends the run without writing anything.
- Keep the webhook URL private: anyone with it can write records to the table.
- To notify on-call only for high or critical vulnerabilities, filter on severity before the Teams step. To open an issue for each critical package, add a step that creates one in the user's ticketing app.