# DORA & NIS2 Vendor Risk & Trust Center Monitor (`aegisaudit/dora-nis2-vendor-risk-trust-center-monitor`) Actor

Audits B2B SaaS vendors for EU DORA/NIS2 ICT compliance: Ballot SC-081 200-day/100-day TLS cert validity, crt.sh Certificate Transparency shadow subdomains, DNS SPF/DMARC/CAA/DNSSEC posture, HTTP security headers, and Vanta/SafeBase/Drata Trust Center & AI subprocessor SHA-256 drift.

- **URL**: https://apify.com/aegisaudit/dora-nis2-vendor-risk-trust-center-monitor.md
- **Developed by:** [AegisAudit](https://apify.com/aegisaudit) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / 1,000 audited vendor risks

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## DORA & NIS2 Vendor Risk, TLS 200-Day Cert & Trust Center Subprocessor Monitor

Automated third-party ICT vendor compliance auditor built for **EU DORA**, **NIS2**, **CA/Browser Forum Ballot SC-081 (200-day TLS cert limit)**, and **AI Supply Chain Governance**.

### What It Monitors

1. **TLS & CA/B Forum Ballot SC-081 Readiness**: Inspects live TLS 443 handshake validity, remaining expiry days, total certificate lifespan (`exceeds200DayLimit` / `exceeds100DayLimit`), and issuer metadata.
2. **Certificate Transparency (`crt.sh`) Shadow Discovery**: Queries CT logs for exposed subdomains, soon-to-expire certificates, and legacy `>200`-day certs.
3. **DNS & HTTP Security Header Posture**: Audits MX, SPF 10-lookup compliance, DMARC enforcement policy (`reject`/`quarantine`/`none`), CAA, DNSSEC (DS/AD), and `HSTS`, `CSP`, `X-Frame-Options`, `X-Content-Type-Options`, `Referrer-Policy`, `Permissions-Policy`.
4. **Trust Center & AI Subprocessor SHA-256 Drift**: Discovers `Vanta`, `SafeBase (Drata)`, `Drata`, `Conveyor`, `Whistic`, `HyperComply`, or custom trust/subprocessor pages, extracts certifications (`SOC 2 Type II`, `ISO 27001`, `ISO 42001`, `DORA`, `NIS2`, `PCI DSS`, `HIPAA`, `GDPR`), lists infrastructure & AI subprocessors (`OpenAI`, `Anthropic`, `Vertex AI`, `AWS Bedrock`), and flags canonical `subprocessorHashSha256` drift against your pinned `baselineSubprocessorHashes`.

### Transparent Pay-Per-Event Pricing

- **$0.015 per reachable vendor domain audited (`vendor-risk-audited`)** = $15.00 per 1,000 domains.
- **$0.00 start fee**, and **$0.00 charge** when a domain is `unreachable`.

### Ready-to-Import n8n, Make.com & Clay Templates

Automate weekly DORA/NIS2 vendor risk audits, Ballot SC-081 200-day TLS checks, and AI subprocessor SHA-256 drift alerts in Slack/Jira/Sheets (MIT-licensed, built-in nodes only):

- **n8n Workflow JSON:** [05-dora-nis2-vendor-risk-subprocessor-drift-monitor.json](https://github.com/Goatincrypto/apify-b2b-lead-workflows/blob/main/workflows/05-dora-nis2-vendor-risk-subprocessor-drift-monitor.json)
- **Make.com 1-Click Blueprint:** [04-dora-nis2-vendor-risk-drift-monitor.make.json](https://github.com/Goatincrypto/apify-b2b-lead-workflows/blob/main/make-blueprints/04-dora-nis2-vendor-risk-drift-monitor.make.json)
- **Clay.com HTTP API Setup:** [clay-and-make-setup.md](https://github.com/Goatincrypto/apify-b2b-lead-workflows/blob/main/guides/clay-and-make-setup.md)

# Actor input Schema

## `domains` (type: `array`):

List of vendor domains or URLs to audit for DORA/NIS2 third-party ICT compliance, TLS 200-day cert readiness, and Trust Center subprocessor drift.

## `baselineSubprocessorHashes` (type: `object`):

Optional map of { domain: expectedSubprocessorSha256 }. Flags subprocessorDriftDetected = true whenever a vendor adds or swaps subprocessors or AI model providers.

## `includeCtDiscovery` (type: `boolean`):

When true, queries crt.sh to surface shadow subdomains and certificates violating CA/Browser Forum 200-day validity rules.

## `concurrency` (type: `integer`):

Maximum concurrent vendor domain audits (1 to 10).

## `requestTimeoutMs` (type: `integer`):

Timeout per TLS/DNS/HTTP request in milliseconds.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "cloudflare.com",
    "vercel.com"
  ],
  "baselineSubprocessorHashes": {},
  "includeCtDiscovery": true,
  "concurrency": 4,
  "requestTimeoutMs": 10000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "stripe.com",
        "cloudflare.com",
        "vercel.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aegisaudit/dora-nis2-vendor-risk-trust-center-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "domains": [
        "stripe.com",
        "cloudflare.com",
        "vercel.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("aegisaudit/dora-nis2-vendor-risk-trust-center-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "stripe.com",
    "cloudflare.com",
    "vercel.com"
  ]
}' |
apify call aegisaudit/dora-nis2-vendor-risk-trust-center-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aegisaudit/dora-nis2-vendor-risk-trust-center-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/pA8xSaQXwiPQfa104/builds/TBdpXXWC7Yo61SuzK/openapi.json
