Github API - Test Config

GET /orgs/{org}/dependabot/alerts
dependabot
orgs

Lists Dependabot alerts for an organization.

To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the repo scope or security_events scope.

For public repositories, you may instead use the public_repo scope.

GitHub Apps must have Dependabot alerts read permission to use this endpoint.
List Dependabot alerts for an organization

Arguments
key org

org [scalar]

The organization name. 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-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)

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)

key per-page

per-page [scalar]

The number of results per page (max 100).

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json dependabot-alert-with-repository []

dependabot-alert-with-repository [object]

A Dependabot alert.

Attributes
created_at alert-created-at

dependency 1971

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

repository simple-repository

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)