CodeScanAlert

class github.CodeScanAlert.CodeScanAlert

This class represents alerts from code scanning. The reference can be found here https://docs.github.com/en/rest/reference/code-scanning.

number
Type:int
rule
Type:
class:github.CodeScanRule.CodeScanRule
tool
Type:
class:github.CodeScanTool.CodeScanTool
created_at
Type:datetime
dismissed_at
Type:datetime
dismissed_by
Type:
class:github.NamedUser.NamedUser
dismissed_reason
Type:str
url
Type:string
html_url
Type:string
instances_url
Type:string
most_recent_instance
Type:
class:github.CodeScanAlertInstance.CodeScanAlertInstance
state
Type:str
get_instances()
Calls:GET on the URL for instances as provided by Github
Return type:github.PaginatedList.PaginatedList of github.CodeScanAlertInstance.CodeScanAlertInstance