Github API - Test Config

GET /enterprises/{enterprise}/dependabot/alerts
dependabot

Lists Dependabot alerts for repositories that are owned by the specified enterprise.
To use this endpoint, you must be a member of the enterprise, and you must use an
access token with the repo scope or security_events scope.
Alerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see "Managing security managers in your organization."
List Dependabot alerts for an enterprise

Arguments
key enterprise

enterprise [scalar]

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

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)
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)