PentesysDocs Sign in

Integrations

Send Pentesys events to the tools your teams use, and bring assets, misconfigurations, secrets, vulnerabilities and security incidents from your cloud, code platforms, scanners and SOC into Pentesys.

Applies to
Enterprise portal
For
Administrators, platform and security engineers
Permissions
integrations.view integrations.manage
Reading time
4 min
Last updated
26 November 2026

Available connections#

KindProviderWhat it does
Outbound deliveryWebhooksSigned JSON POST to your HTTPS endpoint.
Microsoft TeamsPosts an Adaptive Card to a channel.
JiraCreates an issue in a project.
ServiceNowCreates a record (an incident by default).
Cloud discoveryAmazon Web ServicesImports cloud resources as assets and misconfigurations into Exposure → Cloud & SaaS.
Microsoft Azure
Google Cloud
CodeGitHubImports repositories as assets, leaked secrets into Exposure → Secrets and Critical and High dependency and code alerts into Vulnerabilities. Gives AI code reviews access to private repositories.
GitLab
ScannersTenableImports scanned hosts and web apps as assets, and their Critical and High vulnerabilities.
Qualys
Acunetix
SOCMicrosoft SentinelImports security incidents so Adversary campaigns can measure detection.

Each provider can have several named connections, for example "AWS production" and "AWS staging". Everything imported is labelled not validated by Pentesys, and discovery connections are read-only: Pentesys never changes anything in your accounts.

Connection lifecycle#

  1. Draft configurationAdded, not yet set up
  2. Test requiredSettings saved
  3. Test passedA real call succeeded
  4. Connected · HealthyActivated and working
StatusHealthMeaning
Not connectedDraft configurationJust added; fill in the settings.
Not connectedTest requiredSettings saved but not yet tested. Any change to settings requires a new test.
ConnectedHealthyTested and activated.
Needs attentionTest failedA test on an active connection failed. Fix the settings and test again.
ConnectedDelivery failingAutomation deliveries keep failing. See Delivery and retries.
Not connectedDisconnectedCredentials deleted; nothing is sent or imported.

Adding a connection#

  1. Go to Integrations → Add connection and choose the provider (needs integrations.manage).
  2. 1. Connect: give it a Connection name (unique per provider) and a Connection owner, and fill in the provider's fields. Each field explains what to enter and the least access to grant.
  3. Choose where the credentials are kept (see below) and save.
  4. 2. Test & activate: select Test connection. Pentesys makes a real call to the provider and shows Passed or Failed with the provider's reply.
  5. Select Activate (only possible after a passing test). Delivery connections can now be used by automations; discovery connections start syncing.

Provider settings#

ProviderFieldsLeast access to grant
WebhooksEndpoint URLHTTPS only; no credentials in the URL; must not point to a private or reserved network.
Microsoft TeamsWorkflow URLAdd the workflow "Post to a channel when a webhook request is received" to the channel and paste its URL.
JiraJira site, Atlassian account email, API token, project key, issue type (default Task)A service account with access to that project only.
ServiceNowInstance URL, integration user, password, table (default incident), assignment groupA user with rights to create records in that table only.
AWSRead-only role ARN, regions (up to 10)A role with the AWS managed SecurityAudit policy, trusting Pentesys with your organisation's external ID (the trust policy is shown).
AzureTenant ID or domain, subscription IDsApprove the Pentesys application, grant Reader on each subscription, and tag each subscription pentesys-org with the value shown.
Google CloudProject IDs (up to 50), service account key (JSON)A service account with Viewer and Security Reviewer on those projects.
GitHubOrganisation, access token, API URL (optional, for GitHub Enterprise)A fine-grained, read-only token: metadata, contents, secret scanning, Dependabot and code scanning alerts.
GitLabGroup path, access token, GitLab URL (optional)A group token with read_api; add read_repository for code reviews.
TenableAccess key, secret keyKeys of a read-only user.
QualysAPI server URL, user name, passwordA Reader user with API access.
AcunetixAcunetix URL, API keyThe key of a read-only user.
Microsoft SentinelTenant ID or domain, subscription ID, resource group, Log Analytics workspaceApprove the Pentesys application and grant Microsoft Sentinel Reader on the workspace; tag the subscription pentesys-org.

Where credentials are kept#

Stored in Pentesys (encrypted)
The default. Write-only: never shown again after saving.
My Azure Key Vault
Enter the tenant, Key Vault name and secret name. Approve the Pentesys application, grant it Key Vault Secrets User on the secret, and tag the secret pentesys-org with your organisation's value (untagged secrets are refused).
My AWS Secrets Manager
Enter the role ARN Pentesys assumes, the region and the secret name or ARN. The role trusts Pentesys with your external ID and allows secretsmanager:GetSecretValue on that secret only.

Vault credentials are read each time they are needed and held only briefly in memory. Store either the credential on its own, or JSON whose keys match the field names. The vault options appear only where Pentesys offers them.

Discovery and imports#

  • Choose a Sync interval: Daily (default), Every 6 hours or Every hour. Sync now runs one immediately.
  • New resources become assets; problems become exposure records. Records no longer reported become Healthy.
  • Sync & delivery history shows the last 30 runs, overall or per connection: Successful, Failed, Retrying or Stopped.
  • If a cloud discovery fails, the workspace is notified ("Cloud discovery failed: …").

Disconnecting and deleting#

DisconnectDelete connection
CredentialsDeletedDeleted
Automations using itStop delivering until you reconnectPaused; waiting deliveries are marked failed
History and imported assets and exposuresKeptKept
ReversibleYes: reconnect and testNo

Receiving webhooks#

Pentesys sends each event as a JSON POST with a 15-second timeout. Redirects are not followed.

POST /hooks/pentesys HTTP/1.1
Host: hooks.acme.example
Content-Type: application/json
User-Agent: Pentesys-Webhooks/1.0
X-Pentesys-Event: finding.confirmed
X-Pentesys-Signature: t=1767225600,v1=5f2b9c…c9a1

{
  "id": "evt_3f9a1c2b7d4e5f60",
  "type": "finding.confirmed",
  "created": "2026-11-26T10:15:00+00:00",
  "data": {
    "event": "finding.confirmed",
    "label": "Critical or High finding confirmed during testing",
    "title": "Critical finding: SQL injection in product search",
    "text": "Confirmed on shop.acme.example during Web shop and API, Q4.",
    "severity": "Critical",
    "url": "/findings/FND-1042",
    "facts": { "Asset": "shop.acme.example", "Engagement": "VAL-P012" },
    "occurred_at": "2026-11-26T10:14:52+00:00",
    "test": false
  }
}

The data object can also carry refs and organisation. Event types: finding.confirmed, report.released, remediation.created, remediation.verified, exposure.detected, and ping for tests.

Verifying the signature#

The signing secret (it starts whsec_) is shown in step 2 of the connection. Compute HMAC-SHA256 of <t>.<raw body> with the secret, compare it with v1 in constant time, and reject requests older than five minutes.

import hashlib, hmac, time

def verify(raw_body: bytes, header: str, secret: str) -> bool:
    parts = dict(p.split("=", 1) for p in header.split(","))
    if abs(time.time() - int(parts["t"])) > 300:
        return False
    expected = hmac.new(secret.encode(), f'{parts["t"]}.'.encode() + raw_body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, parts["v1"])
const crypto = require("crypto");

function verify(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(",").map(p => p.split("=", 2)));
  if (Math.abs(Date.now() / 1000 - Number(parts.t)) > 300) return false;
  const expected = crypto.createHmac("sha256", secret).update(`${parts.t}.`).update(rawBody).digest("hex");
  return expected.length === parts.v1.length &&
    crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}

Reply with any 2xx status within 15 seconds; do slow work after replying. Network errors, 429 and 5xx responses are retried; other 4xx responses fail at once. See Delivery and retries.

What Teams, Jira and ServiceNow receive#

  • Teams: an Adaptive Card headed "PENTESYS · <event>" with the title, text, facts and an Open in Pentesys button.
  • Jira: an issue whose summary is the title, with the text, facts and link in the description and the label pentesys.
  • ServiceNow: a record with a short description and description; urgency and impact are 1 for Critical and High, 2 for Medium, 3 for Low and Info.

For remediation events, the Jira or ServiceNow reference is written to the remediation action's Ticket field if it is empty.