You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi.json
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -17374,7 +17374,7 @@
17374
17374
"name": "sort",
17375
17375
"in": "query",
17376
17376
"required": false,
17377
-
"description": "",
17377
+
"description": "Field to sort by. One of: created_at, updated_at.",
17378
17378
"schema": {
17379
17379
"type": "string",
17380
17380
"default": "created_at"
@@ -17384,7 +17384,7 @@
17384
17384
"name": "direction",
17385
17385
"in": "query",
17386
17386
"required": false,
17387
-
"description": "",
17387
+
"description": "Sort direction. One of: asc, desc.",
17388
17388
"schema": {
17389
17389
"type": "string",
17390
17390
"default": "desc"
@@ -17394,7 +17394,7 @@
17394
17394
"name": "per_page",
17395
17395
"in": "query",
17396
17396
"required": false,
17397
-
"description": "",
17397
+
"description": "Number of results per page (1–100, default 30).",
17398
17398
"schema": {
17399
17399
"type": "integer",
17400
17400
"minimum": 1,
@@ -17406,7 +17406,7 @@
17406
17406
"name": "page",
17407
17407
"in": "query",
17408
17408
"required": false,
17409
-
"description": "",
17409
+
"description": "Page number (1-based).",
17410
17410
"schema": {
17411
17411
"type": "integer",
17412
17412
"minimum": 1,
@@ -17426,7 +17426,7 @@
17426
17426
]
17427
17427
}
17428
17428
],
17429
-
"description": "Get alert triage actions for an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- triage:alerts-list",
17429
+
"description": "List triage actions for an organization. Results are paginated and can be sorted by created_at or updated_at.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- triage:alerts-list",
17430
17430
"responses": {
17431
17431
"200": {
17432
17432
"content": {
@@ -17616,7 +17616,7 @@
17616
17616
"tags": [
17617
17617
"triage"
17618
17618
],
17619
-
"summary": "Update Org Alert Triage",
17619
+
"summary": "Create/Update Org Alert Triage",
17620
17620
"operationId": "updateOrgAlertTriage",
17621
17621
"parameters": [
17622
17622
{
@@ -17655,43 +17655,43 @@
17655
17655
"properties": {
17656
17656
"uuid": {
17657
17657
"type": "string",
17658
-
"description": "",
17658
+
"description": "The UUID of the triage entry. Omit to create a new entry; provide to update an existing one.",
17659
17659
"default": "",
17660
17660
"nullable": true
17661
17661
},
17662
17662
"packageType": {
17663
17663
"type": "string",
17664
-
"description": "",
17664
+
"description": "The package ecosystem type (e.g., npm, pypi). Use null or \"*\" for wildcard.",
17665
17665
"default": "",
17666
17666
"nullable": true
17667
17667
},
17668
17668
"packageNamespace": {
17669
17669
"type": "string",
17670
-
"description": "",
17670
+
"description": "The package namespace or scope. Use null or \"*\" for wildcard.",
17671
17671
"default": "",
17672
17672
"nullable": true
17673
17673
},
17674
17674
"packageName": {
17675
17675
"type": "string",
17676
-
"description": "",
17676
+
"description": "The package name. Use null or \"*\" for wildcard.",
17677
17677
"default": "",
17678
17678
"nullable": true
17679
17679
},
17680
17680
"packageVersion": {
17681
17681
"type": "string",
17682
-
"description": "",
17682
+
"description": "The package version. Supports a \"*\" suffix for wildcard prefix matching. Use null for any version.",
17683
17683
"default": "",
17684
17684
"nullable": true
17685
17685
},
17686
17686
"alertKey": {
17687
17687
"type": "string",
17688
-
"description": "",
17688
+
"description": "The specific alert key to target.",
17689
17689
"default": "",
17690
17690
"nullable": true
17691
17691
},
17692
17692
"alertType": {
17693
17693
"type": "string",
17694
-
"description": "",
17694
+
"description": "The alert type (e.g., criticalCVE, highCVE).",
17695
17695
"default": "",
17696
17696
"nullable": true
17697
17697
},
@@ -17724,7 +17724,7 @@
17724
17724
},
17725
17725
"cveOrGhsaId": {
17726
17726
"type": "string",
17727
-
"description": "",
17727
+
"description": "CVE or GHSA ID to match against.",
17728
17728
"default": "",
17729
17729
"nullable": true
17730
17730
},
@@ -17740,13 +17740,13 @@
17740
17740
},
17741
17741
"cvssScoreCmp": {
17742
17742
"type": "string",
17743
-
"description": "",
17743
+
"description": "CVSS score comparison operator and value (e.g., >=7.5, >5.0, ==8.0).",
17744
17744
"default": "",
17745
17745
"nullable": true
17746
17746
},
17747
17747
"note": {
17748
17748
"type": "string",
17749
-
"description": "",
17749
+
"description": "A note or comment for the triage action.",
17750
17750
"default": ""
17751
17751
},
17752
17752
"state": {
@@ -17786,7 +17786,7 @@
17786
17786
]
17787
17787
}
17788
17788
],
17789
-
"description": "Update triage actions on organization alerts.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- triage:alerts-update",
17789
+
"description": "Create or update triage actions on organization alerts. Accepts a batch of triage entries. Omit `uuid` to create a new entry; provide an existing `uuid` to update it. Use `?force=true` for broad triages that lack a specific `alertKey` or granular package information.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- triage:alerts-update",
Copy file name to clipboardExpand all lines: types/api.d.ts
+50-16Lines changed: 50 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -466,7 +466,7 @@ export interface paths {
466
466
'/orgs/{org_slug}/triage/alerts': {
467
467
/**
468
468
* List Org Alert Triage
469
-
* @description Get alert triage actions for an organization.
469
+
* @description List triage actions for an organization. Results are paginated and can be sorted by created_at or updated_at.
470
470
*
471
471
* This endpoint consumes 1 unit of your quota.
472
472
*
@@ -475,8 +475,8 @@ export interface paths {
475
475
*/
476
476
get: operations['getOrgTriage']
477
477
/**
478
-
* Update Org Alert Triage
479
-
* @description Update triage actions on organization alerts.
478
+
* Create/Update Org Alert Triage
479
+
* @description Create or update triage actions on organization alerts. Accepts a batch of triage entries. Omit `uuid` to create a new entry; provide an existing `uuid` to update it. Use `?force=true` for broad triages that lack a specific `alertKey` or granular package information.
* @description Update triage actions on organization alerts.
7619
+
* Create/Update Org Alert Triage
7620
+
* @description Create or update triage actions on organization alerts. Accepts a batch of triage entries. Omit `uuid` to create a new entry; provide an existing `uuid` to update it. Use `?force=true` for broad triages that lack a specific `alertKey` or granular package information.
0 commit comments