12 lines
611 B
JavaScript
12 lines
611 B
JavaScript
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = path.dirname(__filename);
|
|
|
|
export const repoRoot = path.resolve(__dirname, "..");
|
|
export const host = process.env.SOC2_HOST || "127.0.0.1";
|
|
export const port = Number(process.env.SOC2_PORT || 4177);
|
|
export const registryPath = path.join(repoRoot, "compliance", "soc2", "registry", "soc2-registry.json");
|
|
export const manifestsDir = path.join(repoRoot, "compliance", "soc2", "registry");
|
|
export const evidenceDir = path.join(repoRoot, "compliance", "soc2", "evidence");
|