Skip to main content
GET
/
audits
/
{auditId}
/
information-requests
/
{requestId}
/
evidence
/
{evidenceId}
/
test-snapshot
TypeScript
import { Vanta } from "vanta-auditor-api-sdk";

const vanta = new Vanta({
  bearerAuth: process.env["VANTA_BEARER_AUTH"] ?? "",
});

async function run() {
  const result = await vanta.audits.getInformationRequestTestSnapshotEvidenceDetail({
    auditId: "<id>",
    requestId: "<id>",
    evidenceId: "<id>",
  });

  console.log(result);
}

run();
{
  "testId": "test.okta.account-creation",
  "testName": "Okta user provisioning test",
  "description": "Verify Okta user accounts are created via SSO.",
  "evaluationCriteria": "Confirms that all human user accounts in Okta were provisioned via the SSO workflow.",
  "integrations": [
    {
      "integrationId": "okta",
      "displayName": "Okta"
    }
  ],
  "slaRemediation": {
    "id": "sla-30d",
    "settings": {
      "numericValue": 30,
      "unit": "DAYS"
    }
  },
  "rawTestData": [
    {
      "resourceId": "6890e473dce1da5d8406f700",
      "resourceType": "OktaUser",
      "rawJson": {
        "id": "6890e473dce1da5d8406f700",
        "status": "ACTIVE"
      }
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

auditId
string
required
requestId
string
required
evidenceId
string
required

Response

200 - application/json

Ok

Detail response for a captured automated-test snapshot evidence row.

Combines the test-level metadata (description, integrations, SLA remediation) with a uniform raw-data array so external clients see the same shape regardless of whether the snapshot was structured or unstructured.

testId
string
required

The unique identifier for the test in Vanta's system.

testName
string
required

The display name of the test.

description
string
required

A short description of what the test checks.

evaluationCriteria
string | null
required

Longer-form, formatted description of the test. Null when unset.

integrations
object[]
required

Integrations whose data feeds the test.

slaRemediation
object
required

SLA remediation policy attached to the test, or null when no SLA is set.

rawTestData
object[]
required

Raw test data captured at snapshot time.