@perpetualsystems/connector-registry 202611.24.1 → 202612.2.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.
@@ -18,6 +18,6 @@
18
18
  "setup-docs/one-password.md": "Source: https://docs.perpetualsystems.com/setup-docs/one-password/\n\n# 1Password connector setup\n\nPolls the [1Password Events API](https://developer.1password.com/docs/events-api/) for sign-in attempts, item usages, and audit events.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| 1Password plan | **Business** or **Enterprise** |\n| Admin access | Account administrator who can create Events Reporting integrations |\n\n---\n\n## 1. Create an Events Reporting integration\n\n1. Sign in to [1Password.com](https://1password.com) as an administrator.\n2. Open **Integrations** in the sidebar. If you already have integrations, open **Directory** first.\n3. Under **Events Reporting**, choose **Other** (or your SIEM vendor if listed).\n4. Enter an integration name (e.g. `Perpetual 1Password`) and click **Add Integration**.\n\n<!-- screenshot: 1Password Events Reporting — Add integration -->\n\n### Issue a bearer token\n\n1. On the integration, click **Add a token** (or issue the first token during setup).\n2. Set a **Token name** (e.g. `Perpetual`).\n3. Choose **Expires After** (many teams use **Never**; shorter expiry requires rotation).\n4. Under **Events to Report**, enable the streams you plan to collect in Perpetual:\n - Sign-in attempts\n - Item usages\n - Audit events\n5. Click **Issue Token**, then **Save in 1Password** to store the token in a vault.\n6. Copy the bearer token value. You will paste it into Perpetual as a Text credential.\n\n<!-- screenshot: 1Password — Issue token with event scopes -->\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. `one_password`). |\n| **Allowed URL patterns** | `*.1password.com`, `*.1password.eu`, `*.1password.ca` |\n| **Value** | Bearer token from step 1 |\n\n4. Save the credential.\n\n\n---\n\n## 3. Create the 1Password connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **1Password**.\n3. **Connector name:** unique identifier (letters, numbers, underscores; becomes `connector.<name>`).\n4. **Space:** optional scope for the connector resource.\n5. **Configure:**\n - **1Password API access:** select the credential from step 2.\n - **Poll interval (minutes):** default `5`.\n - **Region:** `us`, `eu`, or `ca` — must match your 1Password account residency.\n - Enable only the streams your token is scoped for:\n\n| Setting | Default | API path | Notes |\n|---------|---------|----------|--------|\n| Sign-in attempts | On | `/api/v2/signinattempts` | Login success/failure, client, location |\n| Item usages | On | `/api/v2/itemusages` | Vault item views, copies, edits |\n| Audit events | On | `/api/v2/auditevents` | Vault, group, user, integration changes |\n\nAt least one stream must stay enabled.\n\n6. Optionally check **Deploy** to schedule the connector immediately after save.\n7. Save.\n\n\nFirst run backfills roughly the **last 24 hours** per enabled stream, then advances cursors on subsequent polls.\n\n---\n\n## Operational notes\n\n- **Token rotation:** Issue a new token in 1Password, update the Perpetual credential, then revoke the old token.\n- **Stream scope:** If a stream is enabled in Perpetual but not on the token, that stream will fail until you issue a new token with the missing event type.\n\n---\n\n## Reference\n\n- [1Password Events API — Get started](https://developer.1password.com/docs/events-api/get-started)\n- [1Password Events API — Authorization](https://developer.1password.com/docs/events-api/authorization)\n- [Events Reporting support guide](https://support.1password.com/events-reporting/)\n",
19
19
  "setup-docs/slack-audit.md": "Source: https://docs.perpetualsystems.com/setup-docs/slack-audit/\n\n# Slack Audit connector setup\n\nPolls the [Slack Audit Logs API](https://api.slack.com/admins/audit-logs-call) and, optionally, org-wide team inventory from the Admin API.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Slack plan | **Enterprise Grid** (or Enterprise Select) |\n| Slack app install | **Organization** (org-level app), not workspace-only |\n\n**Commercial Slack only.** This connector calls `slack.com` / `api.slack.com`. [GovSlack](https://slack.com/gov) uses separate endpoints and is not supported yet.\n\nUse the **Slack** connector (workspace install) for messages, access logs, and workspace inventory.\n\n---\n\n## 1. Create a Slack app\n\n1. Open the [Slack API apps dashboard](https://api.slack.com/apps) and sign in.\n2. **Create New App → From scratch**.\n3. Name the app (e.g. `Perpetual Slack Audit`) and pick any workspace in your org.\n4. Click **Create App**.\n\n<!-- screenshot: Slack \"Create New App\" dialog -->\n\n### OAuth scopes\n\n1. **User Token Scopes:** `auditlogs:read`\n2. **Bot Token Scopes:** `users:read` (required for org-level Enterprise Grid apps)\n3. **Features → Org Level Apps → Enable Org-Readiness**\n\nFor **Admin teams list**, also add user scope `admin.teams:read`.\n\n<!-- screenshot: Slack OAuth & Permissions — User Token Scopes and Org Level Apps -->\n\nAudit log access must be approved by an **Owner of the Enterprise organization** during OAuth consent.\n\n---\n\n## 2. Install the app on your organization\n\nFrom **Basic Information**, copy **Client ID** and **Client Secret**.\n\n1. **OAuth & Permissions → Redirect URLs:** add Perpetual’s OAuth redirect URI (from step 3).\n2. **Manage Distribution → Share Your App with Other Workspaces** → activate public distribution (remove hard-coded URLs if prompted).\n3. Open the shareable install link, choose your **organization** (not a single workspace), and allow the app.\n4. Complete OAuth via Perpetual’s **Connect** flow in step 3.\n\n<!-- screenshot: Slack org picker during org-level app install -->\n\n---\n\n## 3. 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 Authorization Code**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Unique identifier using letters, digits, and underscores only (e.g. `slack_audit`). |\n| **Allowed URL patterns** | `*.slack.com` |\n| **Authorization URL** | `https://slack.com/oauth/v2/authorize` |\n| **Token URL** | `https://slack.com/api/oauth.v2.access` |\n| **Client ID / Client Secret** | From Slack **Basic Information** |\n| **User scopes** | `auditlogs:read` (add `admin.teams:read` if enabling Admin teams list) |\n| **Scopes** | Leave empty unless you also need bot scopes |\n\n4. Save the credential. Copy the **Redirect URI** into the Slack app’s **Redirect URLs** if needed.\n5. Click **Connect**, sign in as an **Enterprise org owner**, and approve. Status should show **Connected**.\n\n\n---\n\n## 4. Create the Slack Audit connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Slack Audit**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **Slack API access:** select the org-level credential from step 3.\n - **Poll interval (minutes):** default `5` for audit log polling. **Admin teams list** runs at most once per 24 hours.\n - Enable streams:\n\n| Setting | Default | Slack API | Notes |\n|---------|---------|-----------|--------|\n| Audit logs | On | `GET /audit/v1/logs` | Requires `auditlogs:read` and org-level install |\n| Admin teams list | Off | `admin.teams.list` | Requires `admin.teams:read` |\n\nAt least one stream must stay enabled.\n\n5. Optionally check **Deploy**, then save.\n\n\nFirst run backfills roughly the **last 24 hours** of audit events, then advances cursors on subsequent polls.\n\n---\n\n## Reference\n\n- [Slack Audit Logs API](https://api.slack.com/admins/audit-logs-call)\n- [Using the Audit Logs API](https://api.slack.com/admins/audit-logs)\n",
20
20
  "setup-docs/slack.md": "Source: https://docs.perpetualsystems.com/setup-docs/slack/\n\n# Slack connector setup\n\nPolls the [Slack Web API](https://api.slack.com/web) for workspace messages, access logs, and daily inventory snapshots.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Slack plan | Free, Pro, Business+, or Enterprise Grid |\n| Slack app install | **Workspace** install (Install to Workspace) |\n\n**Commercial Slack only.** This connector calls `slack.com` / `api.slack.com`. [GovSlack](https://slack.com/gov) uses separate endpoints and is not supported yet.\n\nFor Enterprise Grid **audit logs**, use the separate **Slack Audit** connector with an org-level Slack app.\n\n---\n\n## 1. Create a Slack app\n\n1. Open the [Slack API apps dashboard](https://api.slack.com/apps) and sign in.\n2. **Create New App → From scratch**.\n3. Name the app (e.g. `Perpetual Slack`) and select the **workspace** you want to monitor.\n4. Click **Create App**.\n\n<!-- screenshot: Slack \"Create New App\" dialog -->\n\n### OAuth scopes\n\nIn the app, go to **OAuth & Permissions → Scopes → User Token Scopes** (not Bot Token Scopes) and add the scopes needed for the streams you will enable.\n\n| Stream(s) in Perpetual | User token scopes |\n|------------------------|-------------------|\n| Messages, Conversations list | `channels:read`, `channels:history` |\n| Access logs | `admin` |\n| Team info | `team:read` |\n| Users list | `users:read`, `users:read.email` |\n| Billable info | `admin` |\n\n**Typical bundle:** \n`admin`, `team:read`, `users:read`, `users:read.email`, `channels:read`, `channels:history`\n\n![Slack OAuth & Permissions — User Token Scopes list](./setup/user-token-scopes.png)\n\nSave changes.\n\n---\n\n## 2. Install the Slack app and copy the token\n\n1. **Install App → Install to Workspace** and approve the scopes.\n2. On **OAuth & Permissions**, copy the **User OAuth Token** (`xoxp-…`). You will paste this into Perpetual as a Text credential.\n\n<!-- screenshot: Slack OAuth & Permissions — User OAuth Token after install -->\n\n---\n\n## 3. 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. `slack`). |\n| **Allowed URL patterns** | `*.slack.com` |\n| **Value** | User OAuth Token from step 2 (`xoxp-…`) |\n\n4. Save the credential.\n\n\n---\n\n## 4. Create the Slack connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Slack**.\n3. **Connector name:** unique identifier (letters, numbers, underscores; becomes `connector.<name>`).\n4. **Space:** optional scope for the connector resource.\n5. **Configure:**\n - **Slack API access:** select the credential from step 3.\n - **Poll interval (minutes):** default `5`. Controls incremental streams (messages, access logs). Snapshot streams (team info, users list, etc.) run at most once per 24 hours regardless of interval.\n - Enable only the streams you scoped for:\n\n| Setting | Default | Slack API | Notes |\n|---------|---------|-----------|--------|\n| Messages | On | `conversations.list`, `conversations.history`, `conversations.replies` | **Public channels only.** No private channels, DMs, or archived channels. |\n| Access logs | On | `team.accessLogs` | Workspace login events |\n| Team info | On | `team.info` | Daily snapshot |\n| Users list | On | `users.list` | Daily paginated roster |\n| Conversations list | On | `conversations.list` | Daily public channel metadata |\n| Billable info | On | `team.billableInfo` | Daily seat counts |\n\nAt least one stream must stay enabled.\n\n6. Optionally check **Deploy** to schedule the connector immediately after save.\n7. Save.\n\n\nFirst run backfills roughly the **last 24 hours** for time-based streams, then advances cursors on subsequent polls.\n\n---\n\n## Operational notes\n\n- **Rate limits:** Message collection walks every non-archived channel each poll. Large workspaces can exceed [Tier 3 limits](https://api.slack.com/docs/rate-limits) (50+ calls/minute); polls may span multiple invocations. Archive unused channels in Slack.\n- **Multiple workspaces:** Create a separate Slack app, credential, and connector per workspace you monitor.\n\n---\n\n## Reference\n\n- [Slack Web API](https://api.slack.com/web)\n- [Slack API rate limits](https://api.slack.com/docs/rate-limits)\n",
21
- "setup-docs/threatfox.md": "Source: https://docs.perpetualsystems.com/setup-docs/threatfox/\n\n# abuse.ch ThreatFox connector setup\n\nSyncs [abuse.ch ThreatFox](https://threatfox.abuse.ch/) indicators of compromise\n(IOCs) into a Lookup. Use the Lookup to match IP addresses, domains, URLs, and\nfile hashes in network, DNS, proxy, and EDR events. Each IOC has a malware\nfamily and a confidence level.\n\n## Licence\n\nCommercial use of ThreatFox can require a Spamhaus subscription. Read the\nabuse.ch Terms of Use, section 4, before you use this connector.\n\n- [abuse.ch Terms of Use](https://abuse.ch/terms-of-use/)\n\nPerpetual does not supply a key and does not include ThreatFox data. You create\nyour own abuse.ch `Auth-Key` and you accept the abuse.ch terms. The data goes\nfrom abuse.ch to your environment.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| abuse.ch account | A free account at [auth.abuse.ch](https://auth.abuse.ch/) |\n| abuse.ch `Auth-Key` | The key of your account (see step 1) |\n\n---\n\n## 1. Get an Auth-Key\n\n1. Sign in at [auth.abuse.ch](https://auth.abuse.ch/).\n2. Create an **Auth-Key** (or copy the key that you have).\n3. Keep the key secret. The connector sends the key to abuse.ch only.\n\n---\n\n## 2. Perpetual credential\n\n1. In Perpetual, open **Settings -> Credentials -> New Credential**.\n2. Choose **Text**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Letters, digits, and underscores only (e.g. `abusech_threatfox`). |\n| **Allowed URL patterns** | `https://threatfox-api.abuse.ch/*` |\n| **Value** | The Auth-Key from step 1 |\n\n---\n\n## 3. Create the connector\n\n1. Go to **Datasets -> Connectors -> Create Connector**.\n2. Select **abuse.ch ThreatFox**.\n3. Configure:\n - **abuse.ch Auth-Key:** the credential from step 2.\n - **Poll interval (minutes):** `60` is a good start.\n - **Full sweep interval (hours):** default `24`.\n - **Minimum confidence:** default `0`. An IOC with a lower confidence level\n is not added to the Lookup. Use a value from 0 to 100.\n\n### How the sync works\n\n- **Full sweep.** The first run, and the first run after **Full sweep interval**\n hours, downloads the ThreatFox export of all IOCs that are not expired and\n replaces the Lookup. ThreatFox expires IOCs that are older than 6 months, so a\n full sweep removes them from the Lookup. The export is built once a day, so\n after the export the full sweep also asks the ThreatFox API for the IOCs that\n were first seen after the newest IOC of the export (with a 5-minute overlap),\n and adds them in the same replace. A large sweep can need more than one run.\n Each run continues where the last one stopped.\n- **Delta.** The other runs ask the ThreatFox API for the IOCs that were first\n seen since the last run (with a 5-minute overlap), and add them. A delta does\n not change IOCs that ThreatFox updated after it first listed them. The next\n full sweep brings those changes. A delta does not remove IOCs.\n- A cursor that is more than 7 days old (the API limit) starts a full sweep.\n- **Restarts.** When a run continues an open full sweep and the export changed,\n the sweep starts again. After 3 restarts the run fails. Re-create the Lookup\n to clear it.\n\n---\n\n## 4. Create the Lookup\n\nCreate a Lookup named `threatfox_iocs` on the connector, with key column\n`source_id` and this query:\n\n```\nFROM source\n| SET source_id = state.id\n| SET r = parse_json(state.original)\n| SET ioc = r.ioc AS string\n| SET ioc_type = r.ioc_type AS string\n| SET threat_type = r.threat_type AS string\n| SET malware = r.malware_printable AS string\n| SET confidence_level = r.confidence_level AS int\n| SET first_seen = r.first_seen AS string\n| SET last_seen = r.last_seen AS string\n| DROP r\n```\n\n`source_id` is the ThreatFox IOC ID. `ioc_type` is one of `domain`, `url`,\n`ip:port`, `md5_hash`, `sha1_hash`, or `sha256_hash`.\n\n### Use the Lookup with events\n\nThe name of the field depends on the log source. Read the value from the raw\nevent and join it on `ioc`.\n\nDomains (for example in DNS or proxy events):\n\n```\nFROM <your dns or proxy dataset>\n| SET r = parse_json(event.original)\n| SET domain = r.<domain field> AS string\n| LOOKUP lookups.threatfox_iocs ON domain == ioc\n```\n\nURLs and file hashes use the same form, with the URL or the hash in the field\non the left of `==`. Use the lowercase hex form of a hash.\n\nIP addresses: an IOC of type `ip:port` has the form `1.2.3.4:443` in `ioc`, so\na join on an IP address alone does not match it. The join matches only the full\n`ip:port` text.\n\n---\n\n## Errors\n\n| Message | What to do |\n|---------|------------|\n| `The abuse.ch Auth-Key is not valid...` | Check the credential value. Get a key at [auth.abuse.ch](https://auth.abuse.ch/). |\n| `Credential slot \"api\" is not allowed for ...` | Set **Allowed URL patterns** of the credential to `https://threatfox-api.abuse.ch/*`. |\n| `ThreatFox export has no column header with ioc_id, ioc_value, and ioc_type` | abuse.ch changed the export format. Report this to Perpetual. |\n| `ThreatFox export zip has no .csv entry` | abuse.ch changed the export format. Report this to Perpetual. |\n| `ThreatFox full sweep restarted 3 times...` | The export changed during each try. Re-create the Lookup. |\n| `ThreatFox request failed with HTTP N` | abuse.ch returned an unexpected error. The next run tries again. |\n| `ThreatFox rate limit reached after 3 waits` | The next run tries again. If the error repeats, increase the poll interval. |\n\n---\n\n## Lambda memory\n\nThe connector reads the export as a stream and needs little memory. The\nregistry sets the Lambda memory to 512 MB. The export file goes to the temporary\ndisk of the Lambda (512 MB by default) before it is read.\n\n---\n\n## Reference\n\n- [ThreatFox API](https://threatfox.abuse.ch/api/)\n- [ThreatFox export](https://threatfox.abuse.ch/export/)\n- [abuse.ch Terms of Use](https://abuse.ch/terms-of-use/)\n",
21
+ "setup-docs/threatfox.md": "Source: https://docs.perpetualsystems.com/setup-docs/threatfox/\n\n# abuse.ch ThreatFox connector setup\n\nSyncs [abuse.ch ThreatFox](https://threatfox.abuse.ch/) indicators of compromise\n(IOCs) into a Lookup. Use the Lookup to match IP addresses, domains, URLs, and\nfile hashes in network, DNS, proxy, and EDR events. Each IOC has a malware\nfamily and a confidence level.\n\n## Licence\n\nCommercial use of ThreatFox can require a Spamhaus subscription. Read the\nabuse.ch Terms of Use, section 4, before you use this connector.\n\n- [abuse.ch Terms of Use](https://abuse.ch/terms-of-use/)\n\nPerpetual does not supply a key and does not include ThreatFox data. You create\nyour own abuse.ch `Auth-Key` and you accept the abuse.ch terms. The data goes\nfrom abuse.ch to your environment.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| abuse.ch account | A free account at [auth.abuse.ch](https://auth.abuse.ch/) |\n| abuse.ch `Auth-Key` | The key of your account (see step 1) |\n\n---\n\n## 1. Get an Auth-Key\n\n1. Sign in at [auth.abuse.ch](https://auth.abuse.ch/).\n2. Create an **Auth-Key** (or copy the key that you have).\n3. Keep the key secret. The connector sends the key to abuse.ch only.\n\n---\n\n## 2. Perpetual credential\n\n1. In Perpetual, open **Settings -> Credentials -> New Credential**.\n2. Choose **Text**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Letters, digits, and underscores only (e.g. `abusech_threatfox`). |\n| **Allowed URL patterns** | `https://threatfox-api.abuse.ch/*` |\n| **Value** | The Auth-Key from step 1 |\n\n---\n\n## 3. Create the connector\n\n1. Go to **Datasets -> Connectors -> Create Connector**.\n2. Select **abuse.ch ThreatFox**.\n3. Configure:\n - **abuse.ch Auth-Key:** the credential from step 2.\n - **Poll interval (minutes):** `60` is a good start.\n - **Full sweep interval (hours):** default `24`.\n - **Minimum confidence:** default `0`. An IOC with a lower confidence level\n is not added to the Lookup. Use a value from 0 to 100.\n\n### How the sync works\n\n- **Full sweep.** The first run, and the first run after **Full sweep interval**\n hours, downloads the ThreatFox export of all IOCs that are not expired and\n replaces the Lookup. ThreatFox expires IOCs that are older than 6 months, so a\n full sweep removes them from the Lookup. ThreatFox builds the export once per\n hour. The IOCs that were first seen after the export was built are not in the\n full sweep. The next delta adds them. The Lookup does not have them until a\n delta succeeds. A rate-limited or failed delta can delay this past one\n **Poll interval**. A large sweep can need more than one run. Each run\n continues where the last one stopped, when the export did not change (see\n **Restarts**).\n- **Delta.** The other runs ask the ThreatFox API for the IOCs that were first\n seen since the last run (with a 5-minute overlap), and add them. A delta does\n not change IOCs that ThreatFox updated after it first listed them. The next\n full sweep brings those changes. A delta does not remove IOCs.\n- A cursor that is more than 7 days old (the API limit) starts a full sweep.\n- **Restarts.** When a run continues an open full sweep and the export changed,\n the sweep starts again. After 3 restarts the run fails. Re-create the Lookup\n to clear it.\n\n---\n\n## 4. Create the Lookup\n\nCreate a Lookup named `threatfox_iocs` on the connector, with key column\n`source_id` and this query:\n\n```\nFROM source\n| SET source_id = state.id\n| SET r = parse_json(state.original)\n| SET ioc = r.ioc AS string\n| SET ioc_type = r.ioc_type AS string\n| SET threat_type = r.threat_type AS string\n| SET malware = r.malware_printable AS string\n| SET confidence_level = r.confidence_level AS int\n| SET first_seen = r.first_seen AS string\n| SET last_seen = r.last_seen AS string\n| DROP r\n```\n\n`source_id` is the ThreatFox IOC ID. `ioc_type` is one of `domain`, `url`,\n`ip:port`, `md5_hash`, `sha1_hash`, or `sha256_hash`.\n\n### Use the Lookup with events\n\nThe name of the field depends on the log source. Read the value from the raw\nevent and join it on `ioc`.\n\nDomains (for example in DNS or proxy events):\n\n```\nFROM <your dns or proxy dataset>\n| SET r = parse_json(event.original)\n| SET domain = r.<domain field> AS string\n| LOOKUP lookups.threatfox_iocs ON domain == ioc\n```\n\nURLs and file hashes use the same form, with the URL or the hash in the field\non the left of `==`. Use the lowercase hex form of a hash.\n\nIP addresses: an IOC of type `ip:port` has the form `1.2.3.4:443` in `ioc`, so\na join on an IP address alone does not match it. The join matches only the full\n`ip:port` text.\n\n---\n\n## Errors\n\n| Message | What to do |\n|---------|------------|\n| `The abuse.ch Auth-Key is not valid...` | Check the credential value. Get a key at [auth.abuse.ch](https://auth.abuse.ch/). |\n| `Credential slot \"api\" is not allowed for ...` | Set **Allowed URL patterns** of the credential to `https://threatfox-api.abuse.ch/*`. |\n| `ThreatFox export has no column header with ioc_id, ioc_value, and ioc_type` | abuse.ch changed the export format. Report this to Perpetual. |\n| `ThreatFox export zip has no .csv entry` | abuse.ch changed the export format. Report this to Perpetual. |\n| `ThreatFox full sweep restarted 3 times...` | The export changed during each try. Re-create the Lookup. |\n| `ThreatFox request failed with HTTP N` | abuse.ch returned an unexpected error. The next run tries again. |\n| `ThreatFox rate limit reached after 3 waits` | The next run tries again. If the error repeats, increase the poll interval. |\n\n---\n\n## Lambda memory\n\nThe connector reads the export as a stream and needs little memory. The\nregistry sets the Lambda memory to 512 MB. The export file goes to the temporary\ndisk of the Lambda (512 MB by default) before it is read.\n\n---\n\n## Reference\n\n- [ThreatFox API](https://threatfox.abuse.ch/api/)\n- [ThreatFox export](https://threatfox.abuse.ch/export/)\n- [abuse.ch Terms of Use](https://abuse.ch/terms-of-use/)\n",
22
22
  "setup-docs/tor-exit-nodes.md": "Source: https://docs.perpetualsystems.com/setup-docs/tor-exit-nodes/\n\n# Tor Exit Nodes connector setup\n\nSyncs the [Tor Project bulk exit list](https://check.torproject.org/torbulkexitlist)\ninto a Lookup. Use the Lookup to find sign-ins and admin actions that come from\nthe Tor network.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Credential | None. The list is public. |\n| Settings | None. |\n| Allowed URL patterns | Not used. The connector has no credential. |\n\n---\n\n## 1. Create the connector\n\n1. Go to **Datasets -> Connectors -> Create Connector**.\n2. Select **Tor Exit Nodes**.\n3. Set **Poll interval (minutes):** `30`. The list changes many times each day.\n\n### How the sync works\n\n- Each run downloads the list. When the list did not change, the run sends\n nothing and the Lookup keeps its rows.\n- When the list changed, the run sends the whole list as one replace batch. The\n Lookup then has exactly the IP addresses of the list, so addresses that left\n the list are removed.\n- The run fails, and the Lookup keeps its rows, when a line of the list is not\n an IP address or when the list is empty.\n\n---\n\n## 2. Create the Lookup\n\nCreate a Lookup named `tor_exit_nodes` on the connector, with key column\n`source_id` and this query:\n\n```\nFROM source\n| SET source_id = state.id\n| SET ip = state.id\n```\n\n`source_id` is the IP address of the exit node, in IPv4 or IPv6 text form.\n\n### Use the Lookup with sign-in events\n\n1Password sign-in attempt events carry the IP address of the client in\n`client.ip_address`. For example:\n\n```\nFROM 1password.signinAttempts\n| SET r = parse_json(event.original)\n| SET source_ip = r.client.ip_address AS string\n| LOOKUP lookups.tor_exit_nodes ON source_ip == source_id\n```\n\nRows that match come from a Tor exit node.\n\n---\n\n## Errors\n\n| Message | What to do |\n|---------|------------|\n| `Tor exit list line N is not an IP address...` | The response was not the exit list (for example, a block page). The next run tries again. If the error repeats, check that your network can reach `check.torproject.org`. |\n| `Tor exit list is empty` | The Tor Project returned an empty list. The next run tries again. |\n| `Tor Project request failed with HTTP N` | The Tor Project returned an unexpected error. The next run tries again. |\n\n---\n\n## Reference\n\n- [Tor bulk exit list](https://check.torproject.org/torbulkexitlist)\n"
23
23
  }
@@ -208,7 +208,7 @@
208
208
  {
209
209
  "kind": "crowdstrike",
210
210
  "displayName": "CrowdStrike",
211
- "ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/crowdstrike:0.0.16",
211
+ "ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/crowdstrike:0.0.17",
212
212
  "connectorType": "polling",
213
213
  "settingsSchema": {
214
214
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -1607,7 +1607,7 @@
1607
1607
  {
1608
1608
  "kind": "threatfox",
1609
1609
  "displayName": "abuse.ch ThreatFox",
1610
- "ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/threatfox:0.0.1",
1610
+ "ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/threatfox:0.0.2",
1611
1611
  "connectorType": "polling",
1612
1612
  "settingsSchema": {
1613
1613
  "$schema": "http://json-schema.org/draft-07/schema#",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perpetualsystems/connector-registry",
3
- "version": "202611.24.1",
3
+ "version": "202612.2.1",
4
4
  "description": "Built-in connector catalog manifest for Perpetual management plane",
5
5
  "type": "module",
6
6
  "exports": {