From 1b924b95bbd8a5a924e336f354bc41176ad6517d Mon Sep 17 00:00:00 2001 From: socket-bot Date: Fri, 22 May 2026 08:36:58 +0000 Subject: [PATCH] fix(openapi): sync with openapi definition --- openapi.json | 7195 +++++++++++++++++++++++++++++++++---------- src/types-strict.ts | 496 ++- types/api.d.ts | 364 ++- 3 files changed, 6098 insertions(+), 1957 deletions(-) diff --git a/openapi.json b/openapi.json index 74bb91eb..69274be9 100644 --- a/openapi.json +++ b/openapi.json @@ -100,10 +100,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -134,10 +139,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -168,10 +178,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -202,10 +217,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -246,10 +266,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } } @@ -279,10 +304,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -313,10 +343,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -347,10 +382,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -369,13 +409,18 @@ "properties": { "_type": { "type": "string", - "enum": ["purlError"] + "enum": [ + "purlError" + ] }, "value": { "$ref": "#/components/schemas/PurlErrorSchema" } }, - "required": ["_type", "value"] + "required": [ + "_type", + "value" + ] }, { "type": "object", @@ -383,13 +428,18 @@ "properties": { "_type": { "type": "string", - "enum": ["summary"] + "enum": [ + "summary" + ] }, "value": { "$ref": "#/components/schemas/PurlSummarySchema" } }, - "required": ["_type", "value"] + "required": [ + "_type", + "value" + ] } ] }, @@ -405,7 +455,9 @@ "description": "" } }, - "required": ["components"] + "required": [ + "components" + ] }, "SocketArtifact": { "allOf": [ @@ -511,10 +563,14 @@ "default": "" } }, - "required": ["result"] + "required": [ + "result" + ] } }, - "required": ["value"] + "required": [ + "value" + ] }, "properties": {}, "description": "Mapping of supply chain risk alert types to their computed score contributions and formulas used for calculation. This allows for detailed breakdowns of how each alert type impacts the overall supply chain security score, with the ability to include custom formulas and components for each alert type." @@ -590,7 +646,9 @@ "description": "" } }, - "required": ["diffType"] + "required": [ + "diffType" + ] } ] }, @@ -669,7 +727,9 @@ "description": "" } }, - "required": ["components"] + "required": [ + "components" + ] }, "authors": { "type": "array", @@ -684,7 +744,9 @@ "default": "Socket" } }, - "required": ["name"] + "required": [ + "name" + ] }, "description": "" }, @@ -706,7 +768,9 @@ "default": "build" } }, - "required": ["phase"] + "required": [ + "phase" + ] }, "description": "" }, @@ -731,7 +795,10 @@ "default": "" } }, - "required": ["name", "value"] + "required": [ + "name", + "value" + ] }, "description": "" } @@ -772,7 +839,9 @@ "description": "" } }, - "required": ["ref"] + "required": [ + "ref" + ] }, "description": "" }, @@ -898,7 +967,9 @@ "default": "" } }, - "required": ["url"] + "required": [ + "url" + ] }, "description": "" }, @@ -950,7 +1021,9 @@ "description": "" } }, - "required": ["ref"] + "required": [ + "ref" + ] }, "description": "" }, @@ -996,7 +1069,9 @@ "description": "" } }, - "required": ["id"] + "required": [ + "id" + ] }, "description": "" } @@ -1122,7 +1197,10 @@ "description": "" } }, - "required": ["created", "creators"] + "required": [ + "created", + "creators" + ] }, "documentDescribes": { "type": "array", @@ -1238,7 +1316,10 @@ "default": "" } }, - "required": ["algorithm", "checksumValue"] + "required": [ + "algorithm", + "checksumValue" + ] }, "description": "" } @@ -1361,7 +1442,13 @@ "nullable": true } }, - "required": ["allow", "deny", "monitor", "options", "warn"] + "required": [ + "allow", + "deny", + "monitor", + "options", + "warn" + ] }, "Capabilities": { "type": "object", @@ -1404,7 +1491,15 @@ "description": "Package contains remote URL(s) in the source code" } }, - "required": ["env", "eval", "fs", "net", "shell", "unsafe", "url"] + "required": [ + "env", + "eval", + "fs", + "net", + "shell", + "unsafe", + "url" + ] }, "Qualifiers": {}, "SocketScore": { @@ -1472,7 +1567,9 @@ "default": 0 } }, - "required": ["file"] + "required": [ + "file" + ] }, "SocketId": { "type": "string", @@ -1494,7 +1591,11 @@ "$ref": "#/components/schemas/LicenseAllowListElabbed" } }, - "required": ["allow", "monitor", "warn"] + "required": [ + "allow", + "monitor", + "warn" + ] }, "LicenseAllowList": { "type": "object", @@ -1511,7 +1612,9 @@ "description": "" } }, - "required": ["strings"] + "required": [ + "strings" + ] }, "SLicenseMetaRes": { "type": "object", @@ -1586,7 +1689,13 @@ "default": "" } }, - "required": ["healthy", "id", "issues", "score", "url"] + "required": [ + "healthy", + "id", + "issues", + "score", + "url" + ] }, "SocketIssueList": { "type": "array", @@ -1650,7 +1759,10 @@ "default": "" } }, - "required": ["error", "inputPurl"] + "required": [ + "error", + "inputPurl" + ] }, "PurlSummarySchema": { "type": "object", @@ -1683,10 +1795,17 @@ "default": 0 } }, - "required": ["package_not_found", "purl_malformed"] + "required": [ + "package_not_found", + "purl_malformed" + ] } }, - "required": ["errors", "purl_input", "resolved"] + "required": [ + "errors", + "purl_input", + "resolved" + ] }, "SocketBatchPURLRequest": { "type": "object", @@ -1699,7 +1818,9 @@ "default": "" } }, - "required": ["purl"] + "required": [ + "purl" + ] }, "SocketPURL": { "type": "object", @@ -1734,7 +1855,9 @@ "default": "" } }, - "required": ["type"] + "required": [ + "type" + ] }, "SocketAlert": { "type": "object", @@ -1829,7 +1952,10 @@ "description": "" } }, - "required": ["candidates", "type"] + "required": [ + "candidates", + "type" + ] }, "actionPolicyIndex": { "type": "integer", @@ -1863,7 +1989,10 @@ }, "tier": { "type": "string", - "enum": ["free", "paid"], + "enum": [ + "free", + "paid" + ], "description": "Access tier required for this patch (free or paid)", "default": "free" }, @@ -1873,12 +2002,18 @@ "description": "Indicates if this patch is deprecated and should not be used" } }, - "required": ["tier", "uuid"] + "required": [ + "tier", + "uuid" + ] }, "description": "Patches available to fix this specific alert" } }, - "required": ["description", "type"] + "required": [ + "description", + "type" + ] }, "patch": { "$ref": "#/components/schemas/SocketPatch" @@ -1902,7 +2037,10 @@ "default": "" } }, - "required": ["key", "type"] + "required": [ + "key", + "type" + ] }, "SocketArtifactPatch": { "type": "object", @@ -2028,7 +2166,10 @@ "description": "" } }, - "required": ["attribData", "attribText"] + "required": [ + "attribData", + "attribText" + ] }, "description": "" }, @@ -2104,7 +2245,10 @@ "description": "Whether a fix is available for this alert" } }, - "required": ["result", "value"] + "required": [ + "result", + "value" + ] }, "isReachable": { "type": "object", @@ -2127,7 +2271,11 @@ "default": "" } }, - "required": ["result", "specificValue", "value"] + "required": [ + "result", + "specificValue", + "value" + ] }, "severity": { "type": "object", @@ -2145,10 +2293,17 @@ "default": 0 } }, - "required": ["result", "value"] + "required": [ + "result", + "value" + ] } }, - "required": ["isFixable", "isReachable", "severity"] + "required": [ + "isFixable", + "isReachable", + "severity" + ] }, "formula": { "type": "string", @@ -2156,7 +2311,9 @@ "default": "" } }, - "required": ["result"] + "required": [ + "result" + ] }, "properties": {}, "description": "Computed priority scores for each alert type based on severity, reachability, and fixability factors" @@ -2174,7 +2331,9 @@ "$ref": "#/components/schemas/SocketId" } }, - "required": ["id"] + "required": [ + "id" + ] } ] }, @@ -2207,7 +2366,9 @@ "default": "" } }, - "required": ["type"] + "required": [ + "type" + ] }, "description": "" }, @@ -2219,7 +2380,13 @@ }, "SocketDiffArtifactType": { "type": "string", - "enum": ["added", "removed", "updated", "replaced", "unchanged"], + "enum": [ + "added", + "removed", + "updated", + "replaced", + "unchanged" + ], "description": "Type of change detected for this artifact in the diff", "default": "unchanged" }, @@ -2280,7 +2447,10 @@ "default": "" } }, - "required": ["alg", "content"] + "required": [ + "alg", + "content" + ] }, "description": "" }, @@ -2345,7 +2515,10 @@ "default": "" } }, - "required": ["type", "url"] + "required": [ + "type", + "url" + ] }, "description": "" }, @@ -2401,12 +2574,20 @@ "default": "" } }, - "required": ["confidence", "technique", "value"] + "required": [ + "confidence", + "technique", + "value" + ] }, "description": "" } }, - "required": ["confidence", "field", "methods"] + "required": [ + "confidence", + "field", + "methods" + ] }, "occurrences": { "type": "array", @@ -2421,12 +2602,16 @@ "default": "" } }, - "required": ["location"] + "required": [ + "location" + ] }, "description": "" } }, - "required": ["identity"] + "required": [ + "identity" + ] }, "tags": { "type": "array", @@ -2455,7 +2640,10 @@ "default": "" } }, - "required": ["name", "value"] + "required": [ + "name", + "value" + ] }, "description": "" }, @@ -2487,10 +2675,16 @@ "default": "" } }, - "required": ["executionEnvironment", "implementationPlatform"] + "required": [ + "executionEnvironment", + "implementationPlatform" + ] } }, - "required": ["algorithmProperties", "assetType"] + "required": [ + "algorithmProperties", + "assetType" + ] }, "description": "" }, @@ -2502,7 +2696,14 @@ "description": "" } }, - "required": ["bom-ref", "group", "name", "purl", "type", "version"] + "required": [ + "bom-ref", + "group", + "name", + "purl", + "type", + "version" + ] }, "OpenVEXStatementSchema": { "type": "object", @@ -2574,7 +2775,11 @@ "default": "" } }, - "required": ["products", "status", "vulnerability"] + "required": [ + "products", + "status", + "vulnerability" + ] }, "LicenseAllowListElabbed": { "type": "object", @@ -2618,7 +2823,12 @@ "description": "" } }, - "required": ["classes", "disjs", "packageURLs", "strings"] + "required": [ + "classes", + "disjs", + "packageURLs", + "strings" + ] }, "SocketIssue": { "anyOf": [ @@ -2628,7 +2838,9 @@ "properties": { "type": { "type": "string", - "enum": ["gptSecurity"] + "enum": [ + "gptSecurity" + ] }, "value": { "allOf": [ @@ -2682,7 +2894,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -2694,7 +2909,9 @@ "properties": { "type": { "type": "string", - "enum": ["gptAnomaly"] + "enum": [ + "gptAnomaly" + ] }, "value": { "allOf": [ @@ -2732,7 +2949,11 @@ }, "risk": { "type": "string", - "enum": ["low", "medium", "high"], + "enum": [ + "low", + "medium", + "high" + ], "description": "", "default": "medium" }, @@ -2755,7 +2976,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -2767,7 +2991,9 @@ "properties": { "type": { "type": "string", - "enum": ["gptMalware"] + "enum": [ + "gptMalware" + ] }, "value": { "allOf": [ @@ -2821,7 +3047,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -2833,7 +3062,9 @@ "properties": { "type": { "type": "string", - "enum": ["filesystemAccess"] + "enum": [ + "filesystemAccess" + ] }, "value": { "allOf": [ @@ -2860,13 +3091,18 @@ "default": "fs" } }, - "required": ["module"] + "required": [ + "module" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -2878,7 +3114,9 @@ "properties": { "type": { "type": "string", - "enum": ["networkAccess"] + "enum": [ + "networkAccess" + ] }, "value": { "allOf": [ @@ -2905,13 +3143,18 @@ "default": "net" } }, - "required": ["module"] + "required": [ + "module" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -2923,7 +3166,9 @@ "properties": { "type": { "type": "string", - "enum": ["shellAccess"] + "enum": [ + "shellAccess" + ] }, "value": { "allOf": [ @@ -2950,13 +3195,18 @@ "default": "child_process" } }, - "required": ["module"] + "required": [ + "module" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -2968,7 +3218,9 @@ "properties": { "type": { "type": "string", - "enum": ["debugAccess"] + "enum": [ + "debugAccess" + ] }, "value": { "allOf": [ @@ -2995,13 +3247,18 @@ "default": "vm" } }, - "required": ["module"] + "required": [ + "module" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -3013,7 +3270,9 @@ "properties": { "type": { "type": "string", - "enum": ["chromePermission"] + "enum": [ + "chromePermission" + ] }, "value": { "allOf": [ @@ -3045,13 +3304,19 @@ "default": "" } }, - "required": ["permission", "permissionType"] + "required": [ + "permission", + "permissionType" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -3063,7 +3328,9 @@ "properties": { "type": { "type": "string", - "enum": ["chromeHostPermission"] + "enum": [ + "chromeHostPermission" + ] }, "value": { "allOf": [ @@ -3095,13 +3362,19 @@ "default": "" } }, - "required": ["host", "permissionType"] + "required": [ + "host", + "permissionType" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -3113,7 +3386,9 @@ "properties": { "type": { "type": "string", - "enum": ["chromeWildcardHostPermission"] + "enum": [ + "chromeWildcardHostPermission" + ] }, "value": { "allOf": [ @@ -3145,13 +3420,19 @@ "default": "" } }, - "required": ["host", "permissionType"] + "required": [ + "host", + "permissionType" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -3163,7 +3444,9 @@ "properties": { "type": { "type": "string", - "enum": ["chromeContentScript"] + "enum": [ + "chromeContentScript" + ] }, "value": { "allOf": [ @@ -3200,13 +3483,20 @@ "default": "" } }, - "required": ["matches", "runAt", "scriptFile"] + "required": [ + "matches", + "runAt", + "scriptFile" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -3218,7 +3508,9 @@ "properties": { "type": { "type": "string", - "enum": ["criticalCVE"] + "enum": [ + "criticalCVE" + ] }, "value": { "allOf": [ @@ -3267,7 +3559,11 @@ "default": "" } }, - "required": ["description", "id", "name"] + "required": [ + "description", + "id", + "name" + ] }, "description": "" }, @@ -3287,7 +3583,10 @@ "default": "" } }, - "required": ["score", "vectorString"] + "required": [ + "score", + "vectorString" + ] }, "description": { "type": "string", @@ -3413,7 +3712,10 @@ "default": 0 } }, - "required": ["percentile", "score"], + "required": [ + "percentile", + "score" + ], "nullable": true } }, @@ -3436,7 +3738,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -3448,7 +3753,9 @@ "properties": { "type": { "type": "string", - "enum": ["cve"] + "enum": [ + "cve" + ] }, "value": { "allOf": [ @@ -3497,7 +3804,11 @@ "default": "" } }, - "required": ["description", "id", "name"] + "required": [ + "description", + "id", + "name" + ] }, "description": "" }, @@ -3517,7 +3828,10 @@ "default": "" } }, - "required": ["score", "vectorString"] + "required": [ + "score", + "vectorString" + ] }, "description": { "type": "string", @@ -3643,7 +3957,10 @@ "default": 0 } }, - "required": ["percentile", "score"], + "required": [ + "percentile", + "score" + ], "nullable": true } }, @@ -3666,7 +3983,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -3678,7 +3998,9 @@ "properties": { "type": { "type": "string", - "enum": ["mediumCVE"] + "enum": [ + "mediumCVE" + ] }, "value": { "allOf": [ @@ -3727,7 +4049,11 @@ "default": "" } }, - "required": ["description", "id", "name"] + "required": [ + "description", + "id", + "name" + ] }, "description": "" }, @@ -3747,7 +4073,10 @@ "default": "" } }, - "required": ["score", "vectorString"] + "required": [ + "score", + "vectorString" + ] }, "description": { "type": "string", @@ -3873,7 +4202,10 @@ "default": 0 } }, - "required": ["percentile", "score"], + "required": [ + "percentile", + "score" + ], "nullable": true } }, @@ -3896,7 +4228,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -3908,7 +4243,9 @@ "properties": { "type": { "type": "string", - "enum": ["mildCVE"] + "enum": [ + "mildCVE" + ] }, "value": { "allOf": [ @@ -3957,7 +4294,11 @@ "default": "" } }, - "required": ["description", "id", "name"] + "required": [ + "description", + "id", + "name" + ] }, "description": "" }, @@ -3977,7 +4318,10 @@ "default": "" } }, - "required": ["score", "vectorString"] + "required": [ + "score", + "vectorString" + ] }, "description": { "type": "string", @@ -4103,7 +4447,10 @@ "default": 0 } }, - "required": ["percentile", "score"], + "required": [ + "percentile", + "score" + ], "nullable": true } }, @@ -4126,7 +4473,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4138,7 +4488,9 @@ "properties": { "type": { "type": "string", - "enum": ["emptyPackage"] + "enum": [ + "emptyPackage" + ] }, "value": { "allOf": [ @@ -4164,7 +4516,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4176,7 +4531,9 @@ "properties": { "type": { "type": "string", - "enum": ["trivialPackage"] + "enum": [ + "trivialPackage" + ] }, "value": { "allOf": [ @@ -4203,13 +4560,18 @@ "default": 0 } }, - "required": ["linesOfCode"] + "required": [ + "linesOfCode" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4221,7 +4583,9 @@ "properties": { "type": { "type": "string", - "enum": ["noREADME"] + "enum": [ + "noREADME" + ] }, "value": { "allOf": [ @@ -4247,7 +4611,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4259,7 +4626,9 @@ "properties": { "type": { "type": "string", - "enum": ["shrinkwrap"] + "enum": [ + "shrinkwrap" + ] }, "value": { "allOf": [ @@ -4285,7 +4654,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4297,7 +4669,9 @@ "properties": { "type": { "type": "string", - "enum": ["tooManyFiles"] + "enum": [ + "tooManyFiles" + ] }, "value": { "allOf": [ @@ -4324,13 +4698,18 @@ "default": 0 } }, - "required": ["fileCount"] + "required": [ + "fileCount" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4342,7 +4721,9 @@ "properties": { "type": { "type": "string", - "enum": ["generic"] + "enum": [ + "generic" + ] }, "value": { "allOf": [ @@ -4374,13 +4755,19 @@ "default": "" } }, - "required": ["description", "title"] + "required": [ + "description", + "title" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4392,7 +4779,9 @@ "properties": { "type": { "type": "string", - "enum": ["ghaArgToSink"] + "enum": [ + "ghaArgToSink" + ] }, "value": { "allOf": [ @@ -4443,7 +4832,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4455,7 +4847,9 @@ "properties": { "type": { "type": "string", - "enum": ["ghaEnvToSink"] + "enum": [ + "ghaEnvToSink" + ] }, "value": { "allOf": [ @@ -4506,7 +4900,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4518,7 +4915,9 @@ "properties": { "type": { "type": "string", - "enum": ["ghaContextToSink"] + "enum": [ + "ghaContextToSink" + ] }, "value": { "allOf": [ @@ -4569,7 +4968,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4581,7 +4983,9 @@ "properties": { "type": { "type": "string", - "enum": ["ghaArgToOutput"] + "enum": [ + "ghaArgToOutput" + ] }, "value": { "allOf": [ @@ -4632,7 +5036,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4644,7 +5051,9 @@ "properties": { "type": { "type": "string", - "enum": ["ghaArgToEnv"] + "enum": [ + "ghaArgToEnv" + ] }, "value": { "allOf": [ @@ -4695,7 +5104,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4707,7 +5119,9 @@ "properties": { "type": { "type": "string", - "enum": ["ghaContextToOutput"] + "enum": [ + "ghaContextToOutput" + ] }, "value": { "allOf": [ @@ -4758,7 +5172,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4770,7 +5187,9 @@ "properties": { "type": { "type": "string", - "enum": ["ghaContextToEnv"] + "enum": [ + "ghaContextToEnv" + ] }, "value": { "allOf": [ @@ -4821,7 +5240,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4833,7 +5255,9 @@ "properties": { "type": { "type": "string", - "enum": ["recentlyPublished"] + "enum": [ + "recentlyPublished" + ] }, "value": { "allOf": [ @@ -4863,15 +5287,27 @@ "type": "string", "description": "", "default": "" + }, + "thresholdDays": { + "type": "number", + "description": "Org-configured recently published threshold in days.", + "default": 0 } }, - "required": ["checkedAt", "publishedAt"] + "required": [ + "checkedAt", + "publishedAt", + "thresholdDays" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4883,7 +5319,9 @@ "properties": { "type": { "type": "string", - "enum": ["licenseSpdxDisj"] + "enum": [ + "licenseSpdxDisj" + ] }, "value": { "allOf": [ @@ -4954,7 +5392,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -4966,7 +5407,9 @@ "properties": { "type": { "type": "string", - "enum": ["unsafeCopyright"] + "enum": [ + "unsafeCopyright" + ] }, "value": { "allOf": [ @@ -4992,7 +5435,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5004,7 +5450,9 @@ "properties": { "type": { "type": "string", - "enum": ["licenseChange"] + "enum": [ + "licenseChange" + ] }, "value": { "allOf": [ @@ -5036,13 +5484,19 @@ "default": "" } }, - "required": ["newLicenseId", "prevLicenseId"] + "required": [ + "newLicenseId", + "prevLicenseId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5054,7 +5508,9 @@ "properties": { "type": { "type": "string", - "enum": ["nonOSILicense"] + "enum": [ + "nonOSILicense" + ] }, "value": { "allOf": [ @@ -5081,13 +5537,18 @@ "default": "" } }, - "required": ["licenseId"] + "required": [ + "licenseId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5099,7 +5560,9 @@ "properties": { "type": { "type": "string", - "enum": ["deprecatedLicense"] + "enum": [ + "deprecatedLicense" + ] }, "value": { "allOf": [ @@ -5126,13 +5589,18 @@ "default": "" } }, - "required": ["licenseId"] + "required": [ + "licenseId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5144,7 +5612,9 @@ "properties": { "type": { "type": "string", - "enum": ["missingLicense"] + "enum": [ + "missingLicense" + ] }, "value": { "allOf": [ @@ -5170,7 +5640,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5182,7 +5655,9 @@ "properties": { "type": { "type": "string", - "enum": ["nonSPDXLicense"] + "enum": [ + "nonSPDXLicense" + ] }, "value": { "allOf": [ @@ -5208,7 +5683,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5220,7 +5698,9 @@ "properties": { "type": { "type": "string", - "enum": ["unclearLicense"] + "enum": [ + "unclearLicense" + ] }, "value": { "allOf": [ @@ -5247,13 +5727,18 @@ "default": "" } }, - "required": ["possibleLicenseId"] + "required": [ + "possibleLicenseId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5265,7 +5750,9 @@ "properties": { "type": { "type": "string", - "enum": ["mixedLicense"] + "enum": [ + "mixedLicense" + ] }, "value": { "allOf": [ @@ -5292,13 +5779,18 @@ "default": "" } }, - "required": ["licenseId"] + "required": [ + "licenseId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5310,7 +5802,9 @@ "properties": { "type": { "type": "string", - "enum": ["notice"] + "enum": [ + "notice" + ] }, "value": { "allOf": [ @@ -5336,7 +5830,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5348,7 +5845,9 @@ "properties": { "type": { "type": "string", - "enum": ["modifiedLicense"] + "enum": [ + "modifiedLicense" + ] }, "value": { "allOf": [ @@ -5380,13 +5879,19 @@ "default": 0 } }, - "required": ["licenseId", "similarity"] + "required": [ + "licenseId", + "similarity" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5398,7 +5903,9 @@ "properties": { "type": { "type": "string", - "enum": ["modifiedException"] + "enum": [ + "modifiedException" + ] }, "value": { "allOf": [ @@ -5435,13 +5942,20 @@ "default": "" } }, - "required": ["comments", "exceptionId", "similarity"] + "required": [ + "comments", + "exceptionId", + "similarity" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5453,7 +5967,9 @@ "properties": { "type": { "type": "string", - "enum": ["licenseException"] + "enum": [ + "licenseException" + ] }, "value": { "allOf": [ @@ -5485,13 +6001,19 @@ "default": "" } }, - "required": ["comments", "exceptionId"] + "required": [ + "comments", + "exceptionId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5503,7 +6025,9 @@ "properties": { "type": { "type": "string", - "enum": ["deprecatedException"] + "enum": [ + "deprecatedException" + ] }, "value": { "allOf": [ @@ -5535,13 +6059,19 @@ "default": "" } }, - "required": ["comments", "exceptionId"] + "required": [ + "comments", + "exceptionId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5553,7 +6083,9 @@ "properties": { "type": { "type": "string", - "enum": ["miscLicenseIssues"] + "enum": [ + "miscLicenseIssues" + ] }, "value": { "allOf": [ @@ -5585,13 +6117,19 @@ "default": "" } }, - "required": ["description", "location"] + "required": [ + "description", + "location" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5603,7 +6141,9 @@ "properties": { "type": { "type": "string", - "enum": ["unidentifiedLicense"] + "enum": [ + "unidentifiedLicense" + ] }, "value": { "allOf": [ @@ -5656,7 +6196,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5668,7 +6211,9 @@ "properties": { "type": { "type": "string", - "enum": ["noLicenseFound"] + "enum": [ + "noLicenseFound" + ] }, "value": { "allOf": [ @@ -5694,7 +6239,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5706,7 +6254,9 @@ "properties": { "type": { "type": "string", - "enum": ["explicitlyUnlicensedItem"] + "enum": [ + "explicitlyUnlicensedItem" + ] }, "value": { "allOf": [ @@ -5753,7 +6303,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5765,7 +6318,9 @@ "properties": { "type": { "type": "string", - "enum": ["copyleftLicense"] + "enum": [ + "copyleftLicense" + ] }, "value": { "allOf": [ @@ -5792,13 +6347,18 @@ "default": "" } }, - "required": ["licenseId"] + "required": [ + "licenseId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5810,7 +6370,9 @@ "properties": { "type": { "type": "string", - "enum": ["nonpermissiveLicense"] + "enum": [ + "nonpermissiveLicense" + ] }, "value": { "allOf": [ @@ -5837,13 +6399,18 @@ "default": "" } }, - "required": ["licenseId"] + "required": [ + "licenseId" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5855,7 +6422,9 @@ "properties": { "type": { "type": "string", - "enum": ["ambiguousClassifier"] + "enum": [ + "ambiguousClassifier" + ] }, "value": { "allOf": [ @@ -5902,7 +6471,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5914,7 +6486,9 @@ "properties": { "type": { "type": "string", - "enum": ["invalidPackageJSON"] + "enum": [ + "invalidPackageJSON" + ] }, "value": { "allOf": [ @@ -5940,7 +6514,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -5952,7 +6529,9 @@ "properties": { "type": { "type": "string", - "enum": ["httpDependency"] + "enum": [ + "httpDependency" + ] }, "value": { "allOf": [ @@ -5984,13 +6563,19 @@ "default": "" } }, - "required": ["packageName", "url"] + "required": [ + "packageName", + "url" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6002,7 +6587,9 @@ "properties": { "type": { "type": "string", - "enum": ["gitDependency"] + "enum": [ + "gitDependency" + ] }, "value": { "allOf": [ @@ -6034,13 +6621,19 @@ "default": "" } }, - "required": ["packageName", "url"] + "required": [ + "packageName", + "url" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6052,7 +6645,9 @@ "properties": { "type": { "type": "string", - "enum": ["gitHubDependency"] + "enum": [ + "gitHubDependency" + ] }, "value": { "allOf": [ @@ -6105,7 +6700,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6117,7 +6715,9 @@ "properties": { "type": { "type": "string", - "enum": ["fileDependency"] + "enum": [ + "fileDependency" + ] }, "value": { "allOf": [ @@ -6149,13 +6749,19 @@ "default": "" } }, - "required": ["filePath", "packageName"] + "required": [ + "filePath", + "packageName" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6167,7 +6773,9 @@ "properties": { "type": { "type": "string", - "enum": ["noTests"] + "enum": [ + "noTests" + ] }, "value": { "allOf": [ @@ -6193,7 +6801,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6205,7 +6816,9 @@ "properties": { "type": { "type": "string", - "enum": ["noRepository"] + "enum": [ + "noRepository" + ] }, "value": { "allOf": [ @@ -6231,7 +6844,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6243,7 +6859,9 @@ "properties": { "type": { "type": "string", - "enum": ["badSemver"] + "enum": [ + "badSemver" + ] }, "value": { "allOf": [ @@ -6269,7 +6887,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6281,7 +6902,9 @@ "properties": { "type": { "type": "string", - "enum": ["badSemverDependency"] + "enum": [ + "badSemverDependency" + ] }, "value": { "allOf": [ @@ -6313,13 +6936,19 @@ "default": "" } }, - "required": ["packageName", "packageVersion"] + "required": [ + "packageName", + "packageVersion" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6331,45 +6960,9 @@ "properties": { "type": { "type": "string", - "enum": ["noV1"] - }, - "value": { - "allOf": [ - { - "$ref": "#/components/schemas/SocketIssueBasics" - }, - { - "type": "object", - "additionalProperties": false, - "properties": { - "description": { - "type": "string", - "description": "", - "default": "" - }, - "props": { - "type": "object", - "additionalProperties": false, - "description": "", - "properties": {} - }, - "usage": { - "$ref": "#/components/schemas/SocketUsageRef" - } - }, - "required": ["description", "props"] - } + "enum": [ + "noV1" ] - } - } - }, - { - "type": "object", - "additionalProperties": false, - "properties": { - "type": { - "type": "string", - "enum": ["noWebsite"] }, "value": { "allOf": [ @@ -6395,7 +6988,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6407,7 +7003,9 @@ "properties": { "type": { "type": "string", - "enum": ["noBugTracker"] + "enum": [ + "noWebsite" + ] }, "value": { "allOf": [ @@ -6433,7 +7031,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6445,7 +7046,9 @@ "properties": { "type": { "type": "string", - "enum": ["noAuthorData"] + "enum": [ + "noBugTracker" + ] }, "value": { "allOf": [ @@ -6471,7 +7074,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6483,7 +7089,9 @@ "properties": { "type": { "type": "string", - "enum": ["typeModuleCompatibility"] + "enum": [ + "noAuthorData" + ] }, "value": { "allOf": [ @@ -6509,7 +7117,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6521,7 +7132,52 @@ "properties": { "type": { "type": "string", - "enum": ["floatingDependency"] + "enum": [ + "typeModuleCompatibility" + ] + }, + "value": { + "allOf": [ + { + "$ref": "#/components/schemas/SocketIssueBasics" + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "description": { + "type": "string", + "description": "", + "default": "" + }, + "props": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": {} + }, + "usage": { + "$ref": "#/components/schemas/SocketUsageRef" + } + }, + "required": [ + "description", + "props" + ] + } + ] + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "floatingDependency" + ] }, "value": { "allOf": [ @@ -6548,13 +7204,18 @@ "default": "" } }, - "required": ["dependency"] + "required": [ + "dependency" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6566,7 +7227,9 @@ "properties": { "type": { "type": "string", - "enum": ["manifestConfusion"] + "enum": [ + "manifestConfusion" + ] }, "value": { "allOf": [ @@ -6598,13 +7261,19 @@ "default": "" } }, - "required": ["description", "key"] + "required": [ + "description", + "key" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6616,7 +7285,9 @@ "properties": { "type": { "type": "string", - "enum": ["malware"] + "enum": [ + "malware" + ] }, "value": { "allOf": [ @@ -6654,13 +7325,20 @@ "nullable": true } }, - "required": ["detectedAt", "id", "note"] + "required": [ + "detectedAt", + "id", + "note" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6672,7 +7350,9 @@ "properties": { "type": { "type": "string", - "enum": ["telemetry"] + "enum": [ + "telemetry" + ] }, "value": { "allOf": [ @@ -6710,13 +7390,20 @@ "nullable": true } }, - "required": ["detectedAt", "id", "note"] + "required": [ + "detectedAt", + "id", + "note" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6728,7 +7415,9 @@ "properties": { "type": { "type": "string", - "enum": ["troll"] + "enum": [ + "troll" + ] }, "value": { "allOf": [ @@ -6766,13 +7455,20 @@ "nullable": true } }, - "required": ["detectedAt", "id", "note"] + "required": [ + "detectedAt", + "id", + "note" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6784,7 +7480,9 @@ "properties": { "type": { "type": "string", - "enum": ["pendingScan"] + "enum": [ + "pendingScan" + ] }, "value": { "allOf": [ @@ -6810,7 +7508,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6822,7 +7523,9 @@ "properties": { "type": { "type": "string", - "enum": ["deprecated"] + "enum": [ + "deprecated" + ] }, "value": { "allOf": [ @@ -6849,13 +7552,18 @@ "default": "This package is deprecated" } }, - "required": ["reason"] + "required": [ + "reason" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6867,7 +7575,9 @@ "properties": { "type": { "type": "string", - "enum": ["chronoAnomaly"] + "enum": [ + "chronoAnomaly" + ] }, "value": { "allOf": [ @@ -6920,7 +7630,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6932,7 +7645,9 @@ "properties": { "type": { "type": "string", - "enum": ["compromisedSSHKey"] + "enum": [ + "compromisedSSHKey" + ] }, "value": { "allOf": [ @@ -6969,13 +7684,20 @@ "default": "" } }, - "required": ["fingerprint", "sshKey", "username"] + "required": [ + "fingerprint", + "sshKey", + "username" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -6987,7 +7709,9 @@ "properties": { "type": { "type": "string", - "enum": ["semverAnomaly"] + "enum": [ + "semverAnomaly" + ] }, "value": { "allOf": [ @@ -7019,13 +7743,19 @@ "default": "" } }, - "required": ["newVersion", "prevVersion"] + "required": [ + "newVersion", + "prevVersion" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7037,7 +7767,9 @@ "properties": { "type": { "type": "string", - "enum": ["newAuthor"] + "enum": [ + "newAuthor" + ] }, "value": { "allOf": [ @@ -7069,13 +7801,19 @@ "default": "" } }, - "required": ["newAuthor", "prevAuthor"] + "required": [ + "newAuthor", + "prevAuthor" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7087,7 +7825,9 @@ "properties": { "type": { "type": "string", - "enum": ["unstableOwnership"] + "enum": [ + "unstableOwnership" + ] }, "value": { "allOf": [ @@ -7114,13 +7854,18 @@ "default": "" } }, - "required": ["author"] + "required": [ + "author" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7132,7 +7877,9 @@ "properties": { "type": { "type": "string", - "enum": ["missingAuthor"] + "enum": [ + "missingAuthor" + ] }, "value": { "allOf": [ @@ -7158,7 +7905,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7170,7 +7920,9 @@ "properties": { "type": { "type": "string", - "enum": ["unmaintained"] + "enum": [ + "unmaintained" + ] }, "value": { "allOf": [ @@ -7197,13 +7949,18 @@ "default": "" } }, - "required": ["lastPublish"] + "required": [ + "lastPublish" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7215,7 +7972,9 @@ "properties": { "type": { "type": "string", - "enum": ["unpublished"] + "enum": [ + "unpublished" + ] }, "value": { "allOf": [ @@ -7242,13 +8001,18 @@ "default": "" } }, - "required": ["version"] + "required": [ + "version" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7260,7 +8024,9 @@ "properties": { "type": { "type": "string", - "enum": ["majorRefactor"] + "enum": [ + "majorRefactor" + ] }, "value": { "allOf": [ @@ -7313,7 +8079,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7325,7 +8094,9 @@ "properties": { "type": { "type": "string", - "enum": ["missingTarball"] + "enum": [ + "missingTarball" + ] }, "value": { "allOf": [ @@ -7351,7 +8122,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7363,7 +8137,9 @@ "properties": { "type": { "type": "string", - "enum": ["suspiciousStarActivity"] + "enum": [ + "suspiciousStarActivity" + ] }, "value": { "allOf": [ @@ -7395,13 +8171,19 @@ "default": "" } }, - "required": ["percentageSuspiciousStars", "repository"] + "required": [ + "percentageSuspiciousStars", + "repository" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7413,7 +8195,9 @@ "properties": { "type": { "type": "string", - "enum": ["notFound"] + "enum": [ + "notFound" + ] }, "value": { "allOf": [ @@ -7439,7 +8223,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7451,7 +8238,9 @@ "properties": { "type": { "type": "string", - "enum": ["unpopularPackage"] + "enum": [ + "unpopularPackage" + ] }, "value": { "allOf": [ @@ -7477,7 +8266,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7489,7 +8281,9 @@ "properties": { "type": { "type": "string", - "enum": ["policy"] + "enum": [ + "policy" + ] }, "value": { "allOf": [ @@ -7515,7 +8309,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7527,73 +8324,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillAutonomyAbuse"] - }, - "value": { - "allOf": [ - { - "$ref": "#/components/schemas/SocketIssueBasics" - }, - { - "type": "object", - "additionalProperties": false, - "properties": { - "description": { - "type": "string", - "description": "", - "default": "" - }, - "props": { - "type": "object", - "additionalProperties": false, - "description": "", - "properties": { - "notes": { - "type": "string", - "description": "", - "default": "" - }, - "confidence": { - "type": "number", - "description": "", - "default": 0 - }, - "severity": { - "type": "number", - "description": "", - "default": 0 - }, - "detectedAt": { - "type": "string", - "description": "", - "default": "", - "nullable": true - } - }, - "required": [ - "confidence", - "detectedAt", - "notes", - "severity" - ] - }, - "usage": { - "$ref": "#/components/schemas/SocketUsageRef" - } - }, - "required": ["description", "props"] - } + "enum": [ + "skillAutonomyAbuse" ] - } - } - }, - { - "type": "object", - "additionalProperties": false, - "properties": { - "type": { - "type": "string", - "enum": ["skillCommandInjection"] }, "value": { "allOf": [ @@ -7647,7 +8380,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7659,7 +8395,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillDataExfiltration"] + "enum": [ + "skillCommandInjection" + ] }, "value": { "allOf": [ @@ -7713,7 +8451,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7725,7 +8466,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillDiscoveryAbuse"] + "enum": [ + "skillDataExfiltration" + ] }, "value": { "allOf": [ @@ -7779,7 +8522,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7791,7 +8537,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillHardcodedSecrets"] + "enum": [ + "skillDiscoveryAbuse" + ] }, "value": { "allOf": [ @@ -7845,7 +8593,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7857,7 +8608,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillObfuscation"] + "enum": [ + "skillHardcodedSecrets" + ] }, "value": { "allOf": [ @@ -7911,7 +8664,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7923,7 +8679,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillPreExecution"] + "enum": [ + "skillObfuscation" + ] }, "value": { "allOf": [ @@ -7977,7 +8735,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -7989,7 +8750,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillPromptInjection"] + "enum": [ + "skillPreExecution" + ] }, "value": { "allOf": [ @@ -8043,7 +8806,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8055,7 +8821,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillResourceAbuse"] + "enum": [ + "skillPromptInjection" + ] }, "value": { "allOf": [ @@ -8109,7 +8877,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8121,7 +8892,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillSupplyChain"] + "enum": [ + "skillResourceAbuse" + ] }, "value": { "allOf": [ @@ -8175,7 +8948,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8187,7 +8963,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillToolAbuse"] + "enum": [ + "skillSupplyChain" + ] }, "value": { "allOf": [ @@ -8241,7 +9019,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8253,7 +9034,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillToolChaining"] + "enum": [ + "skillToolAbuse" + ] }, "value": { "allOf": [ @@ -8307,7 +9090,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8319,7 +9105,9 @@ "properties": { "type": { "type": "string", - "enum": ["skillTransitiveTrust"] + "enum": [ + "skillToolChaining" + ] }, "value": { "allOf": [ @@ -8373,7 +9161,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8385,7 +9176,80 @@ "properties": { "type": { "type": "string", - "enum": ["socketUpgradeAvailable"] + "enum": [ + "skillTransitiveTrust" + ] + }, + "value": { + "allOf": [ + { + "$ref": "#/components/schemas/SocketIssueBasics" + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "description": { + "type": "string", + "description": "", + "default": "" + }, + "props": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "notes": { + "type": "string", + "description": "", + "default": "" + }, + "confidence": { + "type": "number", + "description": "", + "default": 0 + }, + "severity": { + "type": "number", + "description": "", + "default": 0 + }, + "detectedAt": { + "type": "string", + "description": "", + "default": "", + "nullable": true + } + }, + "required": [ + "confidence", + "detectedAt", + "notes", + "severity" + ] + }, + "usage": { + "$ref": "#/components/schemas/SocketUsageRef" + } + }, + "required": [ + "description", + "props" + ] + } + ] + } + } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "socketUpgradeAvailable" + ] }, "value": { "allOf": [ @@ -8452,7 +9316,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8464,7 +9331,9 @@ "properties": { "type": { "type": "string", - "enum": ["longStrings"] + "enum": [ + "longStrings" + ] }, "value": { "allOf": [ @@ -8490,7 +9359,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8502,7 +9374,9 @@ "properties": { "type": { "type": "string", - "enum": ["highEntropyStrings"] + "enum": [ + "highEntropyStrings" + ] }, "value": { "allOf": [ @@ -8528,7 +9402,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8540,7 +9417,9 @@ "properties": { "type": { "type": "string", - "enum": ["urlStrings"] + "enum": [ + "urlStrings" + ] }, "value": { "allOf": [ @@ -8571,13 +9450,18 @@ "description": "" } }, - "required": ["urls"] + "required": [ + "urls" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8589,7 +9473,9 @@ "properties": { "type": { "type": "string", - "enum": ["usesEval"] + "enum": [ + "usesEval" + ] }, "value": { "allOf": [ @@ -8616,13 +9502,18 @@ "default": "eval" } }, - "required": ["evalType"] + "required": [ + "evalType" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8634,7 +9525,9 @@ "properties": { "type": { "type": "string", - "enum": ["dynamicRequire"] + "enum": [ + "dynamicRequire" + ] }, "value": { "allOf": [ @@ -8660,7 +9553,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8672,7 +9568,9 @@ "properties": { "type": { "type": "string", - "enum": ["envVars"] + "enum": [ + "envVars" + ] }, "value": { "allOf": [ @@ -8699,13 +9597,18 @@ "default": "" } }, - "required": ["envVars"] + "required": [ + "envVars" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8717,7 +9620,9 @@ "properties": { "type": { "type": "string", - "enum": ["missingDependency"] + "enum": [ + "missingDependency" + ] }, "value": { "allOf": [ @@ -8744,13 +9649,18 @@ "default": "" } }, - "required": ["name"] + "required": [ + "name" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8762,7 +9672,9 @@ "properties": { "type": { "type": "string", - "enum": ["unusedDependency"] + "enum": [ + "unusedDependency" + ] }, "value": { "allOf": [ @@ -8794,13 +9706,19 @@ "default": "" } }, - "required": ["name", "version"] + "required": [ + "name", + "version" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8812,7 +9730,9 @@ "properties": { "type": { "type": "string", - "enum": ["peerDependency"] + "enum": [ + "peerDependency" + ] }, "value": { "allOf": [ @@ -8839,13 +9759,18 @@ "default": "" } }, - "required": ["name"] + "required": [ + "name" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8857,7 +9782,9 @@ "properties": { "type": { "type": "string", - "enum": ["uncaughtOptionalDependency"] + "enum": [ + "uncaughtOptionalDependency" + ] }, "value": { "allOf": [ @@ -8884,13 +9811,18 @@ "default": "" } }, - "required": ["name"] + "required": [ + "name" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8902,7 +9834,9 @@ "properties": { "type": { "type": "string", - "enum": ["unresolvedRequire"] + "enum": [ + "unresolvedRequire" + ] }, "value": { "allOf": [ @@ -8928,7 +9862,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8940,7 +9877,9 @@ "properties": { "type": { "type": "string", - "enum": ["extraneousDependency"] + "enum": [ + "extraneousDependency" + ] }, "value": { "allOf": [ @@ -8966,7 +9905,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -8978,7 +9920,9 @@ "properties": { "type": { "type": "string", - "enum": ["obfuscatedRequire"] + "enum": [ + "obfuscatedRequire" + ] }, "value": { "allOf": [ @@ -9004,7 +9948,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9016,7 +9963,9 @@ "properties": { "type": { "type": "string", - "enum": ["obfuscatedFile"] + "enum": [ + "obfuscatedFile" + ] }, "value": { "allOf": [ @@ -9054,13 +10003,20 @@ "nullable": true } }, - "required": ["confidence", "detectedAt", "notes"] + "required": [ + "confidence", + "detectedAt", + "notes" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9072,7 +10028,9 @@ "properties": { "type": { "type": "string", - "enum": ["minifiedFile"] + "enum": [ + "minifiedFile" + ] }, "value": { "allOf": [ @@ -9099,13 +10057,18 @@ "default": 0 } }, - "required": ["confidence"] + "required": [ + "confidence" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9117,7 +10080,9 @@ "properties": { "type": { "type": "string", - "enum": ["installScripts"] + "enum": [ + "installScripts" + ] }, "value": { "allOf": [ @@ -9149,13 +10114,19 @@ "default": "" } }, - "required": ["script", "source"] + "required": [ + "script", + "source" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9167,7 +10138,9 @@ "properties": { "type": { "type": "string", - "enum": ["hasNativeCode"] + "enum": [ + "hasNativeCode" + ] }, "value": { "allOf": [ @@ -9193,7 +10166,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9205,7 +10181,9 @@ "properties": { "type": { "type": "string", - "enum": ["binScriptConfusion"] + "enum": [ + "binScriptConfusion" + ] }, "value": { "allOf": [ @@ -9232,13 +10210,18 @@ "default": "" } }, - "required": ["binScript"] + "required": [ + "binScript" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9250,7 +10233,9 @@ "properties": { "type": { "type": "string", - "enum": ["shellScriptOverride"] + "enum": [ + "shellScriptOverride" + ] }, "value": { "allOf": [ @@ -9277,13 +10262,18 @@ "default": "" } }, - "required": ["binScript"] + "required": [ + "binScript" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9295,7 +10285,9 @@ "properties": { "type": { "type": "string", - "enum": ["didYouMean"] + "enum": [ + "didYouMean" + ] }, "value": { "allOf": [ @@ -9328,13 +10320,19 @@ "nullable": true } }, - "required": ["alternatePackage", "detectedAt"] + "required": [ + "alternatePackage", + "detectedAt" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9346,7 +10344,9 @@ "properties": { "type": { "type": "string", - "enum": ["gptDidYouMean"] + "enum": [ + "gptDidYouMean" + ] }, "value": { "allOf": [ @@ -9379,13 +10379,19 @@ "nullable": true } }, - "required": ["alternatePackage", "detectedAt"] + "required": [ + "alternatePackage", + "detectedAt" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9397,7 +10403,9 @@ "properties": { "type": { "type": "string", - "enum": ["bidi"] + "enum": [ + "bidi" + ] }, "value": { "allOf": [ @@ -9423,7 +10431,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9435,7 +10446,9 @@ "properties": { "type": { "type": "string", - "enum": ["zeroWidth"] + "enum": [ + "zeroWidth" + ] }, "value": { "allOf": [ @@ -9461,7 +10474,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9473,7 +10489,9 @@ "properties": { "type": { "type": "string", - "enum": ["badEncoding"] + "enum": [ + "badEncoding" + ] }, "value": { "allOf": [ @@ -9500,13 +10518,18 @@ "default": "utf8" } }, - "required": ["encoding"] + "required": [ + "encoding" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9518,7 +10541,9 @@ "properties": { "type": { "type": "string", - "enum": ["homoglyphs"] + "enum": [ + "homoglyphs" + ] }, "value": { "allOf": [ @@ -9544,7 +10569,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9556,7 +10584,9 @@ "properties": { "type": { "type": "string", - "enum": ["invisibleChars"] + "enum": [ + "invisibleChars" + ] }, "value": { "allOf": [ @@ -9582,7 +10612,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9594,7 +10627,9 @@ "properties": { "type": { "type": "string", - "enum": ["suspiciousString"] + "enum": [ + "suspiciousString" + ] }, "value": { "allOf": [ @@ -9626,13 +10661,19 @@ "default": "" } }, - "required": ["explanation", "pattern"] + "required": [ + "explanation", + "pattern" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9644,7 +10685,9 @@ "properties": { "type": { "type": "string", - "enum": ["potentialVulnerability"] + "enum": [ + "potentialVulnerability" + ] }, "value": { "allOf": [ @@ -9672,7 +10715,11 @@ }, "risk": { "type": "string", - "enum": ["low", "medium", "high"], + "enum": [ + "low", + "medium", + "high" + ], "description": "", "default": "medium" }, @@ -9683,13 +10730,20 @@ "nullable": true } }, - "required": ["detectedAt", "note", "risk"] + "required": [ + "detectedAt", + "note", + "risk" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9701,7 +10755,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxProposedApiUsage"] + "enum": [ + "vsxProposedApiUsage" + ] }, "value": { "allOf": [ @@ -9728,13 +10784,18 @@ "default": "" } }, - "required": ["proposals"] + "required": [ + "proposals" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9746,7 +10807,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxActivationWildcard"] + "enum": [ + "vsxActivationWildcard" + ] }, "value": { "allOf": [ @@ -9773,13 +10836,18 @@ "default": "" } }, - "required": ["event"] + "required": [ + "event" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9791,7 +10859,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxWorkspaceContainsActivation"] + "enum": [ + "vsxWorkspaceContainsActivation" + ] }, "value": { "allOf": [ @@ -9818,13 +10888,18 @@ "default": "" } }, - "required": ["pattern"] + "required": [ + "pattern" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9836,7 +10911,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxUntrustedWorkspaceSupported"] + "enum": [ + "vsxUntrustedWorkspaceSupported" + ] }, "value": { "allOf": [ @@ -9863,13 +10940,18 @@ "default": "" } }, - "required": ["supported"] + "required": [ + "supported" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9881,7 +10963,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxVirtualWorkspaceSupported"] + "enum": [ + "vsxVirtualWorkspaceSupported" + ] }, "value": { "allOf": [ @@ -9908,13 +10992,18 @@ "default": "" } }, - "required": ["supported"] + "required": [ + "supported" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9926,7 +11015,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxWebviewContribution"] + "enum": [ + "vsxWebviewContribution" + ] }, "value": { "allOf": [ @@ -9952,7 +11043,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -9964,7 +11058,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxDebuggerContribution"] + "enum": [ + "vsxDebuggerContribution" + ] }, "value": { "allOf": [ @@ -9990,7 +11086,10 @@ "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -10002,7 +11101,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxExtensionDependency"] + "enum": [ + "vsxExtensionDependency" + ] }, "value": { "allOf": [ @@ -10029,13 +11130,18 @@ "default": "" } }, - "required": ["extension"] + "required": [ + "extension" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -10047,7 +11153,9 @@ "properties": { "type": { "type": "string", - "enum": ["vsxExtensionPack"] + "enum": [ + "vsxExtensionPack" + ] }, "value": { "allOf": [ @@ -10074,13 +11182,18 @@ "default": "" } }, - "required": ["count"] + "required": [ + "count" + ] }, "usage": { "$ref": "#/components/schemas/SocketUsageRef" } }, - "required": ["description", "props"] + "required": [ + "description", + "props" + ] } ] } @@ -10116,7 +11229,10 @@ "default": "" } }, - "required": ["components", "score"] + "required": [ + "components", + "score" + ] }, "SocketPURL_Type": { "type": "string", @@ -10161,7 +11277,12 @@ }, "SocketIssueSeverity": { "type": "string", - "enum": ["low", "middle", "high", "critical"], + "enum": [ + "low", + "middle", + "high", + "critical" + ], "description": "", "default": "low" }, @@ -10189,7 +11310,10 @@ }, "tier": { "type": "string", - "enum": ["free", "paid"], + "enum": [ + "free", + "paid" + ], "description": "Access tier required for this patch (free or paid)", "default": "free" }, @@ -10199,7 +11323,10 @@ "description": "Indicates if this patch is deprecated and should not be used" } }, - "required": ["tier", "uuid"] + "required": [ + "tier", + "uuid" + ] }, "ReachabilityResult": { "type": "object", @@ -10208,7 +11335,10 @@ "properties": { "type": { "type": "string", - "enum": ["precomputed", "full-scan"], + "enum": [ + "precomputed", + "full-scan" + ], "description": "Type of reachability analysis performed", "default": "precomputed" }, @@ -10220,7 +11350,10 @@ "description": "Reachability analysis results for each vulnerability" } }, - "required": ["results", "type"] + "required": [ + "results", + "type" + ] }, "OpenVEXVulnerabilitySchema": { "type": "object", @@ -10251,7 +11384,9 @@ "description": "" } }, - "required": ["name"] + "required": [ + "name" + ] }, "OpenVEXProductSchema": { "type": "object", @@ -10276,7 +11411,9 @@ "description": "" } }, - "required": ["@id"] + "required": [ + "@id" + ] }, "SocketIssueBasics": { "type": "object", @@ -10298,7 +11435,12 @@ "default": "" } }, - "required": ["category", "label", "locations", "severity"] + "required": [ + "category", + "label", + "locations", + "severity" + ] }, "SocketUsageRef": { "type": "object", @@ -10312,7 +11454,10 @@ "$ref": "#/components/schemas/SocketRefList" } }, - "required": ["dependencies", "file"] + "required": [ + "dependencies", + "file" + ] }, "SocketMetricComponent": { "type": "object", @@ -10340,7 +11485,12 @@ "default": null } }, - "required": ["limit", "maxScore", "score", "value"] + "required": [ + "limit", + "maxScore", + "score", + "value" + ] }, "ReachabilityResultItem": { "type": "object", @@ -10367,7 +11517,9 @@ "properties": { "type": { "type": "string", - "enum": ["function-level"] + "enum": [ + "function-level" + ] }, "value": { "type": "array", @@ -10388,7 +11540,9 @@ "properties": { "type": { "type": "string", - "enum": ["class-level"] + "enum": [ + "class-level" + ] }, "value": { "type": "array", @@ -10416,7 +11570,9 @@ "default": "" } }, - "required": ["type"] + "required": [ + "type" + ] }, "OpenVEXIdentifiersSchema": { "type": "object", @@ -10547,7 +11703,9 @@ "$ref": "#/components/schemas/SocketRefByteRange" } }, - "required": ["path"] + "required": [ + "path" + ] }, "ReachabilityType": { "type": "string", @@ -10615,7 +11773,9 @@ "properties": { "type": { "type": "string", - "enum": ["unknown"] + "enum": [ + "unknown" + ] }, "value": { "type": "object", @@ -10631,7 +11791,9 @@ "properties": { "type": { "type": "string", - "enum": ["npm"] + "enum": [ + "npm" + ] }, "value": { "$ref": "#/components/schemas/SocketRefNPM" @@ -10644,7 +11806,9 @@ "properties": { "type": { "type": "string", - "enum": ["git"] + "enum": [ + "git" + ] }, "value": { "$ref": "#/components/schemas/SocketRefGit" @@ -10657,7 +11821,9 @@ "properties": { "type": { "type": "string", - "enum": ["web"] + "enum": [ + "web" + ] }, "value": { "$ref": "#/components/schemas/SocketRefWeb" @@ -10670,7 +11836,9 @@ "properties": { "type": { "type": "string", - "enum": ["pypi"] + "enum": [ + "pypi" + ] }, "value": { "$ref": "#/components/schemas/SocketRefPyPI" @@ -10683,7 +11851,9 @@ "properties": { "type": { "type": "string", - "enum": ["go"] + "enum": [ + "go" + ] }, "value": { "$ref": "#/components/schemas/SocketRefGo" @@ -10718,7 +11888,12 @@ "default": 0 } }, - "required": ["endColumn", "endLine", "startColumn", "startLine"] + "required": [ + "endColumn", + "endLine", + "startColumn", + "startLine" + ] }, "SocketRefByteRange": { "type": "object", @@ -10736,7 +11911,10 @@ "default": 0 } }, - "required": ["end", "start"] + "required": [ + "end", + "start" + ] }, "SourceLocation": { "type": "object", @@ -10764,7 +11942,11 @@ "default": 0 } }, - "required": ["byteOffset", "column", "line"] + "required": [ + "byteOffset", + "column", + "line" + ] }, "end": { "type": "object", @@ -10799,7 +11981,12 @@ "default": "" } }, - "required": ["end", "fileHash", "filename", "start"] + "required": [ + "end", + "fileHash", + "filename", + "start" + ] }, "SocketRefNPM": { "type": "object", @@ -10819,7 +12006,9 @@ "$ref": "#/components/schemas/SocketRefFile" } }, - "required": ["package"] + "required": [ + "package" + ] }, "SocketRefGit": { "type": "object", @@ -10844,7 +12033,9 @@ "$ref": "#/components/schemas/SocketRefFile" } }, - "required": ["url"] + "required": [ + "url" + ] }, "SocketRefWeb": { "type": "object", @@ -10859,7 +12050,9 @@ "$ref": "#/components/schemas/SocketRefFile" } }, - "required": ["url"] + "required": [ + "url" + ] }, "SocketRefPyPI": { "type": "object", @@ -10884,7 +12077,9 @@ "$ref": "#/components/schemas/SocketRefFile" } }, - "required": ["package"] + "required": [ + "package" + ] }, "SocketRefGo": { "type": "object", @@ -10904,7 +12099,9 @@ "$ref": "#/components/schemas/SocketRefFile" } }, - "required": ["package"] + "required": [ + "package" + ] } }, "securitySchemes": { @@ -10923,7 +12120,9 @@ "paths": { "/purl": { "post": { - "tags": ["packages"], + "tags": [ + "packages" + ], "summary": "Get Packages by PURL", "deprecated": true, "externalDocs": { @@ -10951,7 +12150,12 @@ "type": "array", "items": { "type": "string", - "enum": ["error", "monitor", "warn", "ignore"] + "enum": [ + "error", + "monitor", + "warn", + "ignore" + ] } }, "explode": false, @@ -11061,10 +12265,14 @@ }, "security": [ { - "bearerAuth": ["packages:list"] + "bearerAuth": [ + "packages:list" + ] }, { - "basicAuth": ["packages:list"] + "basicAuth": [ + "packages:list" + ] } ], "description": "**This endpoint is deprecated.** Deprecated since 2026-01-05.\n\nBatch retrieval of package metadata and alerts by PURL strings. Compatible with CycloneDX reports.\n\nPackage URLs (PURLs) are an ecosystem agnostic way to identify packages.\nCycloneDX SBOMs use the purl format to identify components.\nThis endpoint supports fetching metadata and alerts for multiple packages at once by passing an array of purl strings, or by passing an entire CycloneDX report.\n\n**Note:** This endpoint has a batch size limit (default: 1024 PURLs per request). Requests exceeding this limit will return a 400 Bad Request error.\n\nMore information on purl and CycloneDX:\n\n- [`purl` Spec](https://github.com/package-url/purl-spec)\n- [CycloneDX Spec](https://cyclonedx.org/specification/overview/#components)\n\nThis endpoint returns the latest available alert data for artifacts in the batch (stale while revalidate).\nActively running analysis will be returned when available on subsequent runs.\n\nWhen `alerts=true`, Socket may synthesize two alert types to make partial\nresults actionable:\n\n- `pendingScan`: the package is known but analysis has not completed yet\n- `notFound`: Socket could not resolve the package/version metadata\n\nWhen `purlErrors=true`, unresolved `notFound` inputs keep the legacy\n`purlError` stream shape instead of emitting synthetic `notFound`\nartifacts.\n\nUse `poll=false` (default) to fail open and return the current known state\nquickly. Use `poll=true` to fail closed and wait up to `timeoutSec` for\npending analysis before returning.\n\n## Examples:\n\n### Looking up an npm package:\n\n```json\n{\n \"components\": [\n {\n \"purl\": \"pkg:npm/express@4.19.2\"\n }\n ]\n}\n```\n\n### Looking up an PyPi package:\n\n```json\n{\n \"components\": [\n {\n \"purl\": \"pkg:pypi/django@5.0.6\"\n }\n ]\n}\n```\n\n### Looking up a Maven package:\n\n```json\n{\n \"components\": [\n {\n \"purl\": \"pkg:maven/log4j/log4j@1.2.17\"\n }\n ]\n}\n```\n\n### Batch lookup\n\n```json\n{\n \"components\": [\n {\n \"purl\": \"pkg:npm/express@4.19.2\"\n },\n {\n \"purl\": \"pkg:pypi/django@5.0.6\"\n },\n {\n \"purl\": \"pkg:maven/log4j/log4j@1.2.17\"\n }\n ]\n}\n```\n\nThis endpoint consumes 100 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- packages:list", @@ -11100,7 +12308,9 @@ }, "/dependencies/search": { "post": { - "tags": ["dependencies"], + "tags": [ + "dependencies" + ], "summary": "Search dependencies", "operationId": "searchDependencies", "requestBody": { @@ -11133,7 +12343,10 @@ "description": "" } }, - "required": ["limit", "offset"] + "required": [ + "limit", + "offset" + ] } } }, @@ -11196,7 +12409,10 @@ "description": "" } }, - "required": ["invalid", "valid"] + "required": [ + "invalid", + "valid" + ] }, "rows": { "type": "array", @@ -11267,7 +12483,13 @@ "description": "" } }, - "required": ["end", "limit", "offset", "purlFilters", "rows"] + "required": [ + "end", + "limit", + "offset", + "purlFilters", + "rows" + ] } } }, @@ -11294,7 +12516,9 @@ }, "/dependencies/upload": { "post": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Create a snapshot of all dependencies from manifest information", "deprecated": true, "operationId": "createDependenciesSnapshot", @@ -11354,10 +12578,14 @@ }, "security": [ { - "bearerAuth": ["report:write"] + "bearerAuth": [ + "report:write" + ] }, { - "basicAuth": ["report:write"] + "basicAuth": [ + "report:write" + ] } ], "description": "**This endpoint is deprecated.**\n\nUpload a set of manifest or lockfiles to get your dependency tree analyzed by Socket.\nYou can upload multiple lockfiles in the same request, but each filename must be unique.\n\nThe name of the file must be in the supported list.\n\nFor example, these are valid filenames: \"requirements.txt\", \"package.json\", \"folder/package.json\", and \"deep/nested/folder/package.json\".\n\nThis endpoint consumes 100 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:write", @@ -11399,7 +12627,9 @@ }, "/orgs/{org_slug}/full-scans": { "get": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "List full scans", "operationId": "getOrgFullScanList", "parameters": [ @@ -11419,7 +12649,10 @@ "description": "Specify Sort order.", "schema": { "type": "string", - "enum": ["name", "created_at"], + "enum": [ + "name", + "created_at" + ], "default": "created_at" } }, @@ -11430,7 +12663,10 @@ "description": "Specify sort direction.", "schema": { "type": "string", - "enum": ["asc", "desc"], + "enum": [ + "asc", + "desc" + ], "default": "desc" } }, @@ -11542,10 +12778,14 @@ ], "security": [ { - "bearerAuth": ["full-scans:list"] + "bearerAuth": [ + "full-scans:list" + ] }, { - "basicAuth": ["full-scans:list"] + "basicAuth": [ + "full-scans:list" + ] } ], "description": "Returns a paginated list of all full scans in an org, excluding SBOM artifacts.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:list", @@ -11696,7 +12936,12 @@ }, "scan_state": { "type": "string", - "enum": ["pending", "precrawl", "resolve", "scan"], + "enum": [ + "pending", + "precrawl", + "resolve", + "scan" + ], "description": "The current processing status of the SBOM", "default": "pending", "nullable": true @@ -11719,7 +12964,11 @@ "nullable": true } }, - "required": ["nextPage", "nextPageCursor", "results"] + "required": [ + "nextPage", + "nextPageCursor", + "results" + ] } } }, @@ -11744,7 +12993,9 @@ "x-readme": {} }, "post": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Create full scan", "operationId": "CreateOrgFullScan", "parameters": [ @@ -11828,7 +13079,14 @@ "description": "The integration type to associate the full-scan with. Defaults to \"Api\" if omitted.", "schema": { "type": "string", - "enum": ["api", "github", "gitlab", "bitbucket", "azure", "web"] + "enum": [ + "api", + "github", + "gitlab", + "bitbucket", + "azure", + "web" + ] } }, { @@ -11904,13 +13162,17 @@ }, "security": [ { - "bearerAuth": ["full-scans:create"] + "bearerAuth": [ + "full-scans:create" + ] }, { - "basicAuth": ["full-scans:create"] + "basicAuth": [ + "full-scans:create" + ] } ], - "description": "Create a full scan from a set of package manifest files. Returns a full scan including all SBOM artifacts.\n\nTo get a list of supported filetypes that can be uploaded in a full-scan, see the [Get supported file types](/reference/getsupportedfiles) endpoint.\n\nThe maximum number of files you can upload at a time is 5000 and each file can be no bigger than 268 MB.\n\n**Query Parameters:**\n- `scan_type` (optional): The type of scan to perform. Defaults to 'socket'. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:create", + "description": "Create a full scan from a set of package manifest files. Returns a full scan including all SBOM artifacts.\n\nTo get a list of supported filetypes that can be uploaded in a full-scan, see the [Get supported file types](/reference/getsupportedfiles) endpoint.\n\nThe maximum number of files you can upload at a time is 10000 and each file can be no bigger than 268 MB.\n\n**Query Parameters:**\n- `scan_type` (optional): The type of scan to perform. Defaults to 'socket'. Must be 32 characters or less. Used for categorizing multiple SBOM heads per repository branch.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:create", "responses": { "201": { "content": { @@ -12051,7 +13313,12 @@ }, "scan_state": { "type": "string", - "enum": ["pending", "precrawl", "resolve", "scan"], + "enum": [ + "pending", + "precrawl", + "resolve", + "scan" + ], "description": "The current processing status of the SBOM", "default": "pending", "nullable": true @@ -12093,7 +13360,9 @@ }, "/orgs/{org_slug}/full-scans/{full_scan_id}": { "get": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Stream full scan", "operationId": "getOrgFullScan", "parameters": [ @@ -12130,7 +13399,10 @@ "type": "array", "items": { "type": "string", - "enum": ["component", "formula"] + "enum": [ + "component", + "formula" + ] } } ], @@ -12162,7 +13434,10 @@ "type": "array", "items": { "type": "string", - "enum": ["components", "formula"] + "enum": [ + "components", + "formula" + ] } } ], @@ -12192,10 +13467,14 @@ ], "security": [ { - "bearerAuth": ["full-scans:list"] + "bearerAuth": [ + "full-scans:list" + ] }, { - "basicAuth": ["full-scans:list"] + "basicAuth": [ + "full-scans:list" + ] } ], "description": "Stream all SBOM artifacts for a full scan.\n\nThis endpoint returns the latest, available alert data for artifacts in the full scan (stale while revalidate).\nActively running analysis will be returned when available on subsequent runs.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:list", @@ -12214,13 +13493,18 @@ "properties": { "_type": { "type": "string", - "enum": ["scores"] + "enum": [ + "scores" + ] }, "value": { "$ref": "#/components/schemas/SocketSBOMScore" } }, - "required": ["_type", "value"] + "required": [ + "_type", + "value" + ] } ] } @@ -12247,7 +13531,10 @@ "default": "" } }, - "required": ["id", "status"] + "required": [ + "id", + "status" + ] } } }, @@ -12272,7 +13559,9 @@ "x-readme": {} }, "delete": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Delete full scan", "operationId": "deleteOrgFullScan", "parameters": [ @@ -12297,10 +13586,14 @@ ], "security": [ { - "bearerAuth": ["full-scans:delete"] + "bearerAuth": [ + "full-scans:delete" + ] }, { - "basicAuth": ["full-scans:delete"] + "basicAuth": [ + "full-scans:delete" + ] } ], "description": "Delete an existing full scan.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:delete", @@ -12319,7 +13612,9 @@ "default": "ok" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -12346,7 +13641,9 @@ }, "/orgs/{org_slug}/full-scans/{full_scan_id}/metadata": { "get": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Get full scan metadata", "operationId": "getOrgFullScanMetadata", "parameters": [ @@ -12371,10 +13668,14 @@ ], "security": [ { - "bearerAuth": ["full-scans:list"] + "bearerAuth": [ + "full-scans:list" + ] }, { - "basicAuth": ["full-scans:list"] + "basicAuth": [ + "full-scans:list" + ] } ], "description": "Get metadata for a single full scan\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:list", @@ -12518,7 +13819,12 @@ }, "scan_state": { "type": "string", - "enum": ["pending", "precrawl", "resolve", "scan"], + "enum": [ + "pending", + "precrawl", + "resolve", + "scan" + ], "description": "The current processing status of the SBOM", "default": "pending", "nullable": true @@ -12551,7 +13857,9 @@ }, "/orgs/{org_slug}/full-scans/diff": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Diff Full Scans", "deprecated": true, "operationId": "GetOrgDiffScan", @@ -12606,10 +13914,14 @@ ], "security": [ { - "bearerAuth": ["full-scans:list"] + "bearerAuth": [ + "full-scans:list" + ] }, { - "basicAuth": ["full-scans:list"] + "basicAuth": [ + "full-scans:list" + ] } ], "description": "**This endpoint is deprecated.**\n\nGet the difference between two existing Full Scans. The results are not persisted.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:list", @@ -12923,7 +14235,9 @@ }, "/orgs/{org_slug}/full-scans/diff/gfm": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "SCM Comment for Scan Diff", "deprecated": true, "operationId": "GetOrgFullScanDiffGfm", @@ -12967,10 +14281,14 @@ ], "security": [ { - "bearerAuth": ["full-scans:list"] + "bearerAuth": [ + "full-scans:list" + ] }, { - "basicAuth": ["full-scans:list"] + "basicAuth": [ + "full-scans:list" + ] } ], "description": "**This endpoint is deprecated.**\n\nGet the dependency overview and dependency alert comments in GitHub flavored markdown between the diff between two existing full scans.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:list", @@ -13205,7 +14523,10 @@ "default": "" } }, - "required": ["alerts", "overview"] + "required": [ + "alerts", + "overview" + ] }, "directDependenciesChanged": { "type": "boolean", @@ -13252,7 +14573,9 @@ }, "/orgs/{org_slug}/full-scans/{full_scan_id}/files/tar": { "get": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Download full scan files as tarball", "operationId": "downloadOrgFullScanFilesAsTar", "parameters": [ @@ -13277,10 +14600,14 @@ ], "security": [ { - "bearerAuth": ["full-scans:list"] + "bearerAuth": [ + "full-scans:list" + ] }, { - "basicAuth": ["full-scans:list"] + "basicAuth": [ + "full-scans:list" + ] } ], "description": "Download all files associated with a full scan in tar format.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:list", @@ -13312,7 +14639,9 @@ }, "/orgs/{org_slug}/full-scans/archive": { "post": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Create full scan from archive", "operationId": "CreateOrgFullScanArchive", "parameters": [ @@ -13396,7 +14725,14 @@ "description": "The integration type to associate the full-scan with. Defaults to \"Api\" if omitted.", "schema": { "type": "string", - "enum": ["api", "github", "gitlab", "bitbucket", "azure", "web"] + "enum": [ + "api", + "github", + "gitlab", + "bitbucket", + "azure", + "web" + ] } }, { @@ -13472,13 +14808,17 @@ }, "security": [ { - "bearerAuth": ["full-scans:create"] + "bearerAuth": [ + "full-scans:create" + ] }, { - "basicAuth": ["full-scans:create"] + "basicAuth": [ + "full-scans:create" + ] } ], - "description": "Create a full scan by uploading one or more archives. Supported archive formats include **.tar**, **.tar.gz/.tgz**, and **.zip**.\n\nEach uploaded archive is extracted server-side and any supported manifest files (like package.json, package-lock.json, pnpm-lock.yaml, etc.) are ingested for the scan. If you upload multiple archives in a single request, the manifests from every archive are merged into one full scan. The response includes any files that were ignored.\n\nThe maximum combined number of files extracted from your upload is 5000 and each extracted file can be no bigger than 268 MB.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:create", + "description": "Create a full scan by uploading one or more archives. Supported archive formats include **.tar**, **.tar.gz/.tgz**, and **.zip**.\n\nEach uploaded archive is extracted server-side and any supported manifest files (like package.json, package-lock.json, pnpm-lock.yaml, etc.) are ingested for the scan. If you upload multiple archives in a single request, the manifests from every archive are merged into one full scan. The response includes any files that were ignored.\n\nThe maximum combined number of files extracted from your upload is 10000 and each extracted file can be no bigger than 268 MB.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:create", "responses": { "201": { "content": { @@ -13619,7 +14959,12 @@ }, "scan_state": { "type": "string", - "enum": ["pending", "precrawl", "resolve", "scan"], + "enum": [ + "pending", + "precrawl", + "resolve", + "scan" + ], "description": "The current processing status of the SBOM", "default": "pending", "nullable": true @@ -13661,7 +15006,9 @@ }, "/orgs/{org_slug}/full-scans/{full_scan_id}/rescan": { "post": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Rescan full scan", "operationId": "rescanOrgFullScan", "parameters": [ @@ -13690,17 +15037,24 @@ "description": "The rescan mode: \"shallow\" (default) re-applies policies to cached data, \"deep\" re-fetches the SBOM stream.", "schema": { "type": "string", - "enum": ["shallow", "deep"], + "enum": [ + "shallow", + "deep" + ], "default": "shallow" } } ], "security": [ { - "bearerAuth": ["full-scans:create"] + "bearerAuth": [ + "full-scans:create" + ] }, { - "basicAuth": ["full-scans:create"] + "basicAuth": [ + "full-scans:create" + ] } ], "description": "Create a new full scan by rescanning an existing scan. A \"shallow\" rescan reapplies the latest policies to the previously cached dependency resolution results. A \"deep\" rescan reruns dependency resolution and applies the latest policies to the results.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:create", @@ -13724,7 +15078,10 @@ "default": "The status of the new scan" } }, - "required": ["id", "status"] + "required": [ + "id", + "status" + ] } } }, @@ -13751,7 +15108,9 @@ }, "/orgs/{org_slug}/full-scans/{full_scan_id}/format/csv": { "post": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Export CSV of alerts for full scan", "operationId": "getOrgFullScanCsv", "parameters": [ @@ -13788,7 +15147,10 @@ "type": "array", "items": { "type": "string", - "enum": ["component", "formula"] + "enum": [ + "component", + "formula" + ] } } ], @@ -13835,7 +15197,10 @@ "description": "" } }, - "required": ["id", "value"] + "required": [ + "id", + "value" + ] }, "description": "" } @@ -13847,10 +15212,14 @@ }, "security": [ { - "bearerAuth": ["full-scans:list"] + "bearerAuth": [ + "full-scans:list" + ] }, { - "basicAuth": ["full-scans:list"] + "basicAuth": [ + "full-scans:list" + ] } ], "description": "Export a CSV file containing all alerts from a full scan.\n\nThe CSV includes details about each alert and the affected packages.\nYou can optionally filter using the request body \"filters\" array. Supported filter IDs include:\n- alert.action (error|warn|monitor|ignore)\n- alert.type\n- alert.category\n- alert.severity (low|medium|middle|high|critical or 0-3)\n- artifact.type (purl type, e.g. npm, pypi)\n- dependency.type (direct|transitive)\n- dependency.scope (dev|normal)\n- dependency.usage (used|unused)\n- manifest.file\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:list", @@ -13882,7 +15251,9 @@ }, "/orgs/{org_slug}/full-scans/{full_scan_id}/format/pdf": { "post": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Generate PDF report for full scan", "operationId": "getOrgFullScanPdf", "parameters": [ @@ -13919,7 +15290,10 @@ "type": "array", "items": { "type": "string", - "enum": ["component", "formula"] + "enum": [ + "component", + "formula" + ] } } ], @@ -13966,7 +15340,10 @@ "description": "" } }, - "required": ["id", "value"] + "required": [ + "id", + "value" + ] }, "description": "" }, @@ -13988,10 +15365,14 @@ }, "security": [ { - "bearerAuth": ["full-scans:list"] + "bearerAuth": [ + "full-scans:list" + ] }, { - "basicAuth": ["full-scans:list"] + "basicAuth": [ + "full-scans:list" + ] } ], "description": "Generate a PDF report for all alerts in a full scan.\n\nThis endpoint streams a PDF document containing all alerts found in the full scan,\nwith optional filtering and grouping options.\n\nSupported request body filter IDs include:\n- alert.action (error|warn|monitor|ignore)\n- alert.type\n- alert.category\n- alert.severity (low|medium|middle|high|critical or 0-3)\n- artifact.type (purl type, e.g. npm, pypi)\n- dependency.type (direct|transitive)\n- dependency.scope (dev|normal)\n- dependency.usage (used|unused)\n- manifest.file\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- full-scans:list", @@ -14023,7 +15404,9 @@ }, "/orgs/{org_slug}/export/cdx/{id}": { "get": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Export CycloneDX SBOM (Beta)", "operationId": "exportCDX", "parameters": [ @@ -14108,10 +15491,14 @@ ], "security": [ { - "bearerAuth": ["report:read"] + "bearerAuth": [ + "report:read" + ] }, { - "basicAuth": ["report:read"] + "basicAuth": [ + "report:read" + ] } ], "description": "Export a Socket SBOM as a CycloneDX SBOM\n\nSupported ecosystems:\n\n- crates\n- go\n- maven\n- npm\n- nuget\n- pypi\n- rubygems\n- spdx\n- cdx\n\nUnsupported ecosystems are filtered from the export.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:read", @@ -14147,7 +15534,9 @@ }, "/orgs/{org_slug}/export/openvex/{id}": { "get": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Export OpenVEX Document (Beta)", "operationId": "exportOpenVEX", "parameters": [ @@ -14202,10 +15591,14 @@ ], "security": [ { - "bearerAuth": ["report:read"] + "bearerAuth": [ + "report:read" + ] }, { - "basicAuth": ["report:read"] + "basicAuth": [ + "report:read" + ] } ], "description": "Export vulnerability exploitability data as an OpenVEX v0.2.0 document.\n\nOpenVEX (Vulnerability Exploitability eXchange) documents communicate the\nexploitability status of vulnerabilities in software products. This export\nincludes:\n\n- **Patch data**: Vulnerabilities fixed by applied Socket patches are marked as \"fixed\"\n- **Reachability analysis**: Code reachability determines if vulnerable code is exploitable:\n- Unreachable code → \"not_affected\" with justification\n- Reachable code → \"affected\"\n- Unknown/pending → \"under_investigation\"\n\nEach statement in the document represents a single artifact-vulnerability pair\nfor granular reachability information.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:read", @@ -14241,7 +15634,9 @@ }, "/orgs/{org_slug}/export/spdx/{id}": { "get": { - "tags": ["full-scans"], + "tags": [ + "full-scans" + ], "summary": "Export SPDX SBOM (Beta)", "operationId": "exportSPDX", "parameters": [ @@ -14326,10 +15721,14 @@ ], "security": [ { - "bearerAuth": ["report:read"] + "bearerAuth": [ + "report:read" + ] }, { - "basicAuth": ["report:read"] + "basicAuth": [ + "report:read" + ] } ], "description": "Export a Socket SBOM as a SPDX SBOM\n\nSupported ecosystems:\n\n- crates\n- go\n- maven\n- npm\n- nuget\n- pypi\n- rubygems\n- spdx\n- cdx\n\nUnsupported ecosystems are filtered from the export.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:read", @@ -14365,7 +15764,9 @@ }, "/orgs/{org_slug}/diff-scans": { "get": { - "tags": ["diff-scans"], + "tags": [ + "diff-scans" + ], "summary": "List diff scans", "operationId": "listOrgDiffScans", "parameters": [ @@ -14385,7 +15786,10 @@ "description": "Specify sort field.", "schema": { "type": "string", - "enum": ["created_at", "updated_at"], + "enum": [ + "created_at", + "updated_at" + ], "default": "created_at" } }, @@ -14396,7 +15800,10 @@ "description": "Specify sort direction.", "schema": { "type": "string", - "enum": ["asc", "desc"], + "enum": [ + "asc", + "desc" + ], "default": "desc" } }, @@ -14451,10 +15858,14 @@ ], "security": [ { - "bearerAuth": ["diff-scans:list"] + "bearerAuth": [ + "diff-scans:list" + ] }, { - "basicAuth": ["diff-scans:list"] + "basicAuth": [ + "diff-scans:list" + ] } ], "description": "Returns a paginated list of all diff scans in an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- diff-scans:list", @@ -14569,7 +15980,11 @@ "nullable": true } }, - "required": ["next_cursor", "next_page_href", "results"] + "required": [ + "next_cursor", + "next_page_href", + "results" + ] } } }, @@ -14596,7 +16011,9 @@ }, "/orgs/{org_slug}/diff-scans/{diff_scan_id}": { "get": { - "tags": ["diff-scans"], + "tags": [ + "diff-scans" + ], "summary": "Get diff scan", "operationId": "getDiffScanById", "parameters": [ @@ -14652,10 +16069,14 @@ ], "security": [ { - "bearerAuth": ["diff-scans:list"] + "bearerAuth": [ + "diff-scans:list" + ] }, { - "basicAuth": ["diff-scans:list"] + "basicAuth": [ + "diff-scans:list" + ] } ], "description": "Get the difference between two full scans from an existing diff scan resource.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- diff-scans:list", @@ -15001,7 +16422,9 @@ ] } }, - "required": ["diff_scan"] + "required": [ + "diff_scan" + ] } } }, @@ -15026,7 +16449,10 @@ "default": "" } }, - "required": ["id", "status"] + "required": [ + "id", + "status" + ] } } }, @@ -15051,7 +16477,9 @@ "x-readme": {} }, "delete": { - "tags": ["diff-scans"], + "tags": [ + "diff-scans" + ], "summary": "Delete diff scan", "operationId": "deleteOrgDiffScan", "parameters": [ @@ -15077,10 +16505,14 @@ ], "security": [ { - "bearerAuth": ["diff-scans:delete"] + "bearerAuth": [ + "diff-scans:delete" + ] }, { - "basicAuth": ["diff-scans:delete"] + "basicAuth": [ + "diff-scans:delete" + ] } ], "description": "Delete an existing diff scan.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- diff-scans:delete", @@ -15099,7 +16531,9 @@ "default": "ok" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -15126,7 +16560,9 @@ }, "/orgs/{org_slug}/diff-scans/{diff_scan_id}/gfm": { "get": { - "tags": ["diff-scans"], + "tags": [ + "diff-scans" + ], "summary": "SCM Comment for Diff Scan", "operationId": "GetDiffScanGfm", "parameters": [ @@ -15161,10 +16597,14 @@ ], "security": [ { - "bearerAuth": ["diff-scans:list"] + "bearerAuth": [ + "diff-scans:list" + ] }, { - "basicAuth": ["diff-scans:list"] + "basicAuth": [ + "diff-scans:list" + ] } ], "description": "Get the dependency overview and dependency alert comments in GitHub flavored markdown for an existing diff scan.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- diff-scans:list", @@ -15458,7 +16898,10 @@ "default": "" } }, - "required": ["alerts", "overview"] + "required": [ + "alerts", + "overview" + ] } }, "required": [ @@ -15478,7 +16921,9 @@ ] } }, - "required": ["diff_scan"] + "required": [ + "diff_scan" + ] } } }, @@ -15505,7 +16950,9 @@ }, "/orgs/{org_slug}/diff-scans/from-repo/{repo_slug}": { "post": { - "tags": ["diff-scans"], + "tags": [ + "diff-scans" + ], "summary": "Create diff scan from repository HEAD full-scan", "operationId": "createOrgRepoDiff", "parameters": [ @@ -15598,7 +17045,14 @@ "description": "The integration type to associate the new full-scan with. Defaults to \"api\" if omitted.", "schema": { "type": "string", - "enum": ["api", "github", "gitlab", "bitbucket", "azure", "web"] + "enum": [ + "api", + "github", + "gitlab", + "bitbucket", + "azure", + "web" + ] } }, { @@ -15660,10 +17114,14 @@ ] }, { - "basicAuth": ["repo:list", "diff-scans:create", "full-scans:create"] + "basicAuth": [ + "repo:list", + "diff-scans:create", + "full-scans:create" + ] } ], - "description": "Create a diff scan between the repository's current HEAD full scan and a new full scan from uploaded manifest files.\nReturns metadata about the diff scan. Once the diff scan is created, fetch the diff scan from\nthe [api_url](/reference/getDiffScanById) URL to get the contents of the diff.\n\nThe maximum number of files you can upload at a time is 5000 and each file can be no bigger than 268 MB.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n - repo:list\n- diff-scans:create\n- full-scans:create", + "description": "Create a diff scan between the repository's current HEAD full scan and a new full scan from uploaded manifest files.\nReturns metadata about the diff scan. Once the diff scan is created, fetch the diff scan from\nthe [api_url](/reference/getDiffScanById) URL to get the contents of the diff.\n\nThe maximum number of files you can upload at a time is 10000 and each file can be no bigger than 268 MB.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n - repo:list\n- diff-scans:create\n- full-scans:create", "responses": { "201": { "content": { @@ -15964,7 +17422,10 @@ "description": "" } }, - "required": ["diff_scan", "unmatchedAfterFiles"] + "required": [ + "diff_scan", + "unmatchedAfterFiles" + ] } } }, @@ -15994,7 +17455,9 @@ }, "/orgs/{org_slug}/diff-scans/from-ids": { "post": { - "tags": ["diff-scans"], + "tags": [ + "diff-scans" + ], "summary": "Create diff scan from full scan IDs", "operationId": "createOrgDiffScanFromIds", "parameters": [ @@ -16052,14 +17515,29 @@ "type": "boolean", "default": false } + }, + { + "name": "on_duplicate", + "in": "query", + "required": false, + "description": "Set to \"redirect\" to receive a 302 redirect to the existing diff scan instead of a 409 error when a duplicate is detected.", + "schema": { + "type": "string" + } } ], "security": [ { - "bearerAuth": ["diff-scans:create", "full-scans:list"] + "bearerAuth": [ + "diff-scans:create", + "full-scans:list" + ] }, { - "basicAuth": ["diff-scans:create", "full-scans:list"] + "basicAuth": [ + "diff-scans:create", + "full-scans:list" + ] } ], "description": "Create a diff scan from two existing full scan IDs. The full scans must be in the same repository.\nReturns metadata about the diff scan. Once the diff scan is created, fetch the diff scan from\nthe [api_url](/reference/getDiffScanById) URL to get the contents of the diff.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n - diff-scans:create\n- full-scans:list", @@ -16354,12 +17832,312 @@ ] } }, - "required": ["diff_scan"] + "required": [ + "diff_scan" + ] } } }, "description": "The details of the created diff scan." }, + "302": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "diff_scan": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "id": { + "type": "string", + "description": "", + "default": "" + }, + "organization_id": { + "type": "string", + "description": "", + "default": "" + }, + "repository_id": { + "type": "string", + "description": "", + "default": "" + }, + "created_at": { + "type": "string", + "description": "", + "default": "" + }, + "updated_at": { + "type": "string", + "description": "", + "default": "" + }, + "before_full_scan": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "id": { + "type": "string", + "description": "", + "default": "" + }, + "created_at": { + "type": "string", + "description": "", + "default": "" + }, + "updated_at": { + "type": "string", + "description": "", + "default": "" + }, + "organization_id": { + "type": "string", + "description": "", + "default": "" + }, + "organization_slug": { + "type": "string", + "description": "", + "default": "" + }, + "repository_id": { + "type": "string", + "description": "", + "default": "" + }, + "repository_slug": { + "type": "string", + "description": "", + "default": "" + }, + "branch": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "commit_message": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "commit_hash": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "pull_request": { + "type": "integer", + "description": "", + "default": 0, + "nullable": true + }, + "committers": { + "type": "array", + "items": { + "type": "string", + "description": "", + "default": "" + }, + "description": "" + }, + "html_url": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "api_url": { + "type": "string", + "description": "", + "default": "", + "nullable": true + } + }, + "required": [ + "api_url", + "branch", + "commit_hash", + "commit_message", + "committers", + "created_at", + "html_url", + "id", + "organization_id", + "organization_slug", + "pull_request", + "repository_id", + "repository_slug", + "updated_at" + ] + }, + "after_full_scan": { + "type": "object", + "additionalProperties": false, + "description": "", + "properties": { + "id": { + "type": "string", + "description": "", + "default": "" + }, + "created_at": { + "type": "string", + "description": "", + "default": "" + }, + "updated_at": { + "type": "string", + "description": "", + "default": "" + }, + "organization_id": { + "type": "string", + "description": "", + "default": "" + }, + "organization_slug": { + "type": "string", + "description": "", + "default": "" + }, + "repository_id": { + "type": "string", + "description": "", + "default": "" + }, + "repository_slug": { + "type": "string", + "description": "", + "default": "" + }, + "branch": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "commit_message": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "commit_hash": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "pull_request": { + "type": "integer", + "description": "", + "default": 0, + "nullable": true + }, + "committers": { + "type": "array", + "items": { + "type": "string", + "description": "", + "default": "" + }, + "description": "" + }, + "html_url": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "api_url": { + "type": "string", + "description": "", + "default": "", + "nullable": true + } + }, + "required": [ + "api_url", + "branch", + "commit_hash", + "commit_message", + "committers", + "created_at", + "html_url", + "id", + "organization_id", + "organization_slug", + "pull_request", + "repository_id", + "repository_slug", + "updated_at" + ] + }, + "description": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "external_href": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "merge": { + "type": "boolean", + "default": false, + "description": "" + }, + "html_url": { + "type": "string", + "description": "", + "default": "", + "nullable": true + }, + "api_url": { + "type": "string", + "description": "", + "default": "", + "nullable": true + } + }, + "required": [ + "after_full_scan", + "api_url", + "before_full_scan", + "created_at", + "description", + "external_href", + "html_url", + "id", + "merge", + "organization_id", + "repository_id", + "updated_at" + ] + } + }, + "required": [ + "diff_scan" + ] + } + } + }, + "description": "Redirects to the existing diff scan when on_duplicate=redirect is set and a duplicate is detected." + }, "400": { "$ref": "#/components/responses/SocketBadRequest" }, @@ -16384,7 +18162,9 @@ }, "/orgs/{org_slug}/triage/alerts": { "get": { - "tags": ["triage"], + "tags": [ + "triage" + ], "summary": "List Org Alert Triage", "operationId": "getOrgTriage", "parameters": [ @@ -16443,10 +18223,14 @@ ], "security": [ { - "bearerAuth": ["triage:alerts-list"] + "bearerAuth": [ + "triage:alerts-list" + ] }, { - "basicAuth": ["triage:alerts-list"] + "basicAuth": [ + "triage:alerts-list" + ] } ], "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", @@ -16509,14 +18293,22 @@ }, "fix_available": { "type": "string", - "enum": ["available", "unavailable", "*"], + "enum": [ + "available", + "unavailable", + "*" + ], "description": "Whether a fix must be available, unavailable, or * for any", "default": "*", "nullable": true }, "patch_available": { "type": "string", - "enum": ["available", "unavailable", "*"], + "enum": [ + "available", + "unavailable", + "*" + ], "description": "Whether a patch must be available, unavailable, or * for any", "default": "*", "nullable": true @@ -16567,14 +18359,23 @@ }, "reachability": { "type": "string", - "enum": ["reachable", "unreachable", "other", "*"], + "enum": [ + "reachable", + "unreachable", + "other", + "*" + ], "description": "The reachability of the alert, can be reachable, unreachable, other, or * for any", "default": "*", "nullable": true }, "kevs": { "type": "string", - "enum": ["exist", "none", "*"], + "enum": [ + "exist", + "none", + "*" + ], "description": "Whether the alert has a CISA KEV (Known Exploited Vulnerability), can be exist, none, or * for any", "default": "*", "nullable": true @@ -16591,7 +18392,10 @@ "nullable": true } }, - "required": ["nextPage", "results"] + "required": [ + "nextPage", + "results" + ] } } }, @@ -16616,7 +18420,9 @@ "x-readme": {} }, "post": { - "tags": ["triage"], + "tags": [ + "triage" + ], "summary": "Create/Update Org Alert Triage", "operationId": "updateOrgAlertTriage", "parameters": [ @@ -16698,17 +18504,29 @@ }, "fixAvailable": { "type": "string", - "enum": ["available", "unavailable", "*"], + "enum": [ + "available", + "unavailable", + "*" + ], "description": "Whether a fix is available, unavailable, or * for any" }, "patchAvailable": { "type": "string", - "enum": ["available", "unavailable", "*"], + "enum": [ + "available", + "unavailable", + "*" + ], "description": "Whether a patch is available, unavailable, or * for any" }, "kevs": { "type": "string", - "enum": ["exist", "none", "*"], + "enum": [ + "exist", + "none", + "*" + ], "description": "Whether the alert has a CISA KEV, can be exist, none, or * for any" }, "cveOrGhsaId": { @@ -16719,7 +18537,12 @@ }, "reachability": { "type": "string", - "enum": ["reachable", "unreachable", "other", "*"], + "enum": [ + "reachable", + "unreachable", + "other", + "*" + ], "description": "The reachability of the alert, can be reachable, unreachable, other, or * for any" }, "cvssScoreCmp": { @@ -16750,7 +18573,9 @@ "description": "" } }, - "required": ["alertTriage"] + "required": [ + "alertTriage" + ] } } }, @@ -16758,10 +18583,14 @@ }, "security": [ { - "bearerAuth": ["triage:alerts-update"] + "bearerAuth": [ + "triage:alerts-update" + ] }, { - "basicAuth": ["triage:alerts-update"] + "basicAuth": [ + "triage:alerts-update" + ] } ], "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", @@ -16780,7 +18609,9 @@ "default": "" } }, - "required": ["result"] + "required": [ + "result" + ] } } }, @@ -16807,7 +18638,9 @@ }, "/orgs/{org_slug}/triage/alerts/{uuid}": { "delete": { - "tags": ["triage"], + "tags": [ + "triage" + ], "summary": "Delete Org Alert Triage", "operationId": "deleteOrgAlertTriage", "parameters": [ @@ -16832,10 +18665,14 @@ ], "security": [ { - "bearerAuth": ["triage:alerts-update"] + "bearerAuth": [ + "triage:alerts-update" + ] }, { - "basicAuth": ["triage:alerts-update"] + "basicAuth": [ + "triage:alerts-update" + ] } ], "description": "Delete a specific triage rule by UUID.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- triage:alerts-update", @@ -16854,7 +18691,9 @@ "default": "" } }, - "required": ["result"] + "required": [ + "result" + ] } } }, @@ -16881,7 +18720,9 @@ }, "/orgs/{org_slug}/repos": { "get": { - "tags": ["repos"], + "tags": [ + "repos" + ], "summary": "List repositories", "operationId": "getOrgRepoList", "parameters": [ @@ -16959,10 +18800,14 @@ ], "security": [ { - "bearerAuth": ["repo:list"] + "bearerAuth": [ + "repo:list" + ] }, { - "basicAuth": ["repo:list"] + "basicAuth": [ + "repo:list" + ] } ], "description": "Lists repositories for the specified organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo:list", @@ -17015,7 +18860,9 @@ "properties": { "type": { "type": "string", - "enum": ["github"] + "enum": [ + "github" + ] }, "value": { "type": "object", @@ -17081,7 +18928,10 @@ }, "visibility": { "type": "string", - "enum": ["public", "private"], + "enum": [ + "public", + "private" + ], "description": "The visibility of the repository", "default": "private" }, @@ -17113,7 +18963,10 @@ "nullable": true } }, - "required": ["nextPage", "results"] + "required": [ + "nextPage", + "results" + ] } } }, @@ -17138,7 +18991,9 @@ "x-readme": {} }, "post": { - "tags": ["repos"], + "tags": [ + "repos" + ], "summary": "Create repository", "operationId": "createOrgRepo", "parameters": [ @@ -17187,7 +19042,10 @@ }, "visibility": { "type": "string", - "enum": ["public", "private"], + "enum": [ + "public", + "private" + ], "description": "The visibility of the repository", "default": "private" }, @@ -17221,10 +19079,14 @@ }, "security": [ { - "bearerAuth": ["repo:create"] + "bearerAuth": [ + "repo:create" + ] }, { - "basicAuth": ["repo:create"] + "basicAuth": [ + "repo:create" + ] } ], "description": "Create a repository.\n\nRepos collect Full scans and Diff scans and are typically associated with a git repo.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo:create", @@ -17270,7 +19132,9 @@ "properties": { "type": { "type": "string", - "enum": ["github"] + "enum": [ + "github" + ] }, "value": { "type": "object", @@ -17336,7 +19200,10 @@ }, "visibility": { "type": "string", - "enum": ["public", "private"], + "enum": [ + "public", + "private" + ], "description": "The visibility of the repository", "default": "private" }, @@ -17404,7 +19271,9 @@ "properties": { "type": { "type": "string", - "enum": ["github"] + "enum": [ + "github" + ] }, "value": { "type": "object", @@ -17470,7 +19339,10 @@ }, "visibility": { "type": "string", - "enum": ["public", "private"], + "enum": [ + "public", + "private" + ], "description": "The visibility of the repository", "default": "private" }, @@ -17521,7 +19393,9 @@ }, "/orgs/{org_slug}/repos/{repo_slug}": { "get": { - "tags": ["repos"], + "tags": [ + "repos" + ], "summary": "Get repository", "operationId": "getOrgRepo", "parameters": [ @@ -17555,10 +19429,14 @@ ], "security": [ { - "bearerAuth": ["repo:list"] + "bearerAuth": [ + "repo:list" + ] }, { - "basicAuth": ["repo:list"] + "basicAuth": [ + "repo:list" + ] } ], "description": "Retrieve a repository associated with an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo:list", @@ -17605,7 +19483,9 @@ "properties": { "type": { "type": "string", - "enum": ["github"] + "enum": [ + "github" + ] }, "value": { "type": "object", @@ -17671,7 +19551,10 @@ }, "visibility": { "type": "string", - "enum": ["public", "private"], + "enum": [ + "public", + "private" + ], "description": "The visibility of the repository", "default": "private" }, @@ -17738,7 +19621,9 @@ "x-readme": {} }, "post": { - "tags": ["repos"], + "tags": [ + "repos" + ], "summary": "Update repository", "operationId": "updateOrgRepo", "parameters": [ @@ -17796,7 +19681,10 @@ }, "visibility": { "type": "string", - "enum": ["public", "private"], + "enum": [ + "public", + "private" + ], "description": "The visibility of the repository", "default": "private" }, @@ -17825,10 +19713,14 @@ }, "security": [ { - "bearerAuth": ["repo:update"] + "bearerAuth": [ + "repo:update" + ] }, { - "basicAuth": ["repo:update"] + "basicAuth": [ + "repo:update" + ] } ], "description": "Update details of an existing repository.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo:update", @@ -17874,7 +19766,9 @@ "properties": { "type": { "type": "string", - "enum": ["github"] + "enum": [ + "github" + ] }, "value": { "type": "object", @@ -17940,7 +19834,10 @@ }, "visibility": { "type": "string", - "enum": ["public", "private"], + "enum": [ + "public", + "private" + ], "description": "The visibility of the repository", "default": "private" }, @@ -17986,7 +19883,9 @@ "x-readme": {} }, "delete": { - "tags": ["repos"], + "tags": [ + "repos" + ], "summary": "Delete repository", "operationId": "deleteOrgRepo", "parameters": [ @@ -18020,10 +19919,14 @@ ], "security": [ { - "bearerAuth": ["repo:delete"] + "bearerAuth": [ + "repo:delete" + ] }, { - "basicAuth": ["repo:delete"] + "basicAuth": [ + "repo:delete" + ] } ], "description": "Delete a single repository and all of its associated Full scans and Diff scans.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo:delete", @@ -18042,7 +19945,9 @@ "default": "ok" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -18069,7 +19974,9 @@ }, "/orgs/{org_slug}/repos/labels/{label_id}/associate": { "post": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Associate repository label (beta)", "operationId": "associateOrgRepoLabel", "parameters": [ @@ -18113,10 +20020,14 @@ }, "security": [ { - "bearerAuth": ["repo-label:update"] + "bearerAuth": [ + "repo-label:update" + ] }, { - "basicAuth": ["repo-label:update"] + "basicAuth": [ + "repo-label:update" + ] } ], "description": "Associate a repository label with a repository.\n\nLabels can be used to group and organize repositories and to apply security/license policies.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:update", @@ -18161,7 +20072,9 @@ }, "/orgs/{org_slug}/repos/labels": { "post": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Create repository label (beta)", "operationId": "createOrgRepoLabel", "parameters": [ @@ -18189,7 +20102,9 @@ "default": "" } }, - "required": ["name"] + "required": [ + "name" + ] } } }, @@ -18197,10 +20112,14 @@ }, "security": [ { - "bearerAuth": ["repo-label:create"] + "bearerAuth": [ + "repo-label:create" + ] }, { - "basicAuth": ["repo-label:create"] + "basicAuth": [ + "repo-label:create" + ] } ], "description": "Create a repository label.\n\nLabels can be used to group and organize repositories and to apply security/license policies.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:create", @@ -18285,10 +20204,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -18301,7 +20225,9 @@ "x-readme": {} }, "get": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "List repository labels (beta)", "operationId": "getOrgRepoLabelList", "parameters": [ @@ -18340,10 +20266,14 @@ ], "security": [ { - "bearerAuth": ["repo-label:list"] + "bearerAuth": [ + "repo-label:list" + ] }, { - "basicAuth": ["repo-label:list"] + "basicAuth": [ + "repo-label:list" + ] } ], "description": "Lists repository labels for the specified organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:list", @@ -18403,7 +20333,10 @@ "nullable": true } }, - "required": ["nextPage", "results"] + "required": [ + "nextPage", + "results" + ] } } }, @@ -18430,7 +20363,9 @@ }, "/orgs/{org_slug}/repos/labels/{label_id}": { "delete": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Delete repository label (beta)", "operationId": "deleteOrgRepoLabel", "parameters": [ @@ -18455,10 +20390,14 @@ ], "security": [ { - "bearerAuth": ["repo-label:delete"] + "bearerAuth": [ + "repo-label:delete" + ] }, { - "basicAuth": ["repo-label:delete"] + "basicAuth": [ + "repo-label:delete" + ] } ], "description": "Delete a repository label and all of its associations (repositories, security policy, license policy, etc.).\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:delete", @@ -18477,7 +20416,9 @@ "default": "ok" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -18502,7 +20443,9 @@ "x-readme": {} }, "get": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Get repository label (beta)", "operationId": "getOrgRepoLabel", "parameters": [ @@ -18527,10 +20470,14 @@ ], "security": [ { - "bearerAuth": ["repo-label:list"] + "bearerAuth": [ + "repo-label:list" + ] }, { - "basicAuth": ["repo-label:list"] + "basicAuth": [ + "repo-label:list" + ] } ], "description": "Retrieve a repository label associated with an organization and label ID.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:list", @@ -18597,7 +20544,9 @@ "x-readme": {} }, "put": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Update repository label (beta)", "operationId": "updateOrgRepoLabel", "parameters": [ @@ -18634,7 +20583,9 @@ "default": "" } }, - "required": ["name"] + "required": [ + "name" + ] } } }, @@ -18642,10 +20593,14 @@ }, "security": [ { - "bearerAuth": ["repo-label:update"] + "bearerAuth": [ + "repo-label:update" + ] }, { - "basicAuth": ["repo-label:update"] + "basicAuth": [ + "repo-label:update" + ] } ], "description": "Update a repository label name.\n\nLabels can be used to group and organize repositories and to apply security/license policies.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:update", @@ -18730,10 +20685,15 @@ "nullable": true } }, - "required": ["details", "message"] + "required": [ + "details", + "message" + ] } }, - "required": ["error"] + "required": [ + "error" + ] } } }, @@ -18748,7 +20708,9 @@ }, "/orgs/{org_slug}/repos/labels/{label_id}/label-setting": { "delete": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Delete repository label setting (beta)", "operationId": "deleteOrgRepoLabelSetting", "parameters": [ @@ -18774,7 +20736,7 @@ "name": "setting_key", "in": "query", "required": true, - "description": "Setting key to delete from the repository label. Valid values include issueRules, issueRulesPolicyDefault, and licensePolicy", + "description": "Setting key to delete from the repository label. Valid values include issueRules, issueRulesPolicyDefault, licensePolicy, and recentlyPublishedThresholdMs", "schema": { "type": "string" } @@ -18782,13 +20744,17 @@ ], "security": [ { - "bearerAuth": ["repo-label:update"] + "bearerAuth": [ + "repo-label:update" + ] }, { - "basicAuth": ["repo-label:update"] + "basicAuth": [ + "repo-label:update" + ] } ], - "description": "Delete the setting (e.g. security/license policy) for a repository label.\n\n\nNote that repository label settings currently only support `issueRules`\nand `issueRulesPolicyDefault`. A policy is considered \"active\" for\na given repository label if the `issueRulesPolicyDefault` is set,\nand inactive when not set. `issueRules` can be used to further\nrefine the alert triage strategy.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:update", + "description": "Delete the setting (e.g. security/license policy) for a repository label.\n\n\nNote that repository label settings currently only support `issueRules`,\n`issueRulesPolicyDefault`, `licensePolicy`, and\n`recentlyPublishedThresholdMs`. A policy is considered \"active\"\nfor a given repository label if the `issueRulesPolicyDefault` is\nset, and inactive when not set. `issueRules` can be used to further\nrefine the alert triage strategy.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:update", "responses": { "200": { "content": { @@ -18804,7 +20770,9 @@ "default": "ok" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -18829,7 +20797,9 @@ "x-readme": {} }, "get": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Get repository label setting (beta)", "operationId": "getOrgRepoLabelSetting", "parameters": [ @@ -18855,7 +20825,7 @@ "name": "setting_key", "in": "query", "required": true, - "description": "Setting key to query for in the repository label. Valid values include issueRules, issueRulesPolicyDefault, and licensePolicy", + "description": "Setting key to query for in the repository label. Valid values include issueRules, issueRulesPolicyDefault, licensePolicy, and recentlyPublishedThresholdMs", "schema": { "type": "string" } @@ -18863,13 +20833,17 @@ ], "security": [ { - "bearerAuth": ["repo-label:list"] + "bearerAuth": [ + "repo-label:list" + ] }, { - "basicAuth": ["repo-label:list"] + "basicAuth": [ + "repo-label:list" + ] } ], - "description": "Retrieve the setting (e.g. security/license policy) for a repository label.\n\n\nNote that repository label settings currently only support `issueRules`\nand `issueRulesPolicyDefault`. A policy is considered \"active\" for\na given repository label if the `issueRulesPolicyDefault` is set,\nand inactive when not set. `issueRules` can be used to further\nrefine the alert triage strategy.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:list", + "description": "Retrieve the setting (e.g. security/license policy) for a repository label.\n\n\nNote that repository label settings currently only support `issueRules`,\n`issueRulesPolicyDefault`, `licensePolicy`, and\n`recentlyPublishedThresholdMs`. A policy is considered \"active\"\nfor a given repository label if the `issueRulesPolicyDefault` is\nset, and inactive when not set. `issueRules` can be used to further\nrefine the alert triage strategy.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:list", "responses": { "200": { "content": { @@ -18899,7 +20873,9 @@ "description": "The action to take for gptSecurity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptAnomaly": { "type": "object", @@ -18918,7 +20894,9 @@ "description": "The action to take for gptAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptMalware": { "type": "object", @@ -18937,7 +20915,9 @@ "description": "The action to take for gptMalware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "filesystemAccess": { "type": "object", @@ -18956,7 +20936,9 @@ "description": "The action to take for filesystemAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "networkAccess": { "type": "object", @@ -18975,7 +20957,9 @@ "description": "The action to take for networkAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellAccess": { "type": "object", @@ -18994,7 +20978,9 @@ "description": "The action to take for shellAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "debugAccess": { "type": "object", @@ -19013,7 +20999,9 @@ "description": "The action to take for debugAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromePermission": { "type": "object", @@ -19032,7 +21020,9 @@ "description": "The action to take for chromePermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeHostPermission": { "type": "object", @@ -19051,7 +21041,9 @@ "description": "The action to take for chromeHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeWildcardHostPermission": { "type": "object", @@ -19070,7 +21062,9 @@ "description": "The action to take for chromeWildcardHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeContentScript": { "type": "object", @@ -19089,7 +21083,9 @@ "description": "The action to take for chromeContentScript issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "criticalCVE": { "type": "object", @@ -19108,7 +21104,9 @@ "description": "The action to take for criticalCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "cve": { "type": "object", @@ -19127,7 +21125,9 @@ "description": "The action to take for cve issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mediumCVE": { "type": "object", @@ -19146,7 +21146,9 @@ "description": "The action to take for mediumCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mildCVE": { "type": "object", @@ -19165,7 +21167,9 @@ "description": "The action to take for mildCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "emptyPackage": { "type": "object", @@ -19184,7 +21188,9 @@ "description": "The action to take for emptyPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "trivialPackage": { "type": "object", @@ -19203,7 +21209,9 @@ "description": "The action to take for trivialPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noREADME": { "type": "object", @@ -19222,7 +21230,9 @@ "description": "The action to take for noREADME issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shrinkwrap": { "type": "object", @@ -19241,7 +21251,9 @@ "description": "The action to take for shrinkwrap issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "tooManyFiles": { "type": "object", @@ -19260,7 +21272,9 @@ "description": "The action to take for tooManyFiles issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "generic": { "type": "object", @@ -19279,7 +21293,9 @@ "description": "The action to take for generic issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToSink": { "type": "object", @@ -19298,7 +21314,9 @@ "description": "The action to take for ghaArgToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaEnvToSink": { "type": "object", @@ -19317,7 +21335,9 @@ "description": "The action to take for ghaEnvToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToSink": { "type": "object", @@ -19336,7 +21356,9 @@ "description": "The action to take for ghaContextToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToOutput": { "type": "object", @@ -19355,7 +21377,9 @@ "description": "The action to take for ghaArgToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToEnv": { "type": "object", @@ -19374,7 +21398,9 @@ "description": "The action to take for ghaArgToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToOutput": { "type": "object", @@ -19393,7 +21419,9 @@ "description": "The action to take for ghaContextToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToEnv": { "type": "object", @@ -19412,7 +21440,9 @@ "description": "The action to take for ghaContextToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "recentlyPublished": { "type": "object", @@ -19431,7 +21461,9 @@ "description": "The action to take for recentlyPublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseSpdxDisj": { "type": "object", @@ -19450,7 +21482,9 @@ "description": "The action to take for licenseSpdxDisj issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unsafeCopyright": { "type": "object", @@ -19469,7 +21503,9 @@ "description": "The action to take for unsafeCopyright issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseChange": { "type": "object", @@ -19488,7 +21524,9 @@ "description": "The action to take for licenseChange issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonOSILicense": { "type": "object", @@ -19507,7 +21545,9 @@ "description": "The action to take for nonOSILicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedLicense": { "type": "object", @@ -19526,7 +21566,9 @@ "description": "The action to take for deprecatedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingLicense": { "type": "object", @@ -19545,7 +21587,9 @@ "description": "The action to take for missingLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonSPDXLicense": { "type": "object", @@ -19564,7 +21608,9 @@ "description": "The action to take for nonSPDXLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unclearLicense": { "type": "object", @@ -19583,7 +21629,9 @@ "description": "The action to take for unclearLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mixedLicense": { "type": "object", @@ -19602,7 +21650,9 @@ "description": "The action to take for mixedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notice": { "type": "object", @@ -19621,7 +21671,9 @@ "description": "The action to take for notice issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedLicense": { "type": "object", @@ -19640,7 +21692,9 @@ "description": "The action to take for modifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedException": { "type": "object", @@ -19659,7 +21713,9 @@ "description": "The action to take for modifiedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseException": { "type": "object", @@ -19678,7 +21734,9 @@ "description": "The action to take for licenseException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedException": { "type": "object", @@ -19697,7 +21755,9 @@ "description": "The action to take for deprecatedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "miscLicenseIssues": { "type": "object", @@ -19716,7 +21776,9 @@ "description": "The action to take for miscLicenseIssues issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unidentifiedLicense": { "type": "object", @@ -19735,7 +21797,9 @@ "description": "The action to take for unidentifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noLicenseFound": { "type": "object", @@ -19754,7 +21818,9 @@ "description": "The action to take for noLicenseFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "explicitlyUnlicensedItem": { "type": "object", @@ -19773,7 +21839,9 @@ "description": "The action to take for explicitlyUnlicensedItem issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "copyleftLicense": { "type": "object", @@ -19792,7 +21860,9 @@ "description": "The action to take for copyleftLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonpermissiveLicense": { "type": "object", @@ -19811,7 +21881,9 @@ "description": "The action to take for nonpermissiveLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ambiguousClassifier": { "type": "object", @@ -19830,7 +21902,9 @@ "description": "The action to take for ambiguousClassifier issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invalidPackageJSON": { "type": "object", @@ -19849,7 +21923,9 @@ "description": "The action to take for invalidPackageJSON issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "httpDependency": { "type": "object", @@ -19868,7 +21944,9 @@ "description": "The action to take for httpDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitDependency": { "type": "object", @@ -19887,7 +21965,9 @@ "description": "The action to take for gitDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitHubDependency": { "type": "object", @@ -19906,7 +21986,9 @@ "description": "The action to take for gitHubDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "fileDependency": { "type": "object", @@ -19925,7 +22007,9 @@ "description": "The action to take for fileDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noTests": { "type": "object", @@ -19944,7 +22028,9 @@ "description": "The action to take for noTests issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noRepository": { "type": "object", @@ -19963,7 +22049,9 @@ "description": "The action to take for noRepository issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemver": { "type": "object", @@ -19982,7 +22070,9 @@ "description": "The action to take for badSemver issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemverDependency": { "type": "object", @@ -20001,7 +22091,9 @@ "description": "The action to take for badSemverDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noV1": { "type": "object", @@ -20020,7 +22112,9 @@ "description": "The action to take for noV1 issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noWebsite": { "type": "object", @@ -20039,7 +22133,9 @@ "description": "The action to take for noWebsite issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noBugTracker": { "type": "object", @@ -20058,7 +22154,9 @@ "description": "The action to take for noBugTracker issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noAuthorData": { "type": "object", @@ -20077,7 +22175,9 @@ "description": "The action to take for noAuthorData issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "typeModuleCompatibility": { "type": "object", @@ -20096,7 +22196,9 @@ "description": "The action to take for typeModuleCompatibility issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "floatingDependency": { "type": "object", @@ -20115,7 +22217,9 @@ "description": "The action to take for floatingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "manifestConfusion": { "type": "object", @@ -20134,7 +22238,9 @@ "description": "The action to take for manifestConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "malware": { "type": "object", @@ -20153,7 +22259,9 @@ "description": "The action to take for malware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "telemetry": { "type": "object", @@ -20172,7 +22280,9 @@ "description": "The action to take for telemetry issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "troll": { "type": "object", @@ -20191,7 +22301,9 @@ "description": "The action to take for troll issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "pendingScan": { "type": "object", @@ -20210,7 +22322,9 @@ "description": "The action to take for pendingScan issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecated": { "type": "object", @@ -20229,7 +22343,9 @@ "description": "The action to take for deprecated issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chronoAnomaly": { "type": "object", @@ -20248,7 +22364,9 @@ "description": "The action to take for chronoAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "compromisedSSHKey": { "type": "object", @@ -20267,7 +22385,9 @@ "description": "The action to take for compromisedSSHKey issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "semverAnomaly": { "type": "object", @@ -20286,7 +22406,9 @@ "description": "The action to take for semverAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "newAuthor": { "type": "object", @@ -20305,7 +22427,9 @@ "description": "The action to take for newAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unstableOwnership": { "type": "object", @@ -20324,7 +22448,9 @@ "description": "The action to take for unstableOwnership issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingAuthor": { "type": "object", @@ -20343,7 +22469,9 @@ "description": "The action to take for missingAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unmaintained": { "type": "object", @@ -20362,7 +22490,9 @@ "description": "The action to take for unmaintained issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpublished": { "type": "object", @@ -20381,7 +22511,9 @@ "description": "The action to take for unpublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "majorRefactor": { "type": "object", @@ -20400,7 +22532,9 @@ "description": "The action to take for majorRefactor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingTarball": { "type": "object", @@ -20419,7 +22553,9 @@ "description": "The action to take for missingTarball issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousStarActivity": { "type": "object", @@ -20438,7 +22574,9 @@ "description": "The action to take for suspiciousStarActivity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notFound": { "type": "object", @@ -20457,7 +22595,9 @@ "description": "The action to take for notFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpopularPackage": { "type": "object", @@ -20476,7 +22616,9 @@ "description": "The action to take for unpopularPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "policy": { "type": "object", @@ -20495,7 +22637,9 @@ "description": "The action to take for policy issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillAutonomyAbuse": { "type": "object", @@ -20514,7 +22658,9 @@ "description": "The action to take for skillAutonomyAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillCommandInjection": { "type": "object", @@ -20533,7 +22679,9 @@ "description": "The action to take for skillCommandInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDataExfiltration": { "type": "object", @@ -20552,7 +22700,9 @@ "description": "The action to take for skillDataExfiltration issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDiscoveryAbuse": { "type": "object", @@ -20571,7 +22721,9 @@ "description": "The action to take for skillDiscoveryAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillHardcodedSecrets": { "type": "object", @@ -20590,7 +22742,9 @@ "description": "The action to take for skillHardcodedSecrets issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillObfuscation": { "type": "object", @@ -20609,7 +22763,9 @@ "description": "The action to take for skillObfuscation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPreExecution": { "type": "object", @@ -20628,7 +22784,9 @@ "description": "The action to take for skillPreExecution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPromptInjection": { "type": "object", @@ -20647,7 +22805,9 @@ "description": "The action to take for skillPromptInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillResourceAbuse": { "type": "object", @@ -20666,7 +22826,9 @@ "description": "The action to take for skillResourceAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillSupplyChain": { "type": "object", @@ -20685,7 +22847,9 @@ "description": "The action to take for skillSupplyChain issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolAbuse": { "type": "object", @@ -20704,7 +22868,9 @@ "description": "The action to take for skillToolAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolChaining": { "type": "object", @@ -20723,7 +22889,9 @@ "description": "The action to take for skillToolChaining issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillTransitiveTrust": { "type": "object", @@ -20742,7 +22910,9 @@ "description": "The action to take for skillTransitiveTrust issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "socketUpgradeAvailable": { "type": "object", @@ -20761,7 +22931,9 @@ "description": "The action to take for socketUpgradeAvailable issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "longStrings": { "type": "object", @@ -20780,7 +22952,9 @@ "description": "The action to take for longStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "highEntropyStrings": { "type": "object", @@ -20799,7 +22973,9 @@ "description": "The action to take for highEntropyStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "urlStrings": { "type": "object", @@ -20818,7 +22994,9 @@ "description": "The action to take for urlStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "usesEval": { "type": "object", @@ -20837,7 +23015,9 @@ "description": "The action to take for usesEval issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "dynamicRequire": { "type": "object", @@ -20856,7 +23036,9 @@ "description": "The action to take for dynamicRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "envVars": { "type": "object", @@ -20875,7 +23057,9 @@ "description": "The action to take for envVars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingDependency": { "type": "object", @@ -20894,7 +23078,9 @@ "description": "The action to take for missingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unusedDependency": { "type": "object", @@ -20913,7 +23099,9 @@ "description": "The action to take for unusedDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "peerDependency": { "type": "object", @@ -20932,7 +23120,9 @@ "description": "The action to take for peerDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "uncaughtOptionalDependency": { "type": "object", @@ -20951,7 +23141,9 @@ "description": "The action to take for uncaughtOptionalDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unresolvedRequire": { "type": "object", @@ -20970,7 +23162,9 @@ "description": "The action to take for unresolvedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "extraneousDependency": { "type": "object", @@ -20989,7 +23183,9 @@ "description": "The action to take for extraneousDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedRequire": { "type": "object", @@ -21008,7 +23204,9 @@ "description": "The action to take for obfuscatedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedFile": { "type": "object", @@ -21027,7 +23225,9 @@ "description": "The action to take for obfuscatedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "minifiedFile": { "type": "object", @@ -21046,7 +23246,9 @@ "description": "The action to take for minifiedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "installScripts": { "type": "object", @@ -21065,7 +23267,9 @@ "description": "The action to take for installScripts issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "hasNativeCode": { "type": "object", @@ -21084,7 +23288,9 @@ "description": "The action to take for hasNativeCode issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "binScriptConfusion": { "type": "object", @@ -21103,7 +23309,9 @@ "description": "The action to take for binScriptConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellScriptOverride": { "type": "object", @@ -21122,7 +23330,9 @@ "description": "The action to take for shellScriptOverride issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "didYouMean": { "type": "object", @@ -21141,7 +23351,9 @@ "description": "The action to take for didYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptDidYouMean": { "type": "object", @@ -21160,7 +23372,9 @@ "description": "The action to take for gptDidYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "bidi": { "type": "object", @@ -21179,7 +23393,9 @@ "description": "The action to take for bidi issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "zeroWidth": { "type": "object", @@ -21198,7 +23414,9 @@ "description": "The action to take for zeroWidth issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badEncoding": { "type": "object", @@ -21217,7 +23435,9 @@ "description": "The action to take for badEncoding issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "homoglyphs": { "type": "object", @@ -21236,7 +23456,9 @@ "description": "The action to take for homoglyphs issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invisibleChars": { "type": "object", @@ -21255,7 +23477,9 @@ "description": "The action to take for invisibleChars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousString": { "type": "object", @@ -21274,7 +23498,9 @@ "description": "The action to take for suspiciousString issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "potentialVulnerability": { "type": "object", @@ -21293,7 +23519,9 @@ "description": "The action to take for potentialVulnerability issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxProposedApiUsage": { "type": "object", @@ -21312,7 +23540,9 @@ "description": "The action to take for vsxProposedApiUsage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxActivationWildcard": { "type": "object", @@ -21331,7 +23561,9 @@ "description": "The action to take for vsxActivationWildcard issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWorkspaceContainsActivation": { "type": "object", @@ -21350,7 +23582,9 @@ "description": "The action to take for vsxWorkspaceContainsActivation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxUntrustedWorkspaceSupported": { "type": "object", @@ -21369,7 +23603,9 @@ "description": "The action to take for vsxUntrustedWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxVirtualWorkspaceSupported": { "type": "object", @@ -21388,7 +23624,9 @@ "description": "The action to take for vsxVirtualWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWebviewContribution": { "type": "object", @@ -21407,7 +23645,9 @@ "description": "The action to take for vsxWebviewContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxDebuggerContribution": { "type": "object", @@ -21426,7 +23666,9 @@ "description": "The action to take for vsxDebuggerContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionDependency": { "type": "object", @@ -21445,7 +23687,9 @@ "description": "The action to take for vsxExtensionDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionPack": { "type": "object", @@ -21464,7 +23708,9 @@ "description": "The action to take for vsxExtensionPack issues." } }, - "required": ["action"] + "required": [ + "action" + ] } }, "description": "", @@ -21472,7 +23718,12 @@ }, "issueRulesPolicyDefault": { "type": "string", - "enum": ["default", "low", "medium", "high"], + "enum": [ + "default", + "low", + "medium", + "high" + ], "description": "The default security policy for the repository label", "default": "medium", "nullable": true @@ -21482,6 +23733,13 @@ "description": "", "default": null, "nullable": true + }, + "recentlyPublishedThresholdMs": { + "type": "integer", + "description": "The recently published package alert threshold for the repository label, in milliseconds", + "default": 0, + "minimum": 0, + "nullable": true } }, "description": "" @@ -21509,7 +23767,9 @@ "x-readme": {} }, "put": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Update repository label setting (beta)", "operationId": "updateOrgRepoLabelSetting", "parameters": [ @@ -21560,7 +23820,9 @@ "description": "The action to take for gptSecurity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptAnomaly": { "type": "object", @@ -21579,7 +23841,9 @@ "description": "The action to take for gptAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptMalware": { "type": "object", @@ -21598,7 +23862,9 @@ "description": "The action to take for gptMalware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "filesystemAccess": { "type": "object", @@ -21617,7 +23883,9 @@ "description": "The action to take for filesystemAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "networkAccess": { "type": "object", @@ -21636,7 +23904,9 @@ "description": "The action to take for networkAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellAccess": { "type": "object", @@ -21655,7 +23925,9 @@ "description": "The action to take for shellAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "debugAccess": { "type": "object", @@ -21674,7 +23946,9 @@ "description": "The action to take for debugAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromePermission": { "type": "object", @@ -21693,7 +23967,9 @@ "description": "The action to take for chromePermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeHostPermission": { "type": "object", @@ -21712,7 +23988,9 @@ "description": "The action to take for chromeHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeWildcardHostPermission": { "type": "object", @@ -21731,7 +24009,9 @@ "description": "The action to take for chromeWildcardHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeContentScript": { "type": "object", @@ -21750,7 +24030,9 @@ "description": "The action to take for chromeContentScript issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "criticalCVE": { "type": "object", @@ -21769,7 +24051,9 @@ "description": "The action to take for criticalCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "cve": { "type": "object", @@ -21788,7 +24072,9 @@ "description": "The action to take for cve issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mediumCVE": { "type": "object", @@ -21807,7 +24093,9 @@ "description": "The action to take for mediumCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mildCVE": { "type": "object", @@ -21826,7 +24114,9 @@ "description": "The action to take for mildCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "emptyPackage": { "type": "object", @@ -21845,7 +24135,9 @@ "description": "The action to take for emptyPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "trivialPackage": { "type": "object", @@ -21864,7 +24156,9 @@ "description": "The action to take for trivialPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noREADME": { "type": "object", @@ -21883,7 +24177,9 @@ "description": "The action to take for noREADME issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shrinkwrap": { "type": "object", @@ -21902,7 +24198,9 @@ "description": "The action to take for shrinkwrap issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "tooManyFiles": { "type": "object", @@ -21921,7 +24219,9 @@ "description": "The action to take for tooManyFiles issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "generic": { "type": "object", @@ -21940,7 +24240,9 @@ "description": "The action to take for generic issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToSink": { "type": "object", @@ -21959,7 +24261,9 @@ "description": "The action to take for ghaArgToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaEnvToSink": { "type": "object", @@ -21978,7 +24282,9 @@ "description": "The action to take for ghaEnvToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToSink": { "type": "object", @@ -21997,7 +24303,9 @@ "description": "The action to take for ghaContextToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToOutput": { "type": "object", @@ -22016,7 +24324,9 @@ "description": "The action to take for ghaArgToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToEnv": { "type": "object", @@ -22035,7 +24345,9 @@ "description": "The action to take for ghaArgToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToOutput": { "type": "object", @@ -22054,7 +24366,9 @@ "description": "The action to take for ghaContextToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToEnv": { "type": "object", @@ -22073,7 +24387,9 @@ "description": "The action to take for ghaContextToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "recentlyPublished": { "type": "object", @@ -22092,7 +24408,9 @@ "description": "The action to take for recentlyPublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseSpdxDisj": { "type": "object", @@ -22111,7 +24429,9 @@ "description": "The action to take for licenseSpdxDisj issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unsafeCopyright": { "type": "object", @@ -22130,7 +24450,9 @@ "description": "The action to take for unsafeCopyright issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseChange": { "type": "object", @@ -22149,7 +24471,9 @@ "description": "The action to take for licenseChange issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonOSILicense": { "type": "object", @@ -22168,7 +24492,9 @@ "description": "The action to take for nonOSILicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedLicense": { "type": "object", @@ -22187,7 +24513,9 @@ "description": "The action to take for deprecatedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingLicense": { "type": "object", @@ -22206,7 +24534,9 @@ "description": "The action to take for missingLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonSPDXLicense": { "type": "object", @@ -22225,7 +24555,9 @@ "description": "The action to take for nonSPDXLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unclearLicense": { "type": "object", @@ -22244,7 +24576,9 @@ "description": "The action to take for unclearLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mixedLicense": { "type": "object", @@ -22263,7 +24597,9 @@ "description": "The action to take for mixedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notice": { "type": "object", @@ -22282,7 +24618,9 @@ "description": "The action to take for notice issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedLicense": { "type": "object", @@ -22301,7 +24639,9 @@ "description": "The action to take for modifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedException": { "type": "object", @@ -22320,7 +24660,9 @@ "description": "The action to take for modifiedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseException": { "type": "object", @@ -22339,7 +24681,9 @@ "description": "The action to take for licenseException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedException": { "type": "object", @@ -22358,7 +24702,9 @@ "description": "The action to take for deprecatedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "miscLicenseIssues": { "type": "object", @@ -22377,7 +24723,9 @@ "description": "The action to take for miscLicenseIssues issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unidentifiedLicense": { "type": "object", @@ -22396,7 +24744,9 @@ "description": "The action to take for unidentifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noLicenseFound": { "type": "object", @@ -22415,7 +24765,9 @@ "description": "The action to take for noLicenseFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "explicitlyUnlicensedItem": { "type": "object", @@ -22434,7 +24786,9 @@ "description": "The action to take for explicitlyUnlicensedItem issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "copyleftLicense": { "type": "object", @@ -22453,7 +24807,9 @@ "description": "The action to take for copyleftLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonpermissiveLicense": { "type": "object", @@ -22472,7 +24828,9 @@ "description": "The action to take for nonpermissiveLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ambiguousClassifier": { "type": "object", @@ -22491,7 +24849,9 @@ "description": "The action to take for ambiguousClassifier issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invalidPackageJSON": { "type": "object", @@ -22510,7 +24870,9 @@ "description": "The action to take for invalidPackageJSON issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "httpDependency": { "type": "object", @@ -22529,7 +24891,9 @@ "description": "The action to take for httpDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitDependency": { "type": "object", @@ -22548,7 +24912,9 @@ "description": "The action to take for gitDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitHubDependency": { "type": "object", @@ -22567,7 +24933,9 @@ "description": "The action to take for gitHubDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "fileDependency": { "type": "object", @@ -22586,7 +24954,9 @@ "description": "The action to take for fileDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noTests": { "type": "object", @@ -22605,7 +24975,9 @@ "description": "The action to take for noTests issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noRepository": { "type": "object", @@ -22624,7 +24996,9 @@ "description": "The action to take for noRepository issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemver": { "type": "object", @@ -22643,7 +25017,9 @@ "description": "The action to take for badSemver issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemverDependency": { "type": "object", @@ -22662,7 +25038,9 @@ "description": "The action to take for badSemverDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noV1": { "type": "object", @@ -22681,7 +25059,9 @@ "description": "The action to take for noV1 issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noWebsite": { "type": "object", @@ -22700,7 +25080,9 @@ "description": "The action to take for noWebsite issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noBugTracker": { "type": "object", @@ -22719,7 +25101,9 @@ "description": "The action to take for noBugTracker issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noAuthorData": { "type": "object", @@ -22738,7 +25122,9 @@ "description": "The action to take for noAuthorData issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "typeModuleCompatibility": { "type": "object", @@ -22757,7 +25143,9 @@ "description": "The action to take for typeModuleCompatibility issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "floatingDependency": { "type": "object", @@ -22776,7 +25164,9 @@ "description": "The action to take for floatingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "manifestConfusion": { "type": "object", @@ -22795,7 +25185,9 @@ "description": "The action to take for manifestConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "malware": { "type": "object", @@ -22814,7 +25206,9 @@ "description": "The action to take for malware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "telemetry": { "type": "object", @@ -22833,7 +25227,9 @@ "description": "The action to take for telemetry issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "troll": { "type": "object", @@ -22852,7 +25248,9 @@ "description": "The action to take for troll issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "pendingScan": { "type": "object", @@ -22871,7 +25269,9 @@ "description": "The action to take for pendingScan issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecated": { "type": "object", @@ -22890,7 +25290,9 @@ "description": "The action to take for deprecated issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chronoAnomaly": { "type": "object", @@ -22909,7 +25311,9 @@ "description": "The action to take for chronoAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "compromisedSSHKey": { "type": "object", @@ -22928,7 +25332,9 @@ "description": "The action to take for compromisedSSHKey issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "semverAnomaly": { "type": "object", @@ -22947,7 +25353,9 @@ "description": "The action to take for semverAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "newAuthor": { "type": "object", @@ -22966,7 +25374,9 @@ "description": "The action to take for newAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unstableOwnership": { "type": "object", @@ -22985,7 +25395,9 @@ "description": "The action to take for unstableOwnership issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingAuthor": { "type": "object", @@ -23004,7 +25416,9 @@ "description": "The action to take for missingAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unmaintained": { "type": "object", @@ -23023,7 +25437,9 @@ "description": "The action to take for unmaintained issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpublished": { "type": "object", @@ -23042,7 +25458,9 @@ "description": "The action to take for unpublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "majorRefactor": { "type": "object", @@ -23061,7 +25479,9 @@ "description": "The action to take for majorRefactor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingTarball": { "type": "object", @@ -23080,7 +25500,9 @@ "description": "The action to take for missingTarball issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousStarActivity": { "type": "object", @@ -23099,7 +25521,9 @@ "description": "The action to take for suspiciousStarActivity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notFound": { "type": "object", @@ -23118,7 +25542,9 @@ "description": "The action to take for notFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpopularPackage": { "type": "object", @@ -23137,7 +25563,9 @@ "description": "The action to take for unpopularPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "policy": { "type": "object", @@ -23156,7 +25584,9 @@ "description": "The action to take for policy issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillAutonomyAbuse": { "type": "object", @@ -23175,7 +25605,9 @@ "description": "The action to take for skillAutonomyAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillCommandInjection": { "type": "object", @@ -23194,7 +25626,9 @@ "description": "The action to take for skillCommandInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDataExfiltration": { "type": "object", @@ -23213,7 +25647,9 @@ "description": "The action to take for skillDataExfiltration issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDiscoveryAbuse": { "type": "object", @@ -23232,7 +25668,9 @@ "description": "The action to take for skillDiscoveryAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillHardcodedSecrets": { "type": "object", @@ -23251,7 +25689,9 @@ "description": "The action to take for skillHardcodedSecrets issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillObfuscation": { "type": "object", @@ -23270,7 +25710,9 @@ "description": "The action to take for skillObfuscation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPreExecution": { "type": "object", @@ -23289,7 +25731,9 @@ "description": "The action to take for skillPreExecution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPromptInjection": { "type": "object", @@ -23308,7 +25752,9 @@ "description": "The action to take for skillPromptInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillResourceAbuse": { "type": "object", @@ -23327,7 +25773,9 @@ "description": "The action to take for skillResourceAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillSupplyChain": { "type": "object", @@ -23346,7 +25794,9 @@ "description": "The action to take for skillSupplyChain issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolAbuse": { "type": "object", @@ -23365,7 +25815,9 @@ "description": "The action to take for skillToolAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolChaining": { "type": "object", @@ -23384,7 +25836,9 @@ "description": "The action to take for skillToolChaining issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillTransitiveTrust": { "type": "object", @@ -23403,7 +25857,9 @@ "description": "The action to take for skillTransitiveTrust issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "socketUpgradeAvailable": { "type": "object", @@ -23422,7 +25878,9 @@ "description": "The action to take for socketUpgradeAvailable issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "longStrings": { "type": "object", @@ -23441,7 +25899,9 @@ "description": "The action to take for longStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "highEntropyStrings": { "type": "object", @@ -23460,7 +25920,9 @@ "description": "The action to take for highEntropyStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "urlStrings": { "type": "object", @@ -23479,7 +25941,9 @@ "description": "The action to take for urlStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "usesEval": { "type": "object", @@ -23498,7 +25962,9 @@ "description": "The action to take for usesEval issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "dynamicRequire": { "type": "object", @@ -23517,7 +25983,9 @@ "description": "The action to take for dynamicRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "envVars": { "type": "object", @@ -23536,7 +26004,9 @@ "description": "The action to take for envVars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingDependency": { "type": "object", @@ -23555,7 +26025,9 @@ "description": "The action to take for missingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unusedDependency": { "type": "object", @@ -23574,7 +26046,9 @@ "description": "The action to take for unusedDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "peerDependency": { "type": "object", @@ -23593,7 +26067,9 @@ "description": "The action to take for peerDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "uncaughtOptionalDependency": { "type": "object", @@ -23612,7 +26088,9 @@ "description": "The action to take for uncaughtOptionalDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unresolvedRequire": { "type": "object", @@ -23631,7 +26109,9 @@ "description": "The action to take for unresolvedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "extraneousDependency": { "type": "object", @@ -23650,7 +26130,9 @@ "description": "The action to take for extraneousDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedRequire": { "type": "object", @@ -23669,7 +26151,9 @@ "description": "The action to take for obfuscatedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedFile": { "type": "object", @@ -23688,7 +26172,9 @@ "description": "The action to take for obfuscatedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "minifiedFile": { "type": "object", @@ -23707,7 +26193,9 @@ "description": "The action to take for minifiedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "installScripts": { "type": "object", @@ -23726,7 +26214,9 @@ "description": "The action to take for installScripts issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "hasNativeCode": { "type": "object", @@ -23745,7 +26235,9 @@ "description": "The action to take for hasNativeCode issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "binScriptConfusion": { "type": "object", @@ -23764,7 +26256,9 @@ "description": "The action to take for binScriptConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellScriptOverride": { "type": "object", @@ -23783,7 +26277,9 @@ "description": "The action to take for shellScriptOverride issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "didYouMean": { "type": "object", @@ -23802,7 +26298,9 @@ "description": "The action to take for didYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptDidYouMean": { "type": "object", @@ -23821,7 +26319,9 @@ "description": "The action to take for gptDidYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "bidi": { "type": "object", @@ -23840,7 +26340,9 @@ "description": "The action to take for bidi issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "zeroWidth": { "type": "object", @@ -23859,7 +26361,9 @@ "description": "The action to take for zeroWidth issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badEncoding": { "type": "object", @@ -23878,7 +26382,9 @@ "description": "The action to take for badEncoding issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "homoglyphs": { "type": "object", @@ -23897,7 +26403,9 @@ "description": "The action to take for homoglyphs issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invisibleChars": { "type": "object", @@ -23916,7 +26424,9 @@ "description": "The action to take for invisibleChars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousString": { "type": "object", @@ -23935,7 +26445,9 @@ "description": "The action to take for suspiciousString issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "potentialVulnerability": { "type": "object", @@ -23954,7 +26466,9 @@ "description": "The action to take for potentialVulnerability issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxProposedApiUsage": { "type": "object", @@ -23973,7 +26487,9 @@ "description": "The action to take for vsxProposedApiUsage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxActivationWildcard": { "type": "object", @@ -23992,7 +26508,9 @@ "description": "The action to take for vsxActivationWildcard issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWorkspaceContainsActivation": { "type": "object", @@ -24011,7 +26529,9 @@ "description": "The action to take for vsxWorkspaceContainsActivation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxUntrustedWorkspaceSupported": { "type": "object", @@ -24030,7 +26550,9 @@ "description": "The action to take for vsxUntrustedWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxVirtualWorkspaceSupported": { "type": "object", @@ -24049,7 +26571,9 @@ "description": "The action to take for vsxVirtualWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWebviewContribution": { "type": "object", @@ -24068,7 +26592,9 @@ "description": "The action to take for vsxWebviewContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxDebuggerContribution": { "type": "object", @@ -24087,7 +26613,9 @@ "description": "The action to take for vsxDebuggerContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionDependency": { "type": "object", @@ -24106,7 +26634,9 @@ "description": "The action to take for vsxExtensionDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionPack": { "type": "object", @@ -24125,19 +26655,33 @@ "description": "The action to take for vsxExtensionPack issues." } }, - "required": ["action"] + "required": [ + "action" + ] } }, "description": "" }, "issueRulesPolicyDefault": { "type": "string", - "enum": ["default", "low", "medium", "high"], + "enum": [ + "default", + "low", + "medium", + "high" + ], "description": "The default security policy for the repository label", "default": "medium" }, "licensePolicy": { "$ref": "#/components/schemas/LicenseAllowListRequest" + }, + "recentlyPublishedThresholdMs": { + "type": "integer", + "description": "The recently published package alert threshold for the repository label, in milliseconds", + "default": 0, + "minimum": 0, + "nullable": true } }, "description": "" @@ -24148,13 +26692,17 @@ }, "security": [ { - "bearerAuth": ["repo-label:update"] + "bearerAuth": [ + "repo-label:update" + ] }, { - "basicAuth": ["repo-label:update"] + "basicAuth": [ + "repo-label:update" + ] } ], - "description": "Update the setting (e.g. security/license policy) for a repository label.\n\n\nNote that repository label settings currently only support `issueRules`\nand `issueRulesPolicyDefault`. A policy is considered \"active\" for\na given repository label if the `issueRulesPolicyDefault` is set,\nand inactive when not set. `issueRules` can be used to further\nrefine the alert triage strategy.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:update", + "description": "Update the setting (e.g. security/license policy) for a repository label.\n\n\nNote that repository label settings currently only support `issueRules`,\n`issueRulesPolicyDefault`, `licensePolicy`, and\n`recentlyPublishedThresholdMs`. A policy is considered \"active\"\nfor a given repository label if the `issueRulesPolicyDefault` is\nset, and inactive when not set. `issueRules` can be used to further\nrefine the alert triage strategy.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:update", "responses": { "200": { "content": { @@ -24170,7 +26718,9 @@ "default": "ok" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -24197,7 +26747,9 @@ }, "/orgs/{org_slug}/repos/labels/{label_id}/disassociate": { "post": { - "tags": ["repo-labels"], + "tags": [ + "repo-labels" + ], "summary": "Disassociate repository label (beta)", "operationId": "disassociateOrgRepoLabel", "parameters": [ @@ -24241,10 +26793,14 @@ }, "security": [ { - "bearerAuth": ["repo-label:update"] + "bearerAuth": [ + "repo-label:update" + ] }, { - "basicAuth": ["repo-label:update"] + "basicAuth": [ + "repo-label:update" + ] } ], "description": "Disassociate a repository label from a repository.\n\nLabels can be used to group and organize repositories and to apply security/license policies.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo-label:update", @@ -24289,7 +26845,9 @@ }, "/orgs/{org_slug}/settings/integrations/{integration_id}/events": { "get": { - "tags": ["org-settings"], + "tags": [ + "org-settings" + ], "summary": "Get integration events", "operationId": "getIntegrationEvents", "parameters": [ @@ -24314,10 +26872,14 @@ ], "security": [ { - "bearerAuth": ["integration:list"] + "bearerAuth": [ + "integration:list" + ] }, { - "basicAuth": ["integration:list"] + "basicAuth": [ + "integration:list" + ] } ], "description": "This endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- integration:list", @@ -24391,7 +26953,11 @@ "default": "" } }, - "required": ["error", "sent_at", "status_code"] + "required": [ + "error", + "sent_at", + "status_code" + ] }, "description": "" }, @@ -24446,7 +27012,9 @@ }, "/orgs/{org_slug}/settings/security-policy": { "get": { - "tags": ["security-policy"], + "tags": [ + "security-policy" + ], "summary": "Get Organization Security Policy", "operationId": "getOrgSecurityPolicy", "parameters": [ @@ -24472,10 +27040,14 @@ ], "security": [ { - "bearerAuth": ["security-policy:read"] + "bearerAuth": [ + "security-policy:read" + ] }, { - "basicAuth": ["security-policy:read"] + "basicAuth": [ + "security-policy:read" + ] } ], "description": "Retrieve the security policy of an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- security-policy:read", @@ -24508,7 +27080,9 @@ "description": "The action to take for gptSecurity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptAnomaly": { "type": "object", @@ -24527,7 +27101,9 @@ "description": "The action to take for gptAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptMalware": { "type": "object", @@ -24546,7 +27122,9 @@ "description": "The action to take for gptMalware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "filesystemAccess": { "type": "object", @@ -24565,7 +27143,9 @@ "description": "The action to take for filesystemAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "networkAccess": { "type": "object", @@ -24584,7 +27164,9 @@ "description": "The action to take for networkAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellAccess": { "type": "object", @@ -24603,7 +27185,9 @@ "description": "The action to take for shellAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "debugAccess": { "type": "object", @@ -24622,7 +27206,9 @@ "description": "The action to take for debugAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromePermission": { "type": "object", @@ -24641,7 +27227,9 @@ "description": "The action to take for chromePermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeHostPermission": { "type": "object", @@ -24660,7 +27248,9 @@ "description": "The action to take for chromeHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeWildcardHostPermission": { "type": "object", @@ -24679,7 +27269,9 @@ "description": "The action to take for chromeWildcardHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeContentScript": { "type": "object", @@ -24698,7 +27290,9 @@ "description": "The action to take for chromeContentScript issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "criticalCVE": { "type": "object", @@ -24717,7 +27311,9 @@ "description": "The action to take for criticalCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "cve": { "type": "object", @@ -24736,7 +27332,9 @@ "description": "The action to take for cve issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mediumCVE": { "type": "object", @@ -24755,7 +27353,9 @@ "description": "The action to take for mediumCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mildCVE": { "type": "object", @@ -24774,7 +27374,9 @@ "description": "The action to take for mildCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "emptyPackage": { "type": "object", @@ -24793,7 +27395,9 @@ "description": "The action to take for emptyPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "trivialPackage": { "type": "object", @@ -24812,7 +27416,9 @@ "description": "The action to take for trivialPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noREADME": { "type": "object", @@ -24831,7 +27437,9 @@ "description": "The action to take for noREADME issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shrinkwrap": { "type": "object", @@ -24850,7 +27458,9 @@ "description": "The action to take for shrinkwrap issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "tooManyFiles": { "type": "object", @@ -24869,7 +27479,9 @@ "description": "The action to take for tooManyFiles issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "generic": { "type": "object", @@ -24888,7 +27500,9 @@ "description": "The action to take for generic issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToSink": { "type": "object", @@ -24907,7 +27521,9 @@ "description": "The action to take for ghaArgToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaEnvToSink": { "type": "object", @@ -24926,7 +27542,9 @@ "description": "The action to take for ghaEnvToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToSink": { "type": "object", @@ -24945,7 +27563,9 @@ "description": "The action to take for ghaContextToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToOutput": { "type": "object", @@ -24964,7 +27584,9 @@ "description": "The action to take for ghaArgToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToEnv": { "type": "object", @@ -24983,7 +27605,9 @@ "description": "The action to take for ghaArgToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToOutput": { "type": "object", @@ -25002,7 +27626,9 @@ "description": "The action to take for ghaContextToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToEnv": { "type": "object", @@ -25021,7 +27647,9 @@ "description": "The action to take for ghaContextToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "recentlyPublished": { "type": "object", @@ -25040,7 +27668,9 @@ "description": "The action to take for recentlyPublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseSpdxDisj": { "type": "object", @@ -25059,7 +27689,9 @@ "description": "The action to take for licenseSpdxDisj issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unsafeCopyright": { "type": "object", @@ -25078,7 +27710,9 @@ "description": "The action to take for unsafeCopyright issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseChange": { "type": "object", @@ -25097,7 +27731,9 @@ "description": "The action to take for licenseChange issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonOSILicense": { "type": "object", @@ -25116,7 +27752,9 @@ "description": "The action to take for nonOSILicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedLicense": { "type": "object", @@ -25135,7 +27773,9 @@ "description": "The action to take for deprecatedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingLicense": { "type": "object", @@ -25154,7 +27794,9 @@ "description": "The action to take for missingLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonSPDXLicense": { "type": "object", @@ -25173,7 +27815,9 @@ "description": "The action to take for nonSPDXLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unclearLicense": { "type": "object", @@ -25192,7 +27836,9 @@ "description": "The action to take for unclearLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mixedLicense": { "type": "object", @@ -25211,7 +27857,9 @@ "description": "The action to take for mixedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notice": { "type": "object", @@ -25230,7 +27878,9 @@ "description": "The action to take for notice issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedLicense": { "type": "object", @@ -25249,7 +27899,9 @@ "description": "The action to take for modifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedException": { "type": "object", @@ -25268,7 +27920,9 @@ "description": "The action to take for modifiedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseException": { "type": "object", @@ -25287,7 +27941,9 @@ "description": "The action to take for licenseException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedException": { "type": "object", @@ -25306,7 +27962,9 @@ "description": "The action to take for deprecatedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "miscLicenseIssues": { "type": "object", @@ -25325,7 +27983,9 @@ "description": "The action to take for miscLicenseIssues issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unidentifiedLicense": { "type": "object", @@ -25344,7 +28004,9 @@ "description": "The action to take for unidentifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noLicenseFound": { "type": "object", @@ -25363,7 +28025,9 @@ "description": "The action to take for noLicenseFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "explicitlyUnlicensedItem": { "type": "object", @@ -25382,7 +28046,9 @@ "description": "The action to take for explicitlyUnlicensedItem issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "copyleftLicense": { "type": "object", @@ -25401,7 +28067,9 @@ "description": "The action to take for copyleftLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonpermissiveLicense": { "type": "object", @@ -25420,7 +28088,9 @@ "description": "The action to take for nonpermissiveLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ambiguousClassifier": { "type": "object", @@ -25439,7 +28109,9 @@ "description": "The action to take for ambiguousClassifier issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invalidPackageJSON": { "type": "object", @@ -25458,7 +28130,9 @@ "description": "The action to take for invalidPackageJSON issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "httpDependency": { "type": "object", @@ -25477,7 +28151,9 @@ "description": "The action to take for httpDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitDependency": { "type": "object", @@ -25496,7 +28172,9 @@ "description": "The action to take for gitDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitHubDependency": { "type": "object", @@ -25515,7 +28193,9 @@ "description": "The action to take for gitHubDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "fileDependency": { "type": "object", @@ -25534,7 +28214,9 @@ "description": "The action to take for fileDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noTests": { "type": "object", @@ -25553,7 +28235,9 @@ "description": "The action to take for noTests issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noRepository": { "type": "object", @@ -25572,7 +28256,9 @@ "description": "The action to take for noRepository issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemver": { "type": "object", @@ -25591,7 +28277,9 @@ "description": "The action to take for badSemver issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemverDependency": { "type": "object", @@ -25610,7 +28298,9 @@ "description": "The action to take for badSemverDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noV1": { "type": "object", @@ -25629,7 +28319,9 @@ "description": "The action to take for noV1 issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noWebsite": { "type": "object", @@ -25648,7 +28340,9 @@ "description": "The action to take for noWebsite issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noBugTracker": { "type": "object", @@ -25667,7 +28361,9 @@ "description": "The action to take for noBugTracker issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noAuthorData": { "type": "object", @@ -25686,7 +28382,9 @@ "description": "The action to take for noAuthorData issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "typeModuleCompatibility": { "type": "object", @@ -25705,7 +28403,9 @@ "description": "The action to take for typeModuleCompatibility issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "floatingDependency": { "type": "object", @@ -25724,7 +28424,9 @@ "description": "The action to take for floatingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "manifestConfusion": { "type": "object", @@ -25743,7 +28445,9 @@ "description": "The action to take for manifestConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "malware": { "type": "object", @@ -25762,7 +28466,9 @@ "description": "The action to take for malware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "telemetry": { "type": "object", @@ -25781,7 +28487,9 @@ "description": "The action to take for telemetry issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "troll": { "type": "object", @@ -25800,7 +28508,9 @@ "description": "The action to take for troll issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "pendingScan": { "type": "object", @@ -25819,7 +28529,9 @@ "description": "The action to take for pendingScan issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecated": { "type": "object", @@ -25838,7 +28550,9 @@ "description": "The action to take for deprecated issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chronoAnomaly": { "type": "object", @@ -25857,7 +28571,9 @@ "description": "The action to take for chronoAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "compromisedSSHKey": { "type": "object", @@ -25876,7 +28592,9 @@ "description": "The action to take for compromisedSSHKey issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "semverAnomaly": { "type": "object", @@ -25895,7 +28613,9 @@ "description": "The action to take for semverAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "newAuthor": { "type": "object", @@ -25914,7 +28634,9 @@ "description": "The action to take for newAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unstableOwnership": { "type": "object", @@ -25933,7 +28655,9 @@ "description": "The action to take for unstableOwnership issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingAuthor": { "type": "object", @@ -25952,7 +28676,9 @@ "description": "The action to take for missingAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unmaintained": { "type": "object", @@ -25971,7 +28697,9 @@ "description": "The action to take for unmaintained issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpublished": { "type": "object", @@ -25990,7 +28718,9 @@ "description": "The action to take for unpublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "majorRefactor": { "type": "object", @@ -26009,7 +28739,9 @@ "description": "The action to take for majorRefactor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingTarball": { "type": "object", @@ -26028,7 +28760,9 @@ "description": "The action to take for missingTarball issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousStarActivity": { "type": "object", @@ -26047,7 +28781,9 @@ "description": "The action to take for suspiciousStarActivity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notFound": { "type": "object", @@ -26066,7 +28802,9 @@ "description": "The action to take for notFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpopularPackage": { "type": "object", @@ -26085,7 +28823,9 @@ "description": "The action to take for unpopularPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "policy": { "type": "object", @@ -26104,7 +28844,9 @@ "description": "The action to take for policy issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillAutonomyAbuse": { "type": "object", @@ -26123,7 +28865,9 @@ "description": "The action to take for skillAutonomyAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillCommandInjection": { "type": "object", @@ -26142,7 +28886,9 @@ "description": "The action to take for skillCommandInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDataExfiltration": { "type": "object", @@ -26161,7 +28907,9 @@ "description": "The action to take for skillDataExfiltration issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDiscoveryAbuse": { "type": "object", @@ -26180,7 +28928,9 @@ "description": "The action to take for skillDiscoveryAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillHardcodedSecrets": { "type": "object", @@ -26199,7 +28949,9 @@ "description": "The action to take for skillHardcodedSecrets issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillObfuscation": { "type": "object", @@ -26218,7 +28970,9 @@ "description": "The action to take for skillObfuscation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPreExecution": { "type": "object", @@ -26237,7 +28991,9 @@ "description": "The action to take for skillPreExecution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPromptInjection": { "type": "object", @@ -26256,7 +29012,9 @@ "description": "The action to take for skillPromptInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillResourceAbuse": { "type": "object", @@ -26275,7 +29033,9 @@ "description": "The action to take for skillResourceAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillSupplyChain": { "type": "object", @@ -26294,7 +29054,9 @@ "description": "The action to take for skillSupplyChain issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolAbuse": { "type": "object", @@ -26313,7 +29075,9 @@ "description": "The action to take for skillToolAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolChaining": { "type": "object", @@ -26332,7 +29096,9 @@ "description": "The action to take for skillToolChaining issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillTransitiveTrust": { "type": "object", @@ -26351,7 +29117,9 @@ "description": "The action to take for skillTransitiveTrust issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "socketUpgradeAvailable": { "type": "object", @@ -26370,7 +29138,9 @@ "description": "The action to take for socketUpgradeAvailable issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "longStrings": { "type": "object", @@ -26389,7 +29159,9 @@ "description": "The action to take for longStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "highEntropyStrings": { "type": "object", @@ -26408,7 +29180,9 @@ "description": "The action to take for highEntropyStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "urlStrings": { "type": "object", @@ -26427,7 +29201,9 @@ "description": "The action to take for urlStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "usesEval": { "type": "object", @@ -26446,7 +29222,9 @@ "description": "The action to take for usesEval issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "dynamicRequire": { "type": "object", @@ -26465,7 +29243,9 @@ "description": "The action to take for dynamicRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "envVars": { "type": "object", @@ -26484,7 +29264,9 @@ "description": "The action to take for envVars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingDependency": { "type": "object", @@ -26503,7 +29285,9 @@ "description": "The action to take for missingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unusedDependency": { "type": "object", @@ -26522,7 +29306,9 @@ "description": "The action to take for unusedDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "peerDependency": { "type": "object", @@ -26541,7 +29327,9 @@ "description": "The action to take for peerDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "uncaughtOptionalDependency": { "type": "object", @@ -26560,7 +29348,9 @@ "description": "The action to take for uncaughtOptionalDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unresolvedRequire": { "type": "object", @@ -26579,7 +29369,9 @@ "description": "The action to take for unresolvedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "extraneousDependency": { "type": "object", @@ -26598,7 +29390,9 @@ "description": "The action to take for extraneousDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedRequire": { "type": "object", @@ -26617,7 +29411,9 @@ "description": "The action to take for obfuscatedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedFile": { "type": "object", @@ -26636,7 +29432,9 @@ "description": "The action to take for obfuscatedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "minifiedFile": { "type": "object", @@ -26655,7 +29453,9 @@ "description": "The action to take for minifiedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "installScripts": { "type": "object", @@ -26674,7 +29474,9 @@ "description": "The action to take for installScripts issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "hasNativeCode": { "type": "object", @@ -26693,7 +29495,9 @@ "description": "The action to take for hasNativeCode issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "binScriptConfusion": { "type": "object", @@ -26712,7 +29516,9 @@ "description": "The action to take for binScriptConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellScriptOverride": { "type": "object", @@ -26731,7 +29537,9 @@ "description": "The action to take for shellScriptOverride issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "didYouMean": { "type": "object", @@ -26750,7 +29558,9 @@ "description": "The action to take for didYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptDidYouMean": { "type": "object", @@ -26769,7 +29579,9 @@ "description": "The action to take for gptDidYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "bidi": { "type": "object", @@ -26788,7 +29600,9 @@ "description": "The action to take for bidi issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "zeroWidth": { "type": "object", @@ -26807,7 +29621,9 @@ "description": "The action to take for zeroWidth issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badEncoding": { "type": "object", @@ -26826,7 +29642,9 @@ "description": "The action to take for badEncoding issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "homoglyphs": { "type": "object", @@ -26845,7 +29663,9 @@ "description": "The action to take for homoglyphs issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invisibleChars": { "type": "object", @@ -26864,7 +29684,9 @@ "description": "The action to take for invisibleChars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousString": { "type": "object", @@ -26883,7 +29705,9 @@ "description": "The action to take for suspiciousString issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "potentialVulnerability": { "type": "object", @@ -26902,7 +29726,9 @@ "description": "The action to take for potentialVulnerability issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxProposedApiUsage": { "type": "object", @@ -26921,7 +29747,9 @@ "description": "The action to take for vsxProposedApiUsage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxActivationWildcard": { "type": "object", @@ -26940,7 +29768,9 @@ "description": "The action to take for vsxActivationWildcard issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWorkspaceContainsActivation": { "type": "object", @@ -26959,7 +29789,9 @@ "description": "The action to take for vsxWorkspaceContainsActivation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxUntrustedWorkspaceSupported": { "type": "object", @@ -26978,7 +29810,9 @@ "description": "The action to take for vsxUntrustedWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxVirtualWorkspaceSupported": { "type": "object", @@ -26997,7 +29831,9 @@ "description": "The action to take for vsxVirtualWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWebviewContribution": { "type": "object", @@ -27016,7 +29852,9 @@ "description": "The action to take for vsxWebviewContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxDebuggerContribution": { "type": "object", @@ -27035,7 +29873,9 @@ "description": "The action to take for vsxDebuggerContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionDependency": { "type": "object", @@ -27054,7 +29894,9 @@ "description": "The action to take for vsxExtensionDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionPack": { "type": "object", @@ -27073,14 +29915,21 @@ "description": "The action to take for vsxExtensionPack issues." } }, - "required": ["action"] + "required": [ + "action" + ] } }, "description": "" }, "securityPolicyDefault": { "type": "string", - "enum": ["default", "low", "medium", "high"], + "enum": [ + "default", + "low", + "medium", + "high" + ], "description": "The default security policy for the organization", "default": "default" } @@ -27110,7 +29959,9 @@ "x-readme": {} }, "post": { - "tags": ["security-policy"], + "tags": [ + "security-policy" + ], "summary": "Update Security Policy", "operationId": "updateOrgSecurityPolicy", "parameters": [ @@ -27143,7 +29994,12 @@ "properties": { "policyDefault": { "type": "string", - "enum": ["default", "low", "medium", "high"], + "enum": [ + "default", + "low", + "medium", + "high" + ], "description": "The default security policy for the organization" }, "policyRules": { @@ -27167,7 +30023,9 @@ "description": "The action to take for gptSecurity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptAnomaly": { "type": "object", @@ -27186,7 +30044,9 @@ "description": "The action to take for gptAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptMalware": { "type": "object", @@ -27205,7 +30065,9 @@ "description": "The action to take for gptMalware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "filesystemAccess": { "type": "object", @@ -27224,7 +30086,9 @@ "description": "The action to take for filesystemAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "networkAccess": { "type": "object", @@ -27243,7 +30107,9 @@ "description": "The action to take for networkAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellAccess": { "type": "object", @@ -27262,7 +30128,9 @@ "description": "The action to take for shellAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "debugAccess": { "type": "object", @@ -27281,7 +30149,9 @@ "description": "The action to take for debugAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromePermission": { "type": "object", @@ -27300,7 +30170,9 @@ "description": "The action to take for chromePermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeHostPermission": { "type": "object", @@ -27319,7 +30191,9 @@ "description": "The action to take for chromeHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeWildcardHostPermission": { "type": "object", @@ -27338,7 +30212,9 @@ "description": "The action to take for chromeWildcardHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeContentScript": { "type": "object", @@ -27357,7 +30233,9 @@ "description": "The action to take for chromeContentScript issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "criticalCVE": { "type": "object", @@ -27376,7 +30254,9 @@ "description": "The action to take for criticalCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "cve": { "type": "object", @@ -27395,7 +30275,9 @@ "description": "The action to take for cve issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mediumCVE": { "type": "object", @@ -27414,7 +30296,9 @@ "description": "The action to take for mediumCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mildCVE": { "type": "object", @@ -27433,7 +30317,9 @@ "description": "The action to take for mildCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "emptyPackage": { "type": "object", @@ -27452,7 +30338,9 @@ "description": "The action to take for emptyPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "trivialPackage": { "type": "object", @@ -27471,7 +30359,9 @@ "description": "The action to take for trivialPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noREADME": { "type": "object", @@ -27490,7 +30380,9 @@ "description": "The action to take for noREADME issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shrinkwrap": { "type": "object", @@ -27509,7 +30401,9 @@ "description": "The action to take for shrinkwrap issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "tooManyFiles": { "type": "object", @@ -27528,7 +30422,9 @@ "description": "The action to take for tooManyFiles issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "generic": { "type": "object", @@ -27547,7 +30443,9 @@ "description": "The action to take for generic issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToSink": { "type": "object", @@ -27566,7 +30464,9 @@ "description": "The action to take for ghaArgToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaEnvToSink": { "type": "object", @@ -27585,7 +30485,9 @@ "description": "The action to take for ghaEnvToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToSink": { "type": "object", @@ -27604,7 +30506,9 @@ "description": "The action to take for ghaContextToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToOutput": { "type": "object", @@ -27623,7 +30527,9 @@ "description": "The action to take for ghaArgToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToEnv": { "type": "object", @@ -27642,7 +30548,9 @@ "description": "The action to take for ghaArgToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToOutput": { "type": "object", @@ -27661,7 +30569,9 @@ "description": "The action to take for ghaContextToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToEnv": { "type": "object", @@ -27680,7 +30590,9 @@ "description": "The action to take for ghaContextToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "recentlyPublished": { "type": "object", @@ -27699,7 +30611,9 @@ "description": "The action to take for recentlyPublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseSpdxDisj": { "type": "object", @@ -27718,7 +30632,9 @@ "description": "The action to take for licenseSpdxDisj issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unsafeCopyright": { "type": "object", @@ -27737,7 +30653,9 @@ "description": "The action to take for unsafeCopyright issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseChange": { "type": "object", @@ -27756,7 +30674,9 @@ "description": "The action to take for licenseChange issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonOSILicense": { "type": "object", @@ -27775,7 +30695,9 @@ "description": "The action to take for nonOSILicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedLicense": { "type": "object", @@ -27794,7 +30716,9 @@ "description": "The action to take for deprecatedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingLicense": { "type": "object", @@ -27813,7 +30737,9 @@ "description": "The action to take for missingLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonSPDXLicense": { "type": "object", @@ -27832,7 +30758,9 @@ "description": "The action to take for nonSPDXLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unclearLicense": { "type": "object", @@ -27851,7 +30779,9 @@ "description": "The action to take for unclearLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mixedLicense": { "type": "object", @@ -27870,7 +30800,9 @@ "description": "The action to take for mixedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notice": { "type": "object", @@ -27889,7 +30821,9 @@ "description": "The action to take for notice issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedLicense": { "type": "object", @@ -27908,7 +30842,9 @@ "description": "The action to take for modifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedException": { "type": "object", @@ -27927,7 +30863,9 @@ "description": "The action to take for modifiedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseException": { "type": "object", @@ -27946,7 +30884,9 @@ "description": "The action to take for licenseException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedException": { "type": "object", @@ -27965,7 +30905,9 @@ "description": "The action to take for deprecatedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "miscLicenseIssues": { "type": "object", @@ -27984,7 +30926,9 @@ "description": "The action to take for miscLicenseIssues issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unidentifiedLicense": { "type": "object", @@ -28003,7 +30947,9 @@ "description": "The action to take for unidentifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noLicenseFound": { "type": "object", @@ -28022,7 +30968,9 @@ "description": "The action to take for noLicenseFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "explicitlyUnlicensedItem": { "type": "object", @@ -28041,7 +30989,9 @@ "description": "The action to take for explicitlyUnlicensedItem issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "copyleftLicense": { "type": "object", @@ -28060,7 +31010,9 @@ "description": "The action to take for copyleftLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonpermissiveLicense": { "type": "object", @@ -28079,7 +31031,9 @@ "description": "The action to take for nonpermissiveLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ambiguousClassifier": { "type": "object", @@ -28098,7 +31052,9 @@ "description": "The action to take for ambiguousClassifier issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invalidPackageJSON": { "type": "object", @@ -28117,7 +31073,9 @@ "description": "The action to take for invalidPackageJSON issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "httpDependency": { "type": "object", @@ -28136,7 +31094,9 @@ "description": "The action to take for httpDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitDependency": { "type": "object", @@ -28155,7 +31115,9 @@ "description": "The action to take for gitDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitHubDependency": { "type": "object", @@ -28174,7 +31136,9 @@ "description": "The action to take for gitHubDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "fileDependency": { "type": "object", @@ -28193,7 +31157,9 @@ "description": "The action to take for fileDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noTests": { "type": "object", @@ -28212,7 +31178,9 @@ "description": "The action to take for noTests issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noRepository": { "type": "object", @@ -28231,7 +31199,9 @@ "description": "The action to take for noRepository issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemver": { "type": "object", @@ -28250,7 +31220,9 @@ "description": "The action to take for badSemver issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemverDependency": { "type": "object", @@ -28269,7 +31241,9 @@ "description": "The action to take for badSemverDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noV1": { "type": "object", @@ -28288,7 +31262,9 @@ "description": "The action to take for noV1 issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noWebsite": { "type": "object", @@ -28307,7 +31283,9 @@ "description": "The action to take for noWebsite issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noBugTracker": { "type": "object", @@ -28326,7 +31304,9 @@ "description": "The action to take for noBugTracker issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noAuthorData": { "type": "object", @@ -28345,7 +31325,9 @@ "description": "The action to take for noAuthorData issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "typeModuleCompatibility": { "type": "object", @@ -28364,7 +31346,9 @@ "description": "The action to take for typeModuleCompatibility issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "floatingDependency": { "type": "object", @@ -28383,7 +31367,9 @@ "description": "The action to take for floatingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "manifestConfusion": { "type": "object", @@ -28402,7 +31388,9 @@ "description": "The action to take for manifestConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "malware": { "type": "object", @@ -28421,7 +31409,9 @@ "description": "The action to take for malware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "telemetry": { "type": "object", @@ -28440,7 +31430,9 @@ "description": "The action to take for telemetry issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "troll": { "type": "object", @@ -28459,7 +31451,9 @@ "description": "The action to take for troll issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "pendingScan": { "type": "object", @@ -28478,7 +31472,9 @@ "description": "The action to take for pendingScan issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecated": { "type": "object", @@ -28497,7 +31493,9 @@ "description": "The action to take for deprecated issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chronoAnomaly": { "type": "object", @@ -28516,7 +31514,9 @@ "description": "The action to take for chronoAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "compromisedSSHKey": { "type": "object", @@ -28535,7 +31535,9 @@ "description": "The action to take for compromisedSSHKey issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "semverAnomaly": { "type": "object", @@ -28554,7 +31556,9 @@ "description": "The action to take for semverAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "newAuthor": { "type": "object", @@ -28573,7 +31577,9 @@ "description": "The action to take for newAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unstableOwnership": { "type": "object", @@ -28592,7 +31598,9 @@ "description": "The action to take for unstableOwnership issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingAuthor": { "type": "object", @@ -28611,7 +31619,9 @@ "description": "The action to take for missingAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unmaintained": { "type": "object", @@ -28630,7 +31640,9 @@ "description": "The action to take for unmaintained issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpublished": { "type": "object", @@ -28649,7 +31661,9 @@ "description": "The action to take for unpublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "majorRefactor": { "type": "object", @@ -28668,7 +31682,9 @@ "description": "The action to take for majorRefactor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingTarball": { "type": "object", @@ -28687,7 +31703,9 @@ "description": "The action to take for missingTarball issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousStarActivity": { "type": "object", @@ -28706,7 +31724,9 @@ "description": "The action to take for suspiciousStarActivity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notFound": { "type": "object", @@ -28725,7 +31745,9 @@ "description": "The action to take for notFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpopularPackage": { "type": "object", @@ -28744,7 +31766,9 @@ "description": "The action to take for unpopularPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "policy": { "type": "object", @@ -28763,7 +31787,9 @@ "description": "The action to take for policy issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillAutonomyAbuse": { "type": "object", @@ -28782,7 +31808,9 @@ "description": "The action to take for skillAutonomyAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillCommandInjection": { "type": "object", @@ -28801,7 +31829,9 @@ "description": "The action to take for skillCommandInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDataExfiltration": { "type": "object", @@ -28820,7 +31850,9 @@ "description": "The action to take for skillDataExfiltration issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDiscoveryAbuse": { "type": "object", @@ -28839,7 +31871,9 @@ "description": "The action to take for skillDiscoveryAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillHardcodedSecrets": { "type": "object", @@ -28858,7 +31892,9 @@ "description": "The action to take for skillHardcodedSecrets issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillObfuscation": { "type": "object", @@ -28877,7 +31913,9 @@ "description": "The action to take for skillObfuscation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPreExecution": { "type": "object", @@ -28896,7 +31934,9 @@ "description": "The action to take for skillPreExecution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPromptInjection": { "type": "object", @@ -28915,7 +31955,9 @@ "description": "The action to take for skillPromptInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillResourceAbuse": { "type": "object", @@ -28934,7 +31976,9 @@ "description": "The action to take for skillResourceAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillSupplyChain": { "type": "object", @@ -28953,7 +31997,9 @@ "description": "The action to take for skillSupplyChain issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolAbuse": { "type": "object", @@ -28972,7 +32018,9 @@ "description": "The action to take for skillToolAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolChaining": { "type": "object", @@ -28991,7 +32039,9 @@ "description": "The action to take for skillToolChaining issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillTransitiveTrust": { "type": "object", @@ -29010,7 +32060,9 @@ "description": "The action to take for skillTransitiveTrust issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "socketUpgradeAvailable": { "type": "object", @@ -29029,7 +32081,9 @@ "description": "The action to take for socketUpgradeAvailable issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "longStrings": { "type": "object", @@ -29048,7 +32102,9 @@ "description": "The action to take for longStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "highEntropyStrings": { "type": "object", @@ -29067,7 +32123,9 @@ "description": "The action to take for highEntropyStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "urlStrings": { "type": "object", @@ -29086,7 +32144,9 @@ "description": "The action to take for urlStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "usesEval": { "type": "object", @@ -29105,7 +32165,9 @@ "description": "The action to take for usesEval issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "dynamicRequire": { "type": "object", @@ -29124,7 +32186,9 @@ "description": "The action to take for dynamicRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "envVars": { "type": "object", @@ -29143,7 +32207,9 @@ "description": "The action to take for envVars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingDependency": { "type": "object", @@ -29162,7 +32228,9 @@ "description": "The action to take for missingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unusedDependency": { "type": "object", @@ -29181,7 +32249,9 @@ "description": "The action to take for unusedDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "peerDependency": { "type": "object", @@ -29200,7 +32270,9 @@ "description": "The action to take for peerDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "uncaughtOptionalDependency": { "type": "object", @@ -29219,7 +32291,9 @@ "description": "The action to take for uncaughtOptionalDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unresolvedRequire": { "type": "object", @@ -29238,7 +32312,9 @@ "description": "The action to take for unresolvedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "extraneousDependency": { "type": "object", @@ -29257,7 +32333,9 @@ "description": "The action to take for extraneousDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedRequire": { "type": "object", @@ -29276,7 +32354,9 @@ "description": "The action to take for obfuscatedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedFile": { "type": "object", @@ -29295,7 +32375,9 @@ "description": "The action to take for obfuscatedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "minifiedFile": { "type": "object", @@ -29314,7 +32396,9 @@ "description": "The action to take for minifiedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "installScripts": { "type": "object", @@ -29333,7 +32417,9 @@ "description": "The action to take for installScripts issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "hasNativeCode": { "type": "object", @@ -29352,7 +32438,9 @@ "description": "The action to take for hasNativeCode issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "binScriptConfusion": { "type": "object", @@ -29371,7 +32459,9 @@ "description": "The action to take for binScriptConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellScriptOverride": { "type": "object", @@ -29390,7 +32480,9 @@ "description": "The action to take for shellScriptOverride issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "didYouMean": { "type": "object", @@ -29409,7 +32501,9 @@ "description": "The action to take for didYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptDidYouMean": { "type": "object", @@ -29428,7 +32522,9 @@ "description": "The action to take for gptDidYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "bidi": { "type": "object", @@ -29447,7 +32543,9 @@ "description": "The action to take for bidi issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "zeroWidth": { "type": "object", @@ -29466,7 +32564,9 @@ "description": "The action to take for zeroWidth issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badEncoding": { "type": "object", @@ -29485,7 +32585,9 @@ "description": "The action to take for badEncoding issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "homoglyphs": { "type": "object", @@ -29504,7 +32606,9 @@ "description": "The action to take for homoglyphs issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invisibleChars": { "type": "object", @@ -29523,7 +32627,9 @@ "description": "The action to take for invisibleChars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousString": { "type": "object", @@ -29542,7 +32648,9 @@ "description": "The action to take for suspiciousString issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "potentialVulnerability": { "type": "object", @@ -29561,7 +32669,9 @@ "description": "The action to take for potentialVulnerability issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxProposedApiUsage": { "type": "object", @@ -29580,7 +32690,9 @@ "description": "The action to take for vsxProposedApiUsage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxActivationWildcard": { "type": "object", @@ -29599,7 +32711,9 @@ "description": "The action to take for vsxActivationWildcard issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWorkspaceContainsActivation": { "type": "object", @@ -29618,7 +32732,9 @@ "description": "The action to take for vsxWorkspaceContainsActivation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxUntrustedWorkspaceSupported": { "type": "object", @@ -29637,7 +32753,9 @@ "description": "The action to take for vsxUntrustedWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxVirtualWorkspaceSupported": { "type": "object", @@ -29656,7 +32774,9 @@ "description": "The action to take for vsxVirtualWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWebviewContribution": { "type": "object", @@ -29675,7 +32795,9 @@ "description": "The action to take for vsxWebviewContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxDebuggerContribution": { "type": "object", @@ -29694,7 +32816,9 @@ "description": "The action to take for vsxDebuggerContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionDependency": { "type": "object", @@ -29713,7 +32837,9 @@ "description": "The action to take for vsxExtensionDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionPack": { "type": "object", @@ -29732,7 +32858,9 @@ "description": "The action to take for vsxExtensionPack issues." } }, - "required": ["action"] + "required": [ + "action" + ] } }, "description": "" @@ -29751,10 +32879,14 @@ }, "security": [ { - "bearerAuth": ["security-policy:update"] + "bearerAuth": [ + "security-policy:update" + ] }, { - "basicAuth": ["security-policy:update"] + "basicAuth": [ + "security-policy:update" + ] } ], "description": "Update the security policy of an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- security-policy:update", @@ -29787,7 +32919,9 @@ "description": "The action to take for gptSecurity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptAnomaly": { "type": "object", @@ -29806,7 +32940,9 @@ "description": "The action to take for gptAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptMalware": { "type": "object", @@ -29825,7 +32961,9 @@ "description": "The action to take for gptMalware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "filesystemAccess": { "type": "object", @@ -29844,7 +32982,9 @@ "description": "The action to take for filesystemAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "networkAccess": { "type": "object", @@ -29863,7 +33003,9 @@ "description": "The action to take for networkAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellAccess": { "type": "object", @@ -29882,7 +33024,9 @@ "description": "The action to take for shellAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "debugAccess": { "type": "object", @@ -29901,7 +33045,9 @@ "description": "The action to take for debugAccess issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromePermission": { "type": "object", @@ -29920,7 +33066,9 @@ "description": "The action to take for chromePermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeHostPermission": { "type": "object", @@ -29939,7 +33087,9 @@ "description": "The action to take for chromeHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeWildcardHostPermission": { "type": "object", @@ -29958,7 +33108,9 @@ "description": "The action to take for chromeWildcardHostPermission issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chromeContentScript": { "type": "object", @@ -29977,7 +33129,9 @@ "description": "The action to take for chromeContentScript issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "criticalCVE": { "type": "object", @@ -29996,7 +33150,9 @@ "description": "The action to take for criticalCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "cve": { "type": "object", @@ -30015,7 +33171,9 @@ "description": "The action to take for cve issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mediumCVE": { "type": "object", @@ -30034,7 +33192,9 @@ "description": "The action to take for mediumCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mildCVE": { "type": "object", @@ -30053,7 +33213,9 @@ "description": "The action to take for mildCVE issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "emptyPackage": { "type": "object", @@ -30072,7 +33234,9 @@ "description": "The action to take for emptyPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "trivialPackage": { "type": "object", @@ -30091,7 +33255,9 @@ "description": "The action to take for trivialPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noREADME": { "type": "object", @@ -30110,7 +33276,9 @@ "description": "The action to take for noREADME issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shrinkwrap": { "type": "object", @@ -30129,7 +33297,9 @@ "description": "The action to take for shrinkwrap issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "tooManyFiles": { "type": "object", @@ -30148,7 +33318,9 @@ "description": "The action to take for tooManyFiles issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "generic": { "type": "object", @@ -30167,7 +33339,9 @@ "description": "The action to take for generic issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToSink": { "type": "object", @@ -30186,7 +33360,9 @@ "description": "The action to take for ghaArgToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaEnvToSink": { "type": "object", @@ -30205,7 +33381,9 @@ "description": "The action to take for ghaEnvToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToSink": { "type": "object", @@ -30224,7 +33402,9 @@ "description": "The action to take for ghaContextToSink issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToOutput": { "type": "object", @@ -30243,7 +33423,9 @@ "description": "The action to take for ghaArgToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaArgToEnv": { "type": "object", @@ -30262,7 +33444,9 @@ "description": "The action to take for ghaArgToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToOutput": { "type": "object", @@ -30281,7 +33465,9 @@ "description": "The action to take for ghaContextToOutput issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ghaContextToEnv": { "type": "object", @@ -30300,7 +33486,9 @@ "description": "The action to take for ghaContextToEnv issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "recentlyPublished": { "type": "object", @@ -30319,7 +33507,9 @@ "description": "The action to take for recentlyPublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseSpdxDisj": { "type": "object", @@ -30338,7 +33528,9 @@ "description": "The action to take for licenseSpdxDisj issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unsafeCopyright": { "type": "object", @@ -30357,7 +33549,9 @@ "description": "The action to take for unsafeCopyright issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseChange": { "type": "object", @@ -30376,7 +33570,9 @@ "description": "The action to take for licenseChange issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonOSILicense": { "type": "object", @@ -30395,7 +33591,9 @@ "description": "The action to take for nonOSILicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedLicense": { "type": "object", @@ -30414,7 +33612,9 @@ "description": "The action to take for deprecatedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingLicense": { "type": "object", @@ -30433,7 +33633,9 @@ "description": "The action to take for missingLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonSPDXLicense": { "type": "object", @@ -30452,7 +33654,9 @@ "description": "The action to take for nonSPDXLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unclearLicense": { "type": "object", @@ -30471,7 +33675,9 @@ "description": "The action to take for unclearLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "mixedLicense": { "type": "object", @@ -30490,7 +33696,9 @@ "description": "The action to take for mixedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notice": { "type": "object", @@ -30509,7 +33717,9 @@ "description": "The action to take for notice issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedLicense": { "type": "object", @@ -30528,7 +33738,9 @@ "description": "The action to take for modifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "modifiedException": { "type": "object", @@ -30547,7 +33759,9 @@ "description": "The action to take for modifiedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "licenseException": { "type": "object", @@ -30566,7 +33780,9 @@ "description": "The action to take for licenseException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecatedException": { "type": "object", @@ -30585,7 +33801,9 @@ "description": "The action to take for deprecatedException issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "miscLicenseIssues": { "type": "object", @@ -30604,7 +33822,9 @@ "description": "The action to take for miscLicenseIssues issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unidentifiedLicense": { "type": "object", @@ -30623,7 +33843,9 @@ "description": "The action to take for unidentifiedLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noLicenseFound": { "type": "object", @@ -30642,7 +33864,9 @@ "description": "The action to take for noLicenseFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "explicitlyUnlicensedItem": { "type": "object", @@ -30661,7 +33885,9 @@ "description": "The action to take for explicitlyUnlicensedItem issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "copyleftLicense": { "type": "object", @@ -30680,7 +33906,9 @@ "description": "The action to take for copyleftLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "nonpermissiveLicense": { "type": "object", @@ -30699,7 +33927,9 @@ "description": "The action to take for nonpermissiveLicense issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "ambiguousClassifier": { "type": "object", @@ -30718,7 +33948,9 @@ "description": "The action to take for ambiguousClassifier issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invalidPackageJSON": { "type": "object", @@ -30737,7 +33969,9 @@ "description": "The action to take for invalidPackageJSON issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "httpDependency": { "type": "object", @@ -30756,7 +33990,9 @@ "description": "The action to take for httpDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitDependency": { "type": "object", @@ -30775,7 +34011,9 @@ "description": "The action to take for gitDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gitHubDependency": { "type": "object", @@ -30794,7 +34032,9 @@ "description": "The action to take for gitHubDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "fileDependency": { "type": "object", @@ -30813,7 +34053,9 @@ "description": "The action to take for fileDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noTests": { "type": "object", @@ -30832,7 +34074,9 @@ "description": "The action to take for noTests issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noRepository": { "type": "object", @@ -30851,7 +34095,9 @@ "description": "The action to take for noRepository issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemver": { "type": "object", @@ -30870,7 +34116,9 @@ "description": "The action to take for badSemver issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badSemverDependency": { "type": "object", @@ -30889,7 +34137,9 @@ "description": "The action to take for badSemverDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noV1": { "type": "object", @@ -30908,7 +34158,9 @@ "description": "The action to take for noV1 issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noWebsite": { "type": "object", @@ -30927,7 +34179,9 @@ "description": "The action to take for noWebsite issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noBugTracker": { "type": "object", @@ -30946,7 +34200,9 @@ "description": "The action to take for noBugTracker issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "noAuthorData": { "type": "object", @@ -30965,7 +34221,9 @@ "description": "The action to take for noAuthorData issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "typeModuleCompatibility": { "type": "object", @@ -30984,7 +34242,9 @@ "description": "The action to take for typeModuleCompatibility issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "floatingDependency": { "type": "object", @@ -31003,7 +34263,9 @@ "description": "The action to take for floatingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "manifestConfusion": { "type": "object", @@ -31022,7 +34284,9 @@ "description": "The action to take for manifestConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "malware": { "type": "object", @@ -31041,7 +34305,9 @@ "description": "The action to take for malware issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "telemetry": { "type": "object", @@ -31060,7 +34326,9 @@ "description": "The action to take for telemetry issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "troll": { "type": "object", @@ -31079,7 +34347,9 @@ "description": "The action to take for troll issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "pendingScan": { "type": "object", @@ -31098,7 +34368,9 @@ "description": "The action to take for pendingScan issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "deprecated": { "type": "object", @@ -31117,7 +34389,9 @@ "description": "The action to take for deprecated issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "chronoAnomaly": { "type": "object", @@ -31136,7 +34410,9 @@ "description": "The action to take for chronoAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "compromisedSSHKey": { "type": "object", @@ -31155,7 +34431,9 @@ "description": "The action to take for compromisedSSHKey issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "semverAnomaly": { "type": "object", @@ -31174,7 +34452,9 @@ "description": "The action to take for semverAnomaly issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "newAuthor": { "type": "object", @@ -31193,7 +34473,9 @@ "description": "The action to take for newAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unstableOwnership": { "type": "object", @@ -31212,7 +34494,9 @@ "description": "The action to take for unstableOwnership issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingAuthor": { "type": "object", @@ -31231,7 +34515,9 @@ "description": "The action to take for missingAuthor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unmaintained": { "type": "object", @@ -31250,7 +34536,9 @@ "description": "The action to take for unmaintained issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpublished": { "type": "object", @@ -31269,7 +34557,9 @@ "description": "The action to take for unpublished issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "majorRefactor": { "type": "object", @@ -31288,7 +34578,9 @@ "description": "The action to take for majorRefactor issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingTarball": { "type": "object", @@ -31307,7 +34599,9 @@ "description": "The action to take for missingTarball issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousStarActivity": { "type": "object", @@ -31326,7 +34620,9 @@ "description": "The action to take for suspiciousStarActivity issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "notFound": { "type": "object", @@ -31345,7 +34641,9 @@ "description": "The action to take for notFound issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unpopularPackage": { "type": "object", @@ -31364,7 +34662,9 @@ "description": "The action to take for unpopularPackage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "policy": { "type": "object", @@ -31383,7 +34683,9 @@ "description": "The action to take for policy issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillAutonomyAbuse": { "type": "object", @@ -31402,7 +34704,9 @@ "description": "The action to take for skillAutonomyAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillCommandInjection": { "type": "object", @@ -31421,7 +34725,9 @@ "description": "The action to take for skillCommandInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDataExfiltration": { "type": "object", @@ -31440,7 +34746,9 @@ "description": "The action to take for skillDataExfiltration issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillDiscoveryAbuse": { "type": "object", @@ -31459,7 +34767,9 @@ "description": "The action to take for skillDiscoveryAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillHardcodedSecrets": { "type": "object", @@ -31478,7 +34788,9 @@ "description": "The action to take for skillHardcodedSecrets issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillObfuscation": { "type": "object", @@ -31497,7 +34809,9 @@ "description": "The action to take for skillObfuscation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPreExecution": { "type": "object", @@ -31516,7 +34830,9 @@ "description": "The action to take for skillPreExecution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillPromptInjection": { "type": "object", @@ -31535,7 +34851,9 @@ "description": "The action to take for skillPromptInjection issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillResourceAbuse": { "type": "object", @@ -31554,7 +34872,9 @@ "description": "The action to take for skillResourceAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillSupplyChain": { "type": "object", @@ -31573,7 +34893,9 @@ "description": "The action to take for skillSupplyChain issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolAbuse": { "type": "object", @@ -31592,7 +34914,9 @@ "description": "The action to take for skillToolAbuse issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillToolChaining": { "type": "object", @@ -31611,7 +34935,9 @@ "description": "The action to take for skillToolChaining issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "skillTransitiveTrust": { "type": "object", @@ -31630,7 +34956,9 @@ "description": "The action to take for skillTransitiveTrust issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "socketUpgradeAvailable": { "type": "object", @@ -31649,7 +34977,9 @@ "description": "The action to take for socketUpgradeAvailable issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "longStrings": { "type": "object", @@ -31668,7 +34998,9 @@ "description": "The action to take for longStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "highEntropyStrings": { "type": "object", @@ -31687,7 +35019,9 @@ "description": "The action to take for highEntropyStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "urlStrings": { "type": "object", @@ -31706,7 +35040,9 @@ "description": "The action to take for urlStrings issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "usesEval": { "type": "object", @@ -31725,7 +35061,9 @@ "description": "The action to take for usesEval issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "dynamicRequire": { "type": "object", @@ -31744,7 +35082,9 @@ "description": "The action to take for dynamicRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "envVars": { "type": "object", @@ -31763,7 +35103,9 @@ "description": "The action to take for envVars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "missingDependency": { "type": "object", @@ -31782,7 +35124,9 @@ "description": "The action to take for missingDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unusedDependency": { "type": "object", @@ -31801,7 +35145,9 @@ "description": "The action to take for unusedDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "peerDependency": { "type": "object", @@ -31820,7 +35166,9 @@ "description": "The action to take for peerDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "uncaughtOptionalDependency": { "type": "object", @@ -31839,7 +35187,9 @@ "description": "The action to take for uncaughtOptionalDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "unresolvedRequire": { "type": "object", @@ -31858,7 +35208,9 @@ "description": "The action to take for unresolvedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "extraneousDependency": { "type": "object", @@ -31877,7 +35229,9 @@ "description": "The action to take for extraneousDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedRequire": { "type": "object", @@ -31896,7 +35250,9 @@ "description": "The action to take for obfuscatedRequire issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "obfuscatedFile": { "type": "object", @@ -31915,7 +35271,9 @@ "description": "The action to take for obfuscatedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "minifiedFile": { "type": "object", @@ -31934,7 +35292,9 @@ "description": "The action to take for minifiedFile issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "installScripts": { "type": "object", @@ -31953,7 +35313,9 @@ "description": "The action to take for installScripts issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "hasNativeCode": { "type": "object", @@ -31972,7 +35334,9 @@ "description": "The action to take for hasNativeCode issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "binScriptConfusion": { "type": "object", @@ -31991,7 +35355,9 @@ "description": "The action to take for binScriptConfusion issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "shellScriptOverride": { "type": "object", @@ -32010,7 +35376,9 @@ "description": "The action to take for shellScriptOverride issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "didYouMean": { "type": "object", @@ -32029,7 +35397,9 @@ "description": "The action to take for didYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "gptDidYouMean": { "type": "object", @@ -32048,7 +35418,9 @@ "description": "The action to take for gptDidYouMean issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "bidi": { "type": "object", @@ -32067,7 +35439,9 @@ "description": "The action to take for bidi issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "zeroWidth": { "type": "object", @@ -32086,7 +35460,9 @@ "description": "The action to take for zeroWidth issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "badEncoding": { "type": "object", @@ -32105,7 +35481,9 @@ "description": "The action to take for badEncoding issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "homoglyphs": { "type": "object", @@ -32124,7 +35502,9 @@ "description": "The action to take for homoglyphs issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "invisibleChars": { "type": "object", @@ -32143,7 +35523,9 @@ "description": "The action to take for invisibleChars issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "suspiciousString": { "type": "object", @@ -32162,7 +35544,9 @@ "description": "The action to take for suspiciousString issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "potentialVulnerability": { "type": "object", @@ -32181,7 +35565,9 @@ "description": "The action to take for potentialVulnerability issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxProposedApiUsage": { "type": "object", @@ -32200,7 +35586,9 @@ "description": "The action to take for vsxProposedApiUsage issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxActivationWildcard": { "type": "object", @@ -32219,7 +35607,9 @@ "description": "The action to take for vsxActivationWildcard issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWorkspaceContainsActivation": { "type": "object", @@ -32238,7 +35628,9 @@ "description": "The action to take for vsxWorkspaceContainsActivation issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxUntrustedWorkspaceSupported": { "type": "object", @@ -32257,7 +35649,9 @@ "description": "The action to take for vsxUntrustedWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxVirtualWorkspaceSupported": { "type": "object", @@ -32276,7 +35670,9 @@ "description": "The action to take for vsxVirtualWorkspaceSupported issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxWebviewContribution": { "type": "object", @@ -32295,7 +35691,9 @@ "description": "The action to take for vsxWebviewContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxDebuggerContribution": { "type": "object", @@ -32314,7 +35712,9 @@ "description": "The action to take for vsxDebuggerContribution issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionDependency": { "type": "object", @@ -32333,7 +35733,9 @@ "description": "The action to take for vsxExtensionDependency issues." } }, - "required": ["action"] + "required": [ + "action" + ] }, "vsxExtensionPack": { "type": "object", @@ -32352,14 +35754,21 @@ "description": "The action to take for vsxExtensionPack issues." } }, - "required": ["action"] + "required": [ + "action" + ] } }, "description": "" }, "securityPolicyDefault": { "type": "string", - "enum": ["default", "low", "medium", "high"], + "enum": [ + "default", + "low", + "medium", + "high" + ], "description": "The default security policy for the organization", "default": "default" } @@ -32391,7 +35800,9 @@ }, "/orgs/{org_slug}/settings/license-policy": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Get Organization License Policy", "deprecated": true, "operationId": "getOrgLicensePolicy", @@ -32408,10 +35819,14 @@ ], "security": [ { - "bearerAuth": ["license-policy:read"] + "bearerAuth": [ + "license-policy:read" + ] }, { - "basicAuth": ["license-policy:read"] + "basicAuth": [ + "license-policy:read" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/viewlicensepolicy) instead.\n\nRetrieve the license policy of an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- license-policy:read", @@ -32447,7 +35862,9 @@ "x-readme": {} }, "post": { - "tags": ["license-policy"], + "tags": [ + "license-policy" + ], "summary": "Update License Policy", "operationId": "updateOrgLicensePolicy", "parameters": [ @@ -32485,10 +35902,14 @@ }, "security": [ { - "bearerAuth": ["license-policy:update"] + "bearerAuth": [ + "license-policy:update" + ] }, { - "basicAuth": ["license-policy:update"] + "basicAuth": [ + "license-policy:update" + ] } ], "description": "Set the organization's license policy\n\n ## License policy schema\n\n```json\n{\n allow?: Array\n warn?: Array\n options?: Array\n}\n```\n\nElements of the `allow` and `warn` arrays strings representing items which should be allowed, or which should trigger a warning; license data found in package which not present in either array will produce a license violation (effectively a \"hard\" error). For example, to allow Apache-2.0 and MIT to the allow list, simply add the strings \"Apache-2.0\" and \"MIT\" to the `allow` array. Strings appearing in these arrays are generally \"what you see is what you get\", with two important exceptions: strings which are recognized as license classes and strings which are recognized as PURLs are handled differently to allow for more flexible license policy creation.\n\n## License Classes\n\nStrings which are license classes will expand to a list of licenses known to be in that particular license class. Recognized license classes are:\n 'permissive',\n 'permissive (model)',\n 'permissive (gold)',\n 'permissive (silver)',\n 'permissive (bronze)',\n 'permissive (lead)',\n 'copyleft',\n 'maximal copyleft',\n 'network copyleft',\n 'strong copyleft',\n 'weak copyleft',\n 'contributor license agreement',\n 'public domain',\n 'proprietary free',\n 'source available',\n 'proprietary',\n 'commercial',\n 'patent'\n\nUsers can learn more about [copyleft tiers](https://blueoakcouncil.org/copyleft) and [permissive tiers](https://blueoakcouncil.org/list) by reading the linked resources.\n\n\n## PURLs\n\nUsers may also modify their license policy's allow and warn lists by using [package URLs](https://github.com/package-url/purl-spec) (aka PURLs), which support glob patterns to allow a range of versions, files and directories, etc.\n\npurl qualifiers which support globs are `filename`, `version_glob`, `artifact_id` and `license_provenance` (primarily used for allowing data from registry metadata).\n\n### Examples:\nAllow all license data found in a specific version of a package 4.14.1: `pkg:npm/lodash@4.14.1`\nAllow all license data found in a version range of a package: `pkg:npm/lodash?version_glob=15.*`\nAllow all license data in the test directory of a given package for certain version ranges: `pkg:npm/lodash@15.*.*?file_name=lodash/test/*`\nAllow all license data taken from the package registry for a package and version range: `pkg:npm/lodash?version_glob=*&license_provenance=registry_metadata`\n\n## Available options\n\n`toplevelOnly`: only apply the license policy to \"top level\" license data in a package, which includes registry metadata, LICENSE files, and manifest files which are closest to the root of the package.\n\n`applyToUnidentified`: Apply license policy to found but unidentified license data. If enabled, the license policy will be applied to license data which could not be affirmatively identified as a known license (this will effectively merge the license policy violation and unidentified license alerts). If disabled, license policy alerts will only be shown for license data which is positively identified as something not allowed or set to warn by the license policy.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- license-policy:update", @@ -32526,7 +35947,9 @@ }, "/orgs/{org_slug}/settings/license-policy/view": { "get": { - "tags": ["license-policy"], + "tags": [ + "license-policy" + ], "summary": "Get License Policy (Beta)", "operationId": "viewLicensePolicy", "parameters": [ @@ -32542,10 +35965,14 @@ ], "security": [ { - "bearerAuth": ["license-policy:read"] + "bearerAuth": [ + "license-policy:read" + ] }, { - "basicAuth": ["license-policy:read"] + "basicAuth": [ + "license-policy:read" + ] } ], "description": "Returns an organization's license policy including allow, warn, monitor, and deny categories.\nThe deny category contains all licenses that are not explicitly categorized as allow, warn, or monitor.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- license-policy:read", @@ -32584,7 +36011,9 @@ }, "/orgs/{org_slug}/settings/socket-basics": { "get": { - "tags": ["org-settings"], + "tags": [ + "org-settings" + ], "summary": "Get Socket Basics configuration, including toggles for the various tools it supports.", "operationId": "getSocketBasicsConfig", "parameters": [ @@ -32600,10 +36029,14 @@ ], "security": [ { - "bearerAuth": ["socket-basics:read"] + "bearerAuth": [ + "socket-basics:read" + ] }, { - "basicAuth": ["socket-basics:read"] + "basicAuth": [ + "socket-basics:read" + ] } ], "description": "Socket Basics is a CI/CD security scanning suite that runs on your source code, designed to complement Socket SCA and provide full coverage.\n\n- **SAST** - Find issues and risks with your code via static analysis using best in class Open Source tools\n- **Secret Scanning** - Detected potentially leaked secrets and credentials within your code\n- **Container Security** - Docker image and Dockerfile vulnerability scanning\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- socket-basics:read", @@ -33072,7 +36505,9 @@ }, "/orgs/{org_slug}/historical/alerts": { "get": { - "tags": ["alerts"], + "tags": [ + "alerts" + ], "summary": "List historical alerts (Beta)", "operationId": "historicalAlertsList", "parameters": [ @@ -33588,10 +37023,14 @@ ], "security": [ { - "bearerAuth": ["historical:alerts-list"] + "bearerAuth": [ + "historical:alerts-list" + ] }, { - "basicAuth": ["historical:alerts-list"] + "basicAuth": [ + "historical:alerts-list" + ] } ], "description": "List historical alerts.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- historical:alerts-list", @@ -33826,7 +37265,10 @@ "default": "" } }, - "required": ["description", "type"], + "required": [ + "description", + "type" + ], "nullable": true } }, @@ -33880,7 +37322,11 @@ "description": "" } }, - "required": ["dead", "dev", "direct"] + "required": [ + "dead", + "dev", + "direct" + ] } }, "required": [ @@ -34362,7 +37808,11 @@ ] } }, - "required": ["endCursor", "items", "meta"] + "required": [ + "endCursor", + "items", + "meta" + ] } } }, @@ -34389,7 +37839,9 @@ }, "/orgs/{org_slug}/historical/alerts/trend": { "get": { - "tags": ["alerts"], + "tags": [ + "alerts" + ], "summary": "Trend of historical alerts (Beta)", "operationId": "historicalAlertsTrend", "parameters": [ @@ -34893,10 +38345,14 @@ ], "security": [ { - "bearerAuth": ["historical:alerts-trend"] + "bearerAuth": [ + "historical:alerts-trend" + ] }, { - "basicAuth": ["historical:alerts-trend"] + "basicAuth": [ + "historical:alerts-trend" + ] } ], "description": "Trend analytics of historical alerts.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- historical:alerts-trend", @@ -34962,7 +38418,10 @@ "description": "" } }, - "required": ["fields", "groups"] + "required": [ + "fields", + "groups" + ] }, "filters": { "type": "object", @@ -35457,7 +38916,10 @@ "description": "" } }, - "required": ["items", "meta"] + "required": [ + "items", + "meta" + ] } } }, @@ -35484,7 +38946,9 @@ }, "/orgs/{org_slug}/historical/dependencies/trend": { "get": { - "tags": ["dependencies"], + "tags": [ + "dependencies" + ], "summary": "Trend of historical dependencies (Beta)", "operationId": "historicalDependenciesTrend", "parameters": [ @@ -35586,10 +39050,14 @@ ], "security": [ { - "bearerAuth": ["historical:dependencies-trend"] + "bearerAuth": [ + "historical:dependencies-trend" + ] }, { - "basicAuth": ["historical:dependencies-trend"] + "basicAuth": [ + "historical:dependencies-trend" + ] } ], "description": "Trend analytics of historical dependencies.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- historical:dependencies-trend", @@ -35655,7 +39123,10 @@ "description": "" } }, - "required": ["fields", "groups"] + "required": [ + "fields", + "groups" + ] }, "filters": { "type": "object", @@ -36017,7 +39488,10 @@ "description": "" } }, - "required": ["items", "meta"] + "required": [ + "items", + "meta" + ] } } }, @@ -36044,7 +39518,9 @@ }, "/orgs/{org_slug}/historical/snapshots": { "get": { - "tags": ["org-snapshots"], + "tags": [ + "org-snapshots" + ], "summary": "List details of periodic historical data snapshots (Beta)", "operationId": "historicalSnapshotsList", "parameters": [ @@ -36122,10 +39598,14 @@ ], "security": [ { - "bearerAuth": ["historical:snapshots-list"] + "bearerAuth": [ + "historical:snapshots-list" + ] }, { - "basicAuth": ["historical:snapshots-list"] + "basicAuth": [ + "historical:snapshots-list" + ] } ], "description": "This API endpoint is used to list the details of historical snapshots.\nSnapshots of organization data are taken periodically, and each historical snapshot record contains high-level overview metrics about the data that was collected.\nOther [Historical Data Endpoints](/reference/historical-data-endpoints) can be used to fetch the raw data associated with each snapshot.\n\nHistorical snapshots contain details and raw data for the following resources:\n\n- Repositories\n- Alerts\n- Dependencies\n- Artifacts\n- Users\n- Settings\n\nDaily snapshot data is bucketed to the nearest day which is described in more detail at: [Historical Data Endpoints](/reference/historical-data-endpoints)\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- historical:snapshots-list", @@ -36326,7 +39806,11 @@ "nullable": true } }, - "required": ["endCursor", "items", "meta"] + "required": [ + "endCursor", + "items", + "meta" + ] } } }, @@ -36351,7 +39835,9 @@ "x-readme": {} }, "post": { - "tags": ["org-snapshots"], + "tags": [ + "org-snapshots" + ], "summary": "Start historical data snapshot job (Beta)", "operationId": "historicalSnapshotsStart", "parameters": [ @@ -36367,10 +39853,14 @@ ], "security": [ { - "bearerAuth": ["historical:snapshots-start"] + "bearerAuth": [ + "historical:snapshots-start" + ] }, { - "basicAuth": ["historical:snapshots-start"] + "basicAuth": [ + "historical:snapshots-start" + ] } ], "description": "This API endpoint is used to start a historical snapshot job.\nWhile snapshots are typically taken multiple times a day for paid plans and once a day for free plans, this endpoint can be used to start an \"on demand\" snapshot job to ensure the latest data is collected and stored for historical purposes.\n\nAn historical snapshot will contain details and raw data for the following resources:\n\n- Repositories\n- Alerts\n- Dependencies\n- Artifacts\n- Users\n- Settings\n\nHistorical snapshot data is bucketed to the nearest day which is described in more detail at: [Historical Data Endpoints](/reference/historical-data-endpoints)\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- historical:snapshots-start", @@ -36399,7 +39889,11 @@ "default": "" } }, - "required": ["requestId", "requestedAt", "requestedBy"] + "required": [ + "requestId", + "requestedAt", + "requestedBy" + ] } } }, @@ -36426,7 +39920,9 @@ }, "/orgs/{org_slug}/audit-log": { "get": { - "tags": ["audit-log"], + "tags": [ + "audit-log" + ], "summary": "Get Audit Log Events", "operationId": "getAuditLogEvents", "parameters": [ @@ -36465,6 +39961,8 @@ "CoanaCliLegacyModeCutoffUpdated", "CoanaCliLegacyModeDemoteOrg", "CoanaCliLegacyModePromoteOrg", + "CreateAlertResolution", + "DeleteAlertResolution", "DeleteAlertTriage", "DeleteApiToken", "DeleteFirewallCustomRegistry", @@ -36496,6 +39994,8 @@ "SendInvitation", "SessionRevokedByUser", "SetLabelSettingToDefault", + "SetSsoBypassMemberships", + "SetSsoBypassRbacRoles", "SSOEmailVerificationCompleted", "SSOLoginCompleted", "SyncOrganization", @@ -36556,10 +40056,14 @@ ], "security": [ { - "bearerAuth": ["audit-log:list"] + "bearerAuth": [ + "audit-log:list" + ] }, { - "basicAuth": ["audit-log:list"] + "basicAuth": [ + "audit-log:list" + ] } ], "description": "Paginated list of audit log events.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- audit-log:list", @@ -36667,7 +40171,10 @@ "nullable": true } }, - "required": ["nextPage", "results"] + "required": [ + "nextPage", + "results" + ] } } }, @@ -36694,7 +40201,9 @@ }, "/orgs/{org_slug}/api-tokens": { "post": { - "tags": ["api-tokens"], + "tags": [ + "api-tokens" + ], "summary": "Create API Token", "operationId": "postAPIToken", "parameters": [ @@ -36818,7 +40327,10 @@ }, "visibility": { "type": "string", - "enum": ["admin", "organization"], + "enum": [ + "admin", + "organization" + ], "description": "The visibility of the API Token. Warning: this field is deprecated and will be removed in the future.", "default": "organization" }, @@ -36883,12 +40395,20 @@ "default": "" } }, - "required": ["organizationSlug", "repositorySlug"] + "required": [ + "organizationSlug", + "repositorySlug" + ] }, "description": "List of resources this API Token can access. Tokens with resource grants can only access a subset of routes that support this feature." } }, - "required": ["committer", "max_quota", "scopes", "visibility"] + "required": [ + "committer", + "max_quota", + "scopes", + "visibility" + ] } } }, @@ -36897,10 +40417,14 @@ }, "security": [ { - "bearerAuth": ["api-tokens:create"] + "bearerAuth": [ + "api-tokens:create" + ] }, { - "basicAuth": ["api-tokens:create"] + "basicAuth": [ + "api-tokens:create" + ] } ], "description": "Create an API Token. The API Token created must use a subset of permissions the API token creating them.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- api-tokens:create", @@ -36937,7 +40461,12 @@ "default": "" } }, - "required": ["created_by", "group_uuid", "hash", "token"] + "required": [ + "created_by", + "group_uuid", + "hash", + "token" + ] } } }, @@ -36959,7 +40488,9 @@ "x-readme": {} }, "get": { - "tags": ["api-tokens"], + "tags": [ + "api-tokens" + ], "summary": "List API Tokens", "operationId": "getAPITokens", "parameters": [ @@ -36979,7 +40510,9 @@ "description": "Specify Sort order.", "schema": { "type": "string", - "enum": ["created_at"], + "enum": [ + "created_at" + ], "default": "created_at" } }, @@ -36990,7 +40523,10 @@ "description": "Specify sort direction.", "schema": { "type": "string", - "enum": ["asc", "desc"], + "enum": [ + "asc", + "desc" + ], "default": "desc" } }, @@ -37024,17 +40560,24 @@ "description": "Whether to include token values in response. Use \"omit\" to exclude tokens entirely.", "schema": { "type": "string", - "enum": ["include", "omit"], + "enum": [ + "include", + "omit" + ], "default": "omit" } } ], "security": [ { - "bearerAuth": ["api-tokens:list"] + "bearerAuth": [ + "api-tokens:list" + ] }, { - "basicAuth": ["api-tokens:list"] + "basicAuth": [ + "api-tokens:list" + ] } ], "description": "List all API Tokens.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- api-tokens:list", @@ -37243,7 +40786,10 @@ }, "visibility": { "type": "string", - "enum": ["admin", "organization"], + "enum": [ + "admin", + "organization" + ], "description": "The visibility of the API Token. Warning: this field is deprecated and will be removed in the future.", "default": "organization" } @@ -37272,7 +40818,10 @@ "nullable": true } }, - "required": ["nextPage", "tokens"] + "required": [ + "nextPage", + "tokens" + ] } } }, @@ -37296,7 +40845,9 @@ }, "/orgs/{org_slug}/api-tokens/update": { "post": { - "tags": ["api-tokens"], + "tags": [ + "api-tokens" + ], "summary": "Update API Token", "operationId": "postAPITokenUpdate", "parameters": [ @@ -37420,7 +40971,10 @@ }, "visibility": { "type": "string", - "enum": ["admin", "organization"], + "enum": [ + "admin", + "organization" + ], "description": "The visibility of the API Token. Warning: this field is deprecated and will be removed in the future.", "default": "organization" }, @@ -37485,7 +41039,12 @@ "default": "" } }, - "required": ["committer", "max_quota", "scopes", "visibility"] + "required": [ + "committer", + "max_quota", + "scopes", + "visibility" + ] } } }, @@ -37494,10 +41053,14 @@ }, "security": [ { - "bearerAuth": ["api-tokens:create"] + "bearerAuth": [ + "api-tokens:create" + ] }, { - "basicAuth": ["api-tokens:create"] + "basicAuth": [ + "api-tokens:create" + ] } ], "description": "Update an API Token. The API Token created must use a subset of permissions the API token creating them.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- api-tokens:create", @@ -37516,7 +41079,9 @@ "default": "" } }, - "required": ["hash"] + "required": [ + "hash" + ] } } }, @@ -37540,7 +41105,9 @@ }, "/orgs/{org_slug}/api-tokens/rotate": { "post": { - "tags": ["api-tokens"], + "tags": [ + "api-tokens" + ], "summary": "Rotate API Token", "operationId": "postAPITokensRotate", "parameters": [ @@ -37587,10 +41154,14 @@ }, "security": [ { - "bearerAuth": ["api-tokens:rotate"] + "bearerAuth": [ + "api-tokens:rotate" + ] }, { - "basicAuth": ["api-tokens:rotate"] + "basicAuth": [ + "api-tokens:rotate" + ] } ], "description": "Rotate an API Token\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- api-tokens:rotate", @@ -37662,7 +41233,9 @@ }, "/orgs/{org_slug}/api-tokens/revoke": { "post": { - "tags": ["api-tokens"], + "tags": [ + "api-tokens" + ], "summary": "Revoke API Token", "operationId": "postAPITokensRevoke", "parameters": [ @@ -37709,10 +41282,14 @@ }, "security": [ { - "bearerAuth": ["api-tokens:revoke"] + "bearerAuth": [ + "api-tokens:revoke" + ] }, { - "basicAuth": ["api-tokens:revoke"] + "basicAuth": [ + "api-tokens:revoke" + ] } ], "description": "Revoke an API Token\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- api-tokens:revoke", @@ -37731,7 +41308,9 @@ "default": "revoked" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -37755,7 +41334,11 @@ }, "/orgs/{org_slug}/supported-files": { "get": { - "tags": ["metadata", "full-scans", "diff-scans"], + "tags": [ + "metadata", + "full-scans", + "diff-scans" + ], "summary": "Get supported file types", "operationId": "getSupportedFiles", "parameters": [ @@ -37797,7 +41380,9 @@ "default": "" } }, - "required": ["pattern"] + "required": [ + "pattern" + ] }, "properties": {}, "description": "" @@ -37824,7 +41409,9 @@ }, "/threat-feed": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Get Threat Feed Items (Deprecated)", "deprecated": true, "operationId": "getThreatFeedItems", @@ -37858,7 +41445,10 @@ "description": "Sort sort the threat feed by ID or createdAt attribute.", "schema": { "type": "string", - "enum": ["id", "created_at"], + "enum": [ + "id", + "created_at" + ], "default": "id" } }, @@ -37869,7 +41459,15 @@ "description": "Filter results by discovery period", "schema": { "type": "string", - "enum": ["1h", "6h", "1d", "7d", "30d", "90d", "365d"] + "enum": [ + "1h", + "6h", + "1d", + "7d", + "30d", + "90d", + "365d" + ] } }, { @@ -37879,7 +41477,10 @@ "description": "Ordering direction of the sort attribute", "schema": { "type": "string", - "enum": ["desc", "asc"], + "enum": [ + "desc", + "asc" + ], "default": "desc" } }, @@ -37965,10 +41566,14 @@ ], "security": [ { - "bearerAuth": ["threat-feed:list"] + "bearerAuth": [ + "threat-feed:list" + ] }, { - "basicAuth": ["threat-feed:list"] + "basicAuth": [ + "threat-feed:list" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/getorgthreatfeeditems) instead.\n\nPaginated list of threat feed items.\n\nThis endpoint requires an Enterprise Plan with Threat Feed add-on. [Contact](https://socket.dev/demo?utm_source=api-docs&utm_medium=referral&utm_campaign=tracking) our sales team for more details.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- threat-feed:list", @@ -38067,7 +41672,10 @@ "nullable": true } }, - "required": ["nextPage", "results"] + "required": [ + "nextPage", + "results" + ] } } }, @@ -38094,7 +41702,9 @@ }, "/orgs/{org_slug}/threat-feed": { "get": { - "tags": ["threat-feed"], + "tags": [ + "threat-feed" + ], "summary": "Get Threat Feed Items (Beta)", "operationId": "getOrgThreatFeedItems", "parameters": [ @@ -38135,7 +41745,11 @@ "description": "Set the sort order for the threat feed items. Default is descending order by updated_at, which includes all new and updated threat feed items.", "schema": { "type": "string", - "enum": ["id", "created_at", "updated_at"], + "enum": [ + "id", + "created_at", + "updated_at" + ], "default": "updated_at" } }, @@ -38164,7 +41778,10 @@ "description": "Order direction of the provided sort field.", "schema": { "type": "string", - "enum": ["desc", "asc"], + "enum": [ + "desc", + "asc" + ], "default": "desc" } }, @@ -38250,10 +41867,14 @@ ], "security": [ { - "bearerAuth": ["threat-feed:list"] + "bearerAuth": [ + "threat-feed:list" + ] }, { - "basicAuth": ["threat-feed:list"] + "basicAuth": [ + "threat-feed:list" + ] } ], "description": "Paginated list of threats, sorted by updated_at by default. Set updated_after to the unix timestamp of your last sync while sorting by updated_at to synchronize all new or updated threats in the feed.\n\nThis endpoint requires an Enterprise Plan with Threat Feed add-on. [Contact](https://socket.dev/demo?utm_source=api-docs&utm_medium=referral&utm_campaign=tracking) our sales team for more details.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- threat-feed:list", @@ -38352,7 +41973,10 @@ "nullable": true } }, - "required": ["nextPageCursor", "results"] + "required": [ + "nextPageCursor", + "results" + ] } } }, @@ -38379,7 +42003,9 @@ }, "/orgs/{org_slug}/purl": { "post": { - "tags": ["packages"], + "tags": [ + "packages" + ], "summary": "Get Packages by PURL (Org Scoped)", "externalDocs": { "description": "Socket Package URLs (purl)", @@ -38429,7 +42055,12 @@ "type": "array", "items": { "type": "string", - "enum": ["error", "monitor", "warn", "ignore"] + "enum": [ + "error", + "monitor", + "warn", + "ignore" + ] } }, "explode": false, @@ -38539,10 +42170,14 @@ }, "security": [ { - "bearerAuth": ["packages:list"] + "bearerAuth": [ + "packages:list" + ] }, { - "basicAuth": ["packages:list"] + "basicAuth": [ + "packages:list" + ] } ], "description": "Batch retrieval of package metadata and alerts by PURL strings for a specific organization. Compatible with CycloneDX reports.\n\nPackage URLs (PURLs) are an ecosystem agnostic way to identify packages.\nCycloneDX SBOMs use the purl format to identify components.\nThis endpoint supports fetching metadata and alerts for multiple packages at once by passing an array of purl strings, or by passing an entire CycloneDX report.\n\n**Note:** This endpoint has a batch size limit (default: 1024 PURLs per request). Requests exceeding this limit will return a 400 Bad Request error.\n\nMore information on purl and CycloneDX:\n\n- [`purl` Spec](https://github.com/package-url/purl-spec)\n- [CycloneDX Spec](https://cyclonedx.org/specification/overview/#components)\n\nThis endpoint returns the latest available alert data for artifacts in the batch (stale while revalidate).\nActively running analysis will be returned when available on subsequent runs.\n\nWhen `alerts=true`, Socket may synthesize two alert types to make partial\nresults actionable:\n\n- `pendingScan`: the package is known but analysis has not completed yet\n- `notFound`: Socket could not resolve the package/version metadata\n\nWhen `purlErrors=true`, unresolved `notFound` inputs keep the legacy\n`purlError` stream shape instead of emitting synthetic `notFound`\nartifacts.\n\nUse `poll=false` (default) to fail open and return the current known state\nquickly. Use `poll=true` to fail closed and wait up to `timeoutSec` for\npending analysis before returning.\n\n## Query Parameters\n\nThis endpoint supports all query parameters from `POST /v0/purl` including: `alerts`, `actions`, `compact`, `fixable`, `licenseattrib`, `licensedetails`, `purlErrors`, `poll`, `cachedResultsOnly`, and `summary`.\n\nAdditionally, you may provide a `labels` query parameter to apply a repository label's security policies. Pass the label slug as the value (e.g., `?labels=production`). Only one label is currently supported.\n\n## Examples:\n\n### Looking up an npm package:\n\n```json\n{\n \"components\": [\n {\n \"purl\": \"pkg:npm/express@4.19.2\"\n }\n ]\n}\n```\n\n### Looking up a PyPi package:\n\n```json\n{\n \"components\": [\n {\n \"purl\": \"pkg:pypi/django@5.0.6\"\n }\n ]\n}\n```\n\n### Looking up a Maven package:\n\n```json\n{\n \"components\": [\n {\n \"purl\": \"pkg:maven/log4j/log4j@1.2.17\"\n }\n ]\n}\n```\n\n### Batch lookup\n\n```json\n{\n \"components\": [\n {\n \"purl\": \"pkg:npm/express@4.19.2\"\n },\n {\n \"purl\": \"pkg:pypi/django@5.0.6\"\n },\n {\n \"purl\": \"pkg:maven/log4j/log4j@1.2.17\"\n }\n ]\n}\n```\n\n### With label and options (query parameters):\n\n```\nPOST /v0/orgs/{org_slug}/purl?labels=production&alerts=true&compact=true\n{\n \"components\": [\n {\n \"purl\": \"pkg:npm/express@4.19.2\"\n }\n ]\n}\n```\n\nThis endpoint consumes 100 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- packages:list", @@ -38578,7 +42213,9 @@ }, "/orgs/{org_slug}/fixes": { "get": { - "tags": ["fixes"], + "tags": [ + "fixes" + ], "summary": "Fetch fixes for vulnerabilities in a repository, scan, or uploaded manifest", "operationId": "fetch-fixes", "parameters": [ @@ -38677,6 +42314,16 @@ "default": false } }, + { + "name": "include_stateful_alert_ids", + "in": "query", + "required": false, + "description": "Set to include a statefulAlertIds map (GHSA ID → array of open stateful alert IDs detected in this organization) in the response. Lets callers correlate /fixes results back to the alert IDs surfaced by /v0/orgs/{org_slug}/alerts. Org-scoped only — multiple alerts across repos/branches may share a GHSA. Off by default to avoid an extra ClickHouse round-trip.", + "schema": { + "type": "boolean", + "default": false + } + }, { "name": "autofix_run_id", "in": "query", @@ -38689,13 +42336,17 @@ ], "security": [ { - "bearerAuth": ["fixes:list"] + "bearerAuth": [ + "fixes:list" + ] }, { - "basicAuth": ["fixes:list"] + "basicAuth": [ + "fixes:list" + ] } ], - "description": "Fetches available fixes for vulnerabilities in a repository, scan, or uploaded manifest.\nRequires exactly one of repo_slug, full_scan_id, or tar_hash, as well as vulnerability_ids to be provided.\nvulnerability_ids can be a comma-separated list of GHSA or CVE IDs, or \"*\" for all vulnerabilities.\n\n## Response Structure\n\nThe response contains a `fixDetails` object where each key is a vulnerability ID (GHSA or CVE) and the value is a discriminated union based on the `type` field.\n\n### Common Fields\n\nAll response variants include:\n- `type`: Discriminator field (one of: \"fixFound\", \"partialFixFound\", \"noFixAvailable\", \"fixNotApplicable\", \"errorComputingFix\")\n- `value`: Object containing the variant-specific data\n\nThe `value` object always contains:\n- `ghsa`: string | null - The GHSA ID\n- `cve`: string | null - The CVE ID (if available)\n- `advisoryDetails`: object | null - Advisory details (only if include_details=true)\n\n### Response Variants\n\n**fixFound**: A complete fix is available for all vulnerable packages\n- `value.fixDetails.fixes`: Array of fix objects, each containing:\n - `purl`: Package URL to upgrade\n - `fixedVersion`: Version to upgrade to\n - `manifestFiles`: Array of manifest files containing the package\n - `updateType`: \"patch\" | \"minor\" | \"major\" | \"unknown\"\n- `value.fixDetails.responsibleDirectDependencies`: (optional) Map of direct dependencies responsible for the vulnerability\n\n**partialFixFound**: Fixes available for some but not all vulnerable packages\n- Same as fixFound, plus:\n- `value.fixDetails.unfixablePurls`: Array of packages that cannot be fixed, each containing:\n - `purl`: Package URL\n - `manifestFiles`: Array of manifest files\n - `reasons`: Human-readable explanations of why the package cannot be upgraded. May contain multiple distinct entries when different dependency chains are blocked for different causes (e.g. one chain has no compatible upstream version; another would require a major version bump skipped by `--no-major-updates`).\n\n**noFixAvailable**: No fix exists for this vulnerability (no patched version published)\n\n**fixNotApplicable**: A patched version of the vulnerable package exists but cannot be applied. The most common cause is that there is no upgrade path through the dependency tree — for example, given a chain `App → A@1.0.0 → B@1.0.0` where `B < 2.0.0` is vulnerable, if no version of `A` accepts `B@2.0.0` the fix cannot be applied without a manual override (e.g. `pnpm overrides`). Other causes include callers passing `--no-major-updates` when the only patched version is a major bump.\n- `value.vulnerableArtifacts`: Array of vulnerable packages with their manifest files\n\n**errorComputingFix**: An error occurred while computing fixes\n- `value.message`: Error description\n\n### Advisory Details (when include_details=true)\n\n- `title`: string | null\n- `description`: string | null\n- `cwes`: string[] - CWE identifiers\n- `severity`: \"LOW\" | \"MODERATE\" | \"HIGH\" | \"CRITICAL\"\n- `cvssVector`: string | null\n- `publishedAt`: string (ISO date)\n- `kev`: boolean - Whether it's a Known Exploited Vulnerability\n- `epss`: number | null - Exploit Prediction Scoring System score\n- `affectedPurls`: Array of affected packages with version ranges\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- fixes:list", + "description": "Fetches available fixes for vulnerabilities in a repository, scan, or uploaded manifest.\nRequires exactly one of repo_slug, full_scan_id, or tar_hash, as well as vulnerability_ids to be provided.\nvulnerability_ids can be a comma-separated list of GHSA or CVE IDs, or \"*\" for all vulnerabilities.\n\n## Response Structure\n\nThe response contains a `fixDetails` object where each key is a vulnerability ID (GHSA or CVE) and the value is a discriminated union based on the `type` field.\n\n### Common Fields\n\nAll response variants include:\n- `type`: Discriminator field (one of: \"fixFound\", \"partialFixFound\", \"noFixAvailable\", \"fixNotApplicable\", \"errorComputingFix\")\n- `value`: Object containing the variant-specific data\n\nThe `value` object always contains:\n- `ghsa`: string | null - The GHSA ID\n- `cve`: string | null - The CVE ID (if available)\n- `advisoryDetails`: object | null - Advisory details (only if include_details=true)\n\n### Response Variants\n\n**fixFound**: A complete fix is available for all vulnerable packages\n- `value.fixDetails.fixes`: Array of fix objects, each containing:\n - `purl`: Package URL to upgrade\n - `fixedVersion`: Version to upgrade to\n - `manifestFiles`: Array of manifest files containing the package\n - `updateType`: \"patch\" | \"minor\" | \"major\" | \"unknown\"\n- `value.fixDetails.responsibleDirectDependencies`: (optional) Map of direct dependencies responsible for the vulnerability\n\n**partialFixFound**: Fixes available for some but not all vulnerable packages\n- Same as fixFound, plus:\n- `value.fixDetails.unfixablePurls`: Array of packages that cannot be fixed, each containing:\n - `purl`: Package URL\n - `manifestFiles`: Array of manifest files\n - `reasons`: Human-readable explanations of why the package cannot be upgraded. May contain multiple distinct entries when different dependency chains are blocked for different causes (e.g. one chain has no compatible upstream version; another would require a major version bump skipped by `--no-major-updates`).\n\n**noFixAvailable**: No fix exists for this vulnerability (no patched version published)\n\n**fixNotApplicable**: A patched version of the vulnerable package exists but cannot be applied. The most common cause is that there is no upgrade path through the dependency tree — for example, given a chain `App → A@1.0.0 → B@1.0.0` where `B < 2.0.0` is vulnerable, if no version of `A` accepts `B@2.0.0` the fix cannot be applied without a manual override (e.g. `pnpm overrides`). Other causes include callers passing `--no-major-updates` when the only patched version is a major bump.\n- `value.vulnerableArtifacts`: Array of vulnerable packages with their manifest files\n\n**errorComputingFix**: An error occurred while computing fixes\n- `value.message`: Error description\n\n### Advisory Details (when include_details=true)\n\n- `title`: string | null\n- `description`: string | null\n- `cwes`: string[] - CWE identifiers\n- `severity`: \"LOW\" | \"MODERATE\" | \"HIGH\" | \"CRITICAL\"\n- `cvssVector`: string | null\n- `publishedAt`: string (ISO date)\n- `kev`: boolean - Whether it's a Known Exploited Vulnerability\n- `epss`: number | null - Exploit Prediction Scoring System score\n- `affectedPurls`: Array of affected packages with version ranges\n\n### Stateful Alert IDs (when include_stateful_alert_ids=true)\n\nTop-level `statefulAlertIds` field — a map of GHSA ID → array of open stateful alert IDs (the human-readable `SOCKET-XXX-N` identifiers also returned by `/v0/orgs/{org_slug}/alerts`). The lookup is org-scoped, so the same GHSA may map to multiple alert IDs when it appears in alerts across different repos or branches. Callers that need a repo/branch filter should intersect this map with results from the alerts API.\n\nThe lookup honors the same scan-type visibility as `/v0/orgs/{org_slug}/alerts` — when the `enableTier1OrgAlertApiRead` feature flag is off for the org, only `socket` scans are visible (no `socket_tier1`).\n\nNote on scopes: this field surfaces identifiers that are otherwise reachable via `/v0/orgs/{org_slug}/alerts` (which requires `alerts:list`). The fixes route is gated on `fixes:list` alone; the GHSAs the alert IDs are keyed to are already part of every `/fixes` response, and exposing the matching alert IDs through this opt-in flag is intentional — it lets a caller with only `fixes:list` complete the correlation back to /alerts on a token that already has that scope. If you require strict scope separation, do not enable this flag.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- fixes:list", "responses": { "200": { "content": { @@ -38722,9 +42373,25 @@ "default": "GHSA ID of a vulnerability detected in the project" }, "description": "All vulnerability GHSA IDs detected in the project, regardless of the vulnerability_ids filter. Only present when include_all_detected_ghsas=true is set." + }, + "statefulAlertIds": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "description": "", + "default": "Stateful alert ID (the human-readable SOCKET-XXX-N identifier from /v0/orgs/{org_slug}/alerts)" + }, + "description": "" + }, + "properties": {}, + "description": "Map of GHSA ID → open stateful alert IDs detected in this organization. Lets callers correlate /fixes results back to the alert IDs they see in /v0/orgs/{org_slug}/alerts. Org-scoped, not repo/branch-scoped — the same GHSA may surface in multiple alerts across repos. Only present when include_stateful_alert_ids=true is set." } }, - "required": ["fixDetails"] + "required": [ + "fixDetails" + ] } } }, @@ -38751,7 +42418,9 @@ }, "/orgs/{org_slug}/telemetry/config": { "get": { - "tags": ["telemetry"], + "tags": [ + "telemetry" + ], "summary": "Get Organization Telemetry Config", "operationId": "getOrgTelemetryConfig", "parameters": [ @@ -38794,10 +42463,14 @@ "description": "Telemetry enabled" } }, - "required": ["enabled"] + "required": [ + "enabled" + ] } }, - "required": ["telemetry"] + "required": [ + "telemetry" + ] } } }, @@ -38822,7 +42495,9 @@ "x-readme": {} }, "put": { - "tags": ["telemetry"], + "tags": [ + "telemetry" + ], "summary": "Update Telemetry Config", "operationId": "updateOrgTelemetryConfig", "parameters": [ @@ -38857,10 +42532,14 @@ }, "security": [ { - "bearerAuth": ["telemetry-policy:update"] + "bearerAuth": [ + "telemetry-policy:update" + ] }, { - "basicAuth": ["telemetry-policy:update"] + "basicAuth": [ + "telemetry-policy:update" + ] } ], "description": "Update the telemetry config of an organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- telemetry-policy:update", @@ -38884,10 +42563,14 @@ "description": "Telemetry enabled" } }, - "required": ["enabled"] + "required": [ + "enabled" + ] } }, - "required": ["telemetry"] + "required": [ + "telemetry" + ] } } }, @@ -38914,7 +42597,9 @@ }, "/orgs/{org_slug}/webhooks": { "get": { - "tags": ["webhooks"], + "tags": [ + "webhooks" + ], "summary": "List all webhooks", "externalDocs": { "description": "Webhooks documentation", @@ -38977,10 +42662,14 @@ ], "security": [ { - "bearerAuth": ["webhooks:list"] + "bearerAuth": [ + "webhooks:list" + ] }, { - "basicAuth": ["webhooks:list"] + "basicAuth": [ + "webhooks:list" + ] } ], "description": "List all webhooks in the specified organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- webhooks:list", @@ -39068,7 +42757,9 @@ "nullable": true } }, - "required": ["repositoryIds"], + "required": [ + "repositoryIds" + ], "nullable": true } }, @@ -39094,7 +42785,10 @@ "nullable": true } }, - "required": ["nextPage", "results"] + "required": [ + "nextPage", + "results" + ] } } }, @@ -39119,7 +42813,9 @@ "x-readme": {} }, "post": { - "tags": ["webhooks"], + "tags": [ + "webhooks" + ], "summary": "Create a webhook", "externalDocs": { "description": "Webhooks documentation", @@ -39196,11 +42892,18 @@ "nullable": true } }, - "required": ["repositoryIds"], + "required": [ + "repositoryIds" + ], "nullable": true } }, - "required": ["events", "name", "secret", "url"] + "required": [ + "events", + "name", + "secret", + "url" + ] } } }, @@ -39208,10 +42911,14 @@ }, "security": [ { - "bearerAuth": ["webhooks:create"] + "bearerAuth": [ + "webhooks:create" + ] }, { - "basicAuth": ["webhooks:create"] + "basicAuth": [ + "webhooks:create" + ] } ], "description": "Create a new webhook. Returns the created webhook details.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- webhooks:create", @@ -39292,7 +42999,9 @@ "nullable": true } }, - "required": ["repositoryIds"], + "required": [ + "repositoryIds" + ], "nullable": true } }, @@ -39334,7 +43043,9 @@ }, "/orgs/{org_slug}/webhooks/{webhook_id}": { "get": { - "tags": ["webhooks"], + "tags": [ + "webhooks" + ], "summary": "Get webhook", "externalDocs": { "description": "Webhooks documentation", @@ -39363,10 +43074,14 @@ ], "security": [ { - "bearerAuth": ["webhooks:list"] + "bearerAuth": [ + "webhooks:list" + ] }, { - "basicAuth": ["webhooks:list"] + "basicAuth": [ + "webhooks:list" + ] } ], "description": "Get a webhook for the specified organization.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- webhooks:list", @@ -39447,7 +43162,9 @@ "nullable": true } }, - "required": ["repositoryIds"], + "required": [ + "repositoryIds" + ], "nullable": true } }, @@ -39487,7 +43204,9 @@ "x-readme": {} }, "put": { - "tags": ["webhooks"], + "tags": [ + "webhooks" + ], "summary": "Update webhook", "externalDocs": { "description": "Webhooks documentation", @@ -39574,7 +43293,9 @@ "nullable": true } }, - "required": ["repositoryIds"], + "required": [ + "repositoryIds" + ], "nullable": true } }, @@ -39586,10 +43307,14 @@ }, "security": [ { - "bearerAuth": ["webhooks:update"] + "bearerAuth": [ + "webhooks:update" + ] }, { - "basicAuth": ["webhooks:update"] + "basicAuth": [ + "webhooks:update" + ] } ], "description": "Update details of an existing webhook.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- webhooks:update", @@ -39670,7 +43395,9 @@ "nullable": true } }, - "required": ["repositoryIds"], + "required": [ + "repositoryIds" + ], "nullable": true } }, @@ -39710,7 +43437,9 @@ "x-readme": {} }, "delete": { - "tags": ["webhooks"], + "tags": [ + "webhooks" + ], "summary": "Delete webhook", "externalDocs": { "description": "Webhooks documentation", @@ -39739,10 +43468,14 @@ ], "security": [ { - "bearerAuth": ["webhooks:delete"] + "bearerAuth": [ + "webhooks:delete" + ] }, { - "basicAuth": ["webhooks:delete"] + "basicAuth": [ + "webhooks:delete" + ] } ], "description": "Delete a webhook. This will stop all future webhook deliveries to the webhook URL.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- webhooks:delete", @@ -39761,7 +43494,9 @@ "default": "ok" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -39788,7 +43523,9 @@ }, "/orgs/{org_slug}/alerts": { "get": { - "tags": ["alerts"], + "tags": [ + "alerts" + ], "summary": "List latest alerts (Beta)", "operationId": "alertsList", "parameters": [ @@ -40437,10 +44174,14 @@ ], "security": [ { - "bearerAuth": ["alerts:list"] + "bearerAuth": [ + "alerts:list" + ] }, { - "basicAuth": ["alerts:list"] + "basicAuth": [ + "alerts:list" + ] } ], "description": "List latest alerts.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- alerts:list", @@ -40504,7 +44245,10 @@ "nullable": true } }, - "required": ["description", "type"], + "required": [ + "description", + "type" + ], "nullable": true }, "vulnerability": { @@ -40628,7 +44372,10 @@ }, "status": { "type": "string", - "enum": ["open", "cleared"], + "enum": [ + "open", + "cleared" + ], "description": "", "default": "open" }, @@ -40660,7 +44407,12 @@ }, "severity": { "type": "string", - "enum": ["low", "medium", "high", "critical"], + "enum": [ + "low", + "medium", + "high", + "critical" + ], "description": "", "default": "low" }, @@ -40671,6 +44423,11 @@ "additionalProperties": false, "description": "", "properties": { + "scanType": { + "type": "string", + "description": "", + "default": "" + }, "action": { "type": "string", "description": "", @@ -40698,7 +44455,10 @@ "nullable": true } }, - "required": ["analysisType", "type"] + "required": [ + "analysisType", + "type" + ] }, "licenseViolation": { "type": "object", @@ -40732,7 +44492,9 @@ "description": "" } }, - "required": ["violationData"], + "required": [ + "violationData" + ], "nullable": true }, "prioritization": { @@ -40843,7 +44605,10 @@ "nullable": true } }, - "required": ["name", "type"], + "required": [ + "name", + "type" + ], "nullable": true }, "patch": { @@ -40873,7 +44638,11 @@ "description": "" } }, - "required": ["deprecated", "status", "uuid"] + "required": [ + "deprecated", + "status", + "uuid" + ] }, "dependency": { "type": "object", @@ -41039,7 +44808,8 @@ "patch", "prioritization", "reachability", - "repository" + "repository", + "scanType" ] }, "description": "" @@ -41663,7 +45433,11 @@ ] } }, - "required": ["endCursor", "items", "meta"] + "required": [ + "endCursor", + "items", + "meta" + ] } } }, @@ -41690,7 +45464,9 @@ }, "/orgs/{org_slug}/alert-full-scan-search": { "get": { - "tags": ["alerts"], + "tags": [ + "alerts" + ], "summary": "List full scans associated with alert (Beta)", "operationId": "alertFullScans", "parameters": [ @@ -41747,10 +45523,14 @@ ], "security": [ { - "bearerAuth": ["alerts:list"] + "bearerAuth": [ + "alerts:list" + ] }, { - "basicAuth": ["alerts:list"] + "basicAuth": [ + "alerts:list" + ] } ], "description": "List full scans associated with alert.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- alerts:list", @@ -41881,7 +45661,11 @@ ] } }, - "required": ["endCursor", "items", "meta"] + "required": [ + "endCursor", + "items", + "meta" + ] } } }, @@ -41908,7 +45692,9 @@ }, "/license-policy": { "post": { - "tags": ["license-policy"], + "tags": [ + "license-policy" + ], "summary": "License Policy (Beta)", "operationId": "licensePolicy", "requestBody": { @@ -41923,10 +45709,16 @@ }, "security": [ { - "bearerAuth": ["packages:list", "license-policy:read"] + "bearerAuth": [ + "packages:list", + "license-policy:read" + ] }, { - "basicAuth": ["packages:list", "license-policy:read"] + "basicAuth": [ + "packages:list", + "license-policy:read" + ] } ], "description": "Compare the license data found for a list of packages (given as PURL strings) with the contents of a configurable license policy,\n returning information about license data which does not comply with the license allow list.\n\n ## Example request body:\n\n ```json\n {\n \"components\": [\n {\n \"purl\": \"pkg:npm/lodash@4.17.21\"\n },\n {\n \"purl\": \"pkg:npm/lodash@4.14.1\"\n }\n ],\n \"allow\": [\n \"permissive\",\n \"pkg:npm/lodash?file_name=foo/test/*&version_glob=4.17.*\"\n ],\n \"warn\": [\n \"copyleft\",\n \"pkg:npm/lodash?file_name=foo/prod/*&version_glob=4.14.*\"\n ],\n \"options\": [\"toplevelOnly\"]\n }\n ```\n\n\n ## Return value\n\n For each requested PURL, an array is returned. Each array contains a list of license policy violations\n detected for the requested PURL.\n\n Violations are accompanied by a string identifying the offending license data as `spdxAtomOrExtraData`,\n a message describing why the license data is believed to be incompatible with the license policy, and a list\n of locations (by filepath or other provenance information) where the offending license data may be found.\n\n ```json\n Array<\n Array<{\n filepathOrProvenance: Array,\n level: \"warning\" | \"violation\",\n purl: string,\n spdxAtomOrExtraData: string,\n violationExplanation: string\n }>\n >\n ```\n\n ## License policy schema\n\n```json\n{\n allow?: Array\n warn?: Array\n options?: Array\n}\n```\n\nElements of the `allow` and `warn` arrays strings representing items which should be allowed, or which should trigger a warning; license data found in package which not present in either array will produce a license violation (effectively a \"hard\" error). For example, to allow Apache-2.0 and MIT to the allow list, simply add the strings \"Apache-2.0\" and \"MIT\" to the `allow` array. Strings appearing in these arrays are generally \"what you see is what you get\", with two important exceptions: strings which are recognized as license classes and strings which are recognized as PURLs are handled differently to allow for more flexible license policy creation.\n\n## License Classes\n\nStrings which are license classes will expand to a list of licenses known to be in that particular license class. Recognized license classes are:\n 'permissive',\n 'permissive (model)',\n 'permissive (gold)',\n 'permissive (silver)',\n 'permissive (bronze)',\n 'permissive (lead)',\n 'copyleft',\n 'maximal copyleft',\n 'network copyleft',\n 'strong copyleft',\n 'weak copyleft',\n 'contributor license agreement',\n 'public domain',\n 'proprietary free',\n 'source available',\n 'proprietary',\n 'commercial',\n 'patent'\n\nUsers can learn more about [copyleft tiers](https://blueoakcouncil.org/copyleft) and [permissive tiers](https://blueoakcouncil.org/list) by reading the linked resources.\n\n\n## PURLs\n\nUsers may also modify their license policy's allow and warn lists by using [package URLs](https://github.com/package-url/purl-spec) (aka PURLs), which support glob patterns to allow a range of versions, files and directories, etc.\n\npurl qualifiers which support globs are `filename`, `version_glob`, `artifact_id` and `license_provenance` (primarily used for allowing data from registry metadata).\n\n### Examples:\nAllow all license data found in a specific version of a package 4.14.1: `pkg:npm/lodash@4.14.1`\nAllow all license data found in a version range of a package: `pkg:npm/lodash?version_glob=15.*`\nAllow all license data in the test directory of a given package for certain version ranges: `pkg:npm/lodash@15.*.*?file_name=lodash/test/*`\nAllow all license data taken from the package registry for a package and version range: `pkg:npm/lodash?version_glob=*&license_provenance=registry_metadata`\n\n## Available options\n\n`toplevelOnly`: only apply the license policy to \"top level\" license data in a package, which includes registry metadata, LICENSE files, and manifest files which are closest to the root of the package.\n\n`applyToUnidentified`: Apply license policy to found but unidentified license data. If enabled, the license policy will be applied to license data which could not be affirmatively identified as a known license (this will effectively merge the license policy violation and unidentified license alerts). If disabled, license policy alerts will only be shown for license data which is positively identified as something not allowed or set to warn by the license policy.\n\nThis endpoint consumes 100 units of your quota.\n\nThis endpoint requires the following org token scopes:\n - packages:list\n- license-policy:read", @@ -42009,7 +45801,9 @@ }, "/saturate-license-policy": { "post": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Saturate License Policy (Legacy)", "deprecated": true, "operationId": "saturateLicensePolicy", @@ -42105,10 +45899,14 @@ }, "security": [ { - "bearerAuth": ["packages:list"] + "bearerAuth": [ + "packages:list" + ] }, { - "basicAuth": ["packages:list"] + "basicAuth": [ + "packages:list" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/updateorglicensepolicy) instead.\n\nGet the \"saturated\" version of a license policy's allow list, filling in the entire set of allowed\nlicense data. For example, the saturated form of a license allow list which only specifies that\nlicenses in the tier \"maximal copyleft\" are allowed is shown below (note the expanded `allowedStrings` property):\n\n```json\n{\n \"allowedApprovalSources\": [],\n \"allowedFamilies\": [],\n \"allowedTiers\": [\n \"maximal copyleft\"\n ],\n \"allowedStrings\": [\n \"Parity-6.0.0\",\n \"QPL-1.0-INRIA-2004\",\n \"QPL-1.0\",\n \"RPL-1.1\",\n \"RPL-1.5\"\n ],\n \"allowedPURLs\": [],\n \"focusAlertsHere\": false\n}\n```\n\nThis may be helpful for users who want to compose more complex sets of allowed license data via\nthe \"allowedStrings\" property, or for users who want to know more about the contents of a particular\nlicense group (family, tier, or approval source).\n\n## Allow List Schema\n\n```json\n```\n\nwhere\n\nPermissiveTier ::= \"model permissive\" | \"gold\" | \"silver\" | \"bronze\" | \"lead\"\nCopyleftTier ::= \"maximal copyleft\" | \"network copyleft\" | \"strong copyleft\" | \"weak copyleft\"\n\n## Return Value\n\nThe returned value has the same shape as a license allow list:\n\n```json\n{\n allowedApprovalSources?: Array<\"fsf\" | \"osi\">,\n allowedFamilies?: Array<\"copyleft\" | \"permissive\">,\n allowedTiers?: Array,\n allowedStrings?: Array\n allowedPURLs?: Array\n focusAlertsHere?: boolean\n}\n```\n\nwhere\n\nPermissiveTier ::= \"model permissive\" | \"gold\" | \"silver\" | \"bronze\" | \"lead\"\nCopyleftTier ::= \"maximal copyleft\" | \"network copyleft\" | \"strong copyleft\" | \"weak copyleft\"\n\nreaders can learn more about [copyleft tiers](https://blueoakcouncil.org/copyleft) and [permissive tiers](https://blueoakcouncil.org/list) by reading the linked resources.\n\n### Example request bodies:\n```json\n{\n \"allowedApprovalSources\": [\"fsf\"],\n \"allowedPURLs\": [],\n \"allowedFamilies\": [\"copyleft\"],\n \"allowedTiers\": [\"model permissive\"],\n \"allowedStrings\": [\"License :: OSI Approved :: BSD License\"],\n \"focusAlertsHere\": false\n}\n```\n\nThis endpoint consumes 100 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- packages:list", @@ -42147,7 +45945,10 @@ }, "/license-metadata": { "post": { - "tags": ["metadata", "license-policy"], + "tags": [ + "metadata", + "license-policy" + ], "summary": "License Metadata", "operationId": "licenseMetadata", "parameters": [ @@ -42194,7 +45995,11 @@ }, "/alert-types": { "post": { - "tags": ["metadata", "full-scans", "diff-scans"], + "tags": [ + "metadata", + "full-scans", + "diff-scans" + ], "summary": "Alert Types Metadata", "operationId": "alertTypes", "parameters": [ @@ -42205,7 +46010,14 @@ "description": "Language for alert metadata", "schema": { "type": "string", - "enum": ["ach-UG", "de-DE", "en-US", "es-ES", "fr-FR", "it-IT"], + "enum": [ + "ach-UG", + "de-DE", + "en-US", + "es-ES", + "fr-FR", + "it-IT" + ], "default": "en-US" } } @@ -42306,7 +46118,9 @@ }, "/openapi": { "get": { - "tags": ["metadata"], + "tags": [ + "metadata" + ], "summary": "Returns the OpenAPI definition", "operationId": "getOpenAPI", "security": [], @@ -42327,7 +46141,9 @@ }, "/openapi.json": { "get": { - "tags": ["metadata"], + "tags": [ + "metadata" + ], "summary": "Returns the OpenAPI definition", "operationId": "getOpenAPIJSON", "security": [], @@ -42348,7 +46164,9 @@ }, "/quota": { "get": { - "tags": ["api-tokens"], + "tags": [ + "api-tokens" + ], "summary": "Get quota", "operationId": "getQuota", "security": [ @@ -42388,7 +46206,11 @@ "nullable": true } }, - "required": ["maxQuota", "nextWindowRefresh", "quota"] + "required": [ + "maxQuota", + "nextWindowRefresh", + "quota" + ] } } }, @@ -42409,7 +46231,9 @@ }, "/organizations": { "get": { - "tags": ["api-tokens"], + "tags": [ + "api-tokens" + ], "summary": "List organizations", "operationId": "getOrganizations", "security": [ @@ -42465,13 +46289,21 @@ "default": "" } }, - "required": ["id", "image", "name", "plan", "slug"] + "required": [ + "id", + "image", + "name", + "plan", + "slug" + ] }, "properties": {}, "description": "" } }, - "required": ["organizations"] + "required": [ + "organizations" + ] } } }, @@ -42492,7 +46324,9 @@ }, "/settings": { "post": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Calculate settings", "deprecated": true, "operationId": "postSettings", @@ -42550,13 +46384,19 @@ "properties": { "action": { "type": "string", - "enum": ["error", "ignore", "warn"] + "enum": [ + "error", + "ignore", + "warn" + ] } } } } }, - "required": ["issueRules"] + "required": [ + "issueRules" + ] }, "entries": { "type": "array", @@ -42598,20 +46438,31 @@ ] } }, - "required": ["action"] + "required": [ + "action" + ] } } }, - "required": ["deferTo", "issueRules"] + "required": [ + "deferTo", + "issueRules" + ] } } }, - "required": ["settings", "start"] + "required": [ + "settings", + "start" + ] }, "description": "" } }, - "required": ["defaults", "entries"] + "required": [ + "defaults", + "entries" + ] } } }, @@ -42635,7 +46486,9 @@ }, "/report/supported": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Get supported files for report", "deprecated": true, "operationId": "getReportSupportedFiles", @@ -42660,7 +46513,9 @@ "default": "" } }, - "required": ["pattern"] + "required": [ + "pattern" + ] }, "properties": {}, "description": "" @@ -42684,7 +46539,9 @@ }, "/report/delete/{id}": { "delete": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Delete a report", "deprecated": true, "operationId": "deleteReport", @@ -42701,10 +46558,14 @@ ], "security": [ { - "bearerAuth": ["report:write"] + "bearerAuth": [ + "report:write" + ] }, { - "basicAuth": ["report:write"] + "basicAuth": [ + "report:write" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference) instead.\n\nDeprecated: Use `/orgs/{org_slug}/full-scans` instead. Delete a specific project report generated with the GitHub app.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:write", @@ -42723,7 +46584,9 @@ "default": "ok" } }, - "required": ["status"] + "required": [ + "status" + ] } } }, @@ -42750,7 +46613,9 @@ }, "/report/list": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Get list of reports", "deprecated": true, "operationId": "getReportList", @@ -42776,10 +46641,14 @@ ], "security": [ { - "bearerAuth": ["report:list"] + "bearerAuth": [ + "report:list" + ] }, { - "basicAuth": ["report:list"] + "basicAuth": [ + "report:list" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference) instead.\n\nDeprecated: Use `/orgs/{org_slug}/full-scans` instead. Get all your project reports generated with the GitHub app.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:list", @@ -42873,7 +46742,9 @@ }, "/report/upload": { "put": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Create a report", "deprecated": true, "operationId": "createReport", @@ -42922,10 +46793,14 @@ }, "security": [ { - "bearerAuth": ["report:write"] + "bearerAuth": [ + "report:write" + ] }, { - "basicAuth": ["report:write"] + "basicAuth": [ + "report:write" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/createorgfullscan) instead.\n\nDeprecated: Use `/orgs/{org_slug}/full-scans` instead.\n\nUpload a lockfile to get your project analyzed by Socket.\nYou can upload multiple lockfiles in the same request, but each filename must be unique.\n\nThe name of the file must be in the supported list.\n\nFor example, these are valid filenames: `package.json`, `folder/package.json` and `deep/nested/folder/package.json`.\n\nThis endpoint consumes 100 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:write", @@ -42949,7 +46824,10 @@ "default": "" } }, - "required": ["id", "url"] + "required": [ + "id", + "url" + ] } } }, @@ -42976,7 +46854,9 @@ }, "/report/view/{id}": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "View a report", "deprecated": true, "operationId": "getReport", @@ -42993,10 +46873,14 @@ ], "security": [ { - "bearerAuth": ["report:read"] + "bearerAuth": [ + "report:read" + ] }, { - "basicAuth": ["report:read"] + "basicAuth": [ + "report:read" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/getorgfullscan) instead.\n\nDeprecated: Use `/orgs/{org_slug}/full-scans` instead. Get all the issues, packages, and scores related to an specific project report.\n\nThis endpoint consumes 10 units of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:read", @@ -43035,7 +46919,9 @@ }, "/repo/list": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "List GitHub repositories", "deprecated": true, "operationId": "getRepoList", @@ -43053,10 +46939,14 @@ ], "security": [ { - "bearerAuth": ["repo:list"] + "bearerAuth": [ + "repo:list" + ] }, { - "basicAuth": ["repo:list"] + "basicAuth": [ + "repo:list" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/getorgrepolist) instead.\n\nDeprecated: Use `/orgs/{org_slug}/repos` instead. Get all GitHub repositories associated with a Socket org.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- repo:list", @@ -43137,7 +47027,10 @@ "default": "" } }, - "required": ["created_at", "id"] + "required": [ + "created_at", + "id" + ] } }, "required": [ @@ -43155,7 +47048,9 @@ "description": "" } }, - "required": ["results"] + "required": [ + "results" + ] } } }, @@ -43182,7 +47077,9 @@ }, "/npm/{package}/{version}/issues": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Get issues by package", "deprecated": true, "operationId": "getIssuesByNPMPackage", @@ -43246,7 +47143,9 @@ }, "/npm/{package}/{version}/score": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Get score by package", "deprecated": true, "operationId": "getScoreByNPMPackage", @@ -43310,7 +47209,9 @@ }, "/analytics/org/{filter}": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Get organization analytics (unstable)", "deprecated": true, "operationId": "getOrgAnalytics", @@ -43327,10 +47228,14 @@ ], "security": [ { - "bearerAuth": ["report:write"] + "bearerAuth": [ + "report:write" + ] }, { - "basicAuth": ["report:write"] + "basicAuth": [ + "report:write" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/historicalalertstrend) instead.\n\nPlease implement against the [Historical dependencies](/reference/historicaldependenciestrend) or [Historical alerts](/reference/historicalalertstrend) endpoints.\n\nGet analytics data regarding the number of alerts found across all active repositories.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:write", @@ -43484,7 +47389,9 @@ }, "/analytics/repo/{name}/{filter}": { "get": { - "tags": ["deprecated"], + "tags": [ + "deprecated" + ], "summary": "Get repository analytics", "deprecated": true, "operationId": "getRepoAnalytics", @@ -43510,10 +47417,14 @@ ], "security": [ { - "bearerAuth": ["report:write"] + "bearerAuth": [ + "report:write" + ] }, { - "basicAuth": ["report:write"] + "basicAuth": [ + "report:write" + ] } ], "description": "**This endpoint is deprecated.** Use the [successor version](https://docs.socket.dev/reference/historicalalertstrend) instead.\n\nPlease implement against the [Historical dependencies](/reference/historicaldependenciestrend) or [Historical alerts](/reference/historicalalertstrend) endpoints.\n\nGet analytics data regarding the number of alerts found in a single repository.\n\nThis endpoint consumes 1 unit of your quota.\n\nThis endpoint requires the following org token scopes:\n- report:write", @@ -43666,4 +47577,4 @@ } } } -} +} \ No newline at end of file diff --git a/src/types-strict.ts b/src/types-strict.ts index ecfe04ff..a138e32f 100644 --- a/src/types-strict.ts +++ b/src/types-strict.ts @@ -1,9 +1,10 @@ /** - * @file Strict type definitions for Socket SDK v3. AUTO-GENERATED from OpenAPI - * definitions using AST parsing - DO NOT EDIT MANUALLY. These types provide - * better TypeScript DX by marking guaranteed fields as required and only - * keeping truly optional fields as optional. Generated by: - * scripts/generate-strict-types.mts. + * @fileoverview Strict type definitions for Socket SDK v3. + * AUTO-GENERATED from OpenAPI definitions using AST parsing - DO NOT EDIT MANUALLY. + * These types provide better TypeScript DX by marking guaranteed fields as required + * and only keeping truly optional fields as optional. + * + * Generated by: scripts/generate-strict-types.mts */ /* c8 ignore start - Type definitions only, no runtime code to test. */ @@ -11,388 +12,361 @@ * Options for create full scan. */ export type CreateFullScanOptions = { - branch?: string | undefined - commit_hash?: string | undefined - commit_message?: string | undefined - committers?: string | undefined - integration_org_slug?: string | undefined - integration_type?: - | 'api' - | 'github' - | 'gitlab' - | 'bitbucket' - | 'azure' - | 'web' - | undefined - make_default_branch?: boolean | undefined - pathsRelativeTo?: string | undefined - pull_request?: number | undefined - repo: string - scan_type?: string | undefined - set_as_pending_head?: boolean | undefined - tmp?: boolean | undefined - workspace?: string | undefined -} + branch?: string | undefined; + commit_hash?: string | undefined; + commit_message?: string | undefined; + committers?: string | undefined; + integration_org_slug?: string | undefined; + integration_type?: "api" | "github" | "gitlab" | "bitbucket" | "azure" | "web" | undefined; + make_default_branch?: boolean | undefined; + pathsRelativeTo?: string | undefined; + pull_request?: number | undefined; + repo: string; + scan_type?: string | undefined; + set_as_pending_head?: boolean | undefined; + tmp?: boolean | undefined; + workspace?: string | undefined; +}; /** * Strict type for full scan item. */ export type FullScanItem = { - api_url: string | null - branch?: string | null | undefined - commit_hash?: string | null | undefined - commit_message?: string | null | undefined - committers?: string[] | undefined - created_at: string - html_report_url: string - html_url?: string | null | undefined - id: string - integration_branch_url?: string | null | undefined - integration_commit_url?: string | null | undefined - integration_pull_request_url?: string | null | undefined - integration_repo_url: string - integration_type: string | null - organization_id: string - organization_slug: string - pull_request?: number | null | undefined - repo: string - repository_id: string - repository_slug: string - scan_state?: 'pending' | 'precrawl' | 'resolve' | 'scan' | null | undefined - scan_type?: string | null | undefined - updated_at: string - workspace?: string | undefined -} + api_url: string | null; + branch?: string | null | undefined; + commit_hash?: string | null | undefined; + commit_message?: string | null | undefined; + committers?: string[] | undefined; + created_at: string; + html_report_url: string; + html_url?: string | null | undefined; + id: string; + integration_branch_url?: string | null | undefined; + integration_commit_url?: string | null | undefined; + integration_pull_request_url?: string | null | undefined; + integration_repo_url: string; + integration_type: string | null; + organization_id: string; + organization_slug: string; + pull_request?: number | null | undefined; + repo: string; + repository_id: string; + repository_slug: string; + scan_state?: "pending" | "precrawl" | "resolve" | "scan" | null | undefined; + scan_type?: string | null | undefined; + updated_at: string; + workspace?: string | undefined; +}; /** * Strict type for full scan list data. */ export type FullScanListData = { - nextPage?: number | null | undefined - nextPageCursor?: string | null | undefined - results: FullScanItem[] -} + nextPage?: number | null | undefined; + nextPageCursor?: string | null | undefined; + results: FullScanItem[]; +}; /** * Options for get repository. */ export type GetRepositoryOptions = { - workspace?: string | undefined -} + workspace?: string | undefined; +}; /** * Options for list full scans. */ export type ListFullScansOptions = { - branch?: string | undefined - commit_hash?: string | undefined - direction?: 'asc' | 'desc' | undefined - from?: string | undefined - page?: number | undefined - per_page?: number | undefined - pull_request?: string | undefined - repo?: string | undefined - scan_type?: string | undefined - sort?: 'name' | 'created_at' | undefined - startAfterCursor?: string | undefined - use_cursor?: boolean | undefined - workspace?: string | undefined -} + branch?: string | undefined; + commit_hash?: string | undefined; + direction?: "asc" | "desc" | undefined; + from?: string | undefined; + page?: number | undefined; + per_page?: number | undefined; + pull_request?: string | undefined; + repo?: string | undefined; + scan_type?: string | undefined; + sort?: "name" | "created_at" | undefined; + startAfterCursor?: string | undefined; + use_cursor?: boolean | undefined; + workspace?: string | undefined; +}; /** * Options for list repositories. */ export type ListRepositoriesOptions = { - direction?: string | undefined - include_archived?: boolean | undefined - page?: number | undefined - per_page?: number | undefined - sort?: string | undefined - workspace?: string | undefined -} + direction?: string | undefined; + include_archived?: boolean | undefined; + page?: number | undefined; + per_page?: number | undefined; + sort?: string | undefined; + workspace?: string | undefined; +}; /** * Strict type for organization item. */ export type OrganizationItem = { - id: string - image?: string | null | undefined - name?: string | null | undefined - plan: string - slug: string -} + id: string; + image?: string | null | undefined; + name?: string | null | undefined; + plan: string; + slug: string; +}; /** * Strict type for repositories list data. */ export type RepositoriesListData = { - nextPage?: number | null | undefined - results: RepositoryListItem[] -} + nextPage?: number | null | undefined; + results: RepositoryListItem[]; +}; /** * Strict type for repository list item. */ export type RepositoryListItem = { - archived: boolean - created_at: string - default_branch: string | null - description: string | null - head_full_scan_id: string | null - homepage: string | null - html_url?: string | undefined - id: string + archived: boolean; + created_at: string; + default_branch: string | null; + description: string | null; + head_full_scan_id: string | null; + homepage: string | null; + html_url?: string | undefined; + id: string; integration_meta?: | { - /** - * @enum {string} - */ - type?: 'github' | undefined - value?: - | { - /** - * The GitHub installation_id of the active associated Socket - * GitHub App. - * - * @default - */ - installation_id: string - /** - * The GitHub login name that the active Socket GitHub App - * installation is installed to. - * - * @default - */ - installation_login: string - /** - * The name of the associated GitHub repo. - * - * @default - */ - repo_name: string | null - /** - * The id of the associated GitHub repo. - * - * @default - */ - repo_id: string | null - } - | undefined - } - | null - | undefined - name: string - slug: string - updated_at: string - visibility: 'public' | 'private' - workspace: string -} - -/** - * Strict type for repository item. - */ -export type RepositoryItem = { - archived: boolean - created_at: string - default_branch: string | null - description: string | null - head_full_scan_id: string | null - homepage: string | null - html_url?: string | undefined - id: string - integration_meta: { - /** - * @enum {string} - */ - type?: 'github' | undefined - value?: - | { + /** @enum {string} */ + type?: "github"; + value?: { /** - * The GitHub installation_id of the active associated Socket GitHub - * App. - * + * @description The GitHub installation_id of the active associated Socket GitHub App * @default */ - installation_id: string + installation_id: string; /** - * The GitHub login name that the active Socket GitHub App - * installation is installed to. - * + * @description The GitHub login name that the active Socket GitHub App installation is installed to * @default */ - installation_login: string + installation_login: string; /** - * The name of the associated GitHub repo. - * + * @description The name of the associated GitHub repo. * @default */ - repo_name: string | null + repo_name: string | null; /** - * The id of the associated GitHub repo. - * + * @description The id of the associated GitHub repo. * @default */ - repo_id: string | null - } - | undefined - } | null - name: string - slig: string - slug: string - updated_at: string - visibility: 'public' | 'private' - workspace: string -} + repo_id: string | null; + }; + } + | null + | undefined; + name: string; + slug: string; + updated_at: string; + visibility: "public" | "private"; + workspace: string; +}; + +/** + * Strict type for repository item. + */ +export type RepositoryItem = { + archived: boolean; + created_at: string; + default_branch: string | null; + description: string | null; + head_full_scan_id: string | null; + homepage: string | null; + html_url?: string | undefined; + id: string; + integration_meta: { + /** @enum {string} */ + type?: "github"; + value?: { + /** + * @description The GitHub installation_id of the active associated Socket GitHub App + * @default + */ + installation_id: string; + /** + * @description The GitHub login name that the active Socket GitHub App installation is installed to + * @default + */ + installation_login: string; + /** + * @description The name of the associated GitHub repo. + * @default + */ + repo_name: string | null; + /** + * @description The id of the associated GitHub repo. + * @default + */ + repo_id: string | null; + }; + } | null; + name: string; + slig: string; + slug: string; + updated_at: string; + visibility: "public" | "private"; + workspace: string; +}; /** * Strict type for repository label item. */ export type RepositoryLabelItem = { - has_license_policy?: boolean | undefined - has_security_policy?: boolean | undefined - id: string - name: string - repository_ids?: string[] | undefined -} + has_license_policy?: boolean | undefined; + has_security_policy?: boolean | undefined; + id: string; + name: string; + repository_ids?: string[] | undefined; +}; /** * Strict type for repository labels list data. */ export type RepositoryLabelsListData = { - nextPage?: number | null | undefined - results: RepositoryLabelItem[] -} + nextPage?: number | null | undefined; + results: RepositoryLabelItem[]; +}; /** * Error result type for all SDK operations. */ export type StrictErrorResult = { - cause?: string | undefined - data?: undefined | undefined - error: string - status: number - success: false -} + cause?: string | undefined; + data?: undefined | undefined; + error: string; + status: number; + success: false; +}; /** * Generic strict result type combining success and error. */ export type StrictResult = | { - cause?: undefined | undefined - data: T - error?: undefined | undefined - status: number - success: true + cause?: undefined | undefined; + data: T; + error?: undefined | undefined; + status: number; + success: true; } - | StrictErrorResult + | StrictErrorResult; /** * Strict type for full scan list result. */ export type FullScanListResult = { - cause?: undefined | undefined - data: FullScanListData - error?: undefined | undefined - status: number - success: true -} + cause?: undefined | undefined; + data: FullScanListData; + error?: undefined | undefined; + status: number; + success: true; +}; /** * Strict type for single full scan result. */ export type FullScanResult = { - cause?: undefined | undefined - data: FullScanItem - error?: undefined | undefined - status: number - success: true -} + cause?: undefined | undefined; + data: FullScanItem; + error?: undefined | undefined; + status: number; + success: true; +}; /** * Options for streaming a full scan. */ export type StreamFullScanOptions = { - output?: boolean | string | undefined -} + output?: boolean | string | undefined; +}; /** * Strict type for organizations list result. */ export type OrganizationsResult = { - cause?: undefined | undefined + cause?: undefined | undefined; data: { - organizations: OrganizationItem[] - } - error?: undefined | undefined - status: number - success: true -} + organizations: OrganizationItem[]; + }; + error?: undefined | undefined; + status: number; + success: true; +}; /** * Strict type for repositories list result. */ export type RepositoriesListResult = { - cause?: undefined | undefined - data: RepositoriesListData - error?: undefined | undefined - status: number - success: true -} + cause?: undefined | undefined; + data: RepositoriesListData; + error?: undefined | undefined; + status: number; + success: true; +}; /** * Strict type for delete operation result. */ export type DeleteResult = { - cause?: undefined | undefined - data: { success: boolean } - error?: undefined | undefined - status: number - success: true -} + cause?: undefined | undefined; + data: { success: boolean }; + error?: undefined | undefined; + status: number; + success: true; +}; /** * Strict type for single repository result. */ export type RepositoryResult = { - cause?: undefined | undefined - data: RepositoryItem - error?: undefined | undefined - status: number - success: true -} + cause?: undefined | undefined; + data: RepositoryItem; + error?: undefined | undefined; + status: number; + success: true; +}; /** * Strict type for repository labels list result. */ export type RepositoryLabelsListResult = { - cause?: undefined | undefined - data: RepositoryLabelsListData - error?: undefined | undefined - status: number - success: true -} + cause?: undefined | undefined; + data: RepositoryLabelsListData; + error?: undefined | undefined; + status: number; + success: true; +}; /** * Strict type for single repository label result. */ export type RepositoryLabelResult = { - cause?: undefined | undefined - data: RepositoryLabelItem - error?: undefined | undefined - status: number - success: true -} + cause?: undefined | undefined; + data: RepositoryLabelItem; + error?: undefined | undefined; + status: number; + success: true; +}; /** * Strict type for delete repository label result. */ export type DeleteRepositoryLabelResult = { - cause?: undefined | undefined - data: { status: string } - error?: undefined | undefined - status: number - success: true -} + cause?: undefined | undefined; + data: { status: string }; + error?: undefined | undefined; + status: number; + success: true; +}; /* c8 ignore stop */ diff --git a/types/api.d.ts b/types/api.d.ts index 3ba07fd5..4ae1c09d 100644 --- a/types/api.d.ts +++ b/types/api.d.ts @@ -144,7 +144,7 @@ export interface paths { * scan including all SBOM artifacts. To get a list of supported filetypes * that can be uploaded in a full-scan, see the [Get supported file * types](/reference/getsupportedfiles) endpoint. The maximum number of - * files you can upload at a time is 5000 and each file can be no bigger + * files you can upload at a time is 10000 and each file can be no bigger * than 268 MB. **Query Parameters:** * * - `scan_type` (optional): The type of scan to perform. Defaults to @@ -235,7 +235,7 @@ export interface paths { * the scan. If you upload multiple archives in a single request, the * manifests from every archive are merged into one full scan. The response * includes any files that were ignored. The maximum combined number of - * files extracted from your upload is 5000 and each extracted file can be + * files extracted from your upload is 10000 and each extracted file can be * no bigger than 268 MB. This endpoint consumes 1 unit of your quota. This * endpoint requires the following org token scopes: * @@ -384,7 +384,7 @@ export interface paths { * new full scan from uploaded manifest files. Returns metadata about the * diff scan. Once the diff scan is created, fetch the diff scan from the * [api_url](/reference/getDiffScanById) URL to get the contents of the - * diff. The maximum number of files you can upload at a time is 5000 and + * diff. The maximum number of files you can upload at a time is 10000 and * each file can be no bigger than 268 MB. This endpoint consumes 1 unit of * your quota. This endpoint requires the following org token scopes: * @@ -552,20 +552,21 @@ export interface paths { * * Retrieve the setting (e.g. security/license policy) for a repository * label. Note that repository label settings currently only support - * `issueRules` and `issueRulesPolicyDefault`. A policy is considered - * "active" for a given repository label if the `issueRulesPolicyDefault` is - * set, and inactive when not set. `issueRules` can be used to further - * refine the alert triage strategy. This endpoint consumes 1 unit of your - * quota. This endpoint requires the following org token scopes: - - * repo-label:list. + * `issueRules`, `issueRulesPolicyDefault`, `licensePolicy`, and + * `recentlyPublishedThresholdMs`. A policy is considered "active" for a + * given repository label if the `issueRulesPolicyDefault` is set, and + * inactive when not set. `issueRules` can be used to further refine the + * alert triage strategy. This endpoint consumes 1 unit of your quota. This + * endpoint requires the following org token scopes: - repo-label:list. */ get: operations['getOrgRepoLabelSetting'] /** * Update repository label setting (beta) * * Update the setting (e.g. security/license policy) for a repository label. - * Note that repository label settings currently only support `issueRules` - * and `issueRulesPolicyDefault`. A policy is considered "active" for a + * Note that repository label settings currently only support `issueRules`, + * `issueRulesPolicyDefault`, `licensePolicy`, and + * `recentlyPublishedThresholdMs`. A policy is considered "active" for a * given repository label if the `issueRulesPolicyDefault` is set, and * inactive when not set. `issueRules` can be used to further refine the * alert triage strategy. This endpoint consumes 1 unit of your quota. This @@ -576,8 +577,9 @@ export interface paths { * Delete repository label setting (beta) * * Delete the setting (e.g. security/license policy) for a repository label. - * Note that repository label settings currently only support `issueRules` - * and `issueRulesPolicyDefault`. A policy is considered "active" for a + * Note that repository label settings currently only support `issueRules`, + * `issueRulesPolicyDefault`, `licensePolicy`, and + * `recentlyPublishedThresholdMs`. A policy is considered "active" for a * given repository label if the `issueRulesPolicyDefault` is set, and * inactive when not set. `issueRules` can be used to further refine the * alert triage strategy. This endpoint consumes 1 unit of your quota. This @@ -1119,9 +1121,30 @@ export interface paths { * - `publishedAt`: string (ISO date) * - `kev`: boolean - Whether it's a Known Exploited Vulnerability * - `epss`: number | null - Exploit Prediction Scoring System score - * - `affectedPurls`: Array of affected packages with version ranges This - * endpoint consumes 10 units of your quota. This endpoint requires the - * following org token scopes: + * - `affectedPurls`: Array of affected packages with version ranges + * + * ### Stateful Alert IDs (when include_stateful_alert_ids=true) + * + * Top-level `statefulAlertIds` field — a map of GHSA ID → array of open + * stateful alert IDs (the human-readable `SOCKET-XXX-N` identifiers also + * returned by `/v0/orgs/{org_slug}/alerts`). The lookup is org-scoped, so + * the same GHSA may map to multiple alert IDs when it appears in alerts + * across different repos or branches. Callers that need a repo/branch + * filter should intersect this map with results from the alerts API. The + * lookup honors the same scan-type visibility as + * `/v0/orgs/{org_slug}/alerts` — when the `enableTier1OrgAlertApiRead` + * feature flag is off for the org, only `socket` scans are visible (no + * `socket_tier1`). Note on scopes: this field surfaces identifiers that are + * otherwise reachable via `/v0/orgs/{org_slug}/alerts` (which requires + * `alerts:list`). The fixes route is gated on `fixes:list` alone; the GHSAs + * the alert IDs are keyed to are already part of every `/fixes` response, + * and exposing the matching alert IDs through this opt-in flag is + * intentional — it lets a caller with only `fixes:list` complete the + * correlation back to /alerts on a token that already has that scope. If + * you require strict scope separation, do not enable this flag. This + * endpoint consumes 10 units of your quota. This endpoint requires the + * following org token scopes: + * * - Fixes:list */ get: operations['fetch-fixes'] @@ -2411,8 +2434,7 @@ export interface components { */ supplyChain: number /** - * Score from 0.0 to 1.0 based on known vulnerabilities and their - * severity. + * Score from 0.0 to 1.0 based on known vulnerabilities and their severity. * * @default 0 */ @@ -4289,6 +4311,12 @@ export interface components { * @default */ checkedAt: string + /** + * Org-configured recently published threshold in days. + * + * @default 0 + */ + thresholdDays: number } usage?: components['schemas']['SocketUsageRef'] } @@ -7769,7 +7797,7 @@ export interface operations { * scan including all SBOM artifacts. To get a list of supported filetypes * that can be uploaded in a full-scan, see the [Get supported file * types](/reference/getsupportedfiles) endpoint. The maximum number of files - * you can upload at a time is 5000 and each file can be no bigger than 268 + * you can upload at a time is 10000 and each file can be no bigger than 268 * MB. **Query Parameters:** * * - `scan_type` (optional): The type of scan to perform. Defaults to 'socket'. @@ -8086,8 +8114,7 @@ export interface operations { * Delete full scan. * * Delete an existing full scan. This endpoint consumes 1 unit of your quota. - * This endpoint requires the following org token scopes: - - * full-scans:delete. + * This endpoint requires the following org token scopes: - full-scans:delete. */ deleteOrgFullScan: { parameters: { @@ -8670,7 +8697,7 @@ export interface operations { * scan. If you upload multiple archives in a single request, the manifests * from every archive are merged into one full scan. The response includes any * files that were ignored. The maximum combined number of files extracted - * from your upload is 5000 and each extracted file can be no bigger than 268 + * from your upload is 10000 and each extracted file can be no bigger than 268 * MB. This endpoint consumes 1 unit of your quota. This endpoint requires the * following org token scopes: * @@ -9646,8 +9673,7 @@ export interface operations { * Delete diff scan. * * Delete an existing diff scan. This endpoint consumes 1 unit of your quota. - * This endpoint requires the following org token scopes: - - * diff-scans:delete. + * This endpoint requires the following org token scopes: - diff-scans:delete. */ deleteOrgDiffScan: { parameters: { @@ -9899,7 +9925,7 @@ export interface operations { * new full scan from uploaded manifest files. Returns metadata about the diff * scan. Once the diff scan is created, fetch the diff scan from the * [api_url](/reference/getDiffScanById) URL to get the contents of the diff. - * The maximum number of files you can upload at a time is 5000 and each file + * The maximum number of files you can upload at a time is 10000 and each file * can be no bigger than 268 MB. This endpoint consumes 1 unit of your quota. * This endpoint requires the following org token scopes: * @@ -10202,6 +10228,11 @@ export interface operations { * an open PR between unmerged commits. */ merge?: boolean + /** + * Set to "redirect" to receive a 302 redirect to the existing diff scan + * instead of a 409 error when a duplicate is detected. + */ + on_duplicate?: string } path: { /** @@ -10372,6 +10403,168 @@ export interface operations { } } } + /** + * Redirects to the existing diff scan when on_duplicate=redirect is set + * and a duplicate is detected. + */ + 302: { + content: { + 'application/json': { + diff_scan: { + /** + * @default + */ + id: string + /** + * @default + */ + organization_id: string + /** + * @default + */ + repository_id: string + /** + * @default + */ + created_at: string + /** + * @default + */ + updated_at: string + before_full_scan: { + /** + * @default + */ + id: string + /** + * @default + */ + created_at: string + /** + * @default + */ + updated_at: string + /** + * @default + */ + organization_id: string + /** + * @default + */ + organization_slug: string + /** + * @default + */ + repository_id: string + /** + * @default + */ + repository_slug: string + /** + * @default + */ + branch: string | null + /** + * @default + */ + commit_message: string | null + /** + * @default + */ + commit_hash: string | null + /** + * @default 0 + */ + pull_request: number | null + committers: string[] + /** + * @default + */ + html_url: string | null + /** + * @default + */ + api_url: string | null + } + after_full_scan: { + /** + * @default + */ + id: string + /** + * @default + */ + created_at: string + /** + * @default + */ + updated_at: string + /** + * @default + */ + organization_id: string + /** + * @default + */ + organization_slug: string + /** + * @default + */ + repository_id: string + /** + * @default + */ + repository_slug: string + /** + * @default + */ + branch: string | null + /** + * @default + */ + commit_message: string | null + /** + * @default + */ + commit_hash: string | null + /** + * @default 0 + */ + pull_request: number | null + committers: string[] + /** + * @default + */ + html_url: string | null + /** + * @default + */ + api_url: string | null + } + /** + * @default + */ + description: string | null + /** + * @default + */ + external_href: string | null + /** + * @default false + */ + merge: boolean + /** + * @default + */ + html_url: string | null + /** + * @default + */ + api_url: string | null + } + } + } + } 400: components['responses']['SocketBadRequest'] 401: components['responses']['SocketUnauthorized'] 403: components['responses']['SocketForbidden'] @@ -10462,8 +10655,8 @@ export interface operations { */ alert_key?: string | null /** - * The alert type (e.g., criticalCVE, highCVE) associated with the - * triage state. + * The alert type (e.g., criticalCVE, highCVE) associated with + * the triage state. * * @default */ @@ -10593,15 +10786,15 @@ export interface operations { 'application/json': { alertTriage: Array<{ /** - * The UUID of the triage entry. Omit to create a new entry; provide - * to update an existing one. + * The UUID of the triage entry. Omit to create a new entry; + * provide to update an existing one. * * @default */ uuid?: string | null /** - * The package ecosystem type (e.g., npm, pypi). Use null or "*" for - * wildcard. + * The package ecosystem type (e.g., npm, pypi). Use null or "*" + * for wildcard. * * @default */ @@ -10831,8 +11024,8 @@ export interface operations { type?: 'github' value?: { /** - * The GitHub installation_id of the active associated Socket - * GitHub App. + * The GitHub installation_id of the active associated + * Socket GitHub App. * * @default */ @@ -12119,8 +12312,9 @@ export interface operations { * Get repository label setting (beta) * * Retrieve the setting (e.g. security/license policy) for a repository label. - * Note that repository label settings currently only support `issueRules` and - * `issueRulesPolicyDefault`. A policy is considered "active" for a given + * Note that repository label settings currently only support `issueRules`, + * `issueRulesPolicyDefault`, `licensePolicy`, and + * `recentlyPublishedThresholdMs`. A policy is considered "active" for a given * repository label if the `issueRulesPolicyDefault` is set, and inactive when * not set. `issueRules` can be used to further refine the alert triage * strategy. This endpoint consumes 1 unit of your quota. This endpoint @@ -12131,7 +12325,8 @@ export interface operations { query: { /** * Setting key to query for in the repository label. Valid values - * include issueRules, issueRulesPolicyDefault, and licensePolicy. + * include issueRules, issueRulesPolicyDefault, licensePolicy, and + * recentlyPublishedThresholdMs. */ setting_key: string } @@ -13261,6 +13456,13 @@ export interface operations { * @default null */ licensePolicy?: Record | null + /** + * The recently published package alert threshold for the repository + * label, in milliseconds. + * + * @default 0 + */ + recentlyPublishedThresholdMs?: number | null } } } @@ -13275,8 +13477,9 @@ export interface operations { * Update repository label setting (beta) * * Update the setting (e.g. security/license policy) for a repository label. - * Note that repository label settings currently only support `issueRules` and - * `issueRulesPolicyDefault`. A policy is considered "active" for a given + * Note that repository label settings currently only support `issueRules`, + * `issueRulesPolicyDefault`, `licensePolicy`, and + * `recentlyPublishedThresholdMs`. A policy is considered "active" for a given * repository label if the `issueRulesPolicyDefault` is set, and inactive when * not set. `issueRules` can be used to further refine the alert triage * strategy. This endpoint consumes 1 unit of your quota. This endpoint @@ -14397,6 +14600,13 @@ export interface operations { */ issueRulesPolicyDefault?: 'default' | 'low' | 'medium' | 'high' licensePolicy?: components['schemas']['LicenseAllowListRequest'] + /** + * The recently published package alert threshold for the repository + * label, in milliseconds. + * + * @default 0 + */ + recentlyPublishedThresholdMs?: number | null } } } @@ -14425,8 +14635,9 @@ export interface operations { * Delete repository label setting (beta) * * Delete the setting (e.g. security/license policy) for a repository label. - * Note that repository label settings currently only support `issueRules` and - * `issueRulesPolicyDefault`. A policy is considered "active" for a given + * Note that repository label settings currently only support `issueRules`, + * `issueRulesPolicyDefault`, `licensePolicy`, and + * `recentlyPublishedThresholdMs`. A policy is considered "active" for a given * repository label if the `issueRulesPolicyDefault` is set, and inactive when * not set. `issueRules` can be used to further refine the alert triage * strategy. This endpoint consumes 1 unit of your quota. This endpoint @@ -14437,7 +14648,8 @@ export interface operations { query: { /** * Setting key to delete from the repository label. Valid values include - * issueRules, issueRulesPolicyDefault, and licensePolicy. + * issueRules, issueRulesPolicyDefault, licensePolicy, and + * recentlyPublishedThresholdMs. */ setting_key: string } @@ -18745,8 +18957,7 @@ export interface operations { * List historical alerts (Beta) * * List historical alerts. This endpoint consumes 10 units of your quota. This - * endpoint requires the following org token scopes: - - * historical:alerts-list. + * endpoint requires the following org token scopes: - historical:alerts-list. */ historicalAlertsList: { parameters: { @@ -20520,6 +20731,8 @@ export interface operations { | 'CoanaCliLegacyModeCutoffUpdated' | 'CoanaCliLegacyModeDemoteOrg' | 'CoanaCliLegacyModePromoteOrg' + | 'CreateAlertResolution' + | 'DeleteAlertResolution' | 'DeleteAlertTriage' | 'DeleteApiToken' | 'DeleteFirewallCustomRegistry' @@ -20551,6 +20764,8 @@ export interface operations { | 'SendInvitation' | 'SessionRevokedByUser' | 'SetLabelSettingToDefault' + | 'SetSsoBypassMemberships' + | 'SetSsoBypassRbacRoles' | 'SSOEmailVerificationCompleted' | 'SSOLoginCompleted' | 'SyncOrganization' @@ -20934,8 +21149,7 @@ export interface operations { * * Create an API Token. The API Token created must use a subset of permissions * the API token creating them. This endpoint consumes 10 units of your quota. - * This endpoint requires the following org token scopes: - - * api-tokens:create. + * This endpoint requires the following org token scopes: - api-tokens:create. */ postAPIToken: { parameters: { @@ -21168,8 +21382,7 @@ export interface operations { * * Update an API Token. The API Token created must use a subset of permissions * the API token creating them. This endpoint consumes 10 units of your quota. - * This endpoint requires the following org token scopes: - - * api-tokens:create. + * This endpoint requires the following org token scopes: - api-tokens:create. */ postAPITokenUpdate: { parameters: { @@ -22227,8 +22440,7 @@ export interface operations { } } /** - * Fetch fixes for vulnerabilities in a repository, scan, or uploaded - * manifest. + * Fetch fixes for vulnerabilities in a repository, scan, or uploaded manifest. * * Fetches available fixes for vulnerabilities in a repository, scan, or * uploaded manifest. Requires exactly one of repo_slug, full_scan_id, or @@ -22300,9 +22512,29 @@ export interface operations { * - `publishedAt`: string (ISO date) * - `kev`: boolean - Whether it's a Known Exploited Vulnerability * - `epss`: number | null - Exploit Prediction Scoring System score - * - `affectedPurls`: Array of affected packages with version ranges This - * endpoint consumes 10 units of your quota. This endpoint requires the - * following org token scopes: + * - `affectedPurls`: Array of affected packages with version ranges + * + * ### Stateful Alert IDs (when include_stateful_alert_ids=true) + * + * Top-level `statefulAlertIds` field — a map of GHSA ID → array of open + * stateful alert IDs (the human-readable `SOCKET-XXX-N` identifiers also + * returned by `/v0/orgs/{org_slug}/alerts`). The lookup is org-scoped, so the + * same GHSA may map to multiple alert IDs when it appears in alerts across + * different repos or branches. Callers that need a repo/branch filter should + * intersect this map with results from the alerts API. The lookup honors the + * same scan-type visibility as `/v0/orgs/{org_slug}/alerts` — when the + * `enableTier1OrgAlertApiRead` feature flag is off for the org, only `socket` + * scans are visible (no `socket_tier1`). Note on scopes: this field surfaces + * identifiers that are otherwise reachable via `/v0/orgs/{org_slug}/alerts` + * (which requires `alerts:list`). The fixes route is gated on `fixes:list` + * alone; the GHSAs the alert IDs are keyed to are already part of every + * `/fixes` response, and exposing the matching alert IDs through this opt-in + * flag is intentional — it lets a caller with only `fixes:list` complete the + * correlation back to /alerts on a token that already has that scope. If you + * require strict scope separation, do not enable this flag. This endpoint + * consumes 10 units of your quota. This endpoint requires the following org + * token scopes: + * * - Fixes:list */ 'fetch-fixes': { @@ -22356,6 +22588,15 @@ export interface operations { * user which GHSAs actually exist when the request has no overlap. */ include_all_detected_ghsas?: boolean + /** + * Set to include a statefulAlertIds map (GHSA ID → array of open + * stateful alert IDs detected in this organization) in the response. + * Lets callers correlate /fixes results back to the alert IDs surfaced + * by /v0/orgs/{org_slug}/alerts. Org-scoped only — multiple alerts + * across repos/branches may share a GHSA. Off by default to avoid an + * extra ClickHouse round-trip. + */ + include_stateful_alert_ids?: boolean /** * The id of an autofix-or-upgrade-cli-run record (created via * /fixes/register-autofix-or-upgrade-cli-run) to associate this @@ -22390,6 +22631,17 @@ export interface operations { * include_all_detected_ghsas=true is set. */ allDetectedGhsas?: string[] + /** + * Map of GHSA ID → open stateful alert IDs detected in this + * organization. Lets callers correlate /fixes results back to the + * alert IDs they see in /v0/orgs/{org_slug}/alerts. Org-scoped, not + * repo/branch-scoped — the same GHSA may surface in multiple alerts + * across repos. Only present when include_stateful_alert_ids=true + * is set. + */ + statefulAlertIds?: { + [key: string]: string[] + } } } } @@ -23468,6 +23720,10 @@ export interface operations { */ severity: 'low' | 'medium' | 'high' | 'critical' locations: { + /** + * @default + */ + scanType: string /** * @default */ @@ -23647,8 +23903,8 @@ export interface operations { */ shell: boolean /** - * Package uses unsafe or dangerous operations that could - * compromise security. + * Package uses unsafe or dangerous operations that + * could compromise security. * * @default false */