Queries
securityAdvisories
GitHub Security Advisories.
Type: SecurityAdvisoryConnection!
Arguments for securityAdvisories
| Name | Description |
|---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| A list of classifications to filter advisories by. |
| The EPSS percentage to filter advisories by. |
| The EPSS percentile to filter advisories by. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |
| Filter advisories to those published since a time in the past. |
| Filter advisories to those updated since a time in the past. |
securityAdvisory
Fetch a Security Advisory by its GHSA ID.
Type: SecurityAdvisory
Arguments for securityAdvisory
| Name | Description |
|---|---|
| GitHub Security Advisory ID. |
securityVulnerabilities
Software Vulnerabilities documented by GitHub Security Advisories.
Type: SecurityVulnerabilityConnection!
Arguments for securityVulnerabilities
| Name | Description |
|---|---|
| Returns the elements in the list that come after the specified cursor. |
| Returns the elements in the list that come before the specified cursor. |
| A list of advisory classifications to filter vulnerabilities by. |
| An ecosystem to filter vulnerabilities by. |
| Returns the first n elements from the list. |
| Returns the last n elements from the list. |
| A package name to filter vulnerabilities by. |
| A list of severities to filter vulnerabilities by. |
Objects
CVSS
The Common Vulnerability Scoring System.
Fields for CVSS
| Name | Description |
|---|---|
| The CVSS score associated with this advisory. |
| The CVSS vector string associated with this advisory. |
CvssSeverities
The Common Vulnerability Scoring System.
Fields for CvssSeverities
| Name | Description |
|---|---|
| The CVSS v3 severity associated with this advisory. |
| The CVSS v4 severity associated with this advisory. |
CWE
A common weakness enumeration.
CWE Implements
Fields for CWE
| Name | Description |
|---|---|
| The id of the CWE. |
| A detailed description of this CWE. |
| The Node ID of the CWE object. |
| The name of this CWE. |
CWEConnection
The connection type for CWE.
Fields for CWEConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
CWEEdge
An edge in a connection.
Fields for CWEEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
EPSS
The Exploit Prediction Scoring System.
Fields for EPSS
| Name | Description |
|---|---|
| The EPSS percentage represents the likelihood of a CVE being exploited. |
| The EPSS percentile represents the relative rank of the CVE's likelihood of being exploited compared to other CVEs. |
SecurityAdvisory
A GitHub Security Advisory.
SecurityAdvisory Implements
Fields for SecurityAdvisory
| Name | Description |
|---|---|
| The classification of the advisory. |
| The CVSS associated with this advisory. Warning
|
| The CVSS associated with this advisory. |
| CWEs associated with this Advisory. |
| Identifies the primary key from the database. |
| This is a long plaintext description of the advisory. |
| The Exploit Prediction Scoring System. |
| The GitHub Security Advisory ID. |
| The Node ID of the SecurityAdvisory object. |
| A list of identifiers for this advisory. |
| The permalink for the advisory's dependabot alerts page. |
| The organization that originated the advisory. |
| The permalink for the advisory. |
| When the advisory was published. |
| A list of references for this advisory. |
| The severity of the advisory. |
| A short plaintext summary of the advisory. |
| When the advisory was last updated. |
| Vulnerabilities associated with this Advisory. Arguments for
|
| When the advisory was withdrawn, if it has been withdrawn. |
SecurityAdvisoryConnection
The connection type for SecurityAdvisory.
Fields for SecurityAdvisoryConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
SecurityAdvisoryEdge
An edge in a connection.
Fields for SecurityAdvisoryEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
SecurityAdvisoryIdentifier
A GitHub Security Advisory Identifier.
Fields for SecurityAdvisoryIdentifier
| Name | Description |
|---|---|
| The identifier type, e.g. GHSA, CVE. |
| The identifier. |
SecurityAdvisoryPackage
An individual package.
Fields for SecurityAdvisoryPackage
| Name | Description |
|---|---|
| The ecosystem the package belongs to, e.g. RUBYGEMS, NPM. |
| The package name. |
SecurityAdvisoryPackageVersion
An individual package version.
Fields for SecurityAdvisoryPackageVersion
| Name | Description |
|---|---|
| The package name or version. |
SecurityAdvisoryReference
A GitHub Security Advisory Reference.
Fields for SecurityAdvisoryReference
| Name | Description |
|---|---|
| A publicly accessible reference. |
SecurityVulnerability
An individual vulnerability within an Advisory.
Fields for SecurityVulnerability
| Name | Description |
|---|---|
| The Advisory associated with this Vulnerability. |
| The first version containing a fix for the vulnerability. |
| A description of the vulnerable package. |
| The severity of the vulnerability within this package. |
| When the vulnerability was last updated. |
| A string that describes the vulnerable package versions. This string follows a basic syntax with a few forms.
|
SecurityVulnerabilityConnection
The connection type for SecurityVulnerability.
Fields for SecurityVulnerabilityConnection
| Name | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
SecurityVulnerabilityEdge
An edge in a connection.
Fields for SecurityVulnerabilityEdge
| Name | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
Enums
SecurityAdvisoryClassification
Classification of the advisory.
Values for SecurityAdvisoryClassification
| Name | Description |
|---|---|
GENERAL | Classification of general advisories. |
MALWARE | Classification of malware advisories. |
SecurityAdvisoryEcosystem
The possible ecosystems of a security vulnerability's package.
Values for SecurityAdvisoryEcosystem
| Name | Description |
|---|---|
ACTIONS | GitHub Actions. |
COMPOSER | PHP packages hosted at packagist.org. |
ERLANG | Erlang/Elixir packages hosted at hex.pm. |
GO | Go modules. |
MAVEN | Java artifacts hosted at the Maven central repository. |
NPM | JavaScript packages hosted at npmjs.com. |
NUGET | .NET packages hosted at the NuGet Gallery. |
PIP | Python packages hosted at PyPI.org. |
PUB | Dart packages hosted at pub.dev. |
RUBYGEMS | Ruby gems hosted at RubyGems.org. |
RUST | Rust crates. |
SWIFT | Swift packages. |
SecurityAdvisorySeverity
Severity of the vulnerability.
Values for SecurityAdvisorySeverity
| Name | Description |
|---|---|
CRITICAL | Critical. |
HIGH | High. |
LOW | Low. |
MODERATE | Moderate. |