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

Module SelfHostedQuery

Import path

import codeql.actions.security.SelfHostedQuery

Imports

Predicates

dynamicallyIdentifiedSelfHostedRunner

This predicate uses data available in the job log files to identify self-hosted runners. It is a best-effort approach to identify self-hosted runners.

is3rdPartyHostedRunner
isGithubHostedRunner
staticallyIdentifiedSelfHostedRunner

This predicate uses data available in the workflow file to identify self-hosted runners. It does not know if the repository is public or private. It is a best-effort approach to identify self-hosted runners.