@perpetualsystems/connector-registry 202611.4.1 → 202611.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-registry.d.ts.map +1 -1
- package/dist/build-registry.js +6 -2
- package/dist/build-registry.js.map +1 -1
- package/dist/documentation.json +1 -0
- package/dist/icons/dbip-csv.svg +5 -0
- package/dist/manifest.json +95 -15
- package/dist/schemas.d.ts +12 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +2 -0
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-registry.d.ts","sourceRoot":"","sources":["../src/build-registry.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,
|
|
1
|
+
{"version":3,"file":"build-registry.d.ts","sourceRoot":"","sources":["../src/build-registry.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,mBAAmB,EAGzB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EACL,KAAK,sBAAsB,EAE3B,KAAK,yBAAyB,EAE/B,MAAM,cAAc,CAAA;AAMrB,eAAO,MAAM,eAAe,QAAkC,CAAA;AAQ9D,QAAA,MAAM,uBAAuB;;;iBAG3B,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE/E,yFAAyF;AACzF,eAAO,MAAM,+BAA+B,iDACI,CAAA;AAIhD,wBAAsB,2BAA2B,CAC/C,WAAW,EAAE,MAAM,EACnB,QAAQ,GAAE,MAAwB,GACjC,OAAO,CAAC,MAAM,CAAC,CAgBjB;AAED,wBAAsB,6BAA6B,CACjD,QAAQ,GAAE,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,GAAE,MAAwB,GACjC,OAAO,CAAC,IAAI,CAAC,CAUf"}
|
package/dist/build-registry.js
CHANGED
|
@@ -118,7 +118,7 @@ export async function copyConnectorIconToRegistryDist(args) {
|
|
|
118
118
|
export function assertConnectorHandler(sourceLabel, connector) {
|
|
119
119
|
const handler = connector;
|
|
120
120
|
if (!handler?.id || !handler.config) {
|
|
121
|
-
throw new Error(`${sourceLabel} must export \`connector\` from definePollingConnector(...) or defineStreamingConnector(...)`);
|
|
121
|
+
throw new Error(`${sourceLabel} must export \`connector\` from definePollingConnector(...), defineStateConnector(...) or defineStreamingConnector(...)`);
|
|
122
122
|
}
|
|
123
123
|
if (isStreamingConnectorHandler(handler)) {
|
|
124
124
|
if (!handler.lagUnit) {
|
|
@@ -127,7 +127,7 @@ export function assertConnectorHandler(sourceLabel, connector) {
|
|
|
127
127
|
return handler;
|
|
128
128
|
}
|
|
129
129
|
if (!("state" in handler) || !handler.state) {
|
|
130
|
-
throw new Error(`${sourceLabel} polling connector must export state schema from definePollingConnector(...)`);
|
|
130
|
+
throw new Error(`${sourceLabel} polling connector must export state schema from definePollingConnector(...) or defineStateConnector(...)`);
|
|
131
131
|
}
|
|
132
132
|
return handler;
|
|
133
133
|
}
|
|
@@ -149,12 +149,16 @@ export async function buildConnectorRegistryManifest(repoRoot = defaultRepoRoot)
|
|
|
149
149
|
if (!iconExt) {
|
|
150
150
|
console.warn(`packages/${packageName}: no icon.svg or icon.png found (connector kind "${handler.id}")`);
|
|
151
151
|
}
|
|
152
|
+
const datasetKind = "datasetKind" in handler && handler.datasetKind === "state"
|
|
153
|
+
? "state"
|
|
154
|
+
: "event";
|
|
152
155
|
connectors.push({
|
|
153
156
|
kind: handler.id,
|
|
154
157
|
displayName: metadata.displayName,
|
|
155
158
|
connectorType: isStreamingConnectorHandler(handler)
|
|
156
159
|
? "streaming"
|
|
157
160
|
: "polling",
|
|
161
|
+
datasetKind,
|
|
158
162
|
...(isStreamingConnectorHandler(handler)
|
|
159
163
|
? { lagUnit: handler.lagUnit }
|
|
160
164
|
: {}),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-registry.js","sourceRoot":"","sources":["../src/build-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACvD,OAAO,EAEL,2BAA2B,EAC3B,qCAAqC,GACtC,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,
|
|
1
|
+
{"version":3,"file":"build-registry.js","sourceRoot":"","sources":["../src/build-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AACvD,OAAO,EAEL,2BAA2B,EAC3B,qCAAqC,GACtC,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AACvB,OAAO,EAIL,+BAA+B,GAChC,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,eAAe,CAAA;AACtB,MAAM,UAAU,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;AAC1D,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,EAAE,UAAU,CAAC,CAAA;AAE9D,MAAM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AC,CAAC,IAAI,EAAE,EAAE;gBACb,MAAM,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;gBAC5C,IAAI,CAAC,OAAO,EAAE,CAAC;oBACb,MAAM,IAAI,KAAK,CACb,cAAc,OAAO,CAAC,EAAE,8BAA8B,IAAI,CAAC,EAAE,GAAG,CACjE,CAAA;gBACH,CAAC;gBACD,OAAO;oBACL,GAAG,IAAI;oBACP,gBAAgB,EAAE,qBAAqB,CAAC,OAAO,CAAC,MAAM,CAAC;iBACxD,CAAA;YACH,CAAC,CAAC;SACH,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,QAAQ,GAAG,+BAA+B,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC,CAAA;IACtE,yBAAyB,CAAC,QAAQ,CAAC,CAAA;IACnC,OAAO,QAAQ,CAAA;AACjB,CAAC;AAED,sFAAsF;AACtF,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,WAAmB,eAAe;IAElC,MAAM,YAAY,GAAG,MAAM,6BAA6B,CAAC,QAAQ,CAAC,CAAA;IAClE,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;QACvC,MAAM,OAAO,GAAG,MAAM,oBAAoB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAA;QACjE,MAAM,+BAA+B,CAAC;YACpC,WAAW;YACX,IAAI,EAAE,OAAO,CAAC,EAAE;YAChB,QAAQ;SACT,CAAC,CAAA;IACJ,CAAC;AACH,CAAC"}
|
package/dist/documentation.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"setup-docs/bitwarden.md": "Source: https://docs.perpetualsystems.com/setup-docs/bitwarden/\n\n# Bitwarden connector setup\n\nPolls organization event logs from the [Bitwarden Public API](https://bitwarden.com/help/public-api/) (`GET /public/events`).\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Bitwarden plan | Organization with **Public API** access (Teams or Enterprise) |\n| Role | **Organization owner** (to view or rotate the organization API key) |\n| Region | Know whether your org uses the **global** (`api.bitwarden.com`) or **EU** (`api.bitwarden.eu`) stack |\n\nUse an **organization** API key (`client_id` starts with `organization.`). Personal API keys (`user.…`) cannot access the Public API.\n\n---\n\n## 1. Get the organization API key\n\n1. Sign in to the Bitwarden web vault as an organization owner.\n2. Open your organization → **Settings → Organization info**.\n3. Scroll to **API key** and click **View API Key**.\n4. Copy the **client_id** and **client_secret**. Store them securely.\n\n<!-- screenshot: Bitwarden Admin Console — Organization API key -->\n\n---\n\n## 2. Perpetual credential\n\n1. Log in to Perpetual. Open **Settings** from the user/org control at the **bottom left** of the sidebar (click your name → **Settings**), then go to **Credentials → New Credential**.\n2. Choose **OAuth 2.0 Client Credentials**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Unique identifier using letters, digits, and underscores only (e.g. `bitwarden`). |\n| **Allowed URL patterns** | `*.bitwarden.com`, `*.bitwarden.eu` |\n| **Token URL** | `https://identity.bitwarden.com/connect/token` (global) or `https://identity.bitwarden.eu/connect/token` (EU) |\n| **Client ID** | Organization `client_id` from step 1 |\n| **Client Secret** | Organization `client_secret` from step 1 |\n| **Scopes** | `api.organization` |\n\n4. Save the credential. Perpetual refreshes access tokens automatically (tokens expire in about 60 minutes).\n\n\n---\n\n## 3. Create the Bitwarden connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Bitwarden**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **Bitwarden API access:** select the credential from step 2.\n - **Poll interval (minutes):** default `5`.\n - **Region:** `global` or `eu` — must match your Bitwarden stack.\n\n5. Optionally check **Deploy**, then save.\n\n\nFirst run backfills roughly the **last 24 hours** of organization events. Subsequent polls advance in time windows with a short end buffer for API consistency.\n\n---\n\n## Operational notes\n\n- **Event delay:** Bitwarden batches client-side events; the connector ends each window slightly before run time to avoid gaps.\n- **Key rotation:** Rotate the API key in Bitwarden, update the Perpetual credential, then revoke the old secret.\n\n---\n\n## Reference\n\n- [Bitwarden Public API](https://bitwarden.com/help/public-api/)\n- [Organization API key](https://bitwarden.com/help/public-api/#authentication)\n",
|
|
5
5
|
"setup-docs/crowdstrike.md": "Source: https://docs.perpetualsystems.com/setup-docs/crowdstrike/\n\n# CrowdStrike connector setup\n\nPolls detection, audit, and incident events from the [CrowdStrike Falcon Event Streams API](https://developer.crowdstrike.com/api-reference/collections/event-streams/).\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| CrowdStrike Falcon | Administrator access to create API clients |\n| Event Streams API | Enabled for your tenant (contact CrowdStrike support if unavailable) |\n| Cloud region | Know which Falcon cloud hosts your tenant (`us-1`, `us-2`, `eu-1`, `us-gov-1`, `us-gov-2`) |\n\n---\n\n## 1. Create an API client\n\n1. Sign in to the [Falcon console](https://falcon.crowdstrike.com/).\n2. Go to **Support and resources → API clients and keys**.\n3. Under **OAuth2 API clients**, click **Create API client** (or **Add new API client**).\n4. Enter a **Client name** and **Description** (e.g. `Perpetual Event Streams`).\n5. Under **API scopes**, enable **Read** for **Event streams**.\n6. Click **Create** / **Add**.\n7. Copy the **Client ID** and **Client secret** from the confirmation dialog. The secret is shown **only once**.\n\n\n\nNote the **Base URL** shown with your credentials — it indicates which cloud environment to select in Perpetual.\n\n---\n\n## 2. Perpetual credential\n\n1. Log in to Perpetual. Open **Settings** from the user/org control at the **bottom left** of the sidebar (click your name → **Settings**), then go to **Credentials → New Credential**.\n2. Choose **OAuth 2.0 Client Credentials**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Unique identifier using letters, digits, and underscores only (e.g. `crowdstrike`). |\n| **Allowed URL patterns** | `*.crowdstrike.com`, `*.crowdstrike.mil` |\n| **Token URL** | Match your Falcon cloud (see table below) |\n| **Client ID** | Client ID from step 1 |\n| **Client Secret** | Client secret from step 1 |\n\n**Token URL by cloud:**\n\n| Cloud | Token URL |\n|-------|-----------|\n| US-1 | `https://api.crowdstrike.com/oauth2/token` |\n| US-2 | `https://api.us-2.crowdstrike.com/oauth2/token` |\n| EU-1 | `https://api.eu-1.crowdstrike.com/oauth2/token` |\n| US Gov-1 | `https://api.laggar.gcw.crowdstrike.com/oauth2/token` |\n| US Gov-2 | `https://api.us-gov-2.crowdstrike.mil/oauth2/token` |\n\n4. Save the credential. Perpetual refreshes tokens automatically (30-minute lifetime).\n\n---\n\n## 3. Create the CrowdStrike connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **CrowdStrike**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **CrowdStrike API:** select the credential from step 2.\n - **Poll interval (minutes):** default `5`. Each poll collects available events and closes idle feeds after 10 seconds without an event.\n - **Cloud environment:** match your Falcon tenant (`us1`, `us2`, `eu1`, `usGov1`, `usGov2`).\n\n5. Optionally check **Deploy**, then save.\n\nThe connector discovers available event stream partitions and reads them concurrently,\nresuming each partition from its saved offset. Each feed closes after 10 seconds\nwithout a complete event; blank keepalives do not extend that wait. An idle feed\nis a practical polling boundary, not a vendor guarantee that all events have\narrived. Later events are collected on the next scheduled poll.\n\nA busy poll continues until the SDK approaches the invocation deadline, leaving\nits normal 30-second grace period for delivery and the result callback. If it\nreaches that deadline, it returns `partial` with its offsets so the next poll can\nresume. A poll whose feeds all become idle or close normally can succeed.\nOffsets are persisted through the result callback only after the SDK's final\nFirehose flush succeeds. Failed delivery retains the previous offsets for retry.\n\n---\n\n## Operational notes\n\n- **Dedicated client:** Use a dedicated API client for this connector; do not share credentials with unrelated integrations.\n- **MSSP / multi-CID:** If your API client spans multiple CIDs, configure member CID scoping in the credential if your environment supports it.\n- **Feed identity:** Each emitted event includes top-level `dataFeedURL` (the discover feed URL, without resume `offset`). CrowdStrike's `metadata.offset` is unique only within that feed; use `dataFeedURL` with `offset` for a stable event id.\n\n---\n\n## Reference\n\n- [Event Streams API](https://developer.crowdstrike.com/api-reference/collections/event-streams/)\n- [OAuth2 token API](https://developer.crowdstrike.com/api-reference/collections/oauth2/)\n",
|
|
6
6
|
"setup-docs/crowdstrike-spotlight.md": "Source: https://docs.perpetualsystems.com/setup-docs/crowdstrike-spotlight/\n\n# CrowdStrike Spotlight connector setup\n\nPolls vulnerability records from the [CrowdStrike Falcon Spotlight API](https://developer.crowdstrike.com/api-reference/collections/spotlight-vulnerabilities/) (`GET /spotlight/combined/vulnerabilities/v1`), incrementally by `updated_timestamp`.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| CrowdStrike Falcon | **Falcon Spotlight** licensed |\n| API access | Administrator access to create API clients |\n| Cloud region | Know which Falcon cloud hosts your tenant |\n\n---\n\n## 1. Create an API client\n\n1. Sign in to the [Falcon console](https://falcon.crowdstrike.com/).\n2. Go to **Support and resources → API clients and keys**.\n3. Click **Create API client**.\n4. Enter a **Client name** and **Description** (e.g. `Perpetual Spotlight`).\n5. Under **API scopes**, enable **Read** for **Spotlight vulnerabilities**.\n6. Click **Create**.\n7. Copy the **Client ID** and **Client secret**. The secret is shown **only once**.\n\n<!-- screenshot: Falcon — Create API client with Spotlight vulnerabilities Read scope -->\n\n---\n\n## 2. Perpetual credential\n\n1. Log in to Perpetual. Open **Settings** from the user/org control at the **bottom left** of the sidebar (click your name → **Settings**), then go to **Credentials → New Credential**.\n2. Choose **OAuth 2.0 Client Credentials**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Unique identifier using letters, digits, and underscores only (e.g. `crowdstrike_spotlight`). |\n| **Allowed URL patterns** | `*.crowdstrike.com`, `*.crowdstrike.mil` |\n| **Token URL** | Match your Falcon cloud (same endpoints as the CrowdStrike connector) |\n| **Client ID** | Client ID from step 1 |\n| **Client Secret** | Client secret from step 1 |\n\n4. Save the credential.\n\n\n---\n\n## 3. Create the CrowdStrike Spotlight connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **CrowdStrike Spotlight**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **CrowdStrike API:** select the credential from step 2.\n - **Poll interval (minutes):** default `5`.\n - **Cloud environment:** `us1`, `us2`, `eu1`, `usGov1`, or `usGov2`.\n\n5. Optionally check **Deploy**, then save.\n\n\nFirst run queries vulnerabilities with `updated_timestamp` after roughly the **last 24 hours**. Subsequent polls advance from the last committed checkpoint.\n\n---\n\n## Operational notes\n\n- **Assessment lag:** New vulnerabilities appear after endpoint assessment completes; empty polls during quiet periods are normal.\n- **Large fleets:** Pagination may span multiple runs when many vulnerabilities update in one interval.\n- **Separate from Event Streams:** Spotlight uses a different API and scope than the CrowdStrike Event Streams connector — create a dedicated API client.\n\n---\n\n## Reference\n\n- [Spotlight Vulnerabilities API](https://developer.crowdstrike.com/api-reference/collections/spotlight-vulnerabilities/)\n- [OAuth2 token API](https://developer.crowdstrike.com/api-reference/collections/oauth2/)\n",
|
|
7
|
+
"setup-docs/dbip-csv.md": "Source: https://docs.perpetualsystems.com/setup-docs/dbip-csv/\n\n# DB-IP CSV GeoIP connector setup\n\nThe connector loads a DB-IP CSV file into a state table. Use the **Product**\nsetting to select the DB-IP product.\n\n| Product | Cost | Credential | CSV layout |\n|---|---|---|---|\n| `ip-to-city-lite` (default) | Free | Not necessary | https://db-ip.com/db/format/ip-to-city-lite/csv.html |\n| `ip-to-location-isp` | Paid | DB-IP account key | https://db-ip.com/db/format/ip-to-location-isp/csv.html |\n\n## IP to City Lite (free)\n\n1. Set **Product** to `ip-to-city-lite`.\n2. Do not select a credential. The connector ignores a credential for this\n product.\n\nThe connector builds the download URL. It uses the file of the current UTC\nmonth. DB-IP publishes the new file at about 06:30 UTC on the first day of the\nmonth. Before that, the connector uses the file of the previous month. You do\nnot edit anything each month.\n\n## IP to Location + ISP (paid)\n\n1. Set **Product** to `ip-to-location-isp`.\n2. Create a **Text** credential. Put the DB-IP account key in the value. The\n account key is the part of your account URL after `/account/`, for example\n `https://db-ip.com/account/<key>/db/ip-to-location-isp/`. Do not put a URL\n in the value.\n3. Select the credential in the **DB-IP account key** field.\n\nThe key can contain only letters and digits. The connector asks DB-IP for the\ndownload link of the subscribed file, and it downloads the file again only when\nthe checksum that DB-IP reports changes. The run fails with a clear message if\nthe key is not valid, if the subscription does not include the product, or if\nthe file is larger than 16 GiB.\n\nIf you restrict the URLs of the credential, allow `*.db-ip.com`.\n\n## How the load works\n\nThe connector decomposes each IP range row into CIDR blocks and writes a state\ntable in replace mode. Large databases can need multiple scheduled runs. A run\nthat reaches its time limit keeps the batch open, and the next run continues\nwhere the last written part ended. The data plane applies the batch after the\nlast run closes it, and the connector treats the file as done only after that.\n\nIf you change the product, the connector downloads the new file and starts a\nnew batch.\n",
|
|
7
8
|
"setup-docs/duo-security.md": "Source: https://docs.perpetualsystems.com/setup-docs/duo-security/\n\n# Duo Security connector setup\n\nPolls the [Cisco Duo Admin API](https://duo.com/docs/adminapi) for authentication, telephony, and activity logs, plus optional user inventory snapshots.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Duo access | **Owner**, **Administrator**, or **Application Manager** (to create or view the Admin API application) |\n| Admin API app | Dedicated **Admin API** application in the Duo Admin Panel |\n| Hostname | API hostname for your Duo account (e.g. `api-xxxxxxxx.duosecurity.com`) |\n\nFor **Duo Federal**, use the `*.duofederal.com` hostname instead of `*.duosecurity.com`.\n\n---\n\n## 1. Create an Admin API application\n\n1. Sign in to the [Duo Admin Panel](https://admin.duosecurity.com/).\n2. Go to **Applications → Application Catalog**.\n3. Search for **Admin API** and click **Add**.\n4. Name the application (e.g. `Perpetual Duo`).\n5. On the **Properties** tab, enable:\n - **Grant read resource**\n - **Grant read log**\n - **Grant read info**\n6. Save the application.\n7. On the application details page, copy:\n - **Integration key** (ikey)\n - **Secret key** (skey) — click to reveal; treat like a password\n - **API hostname** (e.g. `api-xxxxxxxx.duosecurity.com`)\n\n<!-- screenshot: Duo Admin Panel — Admin API application keys and hostname -->\n\n---\n\n## 2. Perpetual credential\n\n1. Log in to Perpetual. Open **Settings** from the user/org control at the **bottom left** of the sidebar (click your name → **Settings**), then go to **Credentials → New Credential**.\n2. Choose **Text**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Unique identifier using letters, digits, and underscores only (e.g. `duo_security`). |\n| **Allowed URL patterns** | `*.duosecurity.com`, `*.duofederal.com` |\n| **Value** | **Secret key** from step 1 |\n\n4. Save the credential.\n\n\nThe **integration key** and **API hostname** are connector settings (step 3), not the credential secret.\n\n---\n\n## 3. Create the Duo Security connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Duo Security**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **Secret key:** select the credential from step 2.\n - **Poll interval (minutes):** default `5` for log streams.\n - **API hostname:** full hostname from step 1 (no `https://` prefix).\n - **Integration key:** ikey from step 1.\n - Enable streams:\n\n| Setting | Default | Admin API path | Notes |\n|---------|---------|----------------|--------|\n| Authentication logs | On | `/admin/v2/logs/authentication` | Login and enrollment events |\n| Telephony logs | On | `/admin/v2/logs/telephony` | Phone and SMS authentication |\n| Activity logs | On | `/admin/v2/logs/activity` | Admin and system activity |\n| User inventory | On | `/admin/v1/users` | Periodic user roster snapshot |\n\nAt least one log stream or user inventory must stay enabled.\n\n5. Optionally check **Deploy**, then save.\n\n\nFirst run backfills roughly the **last 24 hours** for log streams. Duo log APIs have an ingestion delay; the connector accounts for this when choosing time windows.\n\n---\n\n## Operational notes\n\n- **Secret key access:** Only Owner, Administrator, or Application Manager roles can view the secret key.\n- **Federal environments:** Use the `duofederal.com` API hostname and allow that domain in URL patterns.\n- **User inventory:** Runs as a paginated snapshot alongside log polling, not as a real-time stream.\n\n---\n\n## Reference\n\n- [Duo Admin API](https://duo.com/docs/adminapi)\n- [Duo Admin API authentication](https://duo.com/docs/adminapi#authentication)\n",
|
|
8
9
|
"setup-docs/gcp-pubsub.md": "Source: https://docs.perpetualsystems.com/setup-docs/gcp-pubsub/\n\n# Google Cloud Pub/Sub connector setup\n\nConsumes messages from a [Google Cloud Pub/Sub](https://cloud.google.com/pubsub/docs) subscription and emits them to your dataset. This is a **streaming** connector (long-running consumption, not scheduled polling).\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| GCP project | Project containing the Pub/Sub subscription |\n| Subscription | Existing subscription attached to your topic (create the subscription before deploying) |\n| Service account | With permission to **consume** from that subscription |\n| Message source | Publisher writing events to the topic (SIEM forwarder, log router, custom app, etc.) |\n\n---\n\n## 1. Prepare Pub/Sub resources\n\n1. Open the [Google Cloud Console](https://console.cloud.google.com/) and select your project.\n2. Go to **Pub/Sub → Subscriptions**.\n3. Create or identify the **subscription** Perpetual will consume. Note:\n - **Project ID**\n - **Subscription ID** (short name, not the full path)\n4. Confirm messages are arriving (check **Messages** metrics or pull a test message).\n\n<!-- screenshot: GCP Console — Pub/Sub subscription details -->\n\n### Service account and IAM\n\n1. Go to **IAM & Admin → Service accounts → Create service account**.\n2. Name it (e.g. `perpetual-pubsub-consumer`).\n3. Grant the service account **Pub/Sub Subscriber** (`roles/pubsub.subscriber`) on the project, or only on the specific subscription for least privilege.\n4. Create a **JSON key** for the service account (or copy the `private_key` and `client_email` fields).\n5. Record the **service account email**.\n\n<!-- screenshot: GCP IAM — Pub/Sub Subscriber role on subscription -->\n\n---\n\n## 2. Perpetual credential\n\n1. Log in to Perpetual. Open **Settings** from the user/org control at the **bottom left** of the sidebar (click your name → **Settings**), then go to **Credentials → New Credential**.\n2. Choose **Text**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Unique identifier using letters, digits, and underscores only (e.g. `gcp_pubsub`). |\n| **Allowed URL patterns** | `*.googleapis.com` |\n| **Value** | Service account **private key** PEM (the `private_key` field from the JSON key) |\n\n4. Save the credential.\n\n\n---\n\n## 3. Create the Google Cloud Pub/Sub connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Google Cloud Pub/Sub**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **Service account private key:** select the credential from step 2.\n - **Project ID:** GCP project containing the subscription.\n - **Subscription ID:** subscription name to pull from.\n - **Service account email:** email of the service account (must match the private key).\n - **Max messages per batch** (optional): cap messages per pull (default 10).\n - **Max bytes per batch** (optional): cap total bytes per pull.\n\n5. Check **Deploy** to start the streaming connector after save.\n\n\nThe connector pulls messages, emits raw JSON records (`id`, `data`, `publishTime`), flushes to Firehose, then **acks** messages only after a successful flush.\n\n---\n\n## Operational notes\n\n- **Cross-project subscriptions:** If the subscription lives in a different project than the topic, grant `roles/pubsub.subscriber` in the subscription's project.\n- **At-least-once delivery:** Messages are acked after Firehose flush; failures nack for redelivery.\n- **Lag metric:** Heartbeats report consumer lag based on `publishTime`.\n\n---\n\n## Reference\n\n- [Pub/Sub documentation](https://cloud.google.com/pubsub/docs)\n- [Pub/Sub access control](https://cloud.google.com/pubsub/docs/access-control)\n",
|
|
9
10
|
"setup-docs/google-workspace.md": "Source: https://docs.perpetualsystems.com/setup-docs/google-workspace/\n\n# Google Workspace Audit connector setup\n\nPolls Google Workspace audit activity from the [Admin SDK Reports API](https://developers.google.com/workspace/admin/reports/v1/overview) (`activities.list`) for multiple Workspace applications in one connector.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Google Workspace | Super administrator access to your domain |\n| Google Cloud project | Project with **Admin SDK API** enabled |\n| Service account | With **domain-wide delegation** to a super admin user |\n| Audit logging | Workspace audit logging enabled for the apps you plan to collect |\n\n---\n\n## 1. Create a service account and enable delegation\n\n1. Open the [Google Cloud Console](https://console.cloud.google.com/) and select or create a project.\n2. Go to **APIs & Services → Library**, search for **Admin SDK API**, and **Enable** it.\n3. Go to **APIs & Services → Credentials → Create credentials → Service account**.\n4. Name the account (e.g. `perpetual-workspace-audit`) and finish creation.\n - Google Cloud may prompt for optional **Permissions** (project IAM roles) and **Principals with access**. **Skip both** — this connector does not need GCP project roles. Access comes from domain-wide delegation in Google Admin (below), not from IAM on the Cloud project.\n5. Open the service account → **Keys → Add key → Create new key → JSON**. Store the key securely.\n6. From the JSON key file, note:\n - **`client_id`** (numeric) — used for domain-wide delegation in Google Admin (next section)\n - **`client_email`** and **`private_key`** — used when configuring Perpetual\n\n You do **not** need to open the service account details page for the Client ID; it is already in the JSON as `client_id`.\n\n### Domain-wide delegation\n\n1. In [Google Admin console](https://admin.google.com/), go to **Security → Access and data control → API controls**.\n2. Under **Domain wide delegation**, click **Manage Domain Wide Delegation → Add new**.\n3. Enter the service account **Client ID** (`client_id` from the JSON key).\n4. In **OAuth scopes**, enter:\n\n```\nhttps://www.googleapis.com/auth/admin.reports.audit.readonly\n```\n\n5. Click **Authorize**.\n\n<!-- screenshot: Google Admin — Domain-wide delegation for Admin SDK Reports scope -->\n\nChoose a **Workspace admin email** to impersonate (e.g. `admin@yourcompany.com`). You will enter this as **Delegated admin email** when creating the connector in step 3.\n\n---\n\n## 2. Perpetual credential\n\n1. Log in to Perpetual. Open **Settings** from the user/org control at the **bottom left** of the sidebar (click your name → **Settings**), then go to **Credentials → New Credential**.\n2. Choose **Text**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Unique identifier using letters, digits, and underscores only (e.g. `google_workspace`). |\n| **Allowed URL patterns** | `*.googleapis.com`, `*.google.com` |\n| **Value** | Service account **private key** PEM from the JSON key (`private_key` field) |\n\n4. Save the credential.\n\nPaste the full PEM block, including `-----BEGIN PRIVATE KEY-----` and `-----END PRIVATE KEY-----`. If the key contains escaped `\\n` sequences (as exported in JSON), paste it as-is — the connector normalizes them.\n\n---\n\n## 3. Create the Google Workspace Audit connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Google Workspace Audit**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **Service account private key:** select the Text credential from step 2.\n - **Service account email:** `client_email` from the same JSON key file (e.g. `perpetual-workspace-audit@project-id.iam.gserviceaccount.com`).\n - **Delegated admin email:** Workspace admin to impersonate via domain-wide delegation (e.g. `admin@yourcompany.com`).\n - **Poll interval (minutes):** default `5`.\n - Enable the Workspace applications you want to monitor (at least one required):\n\n| Setting | API `applicationName` | Notes |\n|---------|----------------------|--------|\n| Admin | `admin` | Admin console activity |\n| Calendar | `calendar` | Calendar audit events |\n| Drive | `drive` | Drive file activity |\n| Login | `login` | Sign-in events |\n| Token | `token` | OAuth token grants |\n| Groups | `groups` | Google Groups changes |\n| Mobile | `mobile` | Mobile device events |\n| Rules | `rules` | DLP rules activity (sensitive) |\n| Keep | `keep` | Google Keep activity |\n| Meet | `meet` | Google Meet activity |\n| Enterprise Groups | `groups_enterprise` | Enterprise Groups |\n| Data Studio | `data_studio` | Looker Studio activity |\n| SAML | `saml` | SAML activity |\n| Chat | `chat` | Google Chat activity (sensitive) |\n\n5. Optionally check **Deploy**, then save.\n\n\nFirst run backfills roughly the **last 24 hours** per enabled application. The Reports API retains audit data for up to **180 days**.\n\n---\n\n## Operational notes\n\n- **Sensitive apps:** `rules` and `chat` streams may include sensitive content metadata; enable only if your retention policy allows it.\n- **Propagation:** Domain-wide delegation can take up to 24 hours to apply across all users.\n- **Multiple domains:** Use a separate service account (or delegated setup) and connector per Google Workspace customer domain.\n\n---\n\n## Reference\n\n- [Reports API overview](https://developers.google.com/workspace/admin/reports/v1/overview)\n- [Reports API scopes](https://developers.google.com/workspace/admin/reports/auth)\n- [Domain-wide delegation](https://developers.google.com/identity/protocols/oauth2/service-account#delegatingauthority)\n",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 144" role="img" aria-label="DB-IP CSV GeoIP">
|
|
2
|
+
<circle cx="72" cy="72" r="56" fill="none" stroke="#2563EB" stroke-width="8"/>
|
|
3
|
+
<ellipse cx="72" cy="72" rx="24" ry="56" fill="none" stroke="#2563EB" stroke-width="6"/>
|
|
4
|
+
<line x1="16" y1="72" x2="128" y2="72" stroke="#2563EB" stroke-width="6"/>
|
|
5
|
+
</svg>
|
package/dist/manifest.json
CHANGED
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
}
|
|
57
57
|
],
|
|
58
58
|
"iconExt": "svg",
|
|
59
|
-
"description": "Polls Atlassian organization audit logs."
|
|
59
|
+
"description": "Polls Atlassian organization audit logs.",
|
|
60
|
+
"datasetKind": "event"
|
|
60
61
|
},
|
|
61
62
|
{
|
|
62
63
|
"kind": "azure-event-hub",
|
|
@@ -123,7 +124,8 @@
|
|
|
123
124
|
}
|
|
124
125
|
],
|
|
125
126
|
"iconExt": "svg",
|
|
126
|
-
"description": "Consume events from an Azure Event Hub."
|
|
127
|
+
"description": "Consume events from an Azure Event Hub.",
|
|
128
|
+
"datasetKind": "event"
|
|
127
129
|
},
|
|
128
130
|
{
|
|
129
131
|
"kind": "bitwarden",
|
|
@@ -184,7 +186,8 @@
|
|
|
184
186
|
}
|
|
185
187
|
],
|
|
186
188
|
"iconExt": "svg",
|
|
187
|
-
"description": "Poll Bitwarden organization event logs."
|
|
189
|
+
"description": "Poll Bitwarden organization event logs.",
|
|
190
|
+
"datasetKind": "event"
|
|
188
191
|
},
|
|
189
192
|
{
|
|
190
193
|
"kind": "crowdstrike",
|
|
@@ -250,7 +253,8 @@
|
|
|
250
253
|
}
|
|
251
254
|
],
|
|
252
255
|
"iconExt": "svg",
|
|
253
|
-
"description": "Poll CrowdStrike Falcon Event Streams for detection, audit, and incident events."
|
|
256
|
+
"description": "Poll CrowdStrike Falcon Event Streams for detection, audit, and incident events.",
|
|
257
|
+
"datasetKind": "event"
|
|
254
258
|
},
|
|
255
259
|
{
|
|
256
260
|
"kind": "crowdstrike-spotlight",
|
|
@@ -316,7 +320,73 @@
|
|
|
316
320
|
}
|
|
317
321
|
],
|
|
318
322
|
"iconExt": "svg",
|
|
319
|
-
"description": "Poll CrowdStrike Falcon Spotlight for vulnerability records updated since the last run."
|
|
323
|
+
"description": "Poll CrowdStrike Falcon Spotlight for vulnerability records updated since the last run.",
|
|
324
|
+
"datasetKind": "event"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"kind": "dbip-csv",
|
|
328
|
+
"displayName": "DB-IP CSV GeoIP (CIDR)",
|
|
329
|
+
"ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/dbip-csv:0.0.14",
|
|
330
|
+
"connectorType": "polling",
|
|
331
|
+
"settingsSchema": {
|
|
332
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
333
|
+
"type": "object",
|
|
334
|
+
"properties": {
|
|
335
|
+
"product": {
|
|
336
|
+
"default": "ip-to-city-lite",
|
|
337
|
+
"title": "Product",
|
|
338
|
+
"description": "The DB-IP product to load. ip-to-city-lite is free and needs no credential. ip-to-location-isp needs a paid DB-IP account key.",
|
|
339
|
+
"type": "string",
|
|
340
|
+
"enum": [
|
|
341
|
+
"ip-to-city-lite",
|
|
342
|
+
"ip-to-location-isp"
|
|
343
|
+
]
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"required": [
|
|
347
|
+
"product"
|
|
348
|
+
],
|
|
349
|
+
"additionalProperties": false
|
|
350
|
+
},
|
|
351
|
+
"credentials": [
|
|
352
|
+
{
|
|
353
|
+
"id": "accountKey",
|
|
354
|
+
"label": "DB-IP account key",
|
|
355
|
+
"description": "The DB-IP account key of a paid subscription. Not used for ip-to-city-lite. See SETUP.md.",
|
|
356
|
+
"required": false,
|
|
357
|
+
"acceptedCredentialTypes": [
|
|
358
|
+
"Text"
|
|
359
|
+
],
|
|
360
|
+
"credentialSchema": {
|
|
361
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
362
|
+
"type": "object",
|
|
363
|
+
"properties": {
|
|
364
|
+
"type": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"const": "Text"
|
|
367
|
+
},
|
|
368
|
+
"value": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"minLength": 1
|
|
371
|
+
},
|
|
372
|
+
"allowedUrlPatterns": {
|
|
373
|
+
"type": "array",
|
|
374
|
+
"items": {
|
|
375
|
+
"type": "string"
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"required": [
|
|
380
|
+
"type",
|
|
381
|
+
"value"
|
|
382
|
+
],
|
|
383
|
+
"additionalProperties": false
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"iconExt": "svg",
|
|
388
|
+
"description": "Poll a DB-IP CSV GeoIP export, decompose IP ranges into CIDR blocks, and populate a State Table.",
|
|
389
|
+
"datasetKind": "state"
|
|
320
390
|
},
|
|
321
391
|
{
|
|
322
392
|
"kind": "duo-security",
|
|
@@ -410,7 +480,8 @@
|
|
|
410
480
|
}
|
|
411
481
|
],
|
|
412
482
|
"iconExt": "svg",
|
|
413
|
-
"description": "Poll Duo Admin API authentication, telephony, and activity logs plus optional user inventory."
|
|
483
|
+
"description": "Poll Duo Admin API authentication, telephony, and activity logs plus optional user inventory.",
|
|
484
|
+
"datasetKind": "event"
|
|
414
485
|
},
|
|
415
486
|
{
|
|
416
487
|
"kind": "gcp-pubsub",
|
|
@@ -498,7 +569,8 @@
|
|
|
498
569
|
}
|
|
499
570
|
],
|
|
500
571
|
"iconExt": "svg",
|
|
501
|
-
"description": "Consume messages from a GCP Pub/Sub subscription."
|
|
572
|
+
"description": "Consume messages from a GCP Pub/Sub subscription.",
|
|
573
|
+
"datasetKind": "event"
|
|
502
574
|
},
|
|
503
575
|
{
|
|
504
576
|
"kind": "google-workspace",
|
|
@@ -672,7 +744,8 @@
|
|
|
672
744
|
}
|
|
673
745
|
],
|
|
674
746
|
"iconExt": "svg",
|
|
675
|
-
"description": "Polls Google Workspace audit logs from the Admin SDK Reports API for multiple Workspace apps in one connector."
|
|
747
|
+
"description": "Polls Google Workspace audit logs from the Admin SDK Reports API for multiple Workspace apps in one connector.",
|
|
748
|
+
"datasetKind": "event"
|
|
676
749
|
},
|
|
677
750
|
{
|
|
678
751
|
"kind": "microsoft-defender-vulnerability",
|
|
@@ -737,7 +810,8 @@
|
|
|
737
810
|
}
|
|
738
811
|
],
|
|
739
812
|
"iconExt": "svg",
|
|
740
|
-
"description": "Poll Microsoft Defender Vulnerability Management software vulnerability change events (new, updated, and fixed) per device."
|
|
813
|
+
"description": "Poll Microsoft Defender Vulnerability Management software vulnerability change events (new, updated, and fixed) per device.",
|
|
814
|
+
"datasetKind": "event"
|
|
741
815
|
},
|
|
742
816
|
{
|
|
743
817
|
"kind": "microsoft-graph-security",
|
|
@@ -828,7 +902,8 @@
|
|
|
828
902
|
}
|
|
829
903
|
],
|
|
830
904
|
"iconExt": "svg",
|
|
831
|
-
"description": "Poll Microsoft Defender findings and Microsoft security posture from Microsoft Graph."
|
|
905
|
+
"description": "Poll Microsoft Defender findings and Microsoft security posture from Microsoft Graph.",
|
|
906
|
+
"datasetKind": "event"
|
|
832
907
|
},
|
|
833
908
|
{
|
|
834
909
|
"kind": "office-365-audit",
|
|
@@ -934,7 +1009,8 @@
|
|
|
934
1009
|
}
|
|
935
1010
|
],
|
|
936
1011
|
"iconExt": "svg",
|
|
937
|
-
"description": "Polls the Office 365 Management Activity API for unified audit logs (Exchange, SharePoint, Azure AD, General, DLP). Only one connector instance per tenant should enable a given workload — Microsoft allows one subscription per content type per tenant."
|
|
1012
|
+
"description": "Polls the Office 365 Management Activity API for unified audit logs (Exchange, SharePoint, Azure AD, General, DLP). Only one connector instance per tenant should enable a given workload — Microsoft allows one subscription per content type per tenant.",
|
|
1013
|
+
"datasetKind": "event"
|
|
938
1014
|
},
|
|
939
1015
|
{
|
|
940
1016
|
"kind": "one-password",
|
|
@@ -1017,7 +1093,8 @@
|
|
|
1017
1093
|
}
|
|
1018
1094
|
],
|
|
1019
1095
|
"iconExt": "svg",
|
|
1020
|
-
"description": "Polls 1Password Events API v2 for sign-in attempts, item usages, and audit events."
|
|
1096
|
+
"description": "Polls 1Password Events API v2 for sign-in attempts, item usages, and audit events.",
|
|
1097
|
+
"datasetKind": "event"
|
|
1021
1098
|
},
|
|
1022
1099
|
{
|
|
1023
1100
|
"kind": "proofpoint-tap",
|
|
@@ -1104,7 +1181,8 @@
|
|
|
1104
1181
|
}
|
|
1105
1182
|
],
|
|
1106
1183
|
"iconExt": "svg",
|
|
1107
|
-
"description": "Poll Proofpoint TAP SIEM API message and click threat events."
|
|
1184
|
+
"description": "Poll Proofpoint TAP SIEM API message and click threat events.",
|
|
1185
|
+
"datasetKind": "event"
|
|
1108
1186
|
},
|
|
1109
1187
|
{
|
|
1110
1188
|
"kind": "slack-audit",
|
|
@@ -1171,7 +1249,8 @@
|
|
|
1171
1249
|
}
|
|
1172
1250
|
],
|
|
1173
1251
|
"iconExt": "svg",
|
|
1174
|
-
"description": "Polls Slack Enterprise Grid Audit Logs API and optional org-wide Admin API inventory."
|
|
1252
|
+
"description": "Polls Slack Enterprise Grid Audit Logs API and optional org-wide Admin API inventory.",
|
|
1253
|
+
"datasetKind": "event"
|
|
1175
1254
|
},
|
|
1176
1255
|
{
|
|
1177
1256
|
"kind": "slack",
|
|
@@ -1266,7 +1345,8 @@
|
|
|
1266
1345
|
}
|
|
1267
1346
|
],
|
|
1268
1347
|
"iconExt": "svg",
|
|
1269
|
-
"description": "Polls Slack Web API for messages, access logs, and workspace inventory snapshots."
|
|
1348
|
+
"description": "Polls Slack Web API for messages, access logs, and workspace inventory snapshots.",
|
|
1349
|
+
"datasetKind": "event"
|
|
1270
1350
|
}
|
|
1271
1351
|
]
|
|
1272
1352
|
}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export declare const zConnectorIconExtension: z.ZodEnum<{
|
|
|
15
15
|
svg: "svg";
|
|
16
16
|
png: "png";
|
|
17
17
|
}>;
|
|
18
|
+
export declare const zConnectorDatasetKind: z.ZodEnum<{
|
|
19
|
+
event: "event";
|
|
20
|
+
state: "state";
|
|
21
|
+
}>;
|
|
18
22
|
export type ConnectorIconExtension = z.infer<typeof zConnectorIconExtension>;
|
|
19
23
|
export declare const connectorRegistryCredentialSlotSchema: z.ZodObject<{
|
|
20
24
|
id: z.ZodString;
|
|
@@ -60,6 +64,10 @@ export declare const connectorRegistryEntrySchema: z.ZodObject<{
|
|
|
60
64
|
png: "png";
|
|
61
65
|
}>>;
|
|
62
66
|
description: z.ZodOptional<z.ZodString>;
|
|
67
|
+
datasetKind: z.ZodDefault<z.ZodEnum<{
|
|
68
|
+
event: "event";
|
|
69
|
+
state: "state";
|
|
70
|
+
}>>;
|
|
63
71
|
}, z.core.$strip>;
|
|
64
72
|
export declare const connectorRegistryManifestSchema: z.ZodObject<{
|
|
65
73
|
connectors: z.ZodArray<z.ZodObject<{
|
|
@@ -93,6 +101,10 @@ export declare const connectorRegistryManifestSchema: z.ZodObject<{
|
|
|
93
101
|
png: "png";
|
|
94
102
|
}>>;
|
|
95
103
|
description: z.ZodOptional<z.ZodString>;
|
|
104
|
+
datasetKind: z.ZodDefault<z.ZodEnum<{
|
|
105
|
+
event: "event";
|
|
106
|
+
state: "state";
|
|
107
|
+
}>>;
|
|
96
108
|
}, z.core.$strip>>;
|
|
97
109
|
}, z.core.$strip>;
|
|
98
110
|
export type ConnectorRegistryCredentialSlot = z.infer<typeof connectorRegistryCredentialSlotSchema>;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,mBAAmB,4CAA4C,CAAA;AAE5E,2FAA2F;AAC3F,eAAO,MAAM,wBAAwB;;;;;EAKnC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE9E,eAAO,MAAM,4BAA4B,eAAe,CAAA;AAExD,8FAA8F;AAC9F,eAAO,MAAM,sBAAsB,QAAyB,CAAA;AAU5D,eAAO,MAAM,uBAAuB;;;EAAyB,CAAA;AAE7D,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE5E,eAA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rD,IAAI,IAAI,sBAAsB,EAAE,CAAA;IAChC,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;CAC3B;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,MAAM,GACX,yBAAyB,CAG3B;AAED,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,yBAAyB,GAClC,iBAAiB,CASnB"}
|
package/dist/schemas.js
CHANGED
|
@@ -14,6 +14,7 @@ const jsonSchemaObjectSchema = z
|
|
|
14
14
|
.record(z.string(), z.unknown())
|
|
15
15
|
.refine((value) => typeof value === "object" && value !== null && !Array.isArray(value), { message: "settingsSchema must be a JSON object" });
|
|
16
16
|
export const zConnectorIconExtension = z.enum(["svg", "png"]);
|
|
17
|
+
export const zConnectorDatasetKind = z.enum(["event", "state"]);
|
|
17
18
|
export const connectorRegistryCredentialSlotSchema = z.object({
|
|
18
19
|
id: z.string().min(1),
|
|
19
20
|
label: z.string().min(1),
|
|
@@ -35,6 +36,7 @@ export const connectorRegistryEntrySchema = z.object({
|
|
|
35
36
|
credentials: z.array(connectorRegistryCredentialSlotSchema).default([]),
|
|
36
37
|
iconExt: zConnectorIconExtension.optional(),
|
|
37
38
|
description: z.string().optional(),
|
|
39
|
+
datasetKind: zConnectorDatasetKind.default("event"),
|
|
38
40
|
});
|
|
39
41
|
export const connectorRegistryManifestSchema = z.object({
|
|
40
42
|
connectors: z.array(connectorRegistryEntrySchema).min(1),
|
package/dist/schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,mBAAmB,GAAG,yCAAyC,CAAA;AAE5E,2FAA2F;AAC3F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,MAAM;IACN,yBAAyB;IACzB,SAAS;I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