Skip to content

Commit 1b05615

Browse files
Release v2.6.0 (#346)
1 parent 398bb08 commit 1b05615

17 files changed

+115
-31
lines changed

README.md

Lines changed: 47 additions & 26 deletions
Large diffs are not rendered by default.

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: "Harden Runner"
2-
description: "Security agent for GitHub-hosted runner to monitor the build process"
1+
name: "Harden-Runner"
2+
description: "Harden-Runner provides runtime security for GitHub-hosted and self-hosted runners"
33
inputs:
44
allowed-endpoints:
55
description: "Only these endpoints will be allowed if egress-policy is set to block"

dist/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/post/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61261,6 +61261,7 @@ function addSummary() {
6126161261
const STATUS_HARDEN_RUNNER_UNAVAILABLE = "409";
6126261262
const CONTAINER_MESSAGE = "This job is running in a container. Harden Runner does not run in a container as it needs sudo access to run. This job will not be monitored.";
6126361263
const UBUNTU_MESSAGE = "This job is not running in a GitHub Actions Hosted Runner Ubuntu VM. Harden Runner is only supported on Ubuntu VM. This job will not be monitored.";
61264+
const SELF_HOSTED_NO_AGENT_MESSAGE = "This job is running on a self-hosted runner, but the runner does not have Harden-Runner installed. This job will not be monitored.";
6126461265
const HARDEN_RUNNER_UNAVAILABLE_MESSAGE = "Sorry, we are currently experiencing issues with the Harden Runner installation process. It is currently unavailable.";
6126561266
const ARC_RUNNER_MESSAGE = "Workflow is currently being executed in ARC based runner";
6126661267

@@ -61400,6 +61401,9 @@ var cleanup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _
6140061401
removeStepPolicyFiles();
6140161402
return;
6140261403
}
61404+
if (process.env.STATE_selfHosted === "true") {
61405+
return;
61406+
}
6140361407
if (String(process.env.STATE_monitorStatusCode) ===
6140461408
STATUS_HARDEN_RUNNER_UNAVAILABLE) {
6140561409
console.log(HARDEN_RUNNER_UNAVAILABLE_MESSAGE);

dist/post/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pre/index.js

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/pre/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

images/Insights4.png

-150 KB
Binary file not shown.

images/block-outbound-call.png

-27.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)