Skip to content

Commit c70fa6e

Browse files
Ensure scopes and object types match new sourceTypes
1 parent 5b2e47a commit c70fa6e

3 files changed

Lines changed: 12 additions & 14 deletions

File tree

plugins/Vercel/v1/defaultContent/scopes.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"name": "Vercel Projects",
44
"matches": {
5-
"sourceType": { "type": "oneOf", "values": ["Vercel Project"] }
5+
"sourceType": { "type": "oneOf", "values": ["Project"] }
66
},
77
"variable": {
88
"name": "Vercel Project",
@@ -14,7 +14,7 @@
1414
{
1515
"name": "Vercel Domains",
1616
"matches": {
17-
"sourceType": { "type": "oneOf", "values": ["Vercel Domain"] }
17+
"sourceType": { "type": "oneOf", "values": ["Domain"] }
1818
},
1919
"variable": {
2020
"name": "Vercel Domain",

plugins/Vercel/v1/docs/README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,24 @@
1-
# Vercel
1+
## What this plugin monitors
22

33
Monitor your [Vercel](https://vercel.com) projects, deployments, and domains in SquaredUp. This plugin connects to the Vercel REST API to import your projects and domains as objects you can scope dashboards to, and provides data streams for deployment health and history, domain verification and expiry, team membership and activity, and a billing-based cost overview.
44

5-
## What this plugin monitors
6-
75
- **Projects** — your Vercel projects, including framework, git repository, and latest production deployment status. Imported as objects.
86
- **Domains** — custom domains, including verification status, expiry/renewal dates, and configuration health. Imported as objects.
9-
- **Deployments** — deployment volume, success/failure rates, and history over time, account-wide or drilled down per project. (Deployments are *not* indexed as objects, because they change too frequently — they are available as data streams instead.)
7+
- **Deployments** — deployment volume, success/failure rates, and history over time, account-wide or drilled down per project. (Deployments are _not_ indexed as objects, because they change too frequently — they are available as data streams instead.)
108
- **Team & activity** — team membership roster and recent account activity (events).
119
- **Cost** — a cost/usage overview derived from Vercel billing data (daily granularity).
1210
- **Firewall / security** — per-project [Vercel Firewall (WAF)](https://vercel.com/docs/vercel-firewall) event activity: counts of firewall events broken down by action (e.g. allow / deny / challenge) over time. Available as data streams on the **Project** perspective's **Security** section.
1311

1412
The plugin ships with three out-of-the-box dashboards: an account **Overview**, a **Project** perspective (which includes a **Security** section), and a **Domain** perspective.
1513

16-
## Prerequisites — getting a Vercel Access Token
14+
## Prerequisites
1715

1816
1. Sign in to Vercel and open **Account Settings → Tokens** (<https://vercel.com/account/tokens>).
1917
2. Click **Create Token**.
2018
3. Give it a name (e.g. `SquaredUp`).
2119
4. **Scope** — choose the scope the token can access:
22-
- To monitor a **Team**, set the scope to that team and note the team's ID or slug (see the `Team ID` field below).
23-
- To monitor your **personal account**, scope it to your personal account.
20+
- To monitor a **Team**, set the scope to that team and note the team's ID or slug (see the `Team ID` field below).
21+
- To monitor your **personal account**, scope it to your personal account.
2422
5. **Expiration** — choose an expiration (or no expiration). If the token expires, the plugin's data streams will stop returning data until you supply a new token.
2523
6. Click **Create** and copy the token value immediately — Vercel only shows it once.
2624

@@ -32,10 +30,10 @@ If you are monitoring a Team, open **Team Settings → General** in Vercel; the
3230

3331
## Configuration fields
3432

35-
| Field | Required | Description | Where to find it |
36-
| --- | --- | --- | --- |
37-
| **API Token** | Yes | The Vercel Access Token used to authenticate. Sent as a bearer token on every request. | Account Settings → Tokens (see above). |
38-
| **Team ID** | No | The Team ID or slug to monitor. Leave blank to monitor your personal account. When set, all requests are scoped to this team. | Team Settings → General (`team_…`), or the slug in your Vercel URL. |
33+
| Field | Required | Description | Where to find it |
34+
| ------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
35+
| **API Token** | Yes | The Vercel Access Token used to authenticate. Sent as a bearer token on every request. | Account Settings → Tokens (see above). |
36+
| **Team ID** | No | The Team ID or slug to monitor. Leave blank to monitor your personal account. When set, all requests are scoped to this team. | Team Settings → General (`team_…`), or the slug in your Vercel URL. |
3937

4038
## What gets indexed
4139

plugins/Vercel/v1/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"firewall",
2121
"waf"
2222
],
23-
"objectTypes": ["Vercel Project", "Vercel Domain"],
23+
"objectTypes": ["Project", "Domain"],
2424
"links": [
2525
{
2626
"category": "documentation",

0 commit comments

Comments
 (0)