Skip to content

GitHub: Dependabot schemas

18 GitHub schemas with complete fields and constraints.

← Dependabot operations · All schemas

Get a Dependabot alert — response body

FieldTypePresenceDescription and constraints
$objectRootA Dependabot alert.
Additional keys: not allowed
assigneesarrayOptionalThe users assigned to this alert.
Read only: true
assignees[]ModelEach itemExpand List users — response body — item
auto_dismissed_atModelOptionalExpand Get a Dependabot alert — response body — auto dismissed at
created_atstringRequired within parentThe time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
dependencyModelRequired within parentExpand Get a Dependabot alert — response body — dependency
dismissal_requestModelOptionalExpand Get a Dependabot alert — response body — dismissal request
dismissed_atModelRequired within parentExpand Get a Dependabot alert — response body — dismissed at
dismissed_byModelRequired within parentExpand Get an issue — response body — user
dismissed_commentJSONRequired within parent
dismissed_comment (anyOf 1)stringAlternativeAn optional comment associated with the alert's dismissal.
Maximum length: 280
dismissed_comment (anyOf 2)nullAlternative
dismissed_reasonJSONRequired within parent
dismissed_reason (anyOf 1)stringAlternativeThe reason that the alert was dismissed.
Known values: fix_started, inaccurate, no_bandwidth, not_used, tolerable_risk
dismissed_reason (anyOf 2)nullAlternative
fixed_atModelRequired within parentExpand Get a Dependabot alert — response body — fixed at
html_urlstringRequired within parentThe GitHub URL of the alert resource.
Format: uri
Read only: true
numberModelRequired within parentExpand Get a Dependabot alert — response body — number
reachabilityModelOptionalExpand Get a Dependabot alert — response body — reachability
security_advisoryModelRequired within parentExpand Get a Dependabot alert — response body — security advisory
security_vulnerabilityModelRequired within parentExpand Get a Dependabot alert — response body — security vulnerability
statestringRequired within parentThe state of the Dependabot alert.
Known values: auto_dismissed, dismissed, fixed, open
Read only: true
updated_atstringRequired within parentThe time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
urlstringRequired within parentThe REST API URL of the alert resource.
Format: uri
Read only: true

Referenced models: Get a Dependabot alert — response body — auto dismissed at, Get a Dependabot alert — response body — dismissed at, Get a Dependabot alert — response body — fixed at, Get a Dependabot alert — response body — number, Get a Dependabot alert — response body — dismissal request, Get a Dependabot alert — response body — security advisory, Get a Dependabot alert — response body — security vulnerability, Get an issue — response body — user, List users — response body — item, Get a Dependabot alert — response body — dependency, Get a Dependabot alert — response body — reachability

Get a Dependabot alert — response body — auto dismissed at

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)stringAlternativeThe time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
$ (anyOf 2)nullAlternative

Get a Dependabot alert — response body — dependency

FieldTypePresenceDescription and constraints
$objectRootDetails for the vulnerable dependency.
Read only: true
manifest_pathstringOptionalThe full path to the dependency manifest file, relative to the root of the repository.
Read only: true
packageModelOptionalExpand Get a Dependabot alert — response body — dependency package
relationshipJSONOptional
relationship (anyOf 1)stringAlternativeThe vulnerable dependency's relationship to your project.

> [!NOTE]
> We are rolling out support for dependency relationship across ecosystems. This value will be "unknown" for all dependencies in unsupported ecosystems.

Known values: unknown, direct, transitive, inconclusive
Read only: true
relationship (anyOf 2)nullAlternative
scopeJSONOptional
scope (anyOf 1)stringAlternativeThe execution scope of the vulnerable dependency.
Known values: development, runtime
Read only: true
scope (anyOf 2)nullAlternative
version_requirementJSONOptional
version_requirement (anyOf 1)stringAlternativeThe dependency version or version constraint last recorded for the dependency associated with this alert.
For dependencies detected from a lockfile, this can be the resolved version.
For manifest-only dependencies, it can be the declared version constraint. Returns `null` when unavailable.

An empty string can indicate an unconstrained dependency. The stored value is limited to 64 bytes;
longer requirements may have been truncated and may no longer form a complete, valid version constraint.

When multiple vulnerable versions of a dependency correspond to the same alert, this field contains one
recorded version or constraint and may not represent all vulnerable versions.

Read only: true
version_requirement (anyOf 2)nullAlternative

Referenced models: Get a Dependabot alert — response body — dependency package

Get a Dependabot alert — response body — dependency package

FieldTypePresenceDescription and constraints
$objectRootDetails for the vulnerable package.
Read only: true
Additional keys: not allowed
ecosystemstringRequired within parentThe package's language or package management ecosystem.
Read only: true
namestringRequired within parentThe unique package name within its ecosystem.
Read only: true

Get a Dependabot alert — response body — dismissal request

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeInformation about an active dismissal request for this Dependabot alert.
$ (anyOf 1).created_atstringOptionalThe date and time when the dismissal request was created.
Format: date-time
$ (anyOf 1).idJSONOptional
$ (anyOf 1).id (anyOf 1)integerAlternativeThe unique identifier of the dismissal request.
$ (anyOf 1).id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
$ (anyOf 1).requesterobjectOptionalThe user who requested the dismissal.
$ (anyOf 1).requester.idJSONOptional
$ (anyOf 1).requester.id (anyOf 1)integerAlternativeThe unique identifier of the user.
$ (anyOf 1).requester.id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
$ (anyOf 1).requester.loginstringOptionalThe login name of the user.
$ (anyOf 1).statusstringOptionalThe current status of the dismissal request.
Known values: pending, approved, rejected, cancelled
$ (anyOf 1).urlstringOptionalThe API URL to get more information about this dismissal request.
Format: uri
$ (anyOf 2)nullAlternative

Get a Dependabot alert — response body — dismissed at

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)stringAlternativeThe time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
$ (anyOf 2)nullAlternative

Get a Dependabot alert — response body — fixed at

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)stringAlternativeThe time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
$ (anyOf 2)nullAlternative

Get a Dependabot alert — response body — number

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)integerAlternativeThe security alert number.
Read only: true
$ (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Get a Dependabot alert — response body — reachability

FieldTypePresenceDescription and constraints
$objectRootThe reachability result for the vulnerability that triggered the alert, indicating whether a
vulnerable function is reachable from the repository's own code.

Read only: true
Additional keys: not allowed
reasonstringOptionalThe reason for the reachability verdict. This field is omitted when reachability analysis is disabled or no result has been computed.
Known values: unknown, unavailable_unsupported_ecosystem, unavailable_analysis_timed_out, potentially_reachable_invalid_manifest_path, potentially_reachable_missing_vulnerable_function_annotation, potentially_reachable_dependency_not_found, potentially_reachable_dependency_analysis_incomplete, potentially_reachable_repository_analysis_incomplete, potentially_reachable_call_found_outside_manifest_scope, potentially_reachable_unclassified_analysis_state, reachable_vulnerable_function_called, unreachable_vulnerable_function_not_called, potentially_reachable_unresolved_dynamic_call
Read only: true
verdictstringRequired within parentThe reachability verdict for the alert.

- `reachable`: a path from the repository's code reaches a vulnerable function.
- `unreachable`: no path from the repository's code reaches a vulnerable function.
- `potentially_reachable`: reachability could not be determined with confidence; review manually.
- `unavailable`: no verdict has been computed for the alert yet.
- `disabled`: reachability analysis is not enabled for the repository.

Known values: reachable, unreachable, potentially_reachable, unavailable, disabled
Read only: true

Get a Dependabot alert — response body — security advisory

FieldTypePresenceDescription and constraints
$objectRootDetails for the GitHub Security Advisory.
Read only: true
Additional keys: not allowed
classificationstringOptionalThe classification of the advisory.
Known values: general, malware
Read only: true
cve_idJSONRequired within parent
cve_id (anyOf 1)stringAlternativeThe unique CVE ID assigned to the advisory.
Read only: true
cve_id (anyOf 2)nullAlternative
cvss_severitiesModelOptionalExpand Get a global security advisory — response body — cvss severities
cwesarrayRequired within parentDetails for the advisory pertaining to Common Weakness Enumeration.
Read only: true
cwes[]objectEach itemA CWE weakness assigned to the advisory.
Read only: true
Additional keys: not allowed
cwes[].cwe_idstringRequired within parentThe unique CWE ID.
Read only: true
cwes[].namestringRequired within parentThe short, plain text name of the CWE.
Read only: true
descriptionstringRequired within parentA long-form Markdown-supported description of the advisory.
Read only: true
epssModelOptionalExpand Get a global security advisory — response body — epss
ghsa_idstringRequired within parentThe unique GitHub Security Advisory ID assigned to the advisory.
Read only: true
identifiersarrayRequired within parentValues that identify this advisory among security information sources.
Read only: true
identifiers[]objectEach itemAn advisory identifier.
Read only: true
Additional keys: not allowed
identifiers[].typestringRequired within parentThe type of advisory identifier.
Known values: CVE, GHSA
Read only: true
identifiers[].valuestringRequired within parentThe value of the advisory identifer.
Read only: true
published_atstringRequired within parentThe time that the advisory was published in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
referencesarrayRequired within parentLinks to additional advisory information.
Read only: true
references[]objectEach itemA link to additional advisory information.
Read only: true
Additional keys: not allowed
references[].urlstringRequired within parentThe URL of the reference.
Format: uri
Read only: true
severitystringRequired within parentThe severity of the advisory.
Known values: low, medium, high, critical
Read only: true
summarystringRequired within parentA short, plain text summary of the advisory.
Maximum length: 1024
Read only: true
updated_atstringRequired within parentThe time that the advisory was last modified in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
vulnerabilitiesarrayRequired within parentVulnerable version range information for the advisory.
Read only: true
vulnerabilities[]ModelEach itemExpand Get a Dependabot alert — response body — security vulnerability
withdrawn_atJSONRequired within parent
withdrawn_at (anyOf 1)stringAlternativeThe time that the advisory was withdrawn in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
withdrawn_at (anyOf 2)nullAlternative

Referenced models: Get a global security advisory — response body — cvss severities, Get a Dependabot alert — response body — security vulnerability, Get a global security advisory — response body — epss

Get a Dependabot alert — response body — security vulnerability

FieldTypePresenceDescription and constraints
$objectRootDetails pertaining to one vulnerable version range for the advisory.
Read only: true
Additional keys: not allowed
first_patched_versionJSONRequired within parent
first_patched_version (anyOf 1)objectAlternativeDetails pertaining to the package version that patches this vulnerability.
Read only: true
Additional keys: not allowed
first_patched_version (anyOf 1).identifierstringRequired within parentThe package version that patches this vulnerability.
Read only: true
first_patched_version (anyOf 2)nullAlternative
packageModelRequired within parentExpand Get a Dependabot alert — response body — dependency package
severitystringRequired within parentThe severity of the vulnerability.
Known values: low, medium, high, critical
Read only: true
vulnerable_version_rangestringRequired within parentConditions that identify vulnerable versions of this vulnerability's package.
Read only: true

Referenced models: Get a Dependabot alert — response body — dependency package

Get a repository public key — dependabot dependabot Get Repo Public Key — response body

FieldTypePresenceDescription and constraints
$objectRootThe public key used for setting Dependabot Secrets.
keystringRequired within parentThe Base64 encoded public key.
key_idstringRequired within parentThe identifier for the key.

Get a repository secret — dependabot dependabot Get Repo Secret — response body

FieldTypePresenceDescription and constraints
$objectRootSet secrets for Dependabot.
created_atstringRequired within parentFormat: date-time
namestringRequired within parentThe name of the secret.
updated_atstringRequired within parentFormat: date-time

Get an organization secret — dependabot dependabot Get Org Secret — response body

FieldTypePresenceDescription and constraints
$objectRootSecrets for GitHub Dependabot for an organization.
created_atstringRequired within parentFormat: date-time
namestringRequired within parentThe name of the secret.
selected_repositories_urlstringOptionalFormat: uri
updated_atstringRequired within parentFormat: date-time
visibilitystringRequired within parentVisibility of a secret
Known values: all, private, selected

List Dependabot alerts for an enterprise — response body — item

FieldTypePresenceDescription and constraints
$objectRootA Dependabot alert.
Additional keys: not allowed
assigneesarrayOptionalThe users assigned to this alert.
Read only: true
assignees[]ModelEach itemExpand List users — response body — item
auto_dismissed_atModelOptionalExpand Get a Dependabot alert — response body — auto dismissed at
created_atstringRequired within parentThe time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
dependencyModelRequired within parentExpand Get a Dependabot alert — response body — dependency
dismissal_requestModelOptionalExpand Get a Dependabot alert — response body — dismissal request
dismissed_atModelRequired within parentExpand Get a Dependabot alert — response body — dismissed at
dismissed_byModelRequired within parentExpand Get an issue — response body — user
dismissed_commentJSONRequired within parent
dismissed_comment (anyOf 1)stringAlternativeAn optional comment associated with the alert's dismissal.
Maximum length: 280
dismissed_comment (anyOf 2)nullAlternative
dismissed_reasonJSONRequired within parent
dismissed_reason (anyOf 1)stringAlternativeThe reason that the alert was dismissed.
Known values: fix_started, inaccurate, no_bandwidth, not_used, tolerable_risk
dismissed_reason (anyOf 2)nullAlternative
fixed_atModelRequired within parentExpand Get a Dependabot alert — response body — fixed at
html_urlstringRequired within parentThe GitHub URL of the alert resource.
Format: uri
Read only: true
numberModelRequired within parentExpand Get a Dependabot alert — response body — number
reachabilityModelOptionalExpand Get a Dependabot alert — response body — reachability
repositoryModelRequired within parentExpand List repositories for a user migration — response body — item
security_advisoryModelRequired within parentExpand Get a Dependabot alert — response body — security advisory
security_vulnerabilityModelRequired within parentExpand Get a Dependabot alert — response body — security vulnerability
statestringRequired within parentThe state of the Dependabot alert.
Known values: auto_dismissed, dismissed, fixed, open
Read only: true
updated_atstringRequired within parentThe time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
Format: date-time
Read only: true
urlstringRequired within parentThe REST API URL of the alert resource.
Format: uri
Read only: true

Referenced models: Get a Dependabot alert — response body — auto dismissed at, Get a Dependabot alert — response body — dismissed at, Get a Dependabot alert — response body — fixed at, Get a Dependabot alert — response body — number, Get a Dependabot alert — response body — dismissal request, Get a Dependabot alert — response body — security advisory, Get a Dependabot alert — response body — security vulnerability, Get an issue — response body — user, List repositories for a user migration — response body — item, List users — response body — item, Get a Dependabot alert — response body — dependency, Get a Dependabot alert — response body — reachability

Lists the repositories Dependabot can access in an enterprise — response body

FieldTypePresenceDescription and constraints
$objectRootInformation about repositories that Dependabot is able to access in an organization
Additional keys: not allowed
accessible_repositoriesarrayOptional
accessible_repositories[]ModelEach itemExpand Lists the repositories Dependabot can access in an enterprise — response body — accessible repositories item
default_levelJSONOptional
default_level (anyOf 1)stringAlternativeThe default repository access level for Dependabot updates.
Known values: public, internal
default_level (anyOf 2)nullAlternative

Referenced models: Lists the repositories Dependabot can access in an enterprise — response body — accessible repositories item

Lists the repositories Dependabot can access in an enterprise — response body — accessible repositories item

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Lists the repositories Dependabot can access in an enterprise — response body — accessible repositories item A Git Hub repository
$ (anyOf 2)nullAlternative

Referenced models: Lists the repositories Dependabot can access in an enterprise — response body — accessible repositories item A Git Hub repository

Lists the repositories Dependabot can access in an enterprise — response body — accessible repositories item A Git Hub repository

FieldTypePresenceDescription and constraints
$objectRootA GitHub repository.
archive_urlstringRequired within parentA template for the API URL to download the repository as an archive.
assignees_urlstringRequired within parentA template for the API URL to list the available assignees for issues in the repository.
blobs_urlstringRequired within parentA template for the API URL to create or retrieve a raw Git blob in the repository.
branches_urlstringRequired within parentA template for the API URL to get information about branches in the repository.
collaborators_urlstringRequired within parentA template for the API URL to get information about collaborators of the repository.
comments_urlstringRequired within parentA template for the API URL to get information about comments on the repository.
commits_urlstringRequired within parentA template for the API URL to get information about commits on the repository.
compare_urlstringRequired within parentA template for the API URL to compare two commits or refs.
contents_urlstringRequired within parentA template for the API URL to get the contents of the repository.
contributors_urlstringRequired within parentA template for the API URL to list the contributors to the repository.
Format: uri
deployments_urlstringRequired within parentThe API URL to list the deployments of the repository.
Format: uri
descriptionJSONRequired within parent
description (anyOf 1)stringAlternativeThe repository description.
description (anyOf 2)nullAlternative
downloads_urlstringRequired within parentThe API URL to list the downloads on the repository.
Format: uri
events_urlstringRequired within parentThe API URL to list the events of the repository.
Format: uri
forkbooleanRequired within parentWhether the repository is a fork.
forks_urlstringRequired within parentThe API URL to list the forks of the repository.
Format: uri
full_namestringRequired within parentThe full, globally unique, name of the repository.
git_commits_urlstringRequired within parentA template for the API URL to get information about Git commits of the repository.
git_refs_urlstringRequired within parentA template for the API URL to get information about Git refs of the repository.
git_tags_urlstringRequired within parentA template for the API URL to get information about Git tags of the repository.
hooks_urlstringRequired within parentThe API URL to list the hooks on the repository.
Format: uri
html_urlstringRequired within parentThe URL to view the repository on GitHub.com.
Format: uri
idJSONRequired within parent
id (anyOf 1)integerAlternativeA unique identifier of the repository.
Format: int64
id (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
issue_comment_urlstringRequired within parentA template for the API URL to get information about issue comments on the repository.
issue_events_urlstringRequired within parentA template for the API URL to get information about issue events on the repository.
issues_urlstringRequired within parentA template for the API URL to get information about issues on the repository.
keys_urlstringRequired within parentA template for the API URL to get information about deploy keys on the repository.
labels_urlstringRequired within parentA template for the API URL to get information about labels of the repository.
languages_urlstringRequired within parentThe API URL to get information about the languages of the repository.
Format: uri
merges_urlstringRequired within parentThe API URL to merge branches in the repository.
Format: uri
milestones_urlstringRequired within parentA template for the API URL to get information about milestones of the repository.
namestringRequired within parentThe name of the repository.
node_idstringRequired within parentThe GraphQL identifier of the repository.
notifications_urlstringRequired within parentA template for the API URL to get information about notifications on the repository.
ownerModelRequired within parentExpand List users — response body — item
privatebooleanRequired within parentWhether the repository is private.
pulls_urlstringRequired within parentA template for the API URL to get information about pull requests on the repository.
releases_urlstringRequired within parentA template for the API URL to get information about releases on the repository.
stargazers_urlstringRequired within parentThe API URL to list the stargazers on the repository.
Format: uri
statuses_urlstringRequired within parentA template for the API URL to get information about statuses of a commit.
subscribers_urlstringRequired within parentThe API URL to list the subscribers on the repository.
Format: uri
subscription_urlstringRequired within parentThe API URL to subscribe to notifications for this repository.
Format: uri
tags_urlstringRequired within parentThe API URL to get information about tags on the repository.
Format: uri
teams_urlstringRequired within parentThe API URL to list the teams on the repository.
Format: uri
trees_urlstringRequired within parentA template for the API URL to create or retrieve a raw Git tree of the repository.
urlstringRequired within parentThe URL to get more information about the repository from the GitHub API.
Format: uri

Referenced models: List users — response body — item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.