Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Threat intelligence

Threat intelligence lets Manager assess whether a newly published threat affects your environment. There are two related surfaces: a shared catalog of published threats that each tenant can assess for itself, and threat investigations, which are your tenant's own records of an assessment and any remediation.

Every operation takes the tenant's provider scope as query parameters, such as githubOwnerId.

Published threat catalog

List catalog threats

Returns a page of the shared threat catalog joined with your tenant's assessment. page starts at 1 and pageSize defaults to 20 with a maximum of 100; larger values return 400. Filter by cveId, ecosystem (any case) or severity; by verdict (affected for threats your assessment found affecting a repository); by kind (malware, vulnerability or campaign); and by the advisory's publication date with publishedAfter (inclusive) and publishedBefore (exclusive), each YYYY-MM-DD or RFC 3339. sort is published (the default, newest advisory first) or researched. total is the filtered count; past pageableTotal, the deepest the catalog pages, it is a floor. appliedFilters names the verdict, kind and date filters the response applied, and sort the order it used. A 412 means the shared threat database cannot apply a requested filter yet.

Each entry's status is NOT_ASSESSED, QUEUED, INVESTIGATING, FAILED, AFFECTED, NOT_AFFECTED, UNKNOWN, DISABLED (automatic investigations are off for your tenant), NOT_RUN (an assessment was queued but never started within its window; you can retry it) or WITHDRAWN (the source advisory was withdrawn). UNKNOWN is what you get when the inventory was incomplete or out of date, so missing evidence is never reported as clean; check inventoryFreshness and isOutdated before treating NOT_AFFECTED as final. The investigationId, when present, is the id to read with Get a threat investigation.

Get Threat Catalog

get
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

pageintegerOptionalDefault: 1
pageSizeintegerOptionalDefault: 20
cveIdstring · nullableOptional
advisoryIdstring · nullableOptional

Matches a threat known by this id in any database: its Nullify id, a CVE, GHSA, OSV or vendor advisory id

ecosystemstring · nullableOptional
severitystring · nullableOptional
qstring · max: 200 · nullableOptional

Case-insensitive search over threat title, CVE/GHSA/MAL identifiers and affected package names

verdictstring · enum · nullableOptional

affected keeps threats your assessment found affecting a repository

Possible values:
kindstring · enum · nullableOptional

malware has an OSV MAL id, vulnerability a CVE or another public advisory id, campaign none but its Nullify id

Possible values:
publishedAfterstring · nullableOptional

YYYY-MM-DD or RFC 3339: keeps threats whose advisory was published at or after it

publishedBeforestring · nullableOptional

YYYY-MM-DD or RFC 3339: keeps threats whose advisory was published before it

sortstring · enum · nullableOptional

published (default) lists the newest advisory publication first; researched the newest research

Possible values:
Responses
200

OK

application/json
appliedFiltersstring[] · nullableOptional

The verdict, kind and publishedAfter/publishedBefore filters this response applied

numItemsintegerRequired
pageableTotalintegerRequired

How many of total the catalog pages through at this page size; deeper pages need narrower filters

sortstring · enumOptional

The order the threats are listed in

Possible values:
totalintegerRequired

Matching published threats. Past pageableTotal it is a floor: the catalog stops counting one past the deepest page it serves

versionstringOptional
get/manager/threats
GET /manager/threats HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "appliedFilters": [
    "text"
  ],
  "numItems": 1,
  "pageableTotal": 1,
  "sort": "published",
  "threats": [
    {
      "failureCategory": "transient_upstream",
      "failureMessage": "text",
      "inventoryFreshness": "text",
      "investigationId": "text",
      "isOutdated": true,
      "jobStatus": "QUEUED",
      "researchVersion": "text",
      "runStatus": "text",
      "status": "NOT_ASSESSED",
      "threat": {
        "advisory_ids": [
          {
            "id": "text",
            "source": "NULLIFY"
          }
        ],
        "alias_cve_ids": [
          "text"
        ],
        "created_at": "text",
        "cve_ids": [
          "text"
        ],
        "cvss": 1,
        "discovered_at": "text",
        "ecosystem": "text",
        "enrichment_pending": true,
        "evidence_complete": true,
        "evidence_degraded": true,
        "evidence_quarantine": "text",
        "id": "text",
        "kind": "malware",
        "nullify_advisory_id": "text",
        "research_version": "text",
        "severity": "text",
        "source_links": [
          {
            "content_sha256": "text",
            "domain": "text",
            "extraction": "budget_exhausted",
            "fetched_at": "text",
            "title": "text",
            "url": "text"
          }
        ],
        "title": "text",
        "trigger_reason": "text",
        "withdrawn": true
      }
    }
  ],
  "total": 1,
  "version": "text"
}

Investigate a catalog threat

Requests an assessment of a published threat in your environment. threatId is the catalog entry's id and action is required: investigate, retry or reinvestigate.

  • The call queues the assessment and returns the tenant's investigation straight away. The assessment is not complete yet. Poll List catalog threats for the entry's status, or Get a threat investigation.

  • investigate on a threat already assessed at the current research version returns the existing investigation without a new run. If an assessment is already running, the existing investigation is returned as well.

  • retry only applies to a failed assessment and returns 400 otherwise.

  • reinvestigate runs again, for example after a research update.

Only a signed-in user or the operator can call it; other callers receive 403. Requires finding write access.

Investigate Threat in My Environment

post
Path parameters
threatIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
actionstring · enumRequiredPossible values:
Responses
200

OK

application/json
existingbooleanOptional
versionstringOptional
post/manager/threats/{threatId}/investigate
POST /manager/threats/{threatId}/investigate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 24

{
  "action": "investigate"
}
{
  "existing": true,
  "threatInvestigation": {
    "advice": "text",
    "clientImpact": {
      "affectedRepoCount": 1,
      "affectedRepos": [
        {
          "ciActivity": {
            "buildCount": 1,
            "introducedCommitBuilt": true,
            "successfulBuildCount": 1,
            "wasBuilt": true
          },
          "evidenceSource": "text",
          "findingId": "text",
          "firstSeen": "2026-01-01T00:00:00.000Z",
          "introducedCommit": "text",
          "isArchived": true,
          "isAutoFixable": true,
          "isDirect": true,
          "isRemediated": true,
          "lastScannedAt": "2026-01-01T00:00:00.000Z",
          "lastSeen": "2026-01-01T00:00:00.000Z",
          "manifestFile": "text",
          "manifestPath": "text",
          "packageName": "text",
          "removedCommit": "text",
          "repositoryId": "text",
          "repositoryName": "text",
          "repositoryOwner": "text",
          "resolvedWithoutLockfile": true,
          "version": "text"
        }
      ],
      "assessedRepoCount": 1,
      "ciLogCheck": {
        "checkedAt": "text",
        "omittedRepos": 1,
        "repos": [
          {
            "ciProvider": "github_actions",
            "logsRead": 1,
            "reasons": [
              "text"
            ],
            "repository": "text",
            "runs": 1,
            "verdict": "affected",
            "windowFrom": "text",
            "windowTo": "text"
          }
        ],
        "version": 1
      },
      "findingIds": [
        "text"
      ],
      "impactIncomplete": true,
      "impactIncompleteReason": "text",
      "inventoryCheckedAt": "text",
      "inventoryFreshUntil": "text",
      "inventoryFreshness": "text",
      "outOfScopeRepoCount": 1,
      "packageVerdicts": [
        {
          "checkedAt": "text",
          "ecosystem": "text",
          "error": "text",
          "packageName": "text",
          "unknownReason": "text",
          "verdict": "text"
        }
      ],
      "pendingFindingRepoCount": 1,
      "totalRepoCount": 1,
      "unaffectedRepoCount": 1,
      "unknownRepoCount": 1
    },
    "createdAt": "text",
    "currentStage": "queued",
    "currentStageAt": "2026-01-01T00:00:00.000Z",
    "failureCategory": "transient_upstream",
    "failureMessage": "text",
    "generalInfo": {
      "advisoryIds": [
        {
          "id": "text",
          "source": "NULLIFY"
        }
      ],
      "affectedPackages": [
        {
          "affectedRange": "text",
          "attributionProvenance": "text",
          "attributionType": "text",
          "ecosystem": "text",
          "name": "text",
          "source": "text",
          "sourceQuote": "text",
          "sourceUrl": "text"
        }
      ],
      "articleLinks": [
        "text"
      ],
      "cveIds": [
        "text"
      ],
      "cvss": 1,
      "description": "text",
      "discoveredAt": "text",
      "ecosystem": "text",
      "exploitability": "text",
      "history": "text",
      "nullifyAdvisoryId": "text",
      "severity": "CRITICAL",
      "title": "text",
      "withdrawn": true
    },
    "id": "text",
    "investigationVersion": "text",
    "keywords": "text",
    "legacyAssessment": true,
    "legacyAssessmentId": "text",
    "legacyCveInvestigations": [
      {
        "cveId": "text",
        "failureCategory": "transient_upstream",
        "investigationId": "text",
        "runStatus": "PENDING",
        "status": "PENDING"
      }
    ],
    "remediation": {
      "autoFixableCount": 1,
      "autofixPrIds": [
        "text"
      ],
      "campaignId": "text",
      "campaignStatus": "text",
      "campaignTitle": "text",
      "findingCount": 1,
      "prCreateCount": 1,
      "prFailedCount": 1,
      "scanCompleted": true,
      "scanTimestamp": "text"
    },
    "report": {
      "executiveSummary": "text",
      "referenceLinks": [
        "text"
      ],
      "remediationPlan": "text",
      "vulnerabilityDetail": "text"
    },
    "requestedBy": "text",
    "researchVersion": "text",
    "runId": "text",
    "runQueued": true,
    "runRetryAt": "2026-01-01T00:00:00.000Z",
    "runStatus": "PENDING",
    "sourceVulnDbThreatId": "text",
    "status": "PENDING",
    "timeline": {
      "customerNotifiedAt": "text",
      "impactAssessedAt": "text",
      "internalNotifiedAt": "text",
      "investigationCompletedAt": "text",
      "investigationCreatedAt": "text",
      "remediationStartedAt": "text",
      "reportWrittenAt": "text",
      "researchCompletedAt": "text",
      "researchStartedAt": "text",
      "resolvedAt": "text",
      "threatDiscoveredAt": "text"
    },
    "triggerReason": "text",
    "type": "text",
    "updatedAt": "text"
  },
  "version": "text"
}

Reporting a threat

A report submits public facts about a threat for shared verification. Do not send tenant evidence. See Reporting a Threat for what happens to a report.

A report is identified by its advisoryId: the threat's own id when it matches a threat Nullify holds, otherwise NULLIFY-R- followed by 16 hexadecimal characters until it links to a published threat. status is the report's progress and verification (pending, verified, known, unverified or withdrawn) says whether public sources supported it; verificationReason explains an unverified result.

Report a threat

Submits a public advisory or a campaign. requestId (a UUID you generate) is always required. An advisory report needs advisoryUrl. A campaign report sends campaign instead, with a title (up to 200 characters), a description (up to 4,000), one to five public referenceUrls, and optionally up to 10 cveIds and up to 20 packages; it moves from pending to matched, not_found or not_verifiable. For an advisory report, cveId, packageName and ecosystem are optional and limited to 32, 200 and 40 characters, and the URL to 2,048. Keep the requestId to look the report up later. existing in the response says whether the report matched a threat that was already recorded. The response gives the threatId, researchVersion and verification status. A rejected report returns 400, and exceeding the report quota returns 429. Only a signed-in user or the operator can call it. Requires finding write access.

Report a Threat

post
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
advisoryUrlstringOptional
cveIdstringOptional
ecosystemstringOptional
packageNamestringOptional
requestIdstringRequired
Responses
200

OK

application/json
advisoryIdstringRequired
aliasesstring[] · nullableRequired
existingbooleanRequired
investigationIdstringOptional
researchVersionstringOptional
resubmittablebooleanOptional

The report's submission failed and the reporter may resubmit it once.

significancestring · enumOptional

What the report's research did for every customer: published_to_all (every exposed customer is investigated), catalog_only (catalogued, not judged significant enough to investigate everyone), operator_review (judged significant, awaiting Nullify's confirmation) or not_published.

Possible values:
statusstring · enumRequired

Advisory reports move queued to published or a failure; campaign reports move pending to matched, not_found or not_verifiable; reporter_withdrawn is a report its reporter withdrew before research started; unavailable, expired and submission_failed are manager-side reads.

Possible values:
threatIdstringRequired
verificationstring · enumRequiredPossible values:
verificationReasonstringOptional
versionstringOptional
post/manager/threat-reports
POST /manager/threat-reports HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 254

{
  "advisoryUrl": "text",
  "campaign": {
    "cveIds": [
      "text"
    ],
    "description": "text",
    "packages": [
      {
        "ecosystem": "text",
        "name": "text",
        "versions": "text"
      }
    ],
    "referenceUrls": [
      "text"
    ],
    "title": "text"
  },
  "cveId": "text",
  "ecosystem": "text",
  "packageName": "text",
  "requestId": "text"
}
{
  "advisoryId": "text",
  "aliases": [
    "text"
  ],
  "existing": true,
  "investigationId": "text",
  "researchVersion": "text",
  "resubmittable": true,
  "significance": "published_to_all",
  "status": "queued",
  "threatId": "text",
  "verification": "pending",
  "verificationReason": "text",
  "version": "text"
}

Get a threat report

Returns the verification status of one of your tenant's submissions by requestId. Returns 404 for an unknown id or another tenant's submission.

Get Threat Report Status

get
Path parameters
requestIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
advisoryIdstringRequired
aliasesstring[] · nullableRequired
existingbooleanRequired
investigationIdstringOptional
researchVersionstringOptional
resubmittablebooleanOptional

The report's submission failed and the reporter may resubmit it once.

significancestring · enumOptional

What the report's research did for every customer: published_to_all (every exposed customer is investigated), catalog_only (catalogued, not judged significant enough to investigate everyone), operator_review (judged significant, awaiting Nullify's confirmation) or not_published.

Possible values:
statusstring · enumRequired

Advisory reports move queued to published or a failure; campaign reports move pending to matched, not_found or not_verifiable; reporter_withdrawn is a report its reporter withdrew before research started; unavailable, expired and submission_failed are manager-side reads.

Possible values:
threatIdstringRequired
verificationstring · enumRequiredPossible values:
verificationReasonstringOptional
versionstringOptional
get/manager/threat-reports/{requestId}
GET /manager/threat-reports/{requestId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "advisoryId": "text",
  "aliases": [
    "text"
  ],
  "existing": true,
  "investigationId": "text",
  "researchVersion": "text",
  "resubmittable": true,
  "significance": "published_to_all",
  "status": "queued",
  "threatId": "text",
  "verification": "pending",
  "verificationReason": "text",
  "version": "text"
}

Resubmit a threat report

Resubmits a report once, when resubmittable is true: its submission failed, or research was unavailable. A report that cannot be resubmitted returns 412.

Resubmit a Reported Threat

post
Path parameters
requestIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
advisoryIdstringRequired
aliasesstring[] · nullableRequired
existingbooleanRequired
investigationIdstringOptional
researchVersionstringOptional
resubmittablebooleanOptional

The report's submission failed and the reporter may resubmit it once.

significancestring · enumOptional

What the report's research did for every customer: published_to_all (every exposed customer is investigated), catalog_only (catalogued, not judged significant enough to investigate everyone), operator_review (judged significant, awaiting Nullify's confirmation) or not_published.

Possible values:
statusstring · enumRequired

Advisory reports move queued to published or a failure; campaign reports move pending to matched, not_found or not_verifiable; reporter_withdrawn is a report its reporter withdrew before research started; unavailable, expired and submission_failed are manager-side reads.

Possible values:
threatIdstringRequired
verificationstring · enumRequiredPossible values:
verificationReasonstringOptional
versionstringOptional
post/manager/threat-reports/{requestId}/resubmit
POST /manager/threat-reports/{requestId}/resubmit HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "advisoryId": "text",
  "aliases": [
    "text"
  ],
  "existing": true,
  "investigationId": "text",
  "researchVersion": "text",
  "resubmittable": true,
  "significance": "published_to_all",
  "status": "queued",
  "threatId": "text",
  "verification": "pending",
  "verificationReason": "text",
  "version": "text"
}

List reported threats

Returns your tenant's submissions with page and pageSize and the full totalCount.

List My Reported Threats

get
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

pageintegerOptionalDefault: 1
pageSizeintegerOptionalDefault: 20
Responses
200

OK

application/json
pageintegerRequired
pageSizeintegerRequired
totalCountintegerRequired
versionstringOptional
get/manager/threat-reports
GET /manager/threat-reports HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "page": 1,
  "pageSize": 1,
  "reports": [
    {
      "advisoryId": "text",
      "advisoryUrl": "text",
      "aliases": [
        "text"
      ],
      "existing": true,
      "investigationId": "text",
      "kind": "advisory",
      "requestId": "text",
      "researchVersion": "text",
      "resubmittable": true,
      "significance": "published_to_all",
      "status": "queued",
      "submittedAt": "text",
      "threatId": "text",
      "title": "text",
      "verification": "pending",
      "verificationReason": "text"
    }
  ],
  "totalCount": 1,
  "version": "text"
}

Threat investigations

An investigation moves through PENDING, INVESTIGATING, INVESTIGATED, REMEDIATING and RESOLVED, or FAILED. Its client impact lists the repositories and findings that are exposed.

Create a threat investigation

Creates an investigation and queues the research. Provide a title (required) and optionally cveIds, severity, cvss, ecosystem, affectedPackages, articleLinks, advice and keywords. Links and package source URLs must be absolute http or https URLs, otherwise the call returns 400. Without keywords or affectedPackages the title is used as the keywords. With affectedPackages and no keywords, Manager runs the deterministic exposure check on exactly those packages without web research.

The response returns the new investigation, which is still pending its research. Poll Get a threat investigation. If an equivalent investigation already exists the call returns it with existing: true rather than creating a duplicate. Requires finding write access.

Post Threat Investigation

post

Create a new threat investigation in PENDING status

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
advicestringOptional
articleLinksstring[]Optional
cveIdsstring[] · nullableOptional
cvssnumber · doubleOptional
descriptionstringOptional
ecosystemstringOptional
keywordsstringOptional
severitystringOptional
titlestringRequired
Responses
200

OK

application/json
existingbooleanOptional
versionstringOptional
post/manager/threat-investigations
POST /manager/threat-investigations HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 350

{
  "advice": "text",
  "affectedPackages": [
    {
      "affectedRange": "text",
      "attributionProvenance": "text",
      "attributionType": "text",
      "ecosystem": "text",
      "name": "text",
      "source": "text",
      "sourceQuote": "text",
      "sourceUrl": "text"
    }
  ],
  "articleLinks": [
    "text"
  ],
  "cveIds": [
    "text"
  ],
  "cvss": 1,
  "description": "text",
  "ecosystem": "text",
  "keywords": "text",
  "severity": "text",
  "title": "text"
}
{
  "existing": true,
  "threatInvestigation": {
    "advice": "text",
    "clientImpact": {
      "affectedRepoCount": 1,
      "affectedRepos": [
        {
          "ciActivity": {
            "buildCount": 1,
            "introducedCommitBuilt": true,
            "successfulBuildCount": 1,
            "wasBuilt": true
          },
          "evidenceSource": "text",
          "findingId": "text",
          "firstSeen": "2026-01-01T00:00:00.000Z",
          "introducedCommit": "text",
          "isArchived": true,
          "isAutoFixable": true,
          "isDirect": true,
          "isRemediated": true,
          "lastScannedAt": "2026-01-01T00:00:00.000Z",
          "lastSeen": "2026-01-01T00:00:00.000Z",
          "manifestFile": "text",
          "manifestPath": "text",
          "packageName": "text",
          "removedCommit": "text",
          "repositoryId": "text",
          "repositoryName": "text",
          "repositoryOwner": "text",
          "resolvedWithoutLockfile": true,
          "version": "text"
        }
      ],
      "assessedRepoCount": 1,
      "ciLogCheck": {
        "checkedAt": "text",
        "omittedRepos": 1,
        "repos": [
          {
            "ciProvider": "github_actions",
            "logsRead": 1,
            "reasons": [
              "text"
            ],
            "repository": "text",
            "runs": 1,
            "verdict": "affected",
            "windowFrom": "text",
            "windowTo": "text"
          }
        ],
        "version": 1
      },
      "findingIds": [
        "text"
      ],
      "impactIncomplete": true,
      "impactIncompleteReason": "text",
      "inventoryCheckedAt": "text",
      "inventoryFreshUntil": "text",
      "inventoryFreshness": "text",
      "outOfScopeRepoCount": 1,
      "packageVerdicts": [
        {
          "checkedAt": "text",
          "ecosystem": "text",
          "error": "text",
          "packageName": "text",
          "unknownReason": "text",
          "verdict": "text"
        }
      ],
      "pendingFindingRepoCount": 1,
      "totalRepoCount": 1,
      "unaffectedRepoCount": 1,
      "unknownRepoCount": 1
    },
    "createdAt": "text",
    "currentStage": "queued",
    "currentStageAt": "2026-01-01T00:00:00.000Z",
    "failureCategory": "transient_upstream",
    "failureMessage": "text",
    "generalInfo": {
      "advisoryIds": [
        {
          "id": "text",
          "source": "NULLIFY"
        }
      ],
      "affectedPackages": [
        {
          "affectedRange": "text",
          "attributionProvenance": "text",
          "attributionType": "text",
          "ecosystem": "text",
          "name": "text",
          "source": "text",
          "sourceQuote": "text",
          "sourceUrl": "text"
        }
      ],
      "articleLinks": [
        "text"
      ],
      "cveIds": [
        "text"
      ],
      "cvss": 1,
      "description": "text",
      "discoveredAt": "text",
      "ecosystem": "text",
      "exploitability": "text",
      "history": "text",
      "nullifyAdvisoryId": "text",
      "severity": "CRITICAL",
      "title": "text",
      "withdrawn": true
    },
    "id": "text",
    "investigationVersion": "text",
    "keywords": "text",
    "legacyAssessment": true,
    "legacyAssessmentId": "text",
    "legacyCveInvestigations": [
      {
        "cveId": "text",
        "failureCategory": "transient_upstream",
        "investigationId": "text",
        "runStatus": "PENDING",
        "status": "PENDING"
      }
    ],
    "remediation": {
      "autoFixableCount": 1,
      "autofixPrIds": [
        "text"
      ],
      "campaignId": "text",
      "campaignStatus": "text",
      "campaignTitle": "text",
      "findingCount": 1,
      "prCreateCount": 1,
      "prFailedCount": 1,
      "scanCompleted": true,
      "scanTimestamp": "text"
    },
    "report": {
      "executiveSummary": "text",
      "referenceLinks": [
        "text"
      ],
      "remediationPlan": "text",
      "vulnerabilityDetail": "text"
    },
    "requestedBy": "text",
    "researchVersion": "text",
    "runId": "text",
    "runQueued": true,
    "runRetryAt": "2026-01-01T00:00:00.000Z",
    "runStatus": "PENDING",
    "sourceVulnDbThreatId": "text",
    "status": "PENDING",
    "timeline": {
      "customerNotifiedAt": "text",
      "impactAssessedAt": "text",
      "internalNotifiedAt": "text",
      "investigationCompletedAt": "text",
      "investigationCreatedAt": "text",
      "remediationStartedAt": "text",
      "reportWrittenAt": "text",
      "researchCompletedAt": "text",
      "researchStartedAt": "text",
      "resolvedAt": "text",
      "threatDiscoveredAt": "text"
    },
    "triggerReason": "text",
    "type": "text",
    "updatedAt": "text"
  },
  "version": "text"
}

List threat investigations

Returns your tenant's investigations with page and pageSize, or limit and offset, which override them when set. Filter with search (a case-insensitive match on title, CVE, package or ecosystem), severity, ecosystem and status. total is the whole count regardless of the window.

Get Threat Investigations

get

Returns a list of threat investigations detected by threat intelligence

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

pageintegerOptionalDefault: 1
pageSizeintegerOptionalDefault: 20
limitinteger · nullableOptional

Maximum number of investigations to return; overrides pageSize when set

offsetinteger · nullableOptional

Number of investigations to skip; overrides page when set

searchstringOptional

Case-insensitive title, CVE, package or ecosystem substring

severitystringOptional
ecosystemstringOptional
statusstringOptional

Case-insensitive status: PENDING, INVESTIGATING, INVESTIGATED, REMEDIATING, RESOLVED, FAILED, NEEDS_REINVESTIGATION or WITHDRAWN

affectedOnlybooleanOptional

Only investigations with at least one affected repository

sortstring · enumOptional

recent (default) or affected: most affected repositories first

Possible values:
Responses
200

OK

application/json
affectedInvestigationsintegerRequired

Investigations with at least one affected repository, across every page

affectedReposintegerRequired

Distinct repositories affected by any investigation in the filtered set

linkedFindingsintegerRequired

Distinct findings linked to any investigation in the filtered set

numItemsintegerRequired
totalintegerRequired
versionstringOptional
get/manager/threat-investigations
GET /manager/threat-investigations HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "affectedInvestigations": 1,
  "affectedRepos": 1,
  "linkedFindings": 1,
  "numItems": 1,
  "threatInvestigations": [
    {
      "advice": "text",
      "clientImpact": {
        "affectedRepoCount": 1,
        "affectedRepos": [
          {
            "ciActivity": {
              "buildCount": 1,
              "introducedCommitBuilt": true,
              "successfulBuildCount": 1,
              "wasBuilt": true
            },
            "evidenceSource": "text",
            "findingId": "text",
            "firstSeen": "2026-01-01T00:00:00.000Z",
            "introducedCommit": "text",
            "isArchived": true,
            "isAutoFixable": true,
            "isDirect": true,
            "isRemediated": true,
            "lastScannedAt": "2026-01-01T00:00:00.000Z",
            "lastSeen": "2026-01-01T00:00:00.000Z",
            "manifestFile": "text",
            "manifestPath": "text",
            "packageName": "text",
            "removedCommit": "text",
            "repositoryId": "text",
            "repositoryName": "text",
            "repositoryOwner": "text",
            "resolvedWithoutLockfile": true,
            "version": "text"
          }
        ],
        "assessedRepoCount": 1,
        "ciLogCheck": {
          "checkedAt": "text",
          "omittedRepos": 1,
          "repos": [
            {
              "ciProvider": "github_actions",
              "logsRead": 1,
              "reasons": [
                "text"
              ],
              "repository": "text",
              "runs": 1,
              "verdict": "affected",
              "windowFrom": "text",
              "windowTo": "text"
            }
          ],
          "version": 1
        },
        "findingIds": [
          "text"
        ],
        "impactIncomplete": true,
        "impactIncompleteReason": "text",
        "inventoryCheckedAt": "text",
        "inventoryFreshUntil": "text",
        "inventoryFreshness": "text",
        "outOfScopeRepoCount": 1,
        "packageVerdicts": [
          {
            "checkedAt": "text",
            "ecosystem": "text",
            "error": "text",
            "packageName": "text",
            "unknownReason": "text",
            "verdict": "text"
          }
        ],
        "pendingFindingRepoCount": 1,
        "totalRepoCount": 1,
        "unaffectedRepoCount": 1,
        "unknownRepoCount": 1
      },
      "createdAt": "text",
      "currentStage": "queued",
      "currentStageAt": "2026-01-01T00:00:00.000Z",
      "failureCategory": "transient_upstream",
      "failureMessage": "text",
      "generalInfo": {
        "advisoryIds": [
          {
            "id": "text",
            "source": "NULLIFY"
          }
        ],
        "affectedPackages": [
          {
            "affectedRange": "text",
            "attributionProvenance": "text",
            "attributionType": "text",
            "ecosystem": "text",
            "name": "text",
            "source": "text",
            "sourceQuote": "text",
            "sourceUrl": "text"
          }
        ],
        "articleLinks": [
          "text"
        ],
        "cveIds": [
          "text"
        ],
        "cvss": 1,
        "description": "text",
        "discoveredAt": "text",
        "ecosystem": "text",
        "exploitability": "text",
        "history": "text",
        "nullifyAdvisoryId": "text",
        "severity": "CRITICAL",
        "title": "text",
        "withdrawn": true
      },
      "id": "text",
      "investigationVersion": "text",
      "keywords": "text",
      "legacyAssessment": true,
      "legacyAssessmentId": "text",
      "legacyCveInvestigations": [
        {
          "cveId": "text",
          "failureCategory": "transient_upstream",
          "investigationId": "text",
          "runStatus": "PENDING",
          "status": "PENDING"
        }
      ],
      "remediation": {
        "autoFixableCount": 1,
        "autofixPrIds": [
          "text"
        ],
        "campaignId": "text",
        "campaignStatus": "text",
        "campaignTitle": "text",
        "findingCount": 1,
        "prCreateCount": 1,
        "prFailedCount": 1,
        "scanCompleted": true,
        "scanTimestamp": "text"
      },
      "report": {
        "executiveSummary": "text",
        "referenceLinks": [
          "text"
        ],
        "remediationPlan": "text",
        "vulnerabilityDetail": "text"
      },
      "requestedBy": "text",
      "researchVersion": "text",
      "runId": "text",
      "runQueued": true,
      "runRetryAt": "2026-01-01T00:00:00.000Z",
      "runStatus": "PENDING",
      "sourceVulnDbThreatId": "text",
      "status": "PENDING",
      "timeline": {
        "customerNotifiedAt": "text",
        "impactAssessedAt": "text",
        "internalNotifiedAt": "text",
        "investigationCompletedAt": "text",
        "investigationCreatedAt": "text",
        "remediationStartedAt": "text",
        "reportWrittenAt": "text",
        "researchCompletedAt": "text",
        "researchStartedAt": "text",
        "resolvedAt": "text",
        "threatDiscoveredAt": "text"
      },
      "triggerReason": "text",
      "type": "text",
      "updatedAt": "text"
    }
  ],
  "total": 1,
  "version": "text"
}

Get a threat investigation

Returns one investigation with its events. Set includeVersions=true to also return earlier assessment versions, paged with versionLimit (default 20) and versionOffset.

Get Threat Investigation

get

Returns a single threat investigation with its events

Path parameters
threatInvestigationIdstringRequired
Query parameters
includeVersionsbooleanOptional
versionLimitintegerOptionalDefault: 20
versionOffsetintegerOptionalDefault: 0
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
versionstringOptional
get/manager/threat-investigations/{threatInvestigationId}
GET /manager/threat-investigations/{threatInvestigationId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "events": [
    {
      "actionType": "text",
      "campaignIds": [
        "text"
      ],
      "createdAt": "text",
      "description": "text",
      "findingIds": [
        "text"
      ],
      "id": "text",
      "metaData": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "pullRequestIds": [
        "text"
      ],
      "reasoning": "text",
      "repositoryIds": [
        "text"
      ],
      "status": "text",
      "threatInvestigationIds": [
        "text"
      ],
      "ticketIds": [
        "text"
      ],
      "userIds": [
        "text"
      ]
    }
  ],
  "investigationVersions": [
    {
      "advice": "text",
      "clientImpact": {
        "affectedRepoCount": 1,
        "affectedRepos": [
          {
            "ciActivity": {
              "buildCount": 1,
              "introducedCommitBuilt": true,
              "successfulBuildCount": 1,
              "wasBuilt": true
            },
            "evidenceSource": "text",
            "findingId": "text",
            "firstSeen": "2026-01-01T00:00:00.000Z",
            "introducedCommit": "text",
            "isArchived": true,
            "isAutoFixable": true,
            "isDirect": true,
            "isRemediated": true,
            "lastScannedAt": "2026-01-01T00:00:00.000Z",
            "lastSeen": "2026-01-01T00:00:00.000Z",
            "manifestFile": "text",
            "manifestPath": "text",
            "packageName": "text",
            "removedCommit": "text",
            "repositoryId": "text",
            "repositoryName": "text",
            "repositoryOwner": "text",
            "resolvedWithoutLockfile": true,
            "version": "text"
          }
        ],
        "assessedRepoCount": 1,
        "ciLogCheck": {
          "checkedAt": "text",
          "omittedRepos": 1,
          "repos": [
            {
              "ciProvider": "github_actions",
              "logsRead": 1,
              "reasons": [
                "text"
              ],
              "repository": "text",
              "runs": 1,
              "verdict": "affected",
              "windowFrom": "text",
              "windowTo": "text"
            }
          ],
          "version": 1
        },
        "findingIds": [
          "text"
        ],
        "impactIncomplete": true,
        "impactIncompleteReason": "text",
        "inventoryCheckedAt": "text",
        "inventoryFreshUntil": "text",
        "inventoryFreshness": "text",
        "outOfScopeRepoCount": 1,
        "packageVerdicts": [
          {
            "checkedAt": "text",
            "ecosystem": "text",
            "error": "text",
            "packageName": "text",
            "unknownReason": "text",
            "verdict": "text"
          }
        ],
        "pendingFindingRepoCount": 1,
        "totalRepoCount": 1,
        "unaffectedRepoCount": 1,
        "unknownRepoCount": 1
      },
      "createdAt": "text",
      "currentStage": "queued",
      "currentStageAt": "2026-01-01T00:00:00.000Z",
      "failureCategory": "transient_upstream",
      "failureMessage": "text",
      "generalInfo": {
        "advisoryIds": [
          {
            "id": "text",
            "source": "NULLIFY"
          }
        ],
        "affectedPackages": [
          {
            "affectedRange": "text",
            "attributionProvenance": "text",
            "attributionType": "text",
            "ecosystem": "text",
            "name": "text",
            "source": "text",
            "sourceQuote": "text",
            "sourceUrl": "text"
          }
        ],
        "articleLinks": [
          "text"
        ],
        "cveIds": [
          "text"
        ],
        "cvss": 1,
        "description": "text",
        "discoveredAt": "text",
        "ecosystem": "text",
        "exploitability": "text",
        "history": "text",
        "nullifyAdvisoryId": "text",
        "severity": "CRITICAL",
        "title": "text",
        "withdrawn": true
      },
      "id": "text",
      "investigationVersion": "text",
      "keywords": "text",
      "legacyAssessment": true,
      "legacyAssessmentId": "text",
      "legacyCveInvestigations": [
        {
          "cveId": "text",
          "failureCategory": "transient_upstream",
          "investigationId": "text",
          "runStatus": "PENDING",
          "status": "PENDING"
        }
      ],
      "remediation": {
        "autoFixableCount": 1,
        "autofixPrIds": [
          "text"
        ],
        "campaignId": "text",
        "campaignStatus": "text",
        "campaignTitle": "text",
        "findingCount": 1,
        "prCreateCount": 1,
        "prFailedCount": 1,
        "scanCompleted": true,
        "scanTimestamp": "text"
      },
      "report": {
        "executiveSummary": "text",
        "referenceLinks": [
          "text"
        ],
        "remediationPlan": "text",
        "vulnerabilityDetail": "text"
      },
      "requestedBy": "text",
      "researchVersion": "text",
      "runId": "text",
      "runQueued": true,
      "runRetryAt": "2026-01-01T00:00:00.000Z",
      "runStatus": "PENDING",
      "sourceVulnDbThreatId": "text",
      "status": "PENDING",
      "timeline": {
        "customerNotifiedAt": "text",
        "impactAssessedAt": "text",
        "internalNotifiedAt": "text",
        "investigationCompletedAt": "text",
        "investigationCreatedAt": "text",
        "remediationStartedAt": "text",
        "reportWrittenAt": "text",
        "researchCompletedAt": "text",
        "researchStartedAt": "text",
        "resolvedAt": "text",
        "threatDiscoveredAt": "text"
      },
      "triggerReason": "text",
      "type": "text",
      "updatedAt": "text"
    }
  ],
  "threatInvestigation": {
    "advice": "text",
    "clientImpact": {
      "affectedRepoCount": 1,
      "affectedRepos": [
        {
          "ciActivity": {
            "buildCount": 1,
            "introducedCommitBuilt": true,
            "successfulBuildCount": 1,
            "wasBuilt": true
          },
          "evidenceSource": "text",
          "findingId": "text",
          "firstSeen": "2026-01-01T00:00:00.000Z",
          "introducedCommit": "text",
          "isArchived": true,
          "isAutoFixable": true,
          "isDirect": true,
          "isRemediated": true,
          "lastScannedAt": "2026-01-01T00:00:00.000Z",
          "lastSeen": "2026-01-01T00:00:00.000Z",
          "manifestFile": "text",
          "manifestPath": "text",
          "packageName": "text",
          "removedCommit": "text",
          "repositoryId": "text",
          "repositoryName": "text",
          "repositoryOwner": "text",
          "resolvedWithoutLockfile": true,
          "version": "text"
        }
      ],
      "assessedRepoCount": 1,
      "ciLogCheck": {
        "checkedAt": "text",
        "omittedRepos": 1,
        "repos": [
          {
            "ciProvider": "github_actions",
            "logsRead": 1,
            "reasons": [
              "text"
            ],
            "repository": "text",
            "runs": 1,
            "verdict": "affected",
            "windowFrom": "text",
            "windowTo": "text"
          }
        ],
        "version": 1
      },
      "findingIds": [
        "text"
      ],
      "impactIncomplete": true,
      "impactIncompleteReason": "text",
      "inventoryCheckedAt": "text",
      "inventoryFreshUntil": "text",
      "inventoryFreshness": "text",
      "outOfScopeRepoCount": 1,
      "packageVerdicts": [
        {
          "checkedAt": "text",
          "ecosystem": "text",
          "error": "text",
          "packageName": "text",
          "unknownReason": "text",
          "verdict": "text"
        }
      ],
      "pendingFindingRepoCount": 1,
      "totalRepoCount": 1,
      "unaffectedRepoCount": 1,
      "unknownRepoCount": 1
    },
    "createdAt": "text",
    "currentStage": "queued",
    "currentStageAt": "2026-01-01T00:00:00.000Z",
    "failureCategory": "transient_upstream",
    "failureMessage": "text",
    "generalInfo": {
      "advisoryIds": [
        {
          "id": "text",
          "source": "NULLIFY"
        }
      ],
      "affectedPackages": [
        {
          "affectedRange": "text",
          "attributionProvenance": "text",
          "attributionType": "text",
          "ecosystem": "text",
          "name": "text",
          "source": "text",
          "sourceQuote": "text",
          "sourceUrl": "text"
        }
      ],
      "articleLinks": [
        "text"
      ],
      "cveIds": [
        "text"
      ],
      "cvss": 1,
      "description": "text",
      "discoveredAt": "text",
      "ecosystem": "text",
      "exploitability": "text",
      "history": "text",
      "nullifyAdvisoryId": "text",
      "severity": "CRITICAL",
      "title": "text",
      "withdrawn": true
    },
    "id": "text",
    "investigationVersion": "text",
    "keywords": "text",
    "legacyAssessment": true,
    "legacyAssessmentId": "text",
    "legacyCveInvestigations": [
      {
        "cveId": "text",
        "failureCategory": "transient_upstream",
        "investigationId": "text",
        "runStatus": "PENDING",
        "status": "PENDING"
      }
    ],
    "remediation": {
      "autoFixableCount": 1,
      "autofixPrIds": [
        "text"
      ],
      "campaignId": "text",
      "campaignStatus": "text",
      "campaignTitle": "text",
      "findingCount": 1,
      "prCreateCount": 1,
      "prFailedCount": 1,
      "scanCompleted": true,
      "scanTimestamp": "text"
    },
    "report": {
      "executiveSummary": "text",
      "referenceLinks": [
        "text"
      ],
      "remediationPlan": "text",
      "vulnerabilityDetail": "text"
    },
    "requestedBy": "text",
    "researchVersion": "text",
    "runId": "text",
    "runQueued": true,
    "runRetryAt": "2026-01-01T00:00:00.000Z",
    "runStatus": "PENDING",
    "sourceVulnDbThreatId": "text",
    "status": "PENDING",
    "timeline": {
      "customerNotifiedAt": "text",
      "impactAssessedAt": "text",
      "internalNotifiedAt": "text",
      "investigationCompletedAt": "text",
      "investigationCreatedAt": "text",
      "remediationStartedAt": "text",
      "reportWrittenAt": "text",
      "researchCompletedAt": "text",
      "researchStartedAt": "text",
      "resolvedAt": "text",
      "threatDiscoveredAt": "text"
    },
    "triggerReason": "text",
    "type": "text",
    "updatedAt": "text"
  },
  "version": "text"
}

Act on a threat investigation

Performs an action on an investigation:

  • reinvestigate (or refresh_research) re-runs the research and refresh_impact re-checks which repositories are affected. Both are asynchronous: they queue a run and return the investigation. They return 409 if a run is already in progress.

  • activate starts remediation. It only works on an INVESTIGATED investigation that has affected repositories and findings eligible for Manager campaigns; otherwise it returns 400, with a hint to run refresh_impact when scanner findings are still pending. It creates an active campaign titled "Remediate: ..." with no end date for those findings, sets the investigation to REMEDIATING, and tries to start a Manager run for the campaign straight away. This is a direct action by the caller and does not create a proposal. If the immediate run cannot be started, the campaign is picked up by the next scheduled run.

  • notify approves posting the held Slack notifications for an investigation in INVESTIGATED, REMEDIATING or RESOLVED status, and starts a notify-only run.

Any other action returns 400, and an unknown investigation returns 404. Requires finding write access.

Patch Threat Investigation

patch

Perform an action on a threat investigation (e.g. activate)

Path parameters
threatInvestigationIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
actionstringRequired
Responses
200

OK

application/json
versionstringOptional
patch/manager/threat-investigations/{threatInvestigationId}
PATCH /manager/threat-investigations/{threatInvestigationId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "action": "text"
}
{
  "threatInvestigation": {
    "advice": "text",
    "clientImpact": {
      "affectedRepoCount": 1,
      "affectedRepos": [
        {
          "ciActivity": {
            "buildCount": 1,
            "introducedCommitBuilt": true,
            "successfulBuildCount": 1,
            "wasBuilt": true
          },
          "evidenceSource": "text",
          "findingId": "text",
          "firstSeen": "2026-01-01T00:00:00.000Z",
          "introducedCommit": "text",
          "isArchived": true,
          "isAutoFixable": true,
          "isDirect": true,
          "isRemediated": true,
          "lastScannedAt": "2026-01-01T00:00:00.000Z",
          "lastSeen": "2026-01-01T00:00:00.000Z",
          "manifestFile": "text",
          "manifestPath": "text",
          "packageName": "text",
          "removedCommit": "text",
          "repositoryId": "text",
          "repositoryName": "text",
          "repositoryOwner": "text",
          "resolvedWithoutLockfile": true,
          "version": "text"
        }
      ],
      "assessedRepoCount": 1,
      "ciLogCheck": {
        "checkedAt": "text",
        "omittedRepos": 1,
        "repos": [
          {
            "ciProvider": "github_actions",
            "logsRead": 1,
            "reasons": [
              "text"
            ],
            "repository": "text",
            "runs": 1,
            "verdict": "affected",
            "windowFrom": "text",
            "windowTo": "text"
          }
        ],
        "version": 1
      },
      "findingIds": [
        "text"
      ],
      "impactIncomplete": true,
      "impactIncompleteReason": "text",
      "inventoryCheckedAt": "text",
      "inventoryFreshUntil": "text",
      "inventoryFreshness": "text",
      "outOfScopeRepoCount": 1,
      "packageVerdicts": [
        {
          "checkedAt": "text",
          "ecosystem": "text",
          "error": "text",
          "packageName": "text",
          "unknownReason": "text",
          "verdict": "text"
        }
      ],
      "pendingFindingRepoCount": 1,
      "totalRepoCount": 1,
      "unaffectedRepoCount": 1,
      "unknownRepoCount": 1
    },
    "createdAt": "text",
    "currentStage": "queued",
    "currentStageAt": "2026-01-01T00:00:00.000Z",
    "failureCategory": "transient_upstream",
    "failureMessage": "text",
    "generalInfo": {
      "advisoryIds": [
        {
          "id": "text",
          "source": "NULLIFY"
        }
      ],
      "affectedPackages": [
        {
          "affectedRange": "text",
          "attributionProvenance": "text",
          "attributionType": "text",
          "ecosystem": "text",
          "name": "text",
          "source": "text",
          "sourceQuote": "text",
          "sourceUrl": "text"
        }
      ],
      "articleLinks": [
        "text"
      ],
      "cveIds": [
        "text"
      ],
      "cvss": 1,
      "description": "text",
      "discoveredAt": "text",
      "ecosystem": "text",
      "exploitability": "text",
      "history": "text",
      "nullifyAdvisoryId": "text",
      "severity": "CRITICAL",
      "title": "text",
      "withdrawn": true
    },
    "id": "text",
    "investigationVersion": "text",
    "keywords": "text",
    "legacyAssessment": true,
    "legacyAssessmentId": "text",
    "legacyCveInvestigations": [
      {
        "cveId": "text",
        "failureCategory": "transient_upstream",
        "investigationId": "text",
        "runStatus": "PENDING",
        "status": "PENDING"
      }
    ],
    "remediation": {
      "autoFixableCount": 1,
      "autofixPrIds": [
        "text"
      ],
      "campaignId": "text",
      "campaignStatus": "text",
      "campaignTitle": "text",
      "findingCount": 1,
      "prCreateCount": 1,
      "prFailedCount": 1,
      "scanCompleted": true,
      "scanTimestamp": "text"
    },
    "report": {
      "executiveSummary": "text",
      "referenceLinks": [
        "text"
      ],
      "remediationPlan": "text",
      "vulnerabilityDetail": "text"
    },
    "requestedBy": "text",
    "researchVersion": "text",
    "runId": "text",
    "runQueued": true,
    "runRetryAt": "2026-01-01T00:00:00.000Z",
    "runStatus": "PENDING",
    "sourceVulnDbThreatId": "text",
    "status": "PENDING",
    "timeline": {
      "customerNotifiedAt": "text",
      "impactAssessedAt": "text",
      "internalNotifiedAt": "text",
      "investigationCompletedAt": "text",
      "investigationCreatedAt": "text",
      "remediationStartedAt": "text",
      "reportWrittenAt": "text",
      "researchCompletedAt": "text",
      "researchStartedAt": "text",
      "resolvedAt": "text",
      "threatDiscoveredAt": "text"
    },
    "triggerReason": "text",
    "type": "text",
    "updatedAt": "text"
  },
  "version": "text"
}

Last updated