豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit fe10465

Browse files
v2.16.1 (#654)
1 parent fa2e9d6 commit fe10465

File tree

12 files changed

+29
-14
lines changed

12 files changed

+29
-14
lines changed

dist/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32067,6 +32067,7 @@ function isDocker() {
3206732067
;// CONCATENATED MODULE: ./src/configs.ts
3206832068
const STEPSECURITY_ENV = "agent"; // agent or int
3206932069
const configs_STEPSECURITY_API_URL = (/* unused pure expression or super */ null && (`https://${STEPSECURITY_ENV}.api.stepsecurity.io/v1`));
32070+
const STEPSECURITY_TELEMETRY_URL = "https://prod.app-api.stepsecurity.io/v1";
3207032071
const STEPSECURITY_WEB_URL = "https://app.stepsecurity.io";
3207132072

3207232073
// EXTERNAL MODULE: ./node_modules/@actions/http-client/lib/index.js

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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31881,6 +31881,7 @@ var lib_core = __nccwpck_require__(7484);
3188131881
;// CONCATENATED MODULE: ./src/configs.ts
3188231882
const STEPSECURITY_ENV = "agent"; // agent or int
3188331883
const configs_STEPSECURITY_API_URL = `https://${STEPSECURITY_ENV}.api.stepsecurity.io/v1`;
31884+
const STEPSECURITY_TELEMETRY_URL = "https://prod.app-api.stepsecurity.io/v1";
3188431885
const STEPSECURITY_WEB_URL = "https://app.stepsecurity.io";
3188531886

3188631887
// EXTERNAL MODULE: external "child_process"

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: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85209,6 +85209,7 @@ function isValidEvent() {
8520985209
;// CONCATENATED MODULE: ./src/configs.ts
8521085210
const STEPSECURITY_ENV = "agent"; // agent or int
8521185211
const configs_STEPSECURITY_API_URL = `https://${STEPSECURITY_ENV}.api.stepsecurity.io/v1`;
85212+
const STEPSECURITY_TELEMETRY_URL = "https://prod.app-api.stepsecurity.io/v1";
8521285213
const STEPSECURITY_WEB_URL = "https://app.stepsecurity.io";
8521385214

8521485215
;// CONCATENATED MODULE: ./src/policy-utils.ts
@@ -85392,11 +85393,11 @@ var external_crypto_ = __nccwpck_require__(6982);
8539285393

8539385394
const CHECKSUMS = {
8539485395
tls: {
85395-
amd64: "19c35eee1347077eb71306b122ad4a1cf83f36ef0f69fd91b0c0d79ffd0eabdd",
85396-
arm64: "f9192788e86b2e44b795f072e8cc03eec9852649609aeedac0761d3b67c991fa",
85396+
amd64: "d4b80f15758bb950787000e802cc58a565919a8cb9ecf405777b304ef42911fe",
85397+
arm64: "3c224ea1da1776d1ba9f70b8dd8f0d8432230a7c2d464bca84bbdee8b7d46f6c",
8539785398
},
8539885399
non_tls: {
85399-
amd64: "1531bda40026b799b0704d0f775c372653a91fe436628fa8b416849d9c0707a8", // v0.14.4
85400+
amd64: "4aaaeebbe10e619d8ce13e8cc4a1acbafc8f891e8cdd319984480b9ec08407b8", // v0.15.0
8540085401
},
8540185402
darwin: "797399a3a3f6f9c4c000a02e0d8c7b16499129c9bdc2ad9cf2a10072c10654fb",
8540285403
windows: {
@@ -85464,14 +85465,14 @@ function installAgent(isTLS, configStr) {
8546485465
encoding: "utf8",
8546585466
});
8546685467
if (isTLS) {
85467-
downloadPath = yield tool_cache.downloadTool(`https://github.com/step-security/agent-ebpf/releases/download/v1.7.10/harden-runner_1.7.10_linux_${variant}.tar.gz`, undefined, auth);
85468+
downloadPath = yield tool_cache.downloadTool(`https://github.com/step-security/agent-ebpf/releases/download/v1.7.15/harden-runner_1.7.15_linux_${variant}.tar.gz`, undefined, auth);
8546885469
}
8546985470
else {
8547085471
if (variant === "arm64") {
8547185472
console.log(ARM64_RUNNER_MESSAGE);
8547285473
return false;
8547385474
}
85474-
downloadPath = yield tool_cache.downloadTool("https://github.com/step-security/agent/releases/download/v0.14.4/agent_0.14.4_linux_amd64.tar.gz", undefined, auth);
85475+
downloadPath = yield tool_cache.downloadTool("https://github.com/step-security/agent/releases/download/v0.15.0/agent_0.15.0_linux_amd64.tar.gz", undefined, auth);
8547585476
}
8547685477
if (!verifyChecksum(downloadPath, isTLS, variant, "linux")) {
8547785478
return false;
@@ -85671,6 +85672,7 @@ var setup_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _ar
8567185672
correlation_id: correlation_id,
8567285673
working_directory: process.env["GITHUB_WORKSPACE"],
8567385674
api_url: api_url,
85675+
telemetry_url: STEPSECURITY_TELEMETRY_URL,
8567485676
allowed_endpoints: lib_core.getInput("allowed-endpoints"),
8567585677
egress_policy: lib_core.getInput("egress-policy"),
8567685678
disable_telemetry: lib_core.getBooleanInput("disable-telemetry"),

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.

src/checksum.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import * as fs from "fs";
44

55
const CHECKSUMS = {
66
tls: {
7-
amd64: "19c35eee1347077eb71306b122ad4a1cf83f36ef0f69fd91b0c0d79ffd0eabdd", // v1.7.10
8-
arm64: "f9192788e86b2e44b795f072e8cc03eec9852649609aeedac0761d3b67c991fa",
7+
amd64: "d4b80f15758bb950787000e802cc58a565919a8cb9ecf405777b304ef42911fe", // v1.7.15
8+
arm64: "3c224ea1da1776d1ba9f70b8dd8f0d8432230a7c2d464bca84bbdee8b7d46f6c",
99
},
1010
non_tls: {
11-
amd64: "1531bda40026b799b0704d0f775c372653a91fe436628fa8b416849d9c0707a8", // v0.14.4
11+
amd64: "4aaaeebbe10e619d8ce13e8cc4a1acbafc8f891e8cdd319984480b9ec08407b8", // v0.15.0
1212
},
1313
darwin: "797399a3a3f6f9c4c000a02e0d8c7b16499129c9bdc2ad9cf2a10072c10654fb", // v0.0.4
1414
windows: {

src/configs.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@ export const STEPSECURITY_ENV = "agent"; // agent or int
22

33
export const STEPSECURITY_API_URL = `https://${STEPSECURITY_ENV}.api.stepsecurity.io/v1`;
44

5+
export const STEPSECURITY_TELEMETRY_URL =
6+
"https://prod.app-api.stepsecurity.io/v1";
7+
58
export const STEPSECURITY_WEB_URL = "https://app.stepsecurity.io";

src/install-agent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export async function installAgent(
2626

2727
if (isTLS) {
2828
downloadPath = await tc.downloadTool(
29-
`https://github.com/step-security/agent-ebpf/releases/download/v1.7.10/harden-runner_1.7.10_linux_${variant}.tar.gz`,
29+
`https://github.com/step-security/agent-ebpf/releases/download/v1.7.15/harden-runner_1.7.15_linux_${variant}.tar.gz`,
3030
undefined,
3131
auth
3232
);
@@ -36,7 +36,7 @@ export async function installAgent(
3636
return false;
3737
}
3838
downloadPath = await tc.downloadTool(
39-
"https://github.com/step-security/agent/releases/download/v0.14.4/agent_0.14.4_linux_amd64.tar.gz",
39+
"https://github.com/step-security/agent/releases/download/v0.15.0/agent_0.15.0_linux_amd64.tar.gz",
4040
undefined,
4141
auth
4242
);

src/interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export interface Configuration {
44
correlation_id: string;
55
working_directory: string;
66
api_url: string;
7+
telemetry_url: string;
78
allowed_endpoints: string;
89
egress_policy: string;
910
disable_telemetry: boolean;

0 commit comments

Comments
 (0)