Skip to content

Commit 2e9db79

Browse files
Update github/code-scanning.go
Co-authored-by: Stephen <stephengroat@users.noreply.github.com>
1 parent 3f8a640 commit 2e9db79

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

github/code-scanning.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ type Tool struct {
2424
Version *string `json:"version,omitempty"`
2525
}
2626

27+
// Alert represents an individual GitHub Code Scanning Alert on a single repository.
28+
//
29+
// GitHub API docs: https://docs.github.com/en/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository
2730
type Alert struct {
2831
RuleID *string `json:"rule_id,omitempty"`
2932
RuleSeverity *string `json:"rule_severity,omitempty"`

0 commit comments

Comments
 (0)