You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: github/code-scanning.go
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,12 @@ type AlertListOptions struct {
122
122
// Return code scanning alerts for a specific branch reference. The ref must be formatted as heads/<branch name>.
123
123
Refstring`url:"ref,omitempty"`
124
124
125
+
// If specified, only code scanning alerts with this severity will be returned. Possible values are: critical, high, medium, low, warning, note, error.
126
+
Severitystring`url:"severity,omitempty"`
127
+
128
+
// The name of a code scanning tool. Only results by this tool will be listed.
129
+
ToolNamestring`url:"tool_name,omitempty"`
130
+
125
131
ListCursorOptions
126
132
127
133
// Add ListOptions so offset pagination with integer type "page" query parameter is accepted
0 commit comments