@perpetualsystems/connector-registry 202611.17.1 → 202611.17.2
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 +1 -0
- package/dist/build-registry.d.ts.map +1 -1
- package/dist/build-registry.js +5 -1
- package/dist/build-registry.js.map +1 -1
- package/dist/documentation.json +1 -1
- package/dist/manifest.json +3 -2
- package/dist/schemas.d.ts +4 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +3 -0
- package/dist/schemas.js.map +1 -1
- package/package.json +1 -1
package/dist/build-registry.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const defaultRepoRoot: string;
|
|
|
5
5
|
declare const perpetualRegistrySchema: z.ZodObject<{
|
|
6
6
|
displayName: z.ZodString;
|
|
7
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
+
lambdaMemoryMb: z.ZodOptional<z.ZodNumber>;
|
|
8
9
|
}, z.core.$strip>;
|
|
9
10
|
export type PerpetualRegistryMetadata = z.infer<typeof perpetualRegistrySchema>;
|
|
10
11
|
/** Default Perpetual connectors ECR registry (override with CONNECTORS_ECR_REGISTRY). */
|
|
@@ -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,EACL,KAAK,sBAAsB,EAE3B,KAAK,yBAAyB,
|
|
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,y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AM,CAAA;CAClB,GAAG,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAiB9C;AAED,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,SAAS,EAAE,OAAO,GACjB,mBAAmB,CAsBrB;AAED,wBAAsB,oBAAoB,CACxC,WAAW,EAAE,MAAM,EACnB,QAAQ,GAAE,MAAwB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAO9B;AAED,wBAAsB,8BAA8B,CAClD,QAAQ,GAAE,MAAwB,GACjC,OAAO,CAAC,yBAAyB,CAAC,CAiEpC;AAED,sFAAsF;AACtF,wBAAsB,0BAA0B,CAC9C,QAAQ,GAAE,MAAwB,GACjC,OAAO,CAAC,IAAI,CAAC,CAUf"}
|
package/dist/build-registry.js
CHANGED
|
@@ -3,7 +3,7 @@ import { dirname, join, resolve } from "node:path";
|
|
|
3
3
|
import { fileURLToPath, pathToFileURL } from "node:url";
|
|
4
4
|
import { isStreamingConnectorHandler, registryCredentialSlotsFromDefinition, } from "@perpetualsystems/connector-sdk";
|
|
5
5
|
import { z } from "zod";
|
|
6
|
-
import { connectorRegistryManifestSchema, } from "./schemas.js";
|
|
6
|
+
import { connectorRegistryManifestSchema, zLambdaMemoryMb, } from "./schemas.js";
|
|
7
7
|
import { assertConnectorKindValid, validateConnectorRegistry, } from "./validate.js";
|
|
8
8
|
const packageDir = dirname(fileURLToPath(import.meta.url));
|
|
9
9
|
export const defaultRepoRoot = resolve(packageDir, "../../..");
|
|
@@ -15,6 +15,7 @@ const PUBLISH_EXCLUDED_PACKAGES = new Set([
|
|
|
15
15
|
const perpetualRegistrySchema = z.object({
|
|
16
16
|
displayName: z.string().min(1),
|
|
17
17
|
description: z.string().optional(),
|
|
18
|
+
lambdaMemoryMb: zLambdaMemoryMb.optional(),
|
|
18
19
|
});
|
|
19
20
|
/** Default Perpetual connectors ECR registry (override with CONNECTORS_ECR_REGISTRY). */
|
|
20
21
|
export const DEFAULT_CONNECTORS_ECR_REGISTRY = "718287746078.dkr.ecr.us-east-2.amazonaws.com";
|
|
@@ -171,6 +172,9 @@ export async function buildConnectorRegistryManifest(repoRoot = defaultRepoRoot)
|
|
|
171
172
|
? { description: metadata.description }
|
|
172
173
|
: {}),
|
|
173
174
|
...(iconExt !== undefined ? { iconExt } : {}),
|
|
175
|
+
...(metadata.lambdaMemoryMb !== undefined
|
|
176
|
+
? { lambdaMemoryMb: metadata.lambdaMemoryMb }
|
|
177
|
+
: {}),
|
|
174
178
|
settingsSchema: settingsSchemaFromZod(handler.config),
|
|
175
179
|
credentials: registryCredentialSlotsFromDefinition(handler.credentials).map((slot) => {
|
|
176
180
|
const slotDef = handler.credentials[slot.id];
|
|
@@ -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,EAIL,+BAA+B,
|
|
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,2B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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,7 +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 both **Event streams** and **Detections**.\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\nThe screenshot shows **Event streams**; also enable **Detections → Read** before creating the client.\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- **Missing security events:** A connected stream receiving audit or API activity does not prove that detection and incident events are available. If detection-summary or incident events are missing, check that **Detections → Read** is enabled on the exact API client whose Client ID is saved in the Perpetual credential, in addition to **Event streams → Read**. Check the client in use, not another key in the same tenant.\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- [CrowdStrike API scopes](https://developer.crowdstrike.com/foundry/authorization/api-scopes/)\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
|
+
"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\n## Lambda memory\n\nThe connector Lambda uses 1024 MB of memory. Lambda CPU and network speed\nincrease with memory. The `ip-to-location-isp` file is larger than 3.9 GB, and\nthe download must finish in one run, so this product needs at least 1024 MB.\n\nTo change the memory of one connector, set `config.lambdaMemoryMb` in the\nconnector API request. The value is an integer from 128 to 10240 (MB).\n\nIf a run fails with a message that starts with\n`Increase the connector Lambda memory`, the download was too slow to finish\nbefore the run time limit. The connector stopped the download, and the next\nrun downloads the file again from the start. Increase `config.lambdaMemoryMb`\n(for example to 2048) so that the download finishes in one run.\n",
|
|
8
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",
|
|
9
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",
|
|
10
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",
|
package/dist/manifest.json
CHANGED
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
{
|
|
327
327
|
"kind": "dbip-csv",
|
|
328
328
|
"displayName": "DB-IP CSV GeoIP (CIDR)",
|
|
329
|
-
"ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/dbip-csv:0.0.
|
|
329
|
+
"ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/dbip-csv:0.0.15",
|
|
330
330
|
"connectorType": "polling",
|
|
331
331
|
"settingsSchema": {
|
|
332
332
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -386,7 +386,8 @@
|
|
|
386
386
|
],
|
|
387
387
|
"iconExt": "svg",
|
|
388
388
|
"description": "Poll a DB-IP CSV GeoIP export, decompose IP ranges into CIDR blocks, and populate a State Table.",
|
|
389
|
-
"datasetKind": "state"
|
|
389
|
+
"datasetKind": "state",
|
|
390
|
+
"lambdaMemoryMb": 1024
|
|
390
391
|
},
|
|
391
392
|
{
|
|
392
393
|
"kind": "duo-security",
|
package/dist/schemas.d.ts
CHANGED
|
@@ -19,6 +19,8 @@ export declare const zConnectorDatasetKind: z.ZodEnum<{
|
|
|
19
19
|
event: "event";
|
|
20
20
|
state: "state";
|
|
21
21
|
}>;
|
|
22
|
+
/** Connector Lambda memory in MB, within the AWS Lambda limits. */
|
|
23
|
+
export declare const zLambdaMemoryMb: z.ZodNumber;
|
|
22
24
|
export type ConnectorIconExtension = z.infer<typeof zConnectorIconExtension>;
|
|
23
25
|
export declare const connectorRegistryCredentialSlotSchema: z.ZodObject<{
|
|
24
26
|
id: z.ZodString;
|
|
@@ -68,6 +70,7 @@ export declare const connectorRegistryEntrySchema: z.ZodObject<{
|
|
|
68
70
|
event: "event";
|
|
69
71
|
state: "state";
|
|
70
72
|
}>>;
|
|
73
|
+
lambdaMemoryMb: z.ZodOptional<z.ZodNumber>;
|
|
71
74
|
}, z.core.$strip>;
|
|
72
75
|
export declare const connectorRegistryManifestSchema: z.ZodObject<{
|
|
73
76
|
connectors: z.ZodArray<z.ZodObject<{
|
|
@@ -105,6 +108,7 @@ export declare const connectorRegistryManifestSchema: z.ZodObject<{
|
|
|
105
108
|
event: "event";
|
|
106
109
|
state: "state";
|
|
107
110
|
}>>;
|
|
111
|
+
lambdaMemoryMb: z.ZodOptional<z.ZodNumber>;
|
|
108
112
|
}, z.core.$strip>>;
|
|
109
113
|
}, z.core.$strip>;
|
|
110
114
|
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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iBAkBvC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE1C,CAAA;AAEF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAA;AACD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAA;AACD,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAA;AAED,yDAAyD;AACzD,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,sBAAsB,GAAG,SAAS,CAAA;IACrD,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
|
@@ -15,6 +15,8 @@ const jsonSchemaObjectSchema = z
|
|
|
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
17
|
export const zConnectorDatasetKind = z.enum(["event", "state"]);
|
|
18
|
+
/** Connector Lambda memory in MB, within the AWS Lambda limits. */
|
|
19
|
+
export const zLambdaMemoryMb = z.number().int().min(128).max(10240);
|
|
18
20
|
export const connectorRegistryCredentialSlotSchema = z.object({
|
|
19
21
|
id: z.string().min(1),
|
|
20
22
|
label: z.string().min(1),
|
|
@@ -37,6 +39,7 @@ export const connectorRegistryEntrySchema = z.object({
|
|
|
37
39
|
iconExt: zConnectorIconExtension.optional(),
|
|
38
40
|
description: z.string().optional(),
|
|
39
41
|
datasetKind: zConnectorDatasetKind.default("event"),
|
|
42
|
+
lambdaMemoryMb: zLambdaMemoryMb.optional(),
|
|
40
43
|
});
|
|
41
44
|
export const connectorRegistryManifestSchema = z.object({
|
|
42
45
|
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;IACT,eAAe;CAChB,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,4BAA4B,GAAG,YAAY,CAAA;AAExD,8FAA8F;AAC9F,MAAM,CAAC,MAAM,sBAAsB,GAAG,sBAAsB,CAAA;AAE5D,MAAM,sBAAsB,GAAG,CAAC;KAC7B,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;KAC/B,MAAM,CACL,CAAC,KAAK,EAAE,EAAE,CACR,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EACtE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CACpD,CAAA;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","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