# Tech Stack EOL & Compliance Lifecycle Radar (`striped_tailgate/tech-stack-eol-radar`) Actor

Audit runtimes, OS, databases & frameworks for End-of-Life status, patch lag, OSV CVEs, and SOC2/PCI-DSS compliance risk with upgrade paths.

- **URL**: https://apify.com/striped_tailgate/tech-stack-eol-radar.md
- **Developed by:** [hyoensu kim](https://apify.com/striped_tailgate) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 result items

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

## Tech Stack EOL & Compliance Lifecycle Radar

Audit your **runtimes, operating systems, databases, frameworks, and cloud-native infrastructure** for End-of-Life (EOL) exposure, End-of-Active-Support (EOAS), patch lag, known OSV vulnerabilities, and SOC 2 / ISO 27001 / PCI-DSS compliance violations—returning clean, deterministic JSON with actionable upgrade paths.

### Why Use This Actor?

Instead of raw single-source scrapes, this Actor correlates **three authoritative public engineering intelligence sources** in real time:

1. **endoflife.date API v1** – Official release cycles, LTS flags, EOAS/EOL dates, latest patch versions, and CPE/PURL identifiers across 400+ technologies (`python`, `nodejs`, `postgresql`, `ubuntu`, `kubernetes`, `django`, `nextjs`, `redis`, `go`, `dotnet`, etc.).
2. **OSV.dev API v1** – Paginated CVE/GHSA vulnerability lookups for both your **exact installed version** and the **latest patch in the same cycle**, showing exactly how many vulnerabilities a minor patch upgrade eliminates.
3. **Google Open Source Insights (deps.dev v3alpha)** – Package deprecation notices, license identifiers, and canonical repository links for package-backed runtimes and frameworks.

#### Key Value-Add Processing

- **Dynamic Catalog Alias Resolution**: Automatically maps common aliases (e.g., `postgres` → `postgresql`, `node` → `nodejs`, `k8s` → `kubernetes`) via the live catalog.
- **Smart Version-to-Cycle Matching**: Handles exact versions (`3.10.4` → cycle `3.10`), container tags (`13.12-alpine` → cycle `13`), and OS LTS tags (`20.04` → `20.04`).
- **Deterministic Compliance Risk Scoring (0–100)**: Scores every component into `CRITICAL`, `HIGH`, `MEDIUM`, `LOW`, or `COMPLIANT` with explicit flags (`PCI_DSS_EOL_VIOLATION`, `SOC2_UNSUPPORTED_SOFTWARE`, `EOL_WITHIN_90_DAYS`, `PATCH_BEHIND_LATEST`, `KNOWN_OSV_VULNERABILITIES`, `PACKAGE_DEPRECATED`).
- **Actionable Upgrade Paths**: Computes both the nearest maintained LTS target cycle and the immediate in-cycle security patch.
- **Portfolio Summary Artifact**: Writes an executive `SUMMARY` JSON record to the default Key-Value Store alongside per-component dataset items.

***

### Input Example

```json
{
  "stack": [
    "python:3.10.4",
    "nodejs:18.19.0",
    "postgresql:13.12",
    "ubuntu:20.04",
    "kubernetes:1.29.1"
  ],
  "warn_days": 180,
  "include_osv_vulns": true,
  "include_deps_dev": true,
  "include_all_cycles": false,
  "only_at_risk": false,
  "max_products": 50
}
```

You can also run **Discovery Mode** without pinning versions by passing `categories` (e.g. `["db", "lang", "os"]`) or `search_query` (e.g. `"redis"`).

***

### Output Example

#### Dataset Item (per component)

```json
{
  "input": "nodejs:18.19.0",
  "status": "ok",
  "product_slug": "nodejs",
  "product_label": "Node.js",
  "category": "lang",
  "installed_version": "18.19.0",
  "matched_cycle": "18",
  "match_strategy": "prefix_match",
  "is_lts": true,
  "is_maintained": false,
  "release_date": "2022-04-19",
  "eoas_from": "2023-10-18",
  "eol_from": "2025-04-30",
  "latest_patch_in_cycle": "18.20.8",
  "risk_score": 90,
  "risk_tier": "CRITICAL",
  "compliance_flags": [
    "KNOWN_OSV_VULNERABILITIES",
    "PATCH_BEHIND_LATEST",
    "PCI_DSS_EOL_VIOLATION",
    "SOC2_UNSUPPORTED_SOFTWARE"
  ],
  "is_eol": true,
  "is_eol_soon": false,
  "days_to_eol": -563,
  "is_patch_outdated": true,
  "recommended_upgrade": {
    "target_cycle": "22",
    "target_latest_version": "22.21.0",
    "target_is_lts": true,
    "target_eol_from": "2027-04-30",
    "in_cycle_latest_patch": "18.20.8"
  },
  "osv_vulnerabilities": {
    "status": "ok",
    "vuln_count": 4,
    "severity_counts": {
      "CRITICAL": 0,
      "HIGH": 2,
      "MEDIUM": 2,
      "LOW": 0,
      "UNKNOWN": 0
    }
  },
  "patch_upgrade_eliminates_vulns": 2
}
```

#### Key-Value Store (`SUMMARY`)

Contains portfolio-wide totals (`critical_count`, `eol_count`, `total_osv_vulns_found`, `compliance_pass_rate_pct`, and `top_priority_upgrades`).

***

### AI Agent & MCP Integration

This Actor is built for automated DevSecOps pipelines and AI agents via the **Apify MCP Server** (`@apify/actors-mcp-server`).

#### Example MCP Workflow (Claude / Cursor / LangGraph)

1. Your AI coding or compliance agent reads `Dockerfile`, `package.json`, `pyproject.toml`, `terraform.tf`, or `docker-compose.yml` to extract runtime & DB versions.
2. The agent invokes `tech-stack-eol-radar` via MCP with:
   ```json
   {
     "stack": ["python:3.10.4", "postgres:13.12", "redis:6.2"],
     "warn_days": 180,
     "only_at_risk": false
   }
   ```
3. The agent reads the structured `recommended_upgrade` and `compliance_flags` fields to open a prioritized remediation PR or generate a SOC 2 / PCI-DSS audit report.

### Pricing

Pay per event: **$0 per run** plus **$0.005 per record returned**. You are charged only for rows actually returned. Apify free-plan accounts can try it with their monthly free platform credits.

| Records returned | Cost per run |
| --- | --- |
| 10 | $0.050 |
| 100 (default run) | $0.500 |
| 1,000 | $5.000 |

# Actor input Schema

## `stack` (type: `array`):

List of components to audit in 'product:version' or 'product' format (e.g. 'python:3.10.4', 'nodejs:18.19.0', 'postgresql:13.12', 'ubuntu:20.04', 'kubernetes:1.29.1'). Also accepts objects with product and version keys.

## `categories` (type: `array`):

Optional endoflife.date categories to audit when discovering software portfolios (e.g. 'lang', 'db', 'os', 'framework', 'server-app', 'service').

## `search_query` (type: `string`):

Optional keyword filter to discover matching products from the live endoflife.date catalog (e.g. 'aws', 'redis', 'django').

## `warn_days` (type: `integer`):

Flag components whose End-of-Life or End-of-Active-Support date falls within this many days.

## `include_osv_vulns` (type: `boolean`):

Query OSV.dev for known CVEs affecting both the installed version and the latest patch in the same cycle (when a PURL identifier exists).

## `include_deps_dev` (type: `boolean`):

Query deps.dev v3alpha for package deprecation status, licenses, and repository metadata when applicable.

## `include_all_cycles` (type: `boolean`):

Include all release cycles for each audited product in the output item (disable for leaner AI/MCP payloads).

## `only_at_risk` (type: `boolean`):

Filter dataset output to components with risk tier MEDIUM, HIGH, or CRITICAL.

## `max_products` (type: `integer`):

Maximum number of components/products to audit in a single run.

## `fail_on_missing` (type: `boolean`):

Fail the Actor run if any requested product cannot be resolved in endoflife.date.

## Actor input object example

```json
{
  "stack": [
    "python:3.10.4",
    "nodejs:18.19.0",
    "postgresql:13.12",
    "ubuntu:20.04",
    "kubernetes:1.29.1"
  ],
  "categories": [],
  "warn_days": 180,
  "include_osv_vulns": true,
  "include_deps_dev": true,
  "include_all_cycles": false,
  "only_at_risk": false,
  "max_products": 50,
  "fail_on_missing": false
}
```

# 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 = {
    "stack": [
        "python:3.10.4",
        "nodejs:18.19.0",
        "postgresql:13.12",
        "ubuntu:20.04",
        "kubernetes:1.29.1"
    ],
    "categories": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("striped_tailgate/tech-stack-eol-radar").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 = {
    "stack": [
        "python:3.10.4",
        "nodejs:18.19.0",
        "postgresql:13.12",
        "ubuntu:20.04",
        "kubernetes:1.29.1",
    ],
    "categories": [],
}

# Run the Actor and wait for it to finish
run = client.actor("striped_tailgate/tech-stack-eol-radar").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 '{
  "stack": [
    "python:3.10.4",
    "nodejs:18.19.0",
    "postgresql:13.12",
    "ubuntu:20.04",
    "kubernetes:1.29.1"
  ],
  "categories": []
}' |
apify call striped_tailgate/tech-stack-eol-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,striped_tailgate/tech-stack-eol-radar"
        }
    }
}
```

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/bT8mwZlMt90lEN97X/builds/ThqxsWU6AsjmicjUX/openapi.json
