Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
aff1243
refactor: improve log output in cleanup functions
rohan-stepsecurity May 11, 2026
54cdcf2
Update agent to v1.8.5
varunsh-coder May 12, 2026
305766d
Default to audit mode when api-key missing with use-policy-store
varunsh-coder May 14, 2026
2028eb3
Update agent to v1.8.6
varunsh-coder May 19, 2026
7bdbc22
Fix Pre-step hang on agent API timeout + guard against unhandled reje…
varunsh-coder Jun 9, 2026
896dd7e
Address PR review: skip last retry sleep, log error stacks, loosen te…
varunsh-coder Jun 9, 2026
299c374
Extend missing-agent-dir guard to Linux and macOS cleanup paths
varunsh-coder Jun 11, 2026
9cddcff
Update agent to v1.8.9
varunsh-coder Jun 13, 2026
86f99fe
Update agent-ebpf to v1.8.12
varunsh-coder Jun 30, 2026
c3f94a4
Default TLS status check failures to enabled
varunsh-coder Jun 30, 2026
fd5401a
Apply npm audit fixes with release-age cooldown
varunsh-coder Jun 30, 2026
f249306
Update Windows agent to v1.0.7
varunsh-coder Jul 1, 2026
cb8bcf2
Bring macOS runner updates from PR 674
varunsh-coder Jul 1, 2026
efb49b8
Update non-TLS agent to v0.16.1
varunsh-coder Jul 2, 2026
4d0d2a8
Update non-TLS agent to v0.16.2
varunsh-coder Jul 3, 2026
aedc932
refactor: improve log output in cleanup functions
rohan-stepsecurity Jul 29, 2026
83bee01
Merge branch 'main' of github.com:h0x0er/harden-runner
rohan-stepsecurity Aug 11, 2026
8ce8d7e
Merge branch 'main' of github.com:step-security/harden-runner
rohan-stepsecurity Aug 11, 2026
0592be3
Merge branch 'main' of github.com:step-security/harden-runner
rohan-stepsecurity Aug 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions dist/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32322,8 +32322,9 @@ function handleAgentBravoCleanup() {
}
const log = "/home/agent/agent.log";
if (external_fs_.existsSync(log)) {
console.log("log:");
lib_core.startGroup("[StepSecurity] HardenRunner Agent Log");
console.log(external_fs_.readFileSync(log, "utf-8"));
lib_core.endGroup();
}
const status = "/home/agent/agent.status";
if (external_fs_.existsSync(status)) {
Expand Down Expand Up @@ -32366,15 +32367,17 @@ function handleLinuxCleanup() {
}
const log = "/home/agent/agent.log";
if (external_fs_.existsSync(log)) {
console.log("log:");
lib_core.startGroup("[StepSecurity] HardenRunner Agent Log");
var content = external_fs_.readFileSync(log, "utf-8");
console.log(content);
lib_core.endGroup();
}
const daemonLog = "/home/agent/daemon.log";
if (external_fs_.existsSync(daemonLog)) {
console.log("daemonLog:");
lib_core.startGroup("[StepSecurity] HardenRunner Daemon Log");
var content = external_fs_.readFileSync(daemonLog, "utf-8");
console.log(content);
lib_core.endGroup();
}
var status = "/home/agent/agent.status";
if (external_fs_.existsSync(status)) {
Expand All @@ -32386,15 +32389,18 @@ function handleLinuxCleanup() {
var disable_sudo_and_containers = process.env.STATE_disableSudoAndContainers;
if (disable_sudo !== "true" && disable_sudo_and_containers !== "true") {
try {
var journalLog = external_child_process_.execSync("sudo journalctl -u agent.service --lines=1000", {
var journalLog = external_child_process_.execSync("sudo journalctl -u agent.service --lines=1000 2>&1", {
encoding: "utf8",
maxBuffer: 1024 * 1024 * 10, // 10MB buffer
});
console.log("agent.service log:");
lib_core.startGroup("[StepSecurity] HardenRunner Service Log");
console.log(journalLog);
lib_core.endGroup();
}
catch (error) {
console.log("Warning: Could not fetch service logs:", error.message);
if (error.stdout)
console.log(error.stdout);
}
}
});
Expand Down Expand Up @@ -32434,9 +32440,10 @@ function handleMacosCleanup() {
}
let macAgentLog = "/opt/step-security/agent.log";
if (external_fs_.existsSync(macAgentLog)) {
console.log("macAgentLog:");
lib_core.startGroup("[StepSecurity] HardenRunner Agent Log");
var content = external_fs_.readFileSync(macAgentLog, "utf-8");
console.log(content);
lib_core.endGroup();
}
else {
console.log("😭 macos agent.log file not found");
Expand Down Expand Up @@ -32547,9 +32554,10 @@ function handleWindowsCleanup() {
}
const log = external_path_.join(agentDir, "agent.log");
if (external_fs_.existsSync(log)) {
console.log("agent log:");
lib_core.startGroup("[StepSecurity] HardenRunner Agent Log");
const content = external_fs_.readFileSync(log, "utf-8");
console.log(content);
lib_core.endGroup();
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

Loading
Loading