-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Add support for additional response fields #2929
Copy link
Copy link
Closed
Description
The struct for parsing Secret Scanning Alerts :
go-github/github/secret_scanning.go
Lines 18 to 32 in fd33b81
| type SecretScanningAlert struct { | |
| Number *int `json:"number,omitempty"` | |
| CreatedAt *Timestamp `json:"created_at,omitempty"` | |
| URL *string `json:"url,omitempty"` | |
| HTMLURL *string `json:"html_url,omitempty"` | |
| LocationsURL *string `json:"locations_url,omitempty"` | |
| State *string `json:"state,omitempty"` | |
| Resolution *string `json:"resolution,omitempty"` | |
| ResolvedAt *Timestamp `json:"resolved_at,omitempty"` | |
| ResolvedBy *User `json:"resolved_by,omitempty"` | |
| SecretType *string `json:"secret_type,omitempty"` | |
| SecretTypeDisplayName *string `json:"secret_type_display_name,omitempty"` | |
| Secret *string `json:"secret,omitempty"` | |
| Repository *Repository `json:"repository,omitempty"` | |
| } |
does not support a few fields such as :
"push_protection_bypassed_by": null,
"push_protection_bypassed": false,
"push_protection_bypassed_at": null,
"resolution_comment": null
As always happy to create a PR if this is a valid issue 😃
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels