Skip to content

List Code Scanning Alerts Node

Data/GitHub

List code scanning alerts (e.g. CodeQL) of a repository or organization with rule, tool, severity and the location of the most recent instance

data_github_list_code_scanning_alertsdata
Inputs7
Outputs5
Security exposure8/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
8/10High
PrivacyPotential sensitivity of processed data.
5/10Medium
PerformanceRuntime or resource pressure.
7/10High
GovernancePolicy, audit, or compliance impact.
8/10High
ReliabilityOperational stability considerations.
8/10High
CostExternal or compute cost impact.
8/10High

Input Pins

7

Input

Execution
exec_in

Fetch the alerts

Provider

Struct
provider

GitHub provider

GitHubProviderGitHubProvider3 fields
provider_idstringrequired
access_tokenstringrequired
base_urlstringrequired
Schema enforced

Owner

String
owner

Repository owner or organization

Repository

String
repo

Repository name. Leave empty to list the alerts of the whole organization

State

String
state

Only alerts in this state. Empty returns all states

Default open
opencloseddismissedfixed

Severity

String
severity

Only alerts with this severity. Empty returns all severities

criticalhighmediumlowwarning+2 more

Max Items

Integer
max_items

Stop after this many alerts

Default 500

Output Pins

5

Success

Execution
exec_out

Triggered on success

Error

Execution
error

Triggered on error

Alerts

Struct Array
alerts

Code scanning alerts

GitHubCodeScanningAlertGitHubCodeScanningAlert21 fields
numberinteger:int64required
format int64
statestringrequired
rule_idstring | null
rule_namestring | null
rule_descriptionstring | null
severitystring | null
security_severitystring | null
tool_namestring | null
tool_versionstring | null
pathstring | null
start_lineinteger | null
format int64
end_lineinteger | null
format int64
messagestring | null
ref_namestring | null
repositorystring | null
html_urlstringrequired
created_atstringrequired
updated_atstring | null
+3 more fields
Schema enforced

Count

Integer
count

Number of alerts returned

Truncated

Boolean
truncated

True when more alerts exist than Max Items allowed

Node Info

Internal name
data_github_list_code_scanning_alerts
Category
Data/GitHub