1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "records": [{
10 "cveId": "CVE-2026-10001",
11 "package": "demo-gateway",
12 "affectedVersion": "<4.2.1",
13 "fixedVersion": "4.2.1",
14 "severity": "CRITICAL",
15 "cvss": 9.8,
16 "epss": 0.92,
17 "knownExploited": True,
18 "exploitAvailable": True,
19 "assetCount": 37,
20 "daysToDue": 3,
21 "status": "open",
22 "observedAt": "2026-08-02T10:00:00Z",
23 "productWorkflow": "cve-asset-impact-prioritizer",
24 }],
25 "previousRecords": [{
26 "cveId": "CVE-2026-10001",
27 "package": "demo-gateway",
28 "affectedVersion": "<4.2.1",
29 "fixedVersion": "",
30 "severity": "HIGH",
31 "cvss": 8.1,
32 "epss": 0.21,
33 "knownExploited": False,
34 "exploitAvailable": False,
35 "assetCount": 12,
36 "daysToDue": 14,
37 "status": "open",
38 "observedAt": "2026-08-01T10:00:00Z",
39 "productWorkflow": "cve-asset-impact-prioritizer",
40 }],
41}
42
43
44run = client.actor("night111/cve-asset-impact-prioritizer").call(run_input=run_input)
45
46
47print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
48for item in client.dataset(run.default_dataset_id).iterate_items():
49 print(item)
50
51