1
0
Fork 0
mirror of synced 2026-06-05 19:25:14 +00:00

moving correlationID to top

This commit is contained in:
h0x0er 2022-09-26 22:23:11 +05:30
commit 1c6bba3815

View file

@ -26,6 +26,8 @@ import { cacheFile, cacheKey, CompressionMethod, getCacheEntry } from "./cache";
var api_url = `https://${env}.api.stepsecurity.io/v1`;
var web_url = "https://app.stepsecurity.io";
console.log(`Step Security Job Correlation ID: ${correlation_id}`);
const confg = {
repo: process.env["GITHUB_REPOSITORY"],
run_id: process.env["GITHUB_RUN_ID"],
@ -98,8 +100,6 @@ import { cacheFile, cacheKey, CompressionMethod, getCacheEntry } from "./cache";
verifyChecksum(downloadPath); // NOTE: verifying agent's checksum, before extracting
const extractPath = await tc.extractTar(downloadPath);
console.log(`Step Security Job Correlation ID: ${correlation_id}`);
if (!confg.disable_telemetry || confg.egress_policy === "audit") {
common.printInfo(web_url);
}