
Garnet provides managed threat intelligence feeds that automatically adapt your Detections to block emerging threats by default.
New: Introduced DNS-based monitoring to automatically block suspicious connections during CI builds.
• Enhanced: Improved handling of ephemeral containers; logs now provide deeper insights into short-lived processes.
• Fixed: Resolved minor UI alignment bugs in the GitHub Action comment threads.
code-snippet-name
1function run(cmd, params, cwd = process.cwd()) {
2 const child = childProcess.spawn(cmd, params, {
3 stdio: ["pipe", "inherit", "inherit"],
4 cwd,
5 });
6
7 return new Promise((resolve, reject) => {
8 child.on("close", () => {
9 resolve();
10 });
11 child.on("exit", (code) => {
12 if (code === 0) {
13 resolve();
14 } else {
15 reject(code);
16 }
17 });
18 child.on("error", () => {
19 reject();
20 });
21 });
22}