Github API - Test Config

GET /repos/{owner}/{repo}/dependabot/alerts
dependabot
repos

You must use an access token with the security_events scope to use this endpoint with private repositories.
You can also use tokens with the public_repo scope for public repositories only.
GitHub Apps must have Dependabot alerts read permission to use this endpoint.
List Dependabot alerts for a repository

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key dependabot-alert-comma-separated-states

dependabot-alert-comma-separated-states [scalar]

A comma-separated list of states. If specified, only alerts with these states will be returned.

Can be: dismissed, fixed, open

API:
Github Open API
(version: 1.1.4)

key dependabot-alert-comma-separated-severities

dependabot-alert-comma-separated-severities [scalar]

A comma-separated list of severities. If specified, only alerts with these severities will be returned.

Can be: low, medium, high, critical

API:
Github Open API
(version: 1.1.4)

key dependabot-alert-comma-separated-ecosystems

dependabot-alert-comma-separated-ecosystems [scalar]

A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned.

Can be: composer, go, maven, npm, nuget, pip, pub, rubygems, rust

API:
Github Open API
(version: 1.1.4)

key dependabot-alert-comma-separated-packages

dependabot-alert-comma-separated-packages [scalar]

A comma-separated list of package names. If specified, only alerts for these packages will be returned.

API:
Github Open API
(version: 1.1.4)

key dependabot-alert-comma-separated-manifests

dependabot-alert-comma-separated-manifests [scalar]

A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned.

API:
Github Open API
(version: 1.1.4)

key dependabot-alert-scope

dependabot-alert-scope [scalar]

The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.

API:
Github Open API
(version: 1.1.4)

key dependabot-alert-sort

dependabot-alert-sort [scalar]

The property by which to sort the results.
created means when the alert was created.
updated means when the alert's state last changed.

API:
Github Open API
(version: 1.1.4)

key direction

direction [scalar]

The direction to sort the results by.

API:
Github Open API
(version: 1.1.4)

page integer

integer [scalar]

The OpenAPI integer type

API:
Github Open API
(version: 1.1.4)

per_page integer

integer [scalar]

The OpenAPI integer type

API:
Github Open API
(version: 1.1.4)

key pagination-before

pagination-before [scalar]

A cursor, as given in the Link header. If specified, the query only searches for results before this cursor.

API:
Github Open API
(version: 1.1.4)

key pagination-after

pagination-after [scalar]

A cursor, as given in the Link header. If specified, the query only searches for results after this cursor.

API:
Github Open API
(version: 1.1.4)

key pagination-first

pagination-first [scalar]

Deprecated. The number of results per page (max 100), starting from the first matching result.
This parameter must not be used in combination with last.
Instead, use per_page in combination with after to fetch the first page of results.

API:
Github Open API
(version: 1.1.4)

key pagination-last

pagination-last [scalar]

Deprecated. The number of results per page (max 100), starting from the last matching result.
This parameter must not be used in combination with first.
Instead, use per_page in combination with before to fetch the last page of results.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json dependabot-alert []

dependabot-alert [object]

A Dependabot alert.

Attributes
created_at alert-created-at

dependency 1965

Details for the vulnerable dependency.

dismissed_at alert-dismissed-at

dismissed_by nullable-simple-user

dismissed_comment string

An optional comment associated with the alert's dismissal.

dismissed_reason string

The reason that the alert was dismissed.

fixed_at alert-fixed-at

html_url alert-html-url

number alert-number

state string

The state of the Dependabot alert.

updated_at alert-updated-at

url alert-url

API:
Github Open API
(version: 1.1.4)
304 not_modified

not_modified [scalar]

Not modified

API:
Github Open API
(version: 1.1.4)
400 bad_request

bad_request [scalar]

Bad Request

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed_simple

validation_failed_simple [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)