Skip to main content

vulnerability_alerts

Creates, updates, deletes, gets or lists a vulnerability_alerts resource.

Overview

Namevulnerability_alerts
TypeResource
Idgithub.repos.vulnerability_alerts

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
check_vulnerability_alertsexecowner, repoShows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "About security alerts for vulnerable dependencies".
enable_vulnerability_alertsexecowner, repoEnables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "About security alerts for vulnerable dependencies".
disable_vulnerability_alertsexecowner, repoDisables dependency alerts and the dependency graph for a repository.
The authenticated user must have admin access to the repository. For more information,
see "About security alerts for vulnerable dependencies".

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
ownerstringThe account owner of the repository. The name is not case sensitive.
repostringThe name of the repository without the .git extension. The name is not case sensitive.

Lifecycle Methods

Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "About security alerts for vulnerable dependencies".

EXEC github.repos.vulnerability_alerts.check_vulnerability_alerts 
@owner='{{ owner }}' --required,
@repo='{{ repo }}' --required
;