@perpetualsystems/connector-registry 202611.23.1 → 202611.23.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.
@@ -3,6 +3,7 @@
3
3
  "setup-docs/azure-event-hub.md": "Source: https://docs.perpetualsystems.com/setup-docs/azure-event-hub/\n\n# Azure Event Hubs connector setup\n\nConsumes events from an [Azure Event Hub](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about) via a consumer group. This is a **streaming** connector (long-running consumption, not scheduled polling).\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Event Hubs namespace | Active namespace with your event hub |\n| Event hub | Hub receiving events from your publishers |\n| Connection string | With **Listen** permission on the event hub |\n| Consumer group | Dedicated group recommended (default `$Default` works) |\n\n---\n\n## 1. Get Event Hub connection details\n\n1. Sign in to the [Azure portal](https://portal.azure.com/).\n2. Open your **Event Hubs Namespace** → **Event Hubs** → select your hub.\n3. Note the **Event hub name**.\n4. Under **Settings → Shared access policies**, create or open a policy with **Listen** claim.\n5. Copy the **Connection string–primary key** (or namespace-level connection string with Listen on this hub).\n\n<!-- screenshot: Azure portal — Event Hub shared access policy with Listen -->\n\n### Consumer group (recommended)\n\n1. In the event hub, open **Consumer groups**.\n2. Add a dedicated group (e.g. `perpetual`) instead of sharing `$Default` with other consumers.\n\n<!-- screenshot: Azure portal — Event Hub consumer groups -->\n\nThe connection string embeds the namespace (`*.servicebus.windows.net`); you do not enter the namespace separately.\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. `azure_event_hub`). |\n| **Allowed URL patterns** | `*.servicebus.windows.net` |\n| **Value** | Event Hubs connection string from step 1 |\n\n4. Save the credential.\n\n\n---\n\n## 3. Create the Azure Event Hubs connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Azure Event Hubs**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **Event Hub connection string:** select the credential from step 2.\n - **Event Hub name:** hub name from step 1.\n - **Consumer group:** group to use (default `$Default`, or your dedicated group).\n\n5. Check **Deploy** to start the streaming connector after save.\n\n\nPartition checkpoints are stored automatically by the data plane (S3-backed). You do not configure checkpoint storage in the connector settings.\n\n---\n\n## Microsoft security sources\n\nUse Event Hubs for Microsoft security data that Microsoft exposes as append-only logs or event streams. This avoids timestamp-window polling and uses Event Hub partition offsets for bounded, resumable delivery.\n\nThe connector emits each Event Hub message as a raw JSON record. The original Microsoft payload remains under the record's `body`; Event Hub enqueue time, sequence number, and offset are retained alongside it.\n\n### Microsoft Entra diagnostic logs\n\nIn the Microsoft Entra admin center, open **Monitoring & health → Diagnostic settings**, add a diagnostic setting, and select **Stream to an event hub**. Route the required categories:\n\n| Perpetual data | Microsoft diagnostic category |\n|---|---|\n| Directory audit activity | `AuditLogs` |\n| Interactive user sign-ins | `SignInLogs` |\n| Non-interactive user sign-ins | `NonInteractiveUserSignInLogs` |\n| Service-principal sign-ins | `ServicePrincipalSignInLogs` |\n| Managed-identity sign-ins | `ManagedIdentitySignInLogs` |\n| Risky users | `RiskyUsers` |\n| User risk detections | `UserRiskEvents` |\n| Risky service principals | `RiskyServicePrincipals` |\n| Service-principal risk detections | `ServicePrincipalRiskEvents` |\n\nMicrosoft also supports categories such as `ProvisioningLogs` and `MicrosoftGraphActivityLogs`; enable them when those records are in scope. Available categories and licensing vary by tenant.\n\nUse Event Hub as the only ongoing collector for these categories. Running equivalent Microsoft Graph polling in parallel creates overlapping records with different raw schemas. Diagnostic export begins from the point it is enabled and should not be assumed to provide a historical snapshot of current risky identities.\n\nSee [Microsoft Entra logs available for streaming](https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-diagnostic-settings-logs-options) and [stream Microsoft Entra logs to Event Hubs](https://learn.microsoft.com/en-us/entra/identity/monitoring-health/howto-stream-logs-to-event-hub).\n\n### Microsoft Defender XDR event streaming\n\nIn the Microsoft Defender portal, configure **Streaming API** to send selected Advanced Hunting tables to the Event Hub. Supported tables include `AlertInfo`, `AlertEvidence`, device, email, identity, URL, and cloud-app event tables.\n\nThese events supplement the Microsoft Graph Security connector. `AlertInfo` and `AlertEvidence` are Advanced Hunting records, not the same objects as Graph `/security/alerts_v2`, and Event Streaming does not provide the same correlated `/security/incidents` resource.\n\nSee [Microsoft Defender XDR Event Streaming](https://learn.microsoft.com/en-us/defender-xdr/streaming-api) and [supported Event Streaming tables](https://learn.microsoft.com/en-us/defender-xdr/supported-event-types).\n\n### Delivery expectations\n\n- Event Hubs and the connector provide at-least-once delivery, not exactly-once delivery.\n- The connector flushes emitted records before updating the partition checkpoint. A crash after a successful flush but before checkpointing can replay the final uncommitted batch.\n- Use a dedicated consumer group for every Perpetual connector instance.\n- Prefer separate Event Hubs when sources require different retention, access, throughput, or dataset names.\n\n---\n\n## Operational notes\n\n- **Delivery semantics:** Events are emitted to Firehose, flushed, then checkpointed per partition. A flush failure does not advance the checkpoint.\n- **Multiple consumers:** Use a dedicated consumer group per downstream consumer to avoid partition stealing.\n- **Connection string rotation:** Update the shared access policy keys in Azure, then update the Perpetual credential.\n\n---\n\n## Reference\n\n- [Event Hubs documentation](https://learn.microsoft.com/en-us/azure/event-hubs/)\n- [Event Hubs consumer groups](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-features#consumer-groups)\n",
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![Falcon — Create API client with Event streams Read scope](./setup/crowdstrike-create-api-client.png)\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
+ "setup-docs/crowdstrike-hosts.md": "Source: https://docs.perpetualsystems.com/setup-docs/crowdstrike-hosts/\n\n# CrowdStrike Hosts connector setup\n\nSyncs the CrowdStrike Falcon host inventory from the\n[Hosts API](https://www.falconpy.io/Service-Collections/Hosts.html) into a\nLookup. Use the Lookup to add host context (hostname, IP, platform, last seen)\nto CrowdStrike events.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| CrowdStrike Falcon | Administrator access to create API clients |\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**.\n4. Enter a **Client name** and **Description** (e.g. `Perpetual Hosts`).\n5. Under **API scopes**, enable **Read** for **Hosts**.\n6. Click **Create**.\n7. Copy the **Client ID** and **Client secret**. The secret is shown only once.\n\nUse a dedicated API client for this connector, so that each credential has\nonly the scope its connector needs.\n\nNote the **Base URL** shown with your credentials. It tells you which cloud to\nselect in Perpetual.\n\n---\n\n## 2. Perpetual credential\n\n1. In Perpetual, open **Settings -> Credentials -> New Credential**.\n2. Choose **OAuth 2.0 Client Credentials**.\n3. Fill in:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Letters, digits, and underscores only (e.g. `crowdstrike`). |\n| **Allowed URL patterns** | The API host of your cloud (see the table below), or `*.crowdstrike.com`, `*.crowdstrike.mil` |\n| **Token URL** | Match your Falcon cloud (see the table below) |\n| **Client ID** | Client ID from step 1 |\n| **Client Secret** | Client secret from step 1 |\n\n| Cloud | Setting | API host | Token URL |\n|-------|---------|----------|-----------|\n| US-1 | `us1` | `api.crowdstrike.com` | `https://api.crowdstrike.com/oauth2/token` |\n| US-2 | `us2` | `api.us-2.crowdstrike.com` | `https://api.us-2.crowdstrike.com/oauth2/token` |\n| EU-1 | `eu1` | `api.eu-1.crowdstrike.com` | `https://api.eu-1.crowdstrike.com/oauth2/token` |\n| US Gov-1 | `usGov1` | `api.laggar.gcw.crowdstrike.com` | `https://api.laggar.gcw.crowdstrike.com/oauth2/token` |\n| US Gov-2 | `usGov2` | `api.us-gov-2.crowdstrike.mil` | `https://api.us-gov-2.crowdstrike.mil/oauth2/token` |\n\n---\n\n## 3. Create the connector\n\n1. Go to **Datasets -> Connectors -> Create Connector**.\n2. Select **CrowdStrike Hosts**.\n3. Configure:\n - **CrowdStrike API:** the credential from step 2.\n - **Poll interval (minutes):** `15` is a good start.\n - **Cloud environment:** the setting from the table above.\n - **Full sweep interval (hours):** default `24`.\n\n### How the sync works\n\n- **Full sweep.** The first run, and the first run after **Full sweep interval**\n hours, lists all hosts and replaces the table. A full sweep removes hosts\n that Falcon no longer lists (hidden or removed hosts). A large sweep can need\n more than one run. Each run continues after the last host it sent.\n- **Delta.** The other runs list only the hosts whose `modified_timestamp` is\n later than the last change seen (with a 5-minute overlap), and update their\n rows. A delta does not remove hosts.\n- **Mass-delete guard.** A new full sweep fails when Falcon reports less than\n 50% of the hosts of the last full sweep. If the drop is correct, re-create the\n Lookup to accept it.\n- **Restarts.** When a run continues an open full sweep or delta and its saved\n page token has expired, the sweep or delta starts again. After 3 restarts the\n run fails. Re-create the Lookup to clear it.\n\n---\n\n## 4. Create the Lookup\n\nCreate a Lookup named `crowdstrike_hosts` 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 hostname = r.hostname AS string\n| SET local_ip = r.local_ip AS string\n| SET external_ip = r.external_ip AS string\n| SET platform_name = r.platform_name AS string\n| SET os_version = r.os_version AS string\n| SET last_seen = r.last_seen AS string\n| DROP r\n```\n\n`source_id` is the Falcon `device_id` (the sensor or agent ID).\n\n### Use the Lookup with CrowdStrike events\n\nCrowdStrike detection events name the host by its agent ID. In\n`DetectionSummaryEvent` the field is `event.SensorId`, and in\n`EppDetectionSummaryEvent` it is `event.AgentId`. For example:\n\n```\nFROM crowdstrike.events\n| SET r = parse_json(event.original)\n| SET device_id = r.event.SensorId AS string\n| LOOKUP lookups.crowdstrike_hosts ON device_id == source_id\n```\n\n---\n\n## Errors\n\n| Message | What to do |\n|---------|------------|\n| `CrowdStrike rejected the credential...` | Check the client ID, the secret, and that the **Cloud environment** setting matches the cloud of the credential. |\n| `CrowdStrike API client needs the Hosts: Read scope` | Add **Hosts -> Read** to the API client. |\n| `CrowdStrike reports N hosts, less than 50%...` | Check Falcon. If the drop is correct, re-create the Lookup. |\n| `CrowdStrike host full sweep restarted 3 times...` | Re-create the Lookup. |\n| `CrowdStrike host delta restarted 3 times...` | Re-create the Lookup. |\n| `CrowdStrike Hosts request failed with HTTP N` | Falcon returned an unexpected error. The next run tries again. If the error repeats, check the Falcon API status. |\n\n---\n\n## Reference\n\n- [CrowdStrike Hosts API (FalconPy)](https://www.falconpy.io/Service-Collections/Hosts.html)\n- [CrowdStrike API scopes](https://developer.crowdstrike.com/foundry/authorization/api-scopes/)\n",
6
7
  "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
8
  "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
9
  "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",
@@ -12,6 +13,7 @@
12
13
  "setup-docs/microsoft-defender-vulnerability.md": "Source: https://docs.perpetualsystems.com/setup-docs/microsoft-defender-vulnerability/\n\n# Microsoft Defender Vulnerability Management connector setup\n\nPolls software vulnerability **change** events from the [Microsoft Defender for Endpoint delta export API](https://learn.microsoft.com/en-us/defender-endpoint/api/get-assessment-software-vulnerabilities) (`GET /api/machines/SoftwareVulnerabilityChangesByMachine`). Each record is a per-device vulnerability change with status `New`, `Updated`, or `Fixed`.\n\nThis connector does **not** ingest Defender alerts, incidents, or Advanced Hunting telemetry. Use [Microsoft Graph Security](../microsoft-graph-security/) for alerts/incidents and [Azure Event Hubs](../azure-event-hub/) for Defender XDR event streaming.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Microsoft tenant | Global / commercial, GCC, GCC High, or DoD |\n| Entra administrator | Access to register an application and grant tenant-wide admin consent |\n| Product licenses | Microsoft Defender Vulnerability Management (or Defender for Endpoint plan that includes vulnerability assessment export) |\n| Application details | Directory (tenant) ID, application (client) ID, and client secret |\n\n---\n\n## 1. Register a Microsoft Entra application\n\n1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com/).\n2. Go to **Applications → App registrations → New registration**.\n3. Name the app (for example, `Perpetual Defender Vulnerability Management`).\n4. Choose **Accounts in this organizational directory only**.\n5. Click **Register**. No redirect URI is required.\n6. Copy the **Application (client) ID** and **Directory (tenant) ID** from **Overview**.\n\n### Add Defender for Endpoint application permissions\n\n1. Open **API permissions → Add a permission**.\n2. Choose **APIs my organization uses**, search for **WindowsDefenderATP** (Microsoft Defender for Endpoint), then **Application permissions**.\n3. Add **`Vulnerability.Read.All`** (`Read Threat and Vulnerability Management vulnerability information`).\n4. Click **Grant admin consent for [your organization]**.\n\nDo not add any `ReadWrite` permission. The connector performs only `GET` requests.\n\n### Create a client secret\n\n1. Go to **Certificates & secrets → Client secrets → New client secret**.\n2. Add a description and expiration that match your organization's rotation policy.\n3. Copy the **secret value** immediately. Microsoft displays it only once.\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 (for example, `microsoft_defender_vulnerability`). |\n| **Allowed URL patterns** | Use the value for your Microsoft cloud from the table below. |\n| **Token URL** | Use the URL for your Microsoft cloud and replace `<tenant-id>` with the Directory (tenant) ID from step 1. |\n| **Client ID** | Application (client) ID from step 1. |\n| **Client Secret** | Client secret value from step 1. |\n| **Scopes** | Use the scope for your Microsoft cloud from the table below. |\n\n| Microsoft cloud | Allowed URL patterns | Token URL | Scopes |\n|-----------------|----------------------|-----------|--------|\n| Global / commercial | `*.security.microsoft.com`, `*.securitycenter.microsoft.com`, `*.microsoftonline.com` | `https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token` | `https://api.securitycenter.microsoft.com/.default` |\n| GCC | `*.securitycenter.microsoft.us`, `*.microsoftonline.com` | `https://login.microsoftonline.com/<tenant-id>/oauth2/v2.0/token` | `https://api-gcc.securitycenter.microsoft.us/.default` |\n| US Government L4 / GCC High | `*.securitycenter.microsoft.us`, `*.microsoftonline.us` | `https://login.microsoftonline.us/<tenant-id>/oauth2/v2.0/token` | `https://api-gov.securitycenter.microsoft.us/.default` |\n| US Government L5 / DoD | `*.securitycenter.microsoft.us`, `*.microsoftonline.us` | `https://login.microsoftonline.us/<tenant-id>/oauth2/v2.0/token` | `https://api-gov.securitycenter.microsoft.us/.default` |\n\n4. Save the credential.\n\nUse the `api.securitycenter.microsoft.com` (or government equivalent) scope even when the data API host is `api.security.microsoft.com`. Some Defender for Endpoint APIs still expect that token audience.\n\nMicrosoft Graph operated by 21Vianet in China is not supported.\n\n---\n\n## 3. Create the Microsoft Defender Vulnerability Management connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Microsoft Defender Vulnerability Management**.\n3. **Connector name:** enter a unique identifier using letters, numbers, and underscores.\n4. **Configure:**\n - **Microsoft Defender for Endpoint API:** select the OAuth credential from step 2.\n - **Poll interval (minutes):** leave the default `5` unless you have a specific reason to change it.\n - **Microsoft cloud:** select the cloud matching the credential and tenant:\n - `global` — Global / commercial\n - `gcc` — US Government GCC\n - `usGovernmentL4` — US Government L4 / GCC High\n - `usGovernmentL5` — US Government L5 / DoD\n\n5. Optionally check **Deploy** to schedule the connector immediately after save.\n6. Save.\n\nThe first run requests vulnerability changes with `sinceTime` roughly the **last 24 hours**. Microsoft generates vulnerability delta batches about every six hours and accepts `sinceTime` at most **14 days** in the past. Subsequent polls advance from the latest `eventTimestamp` seen in a completed query.\n\nBecause polling state is cloud-specific, create a new connector instead of changing **Microsoft cloud** after collection starts.\n\n---\n\n## Operational notes\n\n- **Dataset:** raw change records are emitted to `microsoft.defender.vulnerability.changes`.\n- **Statuses:** each record includes `status` of `New`, `Updated`, or `Fixed`. Fixed events are retained so remediation can be observed downstream.\n- **Overlap:** Microsoft's `sinceTime` window re-includes the six-hour generation bucket that contains the watermark. Delivery is at-least-once; identical change events may appear again after a partial run or watermark overlap.\n- **Not a full inventory snapshot:** this connector uses the delta export API. For a full current assessment export, use Microsoft's full VA export APIs outside this connector.\n- **Rate limits:** Microsoft documents about 30 calls per minute and 1,000 per hour for this API. Large tenants may paginate across multiple connector runs.\n\n---\n\n## Troubleshooting\n\n### `401 Unauthorized` / `403 Forbidden`\n\n- Confirm the credential uses the tenant and login host for the selected cloud.\n- Confirm the scope audience matches the table above (`api.securitycenter.microsoft.com` or the government host), not Microsoft Graph.\n- Confirm `Vulnerability.Read.All` is an **Application** permission with admin consent.\n- Check that the client secret has not expired.\n\n### Empty datasets\n\n- Vulnerability changes only appear after Defender Vulnerability Management assessments produce deltas.\n- Quiet periods between six-hour generation cycles can return empty pages.\n- Confirm the tenant is licensed for vulnerability assessment export.\n\n### `429` or transient `5xx`\n\nThe connector honors `Retry-After` when present and otherwise retries with jittered exponential backoff, up to three attempts when the Lambda deadline permits.\n\n---\n\n## Reference\n\n- [Export software vulnerabilities assessment per device](https://learn.microsoft.com/en-us/defender-endpoint/api/get-assessment-software-vulnerabilities)\n- [Microsoft Defender for Endpoint APIs](https://learn.microsoft.com/en-us/defender-endpoint/api/exposed-apis-list)\n- [Microsoft Defender for Endpoint for US Government customers](https://learn.microsoft.com/en-us/defender-endpoint/gov)\n",
13
14
  "setup-docs/microsoft-graph-security.md": "Source: https://docs.perpetualsystems.com/setup-docs/microsoft-graph-security/\n\n# Microsoft Graph Security connector setup\n\nPolls Microsoft Defender alerts and incidents plus Microsoft Secure Score posture from [Microsoft Graph](https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0). The connector is read-only and emits raw Graph objects.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Microsoft tenant | Global / commercial, GCC High, or DoD |\n| Entra administrator | Access to register an application and grant tenant-wide admin consent |\n| Product licenses | Microsoft Defender XDR for incidents; the relevant Defender and Microsoft 365 products for alerts and Secure Score data |\n| Application details | Entra Directory (Tenant) ID, Application (Client) ID, and client secret |\n\nMicrosoft Entra activity, sign-in, and identity-risk logs are intentionally excluded. Route those sources to Event Hubs and configure the [Azure Event Hubs connector](../azure-event-hub/).\n\n---\n\n## 1. Register a Microsoft Entra application\n\n1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com/).\n2. Go to **Applications → App registrations → New registration**.\n3. Name the app (for example, `Perpetual Microsoft Graph Security`).\n4. Choose **Accounts in this organizational directory only**.\n5. Click **Register**. No redirect URI is required.\n6. Copy both values from **Overview**:\n - **Application (Client) ID:** identifies the app registration. Use this value as the Perpetual credential's client ID.\n - **Entra Directory (Tenant) ID:** identifies the Microsoft organization. Use this value in the token URL. Do not use the Application (Client) ID there.\n\n### Add Microsoft Graph application permissions\n\n1. Open **API permissions → Add a permission**.\n2. Choose **Microsoft Graph → Application permissions**. Do not choose delegated permissions.\n3. Add only the permissions required by the streams you plan to enable:\n\n| Perpetual setting | Microsoft Graph API | Application permission | Licensing / availability |\n|-------------------|---------------------|------------------------|--------------------------|\n| **Defender alerts** | `/v1.0/security/alerts_v2` | `SecurityAlert.Read.All` | Requires the relevant Microsoft Defender products to produce alerts. |\n| **Defender incidents** | `/v1.0/security/incidents?$expand=alerts` | `SecurityIncident.Read.All` | Requires Microsoft Defender XDR. Each raw incident includes nested alerts. |\n| **Secure Scores** | `/v1.0/security/secureScores` | `SecurityEvents.Read.All` | Results depend on the Microsoft services licensed and enabled in the tenant. |\n| **Secure Score control profiles** | `/v1.0/security/secureScoreControlProfiles` | `SecurityEvents.Read.All` | Results depend on the Microsoft services licensed and enabled in the tenant. |\n\n4. Click **Grant admin consent for [your organization]**.\n\nDo not add any `ReadWrite` permission. The connector performs only `GET` requests.\n\n### Create a client secret\n\n1. Go to **Certificates & secrets → Client secrets → New client secret**.\n2. Add a description and expiration that match your organization's rotation policy.\n3. Copy the **secret value** immediately. Microsoft displays it only once.\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. Click **Go**.\n4. Fill in:\n\n| Field | Value |\n|-------|-------|\n| **Name** | Unique identifier using letters, digits, and underscores only (for example, `microsoft_graph_security`). |\n| **Allowed URL patterns** | Add each pattern for your Microsoft cloud as a separate entry. Type or paste one pattern, press **Enter**, then add the next pattern. Do not paste a comma-separated list as one entry. |\n| **Token URL** | Copy the complete template for your Microsoft cloud. Replace only `<entra-directory-tenant-id>` with the **Entra Directory (Tenant) ID** from step 1. |\n| **Client ID** | Application (Client) ID from step 1. |\n| **Client Secret** | Client secret value from step 1. |\n| **Scopes** | Add the single exact value for your Microsoft cloud. Do not add spaces, leading or trailing whitespace, commas, or line breaks. |\n\n| Microsoft cloud | Allowed URL pattern entries | Complete token URL template | Exact scope value |\n|-----------------|-----------------------------|-----------------------------|-------------------|\n| Global / commercial | `*.microsoft.com`<br>`*.microsoftonline.com` | `https://login.microsoftonline.com/<entra-directory-tenant-id>/oauth2/v2.0/token` | `https://graph.microsoft.com/.default` |\n| US Government L4 / GCC High | `*.microsoft.us`<br>`*.microsoftonline.us` | `https://login.microsoftonline.us/<entra-directory-tenant-id>/oauth2/v2.0/token` | `https://graph.microsoft.us/.default` |\n| US Government L5 / DoD | `*.microsoft.us`<br>`*.microsoftonline.us` | `https://login.microsoftonline.us/<entra-directory-tenant-id>/oauth2/v2.0/token` | `https://dod-graph.microsoft.us/.default` |\n\n5. Click **Create**. Perpetual tests the token exchange when it saves the credential.\n\nMicrosoft Graph operated by 21Vianet in China is not supported.\n\n---\n\n## 3. Create the Microsoft Graph Security connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Microsoft Graph Security**.\n3. **Connector name:** enter a unique identifier using letters, numbers, and underscores.\n4. **Configure:**\n - **Microsoft Graph API access:** select the OAuth credential from step 2.\n - **Poll interval (minutes):** leave the default `5` unless you have a specific reason to change it.\n - **Microsoft cloud:** select the cloud matching the credential and tenant:\n - `global` — Global / commercial\n - `usGovernmentL4` — US Government L4 / GCC High\n - `usGovernmentL5` — US Government L5 / DoD\n - Enable at least one stream:\n\n| Perpetual setting | Raw dataset | Notes |\n|-------------------|-------------|-------|\n| **Defender alerts** | `microsoft.graph.alerts` | Individual Defender alert objects. |\n| **Defender incidents** | `microsoft.graph.incidents` | Correlated incidents with nested alerts. |\n| **Secure Scores** | `microsoft.graph.secureScores` | Daily Secure Score records. |\n| **Secure Score control profiles** | `microsoft.graph.secureScoreControlProfiles` | Current control-profile snapshots. |\n\n5. Optionally check **Deploy** to schedule the connector immediately after save.\n6. Save.\n\nThe first run backfills roughly the **last 24 hours** for alerts, incidents, and Secure Score. Secure Score control profiles take a complete current-state snapshot.\n\nBecause polling state is cloud-specific, create a new connector instead of changing **Microsoft cloud** after collection starts.\n\nIf both alerts and incidents are enabled, alert content can appear once as an alert record and again inside an expanded incident. This intentional overlap preserves the raw API responses and Microsoft's incident correlation.\n\n---\n\n## Polling behavior\n\n- Recommended schedule: every five minutes.\n- Initial lookback for alerts, incidents, and Secure Score: 24 hours.\n- Alerts and incidents: each completed watermark is re-read with a 15-minute overlap. The connector stores exact `id` plus `lastUpdateDateTime` pairs for that overlap, suppresses an identical or older version, and emits the same ID again when Microsoft reports a newer version.\n- Secure Score: each poll rechecks the previous two days and stores exact score IDs, covering late publication without re-emitting the same daily score.\n- Catch-up: alert and incident watermarks advance by at most one hour per frozen query window; Secure Score advances by at most one day. These bounds keep the exact ID cache limited to a known time range even during a long backfill.\n- Delivery: inclusive time boundaries and at-least-once transport semantics. The state-backed ID cache prevents ordinary overlap and expired-page restart duplicates, but a reset or loss of connector state can replay records.\n- Late-arrival limit: an alert or incident first exposed more than 15 minutes behind the completed watermark is outside the polling overlap. For Microsoft data sources that support Event Hubs, use the Event Hubs ingestion path instead of timestamp polling.\n- Pagination: one page per enabled stream per round so a busy stream cannot starve the others.\n- Incidents: always requested with `$expand=alerts` and emitted as one raw incident object.\n- Secure Score: Microsoft publishes a daily scoring record; the connector treats each record as time-based event data.\n- Secure Score control profiles: full refresh no more than once per UTC day. IDs are retained while a paginated snapshot is active so an expired page restart does not repeat profiles within that snapshot.\n- Disabled streams retain their saved state. Re-enabling a stream resumes its previous position.\n\n## Troubleshooting\n\n### `401 Unauthorized`\n\n- Confirm the credential uses the tenant and login host for the selected cloud.\n- Confirm the `.default` scope uses the selected Graph host, not the Office 365 Management Activity API.\n- Check that the client secret has not expired and that the access token audience matches the selected Graph host.\n\n### `403 Forbidden`\n\n- Compare enabled toggles with the permission matrix and confirm each permission is an **Application** permission.\n- Grant admin consent after changing permissions.\n- Defender alerts and incidents require the underlying Defender products and licenses. Permission consent alone does not produce data.\n\n### Empty datasets\n\n- Confirm the selected feature has produced records within Microsoft's retention period and the connector's time window.\n- Defender alerts and incidents only exist for enabled Defender products.\n- Secure Score content depends on the services enabled and licensed in the tenant.\n\n### `429` or transient `5xx`\n\nThe connector honors `Retry-After` and otherwise retries with jittered exponential backoff, up to three attempts when the Lambda deadline permits. Persistent throttling isolates the affected stream and returns a partial run when another stream made progress.\n\n## Choosing the Microsoft ingestion path\n\nThe Microsoft data surfaces use different APIs and delivery models and can run independently:\n\n- **Microsoft Graph Security** supplies Defender alert and correlated incident objects plus Secure Score posture.\n- **Azure Event Hubs** is the supported path for Microsoft Entra audits, sign-ins, identity-risk logs, and Defender XDR Advanced Hunting event streams. Event Hub records are not byte-for-byte Microsoft Graph objects.\n- **Office 365 Audit** remains necessary for unified audit activity from Exchange, SharePoint, OneDrive, Teams, Purview/DLP, and other Microsoft 365 workloads.\n\nDefender XDR Event Streaming sends Advanced Hunting tables such as `AlertInfo`, `AlertEvidence`, device, email, identity, and cloud-app events. Those tables supplement rather than replace Graph alerts and incidents; Event Streaming does not provide the same correlated incident resource.\n\nThis connector does not include Entra activity or identity risk, Advanced Hunting, remediation or other write operations, threat-intelligence catalogs, Defender inventory, China cloud endpoints, or Microsoft Graph beta APIs.\n\n## Microsoft references\n\n- [Microsoft Graph security API overview](https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0)\n- [Microsoft Secure Score resource](https://learn.microsoft.com/en-us/graph/api/resources/securescore?view=graph-rest-1.0)\n- [Microsoft Entra logs available for streaming](https://learn.microsoft.com/en-us/entra/identity/monitoring-health/concept-diagnostic-settings-logs-options)\n- [Microsoft Defender XDR streaming API](https://learn.microsoft.com/en-us/defender-xdr/streaming-api)\n- [Microsoft Graph national cloud deployments](https://learn.microsoft.com/en-us/graph/deployments)\n- [Microsoft Graph throttling guidance](https://learn.microsoft.com/en-us/graph/throttling)\n",
14
15
  "setup-docs/office-365-audit.md": "Source: https://docs.perpetualsystems.com/setup-docs/office-365-audit/\n\n# Microsoft Office 365 Audit connector setup\n\nPolls unified audit logs from the [Office 365 Management Activity API](https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference) for Exchange, SharePoint, Azure AD, General, and DLP workloads.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Microsoft 365 tenant | Global administrator or equivalent to register apps and grant consent |\n| Unified audit log | Audit logging enabled for the workloads you plan to collect |\n| Entra Directory (Tenant) ID | Directory GUID for the Microsoft 365 organization. This is not the Application (Client) ID. |\n| Region | **Commercial** (`manage.office.com`), **GCC** (`manage-gcc.office.com`), or **GCC High** (`manage.office365.us`) |\n\nThe connector does not support DoD (`manage.protection.apps.mil`).\n\n**One subscription per workload per tenant.** Microsoft allows only one active Management API subscription per content type per tenant. Do not enable the same workload on multiple Perpetual connector instances in the same tenant.\n\n---\n\n## 1. Register an Azure application\n\n1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com/).\n2. Go to **Applications → App registrations → New registration**.\n3. Name the app (e.g. `Perpetual Office 365 Audit`).\n4. Choose **Accounts in this organizational directory only**.\n5. Click **Register** (no redirect URI required).\n6. Copy both values from **Overview**:\n - **Application (Client) ID:** identifies the app registration. Use this value as the Perpetual credential's client ID.\n - **Entra Directory (Tenant) ID:** identifies the Microsoft 365 organization. Use this value in the token URL and connector settings.\n\n<!-- screenshot: Entra app registration — Overview with client and tenant IDs -->\n\n### API permissions\n\n1. Open **API permissions → Add a permission**.\n2. Choose **APIs my organization uses**, search for **Office 365 Management APIs** (not Microsoft Graph).\n3. Add **Application permissions**:\n - `ActivityFeed.Read` — required for all workloads\n - `ActivityFeed.ReadDlp` — required only if enabling the **DLP** workload\n4. Click **Add permissions**.\n5. Click **Grant admin consent for [your organization]**.\n\n<!-- screenshot: Entra API permissions — Office 365 Management APIs with admin consent -->\n\n### Client secret\n\n1. Go to **Certificates & secrets → New client secret**.\n2. Add a description and expiration per your policy.\n3. Copy the **secret value** immediately (shown only once).\n\n---\n\n## 2. Enable audit logging (if needed)\n\n- **Exchange:** Enable mailbox audit logging in Exchange Online (on by default for many tenants).\n- **SharePoint / OneDrive:** Ensure audit logging is enabled in the Microsoft 365 compliance center.\n- **Unified audit log:** Confirm the unified audit log is turned on for your tenant. New tenants may take up to 12 hours before historical content appears.\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 Client Credentials**.\n3. Click **Go**.\n4. Fill in the values for your Microsoft cloud:\n\n| Field | Value |\n|-------|--------|\n| **Name** | Unique identifier using letters, digits, and underscores only (e.g. `office_365_audit`). |\n| **Allowed URL patterns** | Add each pattern from the table below as a separate entry. Type or paste one pattern, press **Enter**, then add the next pattern. Do not paste a comma-separated list as one entry. |\n| **Token URL** | Copy the complete template from the table below. Replace only `<entra-directory-tenant-id>` with the **Entra Directory (Tenant) ID** from step 1. Do not use the Application (Client) ID. |\n| **Client ID** | Application (Client) ID from step 1 |\n| **Client Secret** | Client secret from step 1 |\n| **Scopes** | Add the single exact value from the table below. Do not add spaces, leading or trailing whitespace, commas, or line breaks. |\n\n| Microsoft cloud | Allowed URL pattern entries | Complete token URL template | Exact scope value |\n|-----------------|-----------------------------|-----------------------------|-------------------|\n| Commercial | `*.office.com`<br>`*.microsoftonline.com` | `https://login.microsoftonline.com/<entra-directory-tenant-id>/oauth2/v2.0/token` | `https://manage.office.com/.default` |\n| GCC | `*.office.com`<br>`*.microsoftonline.com` | `https://login.microsoftonline.com/<entra-directory-tenant-id>/oauth2/v2.0/token` | `https://manage-gcc.office.com/.default` |\n| GCC High | `*.office365.us`<br>`*.microsoftonline.us` | `https://login.microsoftonline.us/<entra-directory-tenant-id>/oauth2/v2.0/token` | `https://manage.office365.us/.default` |\n\n5. Click **Create**. Perpetual tests the token exchange when it saves the credential.\n\n\n---\n\n## 4. Create the Office 365 Audit connector\n\n1. Go to **Datasets → Connectors → Create Connector**.\n2. Select **Microsoft Office 365 Audit**.\n3. **Connector name:** unique identifier (letters, numbers, underscores).\n4. **Configure:**\n - **Office 365 Management API access:** select the credential from step 3.\n - **Poll interval (minutes):** default `5`.\n - **Entra Directory (Tenant) ID:** directory GUID from step 1. Do not enter the Application (Client) ID.\n - **Region:** select `commercial` for Commercial, `gcc` for GCC, or `gccHigh` for GCC High. The region **cannot be changed** after the connector is created.\n - Enable workloads (at least one required):\n\n| Setting | Content type | Notes |\n|---------|--------------|--------|\n| Exchange | `Audit.Exchange` | Mailbox and admin operations |\n| SharePoint | `Audit.SharePoint` | SharePoint and OneDrive file activity |\n| Azure AD | `Audit.AzureActiveDirectory` | Sign-in and directory admin events |\n| General | `Audit.General` | Other workloads (Teams, Power BI, etc.) |\n| DLP | `DLP.All` | Requires `ActivityFeed.ReadDlp` permission |\n\n5. Optionally check **Deploy**, then save.\n\n\nFirst run backfills roughly the **last 24 hours** per enabled workload. The connector starts and renews Management API subscriptions automatically.\n\n---\n\n## Operational notes\n\n- **Duplicate workloads:** If a workload is already subscribed by another tool or connector in the same tenant, disable it on one side before enabling it here.\n- **DLP sensitivity:** DLP events may include sensitive data classifications; restrict access accordingly.\n- **Secret rotation:** Rotate the client secret in Entra, update the Perpetual credential, then remove the old secret.\n\n---\n\n## Reference\n\n- [Get started with Office 365 Management APIs](https://learn.microsoft.com/en-us/office/office-365-management-api/get-started-with-office-365-management-apis)\n- [Management Activity API reference](https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference)\n",
16
+ "setup-docs/okta.md": "Source: https://docs.perpetualsystems.com/setup-docs/okta/\n\n# Okta connector setup\n\nSyncs one Okta resource (users, groups, apps, or app assignments) from the\n[Okta Management API](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/User/)\ninto a Lookup. Use the Lookups to add identity context (login, email, status,\ngroups, apps, and app assignments) to Okta and other events.\n\nCreate one connector and one Lookup for each resource that you need.\n\n## What you need first\n\n| Requirement | Details |\n|-------------|---------|\n| Okta | An administrator with the **Read-Only Administrator** role, to create the API token |\n| Okta domain | The host name of your org, for example `example.okta.com` |\n\n---\n\n## 1. Create an API token\n\nOkta service apps (OAuth 2.0) support only `private_key_jwt` client\nauthentication. Thus, this connector uses an SSWS API token.\n\n1. Sign in to the Okta Admin Console as a **Read-Only Administrator**. The\n token has the permissions of the admin that creates it.\n2. Go to **Security -> API -> Tokens**.\n3. Click **Create token**, enter a name (e.g. `Perpetual`), and click\n **Create token**.\n4. Copy the token value. Okta shows it only once.\n\nOkta deactivates a token that is not used for 30 days. A connector that runs\non a schedule keeps it active.\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. `okta`). |\n| **Allowed URL patterns** | `https://<your Okta domain>/*`, for example `https://example.okta.com/*` |\n| **Value** | The API token from step 1 |\n\n---\n\n## 3. Create the connector\n\n1. Go to **Datasets -> Connectors -> Create Connector**.\n2. Select **Okta**.\n3. Configure:\n - **Okta API token:** the credential from step 2.\n - **Poll interval (minutes):** `15` for `users` and `groups`, `60` for\n `apps` and `app_assignments`.\n - **Okta domain:** the host name only, for example `example.okta.com`. Do\n not add `https://`, a path, or a port.\n - **Resource:** `users`, `groups`, `apps`, or `app_assignments`.\n - **Full sweep interval (hours):** default `24`. Used by `users` and\n `groups` only.\n\n### How the sync works\n\n- **Full sweep.** `apps` and `app_assignments` list all records on each run\n and replace the table. `users` and `groups` do a full sweep on the first run\n and on the first run after **Full sweep interval** hours. A full sweep\n removes users or groups that Okta deleted. A large sweep can need more than\n one run. Each run continues after the last record it sent.\n- **Deactivated users.** The `users` full sweep includes `DEPROVISIONED`\n users. They stay in the table with their `status`.\n- **Delta.** The other `users` and `groups` runs list only the records whose\n `lastUpdated` is later than the last change seen (with a 5-minute overlap),\n and update their rows. A delta does not remove records.\n- **App assignments.** The connector lists all apps, then the users and the\n groups assigned to each app. An app that Okta deletes during the sweep is\n skipped. When the app list changes before a run continues an open sweep,\n the sweep starts again.\n- **Rate limits.** When Okta returns HTTP 429, the run waits until\n `X-Rate-Limit-Reset` if there is time left. Else the run stops, and the next\n run continues after the reset time.\n- **Restarts.** When a run continues an open sweep or delta and Okta rejects\n its saved page URL, the sweep or delta starts again. After 3 restarts the\n run fails. Re-create the Lookup to clear it.\n- **Empty source.** A run that lists no records sends nothing. The Lookup\n keeps its rows.\n\n---\n\n## 4. Create the Lookup\n\nCreate a Lookup on each connector with key column `source_id` and the query\nfor its resource. `state.original` holds the raw Okta record.\n\n### `users` (Lookup `okta_users_sync`)\n\n```\nFROM source\n| SET source_id = state.id\n| SET r = parse_json(state.original)\n| SET login = r.profile.login AS string\n| SET email = r.profile.email AS string\n| SET first_name = r.profile.firstName AS string\n| SET last_name = r.profile.lastName AS string\n| SET status = r.status AS string\n| SET last_login = r.lastLogin AS string\n| SET last_updated = r.lastUpdated AS string\n| DROP r\n```\n\n`source_id` is the Okta user ID (for example `00u1a2b3c4d5e6f7g8h9`).\n\n### `groups` (Lookup `okta_groups_sync`)\n\n```\nFROM source\n| SET source_id = state.id\n| SET r = parse_json(state.original)\n| SET name = r.profile.name AS string\n| SET description = r.profile.description AS string\n| SET type = r.type AS string\n| SET last_updated = r.lastUpdated AS string\n| DROP r\n```\n\n### `apps` (Lookup `okta_apps_sync`)\n\n```\nFROM source\n| SET source_id = state.id\n| SET r = parse_json(state.original)\n| SET name = r.name AS string\n| SET label = r.label AS string\n| SET status = r.status AS string\n| SET sign_on_mode = r.signOnMode AS string\n| SET last_updated = r.lastUpdated AS string\n| DROP r\n```\n\n### `app_assignments` (Lookup `okta_app_assignments_sync`)\n\n`source_id` is `<appId>:user:<userId>` or `<appId>:group:<groupId>`.\n\n```\nFROM source\n| SET source_id = state.id\n| SET r = parse_json(state.original)\n| SET app_id = r.appId AS string\n| SET kind = r.kind AS string\n| SET principal_id = r.id AS string\n| SET user_name = r.credentials.userName AS string\n| SET status = r.status AS string\n| SET scope = r.scope AS string\n| SET last_updated = r.lastUpdated AS string\n| DROP r\n```\n\n### Use the Lookup with Okta events\n\nIn Okta System Log events, `actor.id` is the Okta user ID of the user that\ndid the action. For example, over your Okta System Log dataset:\n\n```\nFROM <your Okta System Log dataset>\n| SET r = parse_json(event.original)\n| SET user_id = r.actor.id AS string\n| LOOKUP lookups.okta_users_sync ON user_id == source_id\n```\n\n---\n\n## Errors\n\n| Message | What to do |\n|---------|------------|\n| `Okta API token is not valid or expired` | Create a new token (step 1) and update the credential. |\n| `Okta API token needs the Read-Only Admin role` | Create the token as an admin with the **Read-Only Administrator** role. |\n| `Okta next link host does not match orgDomain` | Okta sent a page link on another host. The connector does not send the token to it. Set **Okta domain** to the host name of your org, for example `example.okta.com`. |\n| `Okta pagination did not advance` | Okta returned the same page again. The next run tries again. If the error repeats, contact Okta support. |\n| `Okta <resource> full sweep restarted 3 times...` | Re-create the Lookup. |\n| `Okta <resource> delta restarted 3 times...` | Re-create the Lookup. |\n| `Okta request failed with HTTP N` | Okta returned an unexpected error. The next run continues from the saved position. If the error repeats, check the Okta status page. |\n\n---\n\n## Reference\n\n- [Okta Users API](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/User/)\n- [Okta API tokens](https://developer.okta.com/docs/guides/create-an-api-token/main/)\n- [Okta rate limit best practices](https://developer.okta.com/docs/reference/rl-best-practices/)\n",
15
17
  "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",
16
18
  "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",
17
19
  "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"
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 144" role="img" aria-label="CrowdStrike">
2
+ <path fill="#EC0000" d="M114.7,97.69c-2.33-.23-6.45-.81-11.62,1.8-5.16,2.6-7.19,2.72-9.73,2.44.74,1.36,2.25,3.23,7,3.57,4.74.33,7.01.48,4.52,6.39.06-1.79-.36-5.24-5.07-4.63-4.71.61-5.81,4.85-.76,6.96-1.64.33-5.12.53-7.61-5.98-1.72.75-4.38,2.25-9.2-1.47,1.68.61,3.75.65,3.75.65-4.28-2.04-8.36-5.84-10.98-9.42,2.07,1.54,4.36,3.08,6.68,3.37-2.73-3.34-9.06-10.01-16.8-16.87,4.98,3.25,10.98,8.39,20.81,7.23,9.83-1.16,16.43-3.41,29,5.96"/>
3
+ <path fill="#EC0000" d="M72.64,95.37c-6.16-2.67-7.48-3.21-15.41-5.22-7.92-2.01-15.72-6.2-20.93-12.74,3.67,2.69,11.18,8.11,18.88,7.52-1.17-1.71-3.33-3.05-5.91-4.4,2.92.7,11.73,2.95,23.37,14.84"/>
4
+ <path fill="#EC0000" d="M59.22,72.56c-1.59-4.56-4.46-10.39-18.05-19.07-6.62-4.37-16.34-9.86-29.14-23.85.91,3.77,4.96,13.58,25.34,26.31,6.69,4.57,15.33,7.39,21.86,16.6"/>
5
+ <path fill="#EC0000" d="M60.06,79.17c-1.67-3.86-5.03-8.81-18.2-15.87-6.07-3.4-16.45-8.64-25.78-18.59.85,3.59,5.18,11.48,23.82,21.34,5.16,2.84,13.89,5.51,20.17,13.12"/>
6
+ <path fill="#EC0000" d="M109.89,89.35c4.87.74,4.62,1.77,4.67,3.55-2.07-2.26-4.67-3.55-4.67-3.55M72.84,59.23c-25.67-7.35-35.88-16.62-43.78-26.32,3.61,11.17,12.21,15.17,21.4,22.67,9.19,7.5,9.71,11.53,12.42,15.96,6.03,9.87,6.99,11.5,12.97,15.81,7.05,4.68,15.58,1.51,24.94,2.98,9.36,1.47,17.09,8.6,18.77,11.34,1.96-3.5-2.72-8.54-3.99-9.81.68-4.58-10.16-6.6-14.27-8.17-.81-.31-2.8-.77-1.07-4.88,2.33-5.68,4.76-10.62-27.39-19.59"/>
7
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144 144" role="img" aria-label="Okta">
2
+ <path fill="#191919" d="M72,24C45.49,24,24,45.49,24,72s21.49,48,48,48,48-21.49,48-48-21.49-48-48-48ZM72,96c-13.25,0-24-10.75-24-24s10.75-24,24-24,24,10.75,24,24-10.75,24-24,24Z"/>
3
+ </svg>
@@ -256,6 +256,82 @@
256
256
  "description": "Poll CrowdStrike Falcon Event Streams for detection, audit, and incident events.",
257
257
  "datasetKind": "event"
258
258
  },
259
+ {
260
+ "kind": "crowdstrike-hosts",
261
+ "displayName": "CrowdStrike Hosts",
262
+ "ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/crowdstrike-hosts:0.0.1",
263
+ "connectorType": "polling",
264
+ "settingsSchema": {
265
+ "$schema": "http://json-schema.org/draft-07/schema#",
266
+ "type": "object",
267
+ "properties": {
268
+ "cloud": {
269
+ "default": "us1",
270
+ "title": "Cloud environment",
271
+ "description": "CrowdStrike Falcon cloud where your tenant resides (see Support -> API Clients and Keys).",
272
+ "type": "string",
273
+ "enum": [
274
+ "us1",
275
+ "us2",
276
+ "eu1",
277
+ "usGov1",
278
+ "usGov2"
279
+ ]
280
+ },
281
+ "fullSweepHours": {
282
+ "default": 24,
283
+ "title": "Full sweep interval (hours)",
284
+ "description": "Hours between full sweeps. A full sweep replaces the table and removes hosts that are no longer in Falcon. Runs between sweeps send only changed hosts.",
285
+ "type": "number",
286
+ "exclusiveMinimum": 0
287
+ }
288
+ },
289
+ "required": [
290
+ "cloud",
291
+ "fullSweepHours"
292
+ ],
293
+ "additionalProperties": false
294
+ },
295
+ "credentials": [
296
+ {
297
+ "id": "api",
298
+ "label": "CrowdStrike API",
299
+ "description": "A Falcon API client with the Hosts: Read scope.",
300
+ "required": true,
301
+ "acceptedCredentialTypes": [
302
+ "OAuth2ClientCredentials"
303
+ ],
304
+ "credentialSchema": {
305
+ "$schema": "http://json-schema.org/draft-07/schema#",
306
+ "type": "object",
307
+ "properties": {
308
+ "type": {
309
+ "type": "string",
310
+ "const": "OAuth2ClientCredentials"
311
+ },
312
+ "accessToken": {
313
+ "type": "string",
314
+ "minLength": 1
315
+ },
316
+ "allowedUrlPatterns": {
317
+ "type": "array",
318
+ "items": {
319
+ "type": "string"
320
+ }
321
+ }
322
+ },
323
+ "required": [
324
+ "type",
325
+ "accessToken"
326
+ ],
327
+ "additionalProperties": false
328
+ }
329
+ }
330
+ ],
331
+ "iconExt": "svg",
332
+ "description": "Sync the CrowdStrike Falcon host inventory into a State Table for host context lookups.",
333
+ "datasetKind": "state"
334
+ },
259
335
  {
260
336
  "kind": "crowdstrike-spotlight",
261
337
  "displayName": "CrowdStrike Spotlight",
@@ -1095,6 +1171,87 @@
1095
1171
  "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.",
1096
1172
  "datasetKind": "event"
1097
1173
  },
1174
+ {
1175
+ "kind": "okta",
1176
+ "displayName": "Okta",
1177
+ "ecrImageUrl": "718287746078.dkr.ecr.us-east-2.amazonaws.com/perpetual-connectors/okta:0.0.1",
1178
+ "connectorType": "polling",
1179
+ "settingsSchema": {
1180
+ "$schema": "http://json-schema.org/draft-07/schema#",
1181
+ "type": "object",
1182
+ "properties": {
1183
+ "orgDomain": {
1184
+ "type": "string",
1185
+ "pattern": "^[a-z0-9.-]+$",
1186
+ "title": "Okta domain",
1187
+ "description": "Host name of your Okta org only, for example example.okta.com. No https://, path, or port."
1188
+ },
1189
+ "resource": {
1190
+ "type": "string",
1191
+ "enum": [
1192
+ "users",
1193
+ "groups",
1194
+ "apps",
1195
+ "app_assignments"
1196
+ ],
1197
+ "title": "Resource",
1198
+ "description": "Okta resource to sync into the table. Create one connector for each resource."
1199
+ },
1200
+ "fullSweepHours": {
1201
+ "default": 24,
1202
+ "title": "Full sweep interval (hours)",
1203
+ "description": "Users and groups only. Hours between full sweeps. A full sweep replaces the table and removes deleted users or groups. Runs between sweeps send only changed records.",
1204
+ "type": "number",
1205
+ "exclusiveMinimum": 0
1206
+ }
1207
+ },
1208
+ "required": [
1209
+ "orgDomain",
1210
+ "resource",
1211
+ "fullSweepHours"
1212
+ ],
1213
+ "additionalProperties": false
1214
+ },
1215
+ "credentials": [
1216
+ {
1217
+ "id": "apiToken",
1218
+ "label": "Okta API token",
1219
+ "description": "An SSWS API token made by a Read-Only Admin.",
1220
+ "required": true,
1221
+ "acceptedCredentialTypes": [
1222
+ "Text"
1223
+ ],
1224
+ "credentialSchema": {
1225
+ "$schema": "http://json-schema.org/draft-07/schema#",
1226
+ "type": "object",
1227
+ "properties": {
1228
+ "type": {
1229
+ "type": "string",
1230
+ "const": "Text"
1231
+ },
1232
+ "value": {
1233
+ "type": "string",
1234
+ "minLength": 1
1235
+ },
1236
+ "allowedUrlPatterns": {
1237
+ "type": "array",
1238
+ "items": {
1239
+ "type": "string"
1240
+ }
1241
+ }
1242
+ },
1243
+ "required": [
1244
+ "type",
1245
+ "value"
1246
+ ],
1247
+ "additionalProperties": false
1248
+ }
1249
+ }
1250
+ ],
1251
+ "iconExt": "svg",
1252
+ "description": "Sync Okta users, groups, apps, or app assignments into a State Table for identity lookups.",
1253
+ "datasetKind": "state"
1254
+ },
1098
1255
  {
1099
1256
  "kind": "one-password",
1100
1257
  "displayName": "1Password",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perpetualsystems/connector-registry",
3
- "version": "202611.23.1",
3
+ "version": "202611.23.2",
4
4
  "description": "Built-in connector catalog manifest for Perpetual management plane",
5
5
  "type": "module",
6
6
  "exports": {