Security Advisories¶
SecurityAdvisories¶
- class ghastoolkit.SecurityAdvisories(repository: Repository | None = None)¶
Security Advisories.
- __init__(repository: Repository | None = None) None ¶
Security Advisories REST API.
https://docs.github.com/en/rest/security-advisories/repository-advisories
- createAdvisory(advisory: Advisory, repository: Repository | None = None)¶
Create a GitHub Security Advisories for a repository.
- createPrivateAdvisory(advisory: Advisory, repository: Repository | None = None)¶
Create a GitHub Security Advisories for a repository.
- getAdvisories() Advisories ¶
Get list of security advisories from a repository.
- updateAdvisory(advisory: Advisory, repository: Repository | None = None)¶
Update GitHub Security Advisory.