# Dependabot Alert SLA Queue from GitHub JSON (`natstandridge/dependabot-alert-sla-queue`) Actor

Turn a pasted GitHub Dependabot alert export into an owner-assigned overdue and approaching review queue using your severity policy. No GitHub token, API call, or automatic fix.

- **URL**: https://apify.com/natstandridge/dependabot-alert-sla-queue.md
- **Developed by:** [Nathaniel Standridge](https://apify.com/natstandridge) (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

$50.00 / 1,000 delivered dependabot alert review rows

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

## Dependabot Alert SLA Queue from GitHub JSON

Turn a **buyer-supplied GitHub Dependabot alert export** into a weekly AppSec review queue. The Actor applies your review window by severity to each open alert's GitHub `created_at` date, then lists alerts that are overdue, due today, or approaching their due date. Each queue row has a repository, owner or team, package, due date, days late, and a GitHub link. The `OUTPUT` record gives coverage and excluded counts.

The prefilled `{"demoSample":true}` runs a **synthetic snapshot dated 2026-11-06**. Its two invented queue rows cost $0.10. Set `demoSample` to false, paste your own JSON, and enter your own `asOfDate` for a real review. The demo cannot be mixed with real input.

### Who uses it and why

An AppSec lead or engineering manager can run this each week before triage. The job is to hand repository owners a short, reproducible list of alerts that need review under the organization's **own policy**. GitHub's [security overview](https://docs.github.com/en/code-security/concepts/supply-chain-security/dependabot-alert-metrics) already offers built-in alert metrics and filters. This Actor is useful when a team needs its own severity deadlines, repository-to-team mapping, a dated spreadsheet-ready queue, and explicit counts of what the supplied export covered.

This is a **review deadline calculator**, not a declaration that a vulnerability is exploitable or a legal/compliance SLA breach. It does not verify whether the issue is reachable, whether a fix is available, or whether your policy has exceptions. It does not change GitHub alerts, open pull requests, or make automatic fixes.

### Get the source JSON

Use GitHub's documented [List Dependabot alerts for an organization or repository REST endpoint](https://docs.github.com/en/rest/dependabot/alerts). The organization endpoint requires an organization owner or security manager; GitHub documents the required Dependabot-alert read permission for fine-grained tokens. Retrieve the JSON **outside** this Actor with your own authorized tooling. Paste only the returned alert array into `alertsJson`; never paste a token, HTTP headers, or a response envelope.

If your request is paginated, combine every page you want reviewed into **one JSON array**. The Actor cannot tell whether you omitted pages or repositories. GitHub's API can filter by state, severity, package, assignee and other properties; this Actor reviews only the records you supply. For a weekly open queue, an open-alert export is sufficient. If you include fixed, dismissed or auto-dismissed records, they are counted as excluded and never priced as queue rows. The repository list or organization is not inferred beyond the supplied records.

The Actor makes **no GitHub or other network requests**. It accepts the documented `number`, `state`, `html_url`, `created_at`, `dependency.package`, `security_vulnerability.severity`, optional `assignees`, and optional `repository.full_name` fields. The link must be a matching `github.com/OWNER/REPO/security/dependabot/NUMBER` URL. It will not accept arbitrary links or GitHub Enterprise hostnames in this first release.

### Set your review policy

Set `asOfDate` to the UTC date for this snapshot. The default policy allows 7 days for critical, 30 for high, 90 for medium and 180 for low. Supply all four values in `slaDaysBySeverity` to customize it. The due date is **UTC date of GitHub alert creation plus your policy days**. GitHub `created_at` is when its alert was created, not when the underlying advisory was first published.

`approachingWithinDays` defaults to 14. Open alerts due later than that are counted in `OUTPUT` and do not produce a paid queue row. An alert whose due date is before `asOfDate` is `overdue`; one due on `asOfDate` is `due_today`; one due within the next N days is `approaching`. Rows sort by urgency and due date.

Optionally map `ownerByRepository`, for example `{"acme/api":"Platform team"}`. That mapping takes precedence over GitHub assignees. Unmapped alerts use their GitHub assignee logins; if none exist, the owner is `Unassigned`. This assignment is for triage and does not claim actual accountability. Confirm the correct owner before acting.

### Input and output

The prefilled input is a working synthetic demo. For real input, set `demoSample:false`, enter `alertsJson` as one JSON array, and supply `asOfDate`. Example:

```json
{
  "demoSample": false,
  "asOfDate": "2026-11-06",
  "alertsJson": "[{\"number\":14,\"state\":\"open\",\"html_url\":\"https://github.com/acme/api/security/dependabot/14\",\"created_at\":\"2026-10-20T12:00:00Z\",\"dependency\":{\"package\":{\"ecosystem\":\"npm\",\"name\":\"example-package\"},\"scope\":\"runtime\"},\"security_vulnerability\":{\"severity\":\"critical\"}}]",
  "ownerByRepository": {"acme/api": "Platform team"}
}
```

The default dataset has **one row per open alert in the due window**, with `queueStatus`, `repository`, `alertNumber`, `owner`, `ownerSource`, `severity`, `packageName`, `createdAt`, `dueDate`, `daysUntilDue`, `daysPastDue`, `alertUrl` and a plain-language explanation. This is one actual row from the synthetic demo:

```json
{
  "repository": "example-org/api",
  "alertNumber": 14,
  "owner": "engineer-a",
  "ownerSource": "github_assignees",
  "queueStatus": "overdue",
  "severity": "critical",
  "packageName": "demo-server",
  "createdAt": "2026-10-20T12:00:00Z",
  "asOfDate": "2026-11-06",
  "slaDays": 7,
  "dueDate": "2026-10-27",
  "daysPastDue": 10,
  "alertUrl": "https://github.com/example-org/api/security/dependabot/14"
}
```

Package names beginning with spreadsheet formula characters are prefixed with an apostrophe for CSV/XLSX safety. This includes scoped npm package names starting with `@`.

The `OUTPUT` record reports `alertsReviewed`, `openAlerts`, `closedExcluded`, `openOutsideQueueWindow`, `queueAvailable`, `queueDelivered`, `queueUndelivered`, counts by status, and `unassignedDelivered`. An empty queue yields no paid dataset rows. Invalid, duplicate, inconsistent or oversized input fails before a paid write with a sanitized explanation.

### Price and limits

Price: **$0.05 per delivered dataset queue row**, through Apify's native `apify-default-dataset-item` event. There is no start fee. Two demo rows cost $0.10; 20 real rows cost $1.00. An open alert outside the due window, a closed alert, a failed validation, or an undelivered row is not charged. Platform usage is paid by the Actor author under this pricing configuration. Check the live listing price before running.

The input is limited to 2 MiB UTF-8, 3,000 alert objects, 100 repository-owner mappings, and 500 delivered findings. `maxFindings` defaults to 50. The $2.00 default charge cap covers 40 rows at this price. Before any new dataset write, the Actor compares the **entire remaining planned queue** with the remaining native charge budget. If the cap is too low, the run succeeds with `OUTPUT.stopReason=charge_limit`, `status=partial`, and **zero new rows or charges**. For example, 41–50 planned rows under the $2.00 cap produce no new rows; lower `maxFindings` or raise the run charge cap to deliver the queue. `OUTPUT` names rows omitted by the finding limit or charge cap. The run is bounded to 120 seconds at 512 MiB. The Actor freezes its plan, checks native charge counts against dataset rows on restart, and leaves an ambiguous dataset write for reconciliation instead of blindly replaying it. Long-term contribution depends on actual paid use and operating costs.

Apify stores run input and output. Dependabot alerts can disclose private repository and dependency details. Upload only exports your organization permits Apify to process, then apply your retention policy. No GitHub token belongs in the input.

### Acquisition and validation

Search intent: “Dependabot SLA report,” “GitHub vulnerability backlog by owner,” and “Dependabot overdue alert queue.” A Store example and a short import walkthrough can show a complete workflow without sales calls. Store search found a [deprecated broad GitHub repository security audit](https://apify.com/gocreative.ai/github-security-audit) and generic GitHub tooling; we found no exact pasted-export SLA queue as of 2026-11-06. GitHub's built-in overview may satisfy many teams, so demand remains a hypothesis. The cheapest validation is a bounded private run on the synthetic fixture, then external repeat paid use on weekly buyer exports with owners acting on the resulting queue; owner tests and free runs are not demand evidence.

# Actor input Schema

## `demoSample` (type: `boolean`):

Prefilled example with invented GitHub-shaped alerts as of 2026-11-06. Two queue rows cost $0.10. Set false and paste your own API JSON for a real review.

## `alertsJson` (type: `string`):

Paste one JSON array from GitHub's organization or repository Dependabot alerts REST endpoint. No token. Include all pages you want reviewed; the Actor cannot fetch or verify missing pages. Maximum 3,000 alerts and 2 MiB UTF-8.

## `asOfDate` (type: `string`):

YYYY-MM-DD. Enter the date of the exported snapshot or the date your team will review it. Required for reproducible due-date calculations.

## `slaDaysBySeverity` (type: `object`):

All four severities are required if you customize this object. Example: critical 7, high 30, medium 90, low 180. This is your policy, not a GitHub guarantee.

## `approachingWithinDays` (type: `integer`):

Open alerts overdue, due today, or due in this many days enter the queue. Other open alerts are counted in OUTPUT and uncharged.

## `ownerByRepository` (type: `object`):

Map full repository names to short owner labels, for example {"acme/api":"Platform team"}. Mapping overrides GitHub assignees; up to 100 repositories. Unmapped alerts use assignees or Unassigned.

## `maxFindings` (type: `integer`):

Deliver the most overdue alerts first. OUTPUT reports the number omitted by this limit. One delivered row is one billable event.

## Actor input object example

```json
{
  "demoSample": true,
  "approachingWithinDays": 14,
  "maxFindings": 50
}
```

# Actor output Schema

## `queue` (type: `string`):

No description

## `summary` (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 = {
    "demoSample": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("natstandridge/dependabot-alert-sla-queue").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 = { "demoSample": True }

# Run the Actor and wait for it to finish
run = client.actor("natstandridge/dependabot-alert-sla-queue").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 '{
  "demoSample": true
}' |
apify call natstandridge/dependabot-alert-sla-queue --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,natstandridge/dependabot-alert-sla-queue"
        }
    }
}
```

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/g23yG5rbWugCNom5n/builds/LgSbrNPXToPqf4hHk/openapi.json
