You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: align advisory ecosystem enums and document array clear limits
Share advisoryPackageEcosystemEnum across read/write tools so swift is
available everywhere, and document that credits/cweIds cannot be cleared
via update (empty arrays are rejected by design).
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/update_repository_security_advisory.snap
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@
4
4
"openWorldHint": true,
5
5
"title": "Update repository security advisory"
6
6
},
7
-
"description": "Update a repository security advisory, including publishing it. Severity and cvssVectorString cannot both be set.",
7
+
"description": "Update a repository security advisory, including publishing it. Severity and cvssVectorString cannot both be set. Omit credits and cweIds to leave them unchanged; empty arrays are rejected and clearing these fields is not supported.",
8
8
"inputSchema": {
9
9
"properties": {
10
10
"credits": {
11
-
"description": "Users credited for the advisory.",
11
+
"description": "Users credited for the advisory. Omit to leave unchanged; empty arrays are rejected and clearing this field is not supported.",
12
12
"items": {
13
13
"properties": {
14
14
"login": {
@@ -49,7 +49,7 @@
49
49
"type": "string"
50
50
},
51
51
"cweIds": {
52
-
"description": "Common Weakness Enumeration IDs (for example, [\"CWE-79\"]).",
52
+
"description": "Common Weakness Enumeration IDs (for example, [\"CWE-79\"]). Omit to leave unchanged; empty arrays are rejected and clearing this field is not supported.",
Description: t("TOOL_UPDATE_REPOSITORY_SECURITY_ADVISORY_DESCRIPTION", "Update a repository security advisory, including publishing it. Severity and cvssVectorString cannot both be set."),
491
+
Description: t("TOOL_UPDATE_REPOSITORY_SECURITY_ADVISORY_DESCRIPTION", "Update a repository security advisory, including publishing it. Severity and cvssVectorString cannot both be set. Omit credits and cweIds to leave them unchanged; empty arrays are rejected and clearing these fields is not supported."),
Description: "Common Weakness Enumeration IDs (for example, [\"CWE-79\"]).",
532
+
Description: "Common Weakness Enumeration IDs (for example, [\"CWE-79\"]). Omit to leave unchanged; empty arrays are rejected and clearing this field is not supported.",
0 commit comments