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

Predicate 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.

Import path

import codeql.actions.security.SelfHostedQuery
predicate dynamicallyIdentifiedSelfHostedRunner(Job job)