CodeQL library for GitHub Actions
codeql/actions-all 0.4.27-dev (changelog, source)
Search

Class GitHubCtxSource

A data flow source of user input from github context. eg: github.head_ref

Import path

import codeql.actions.dataflow.FlowSources

Direct supertypes

Indirect supertypes

Fields

Predicates

getEventName

Gets the event that triggered the source.

getSourceType

Gets a string that describes the type of this remote flow source.

Inherited predicates

asExprfrom Node
getLocationfrom Node
getThreatModel

Gets a string that represents the source kind with respect to threat modeling.

from RemoteFlowSource
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from Node
toString

Gets a textual representation of this element.

from Node

Charpred