step-security/Harden-Runner

Harden-Runner provides runtime security for GitHub-hosted and self-hosted runners

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
allowed-endpointsOnly these endpoints will be allowed if egress-policy is set to blockno""
egress-policyPolicy for outbound traffic, can be either audit or blocknoblock
tokenUsed to avoid github rate limiting${{ github.token }}
disable-telemetryDisable sending telemetry to StepSecurity API, can be set to true or false. This can only be set to true when egress-policy is set to blocknofalse
disable-sudoDisable sudo access for the runner account. Note: This parameter will be deprecated in the future. Please use disable-sudo-and-containers instead.nofalse
disable-sudo-and-containersDisable sudo and container access for the runner accountnofalse
disable-file-monitoringDisable file monitoringnofalse
policyPolicy name to be used from the policy store. Requires id-token: write permission.no""
api-keyStepSecurity API key for authenticating with the policy store. Required when use-policy-store is set to true.no""
use-policy-storeSet to true to fetch policy from the policy store using the API key. This is the preferred method over the policy input which requires id-token: write permission. Policies can be defined and attached at workflow, repo, org, or cluster (for ARC) level in the policy store. The most granular policy will apply.nofalse
deploy-on-self-hosted-vmSet to true to deploy the Harden Runner agent directly on a self-hosted runner VM (Linux only). The recommended approach for self-hosted VMs is to bake the agent into the VM image; see docs.stepsecurity.io. Use this option only if baking is not possible, and only for ephemeral runners.nofalse

no outputs