Make log payloads opaque pass-through
This commit is contained in:
@@ -57,8 +57,8 @@ describe("safe dependency and Run update projections", () => {
|
||||
})).toThrow(/forbidden field/);
|
||||
});
|
||||
|
||||
it("rejects raw host paths or credentials hidden in safe-looking evidence", () => {
|
||||
expect(() => parseSafeDependencyCatalog({
|
||||
it("preserves raw host paths or credentials in evidence text", () => {
|
||||
expect(parseSafeDependencyCatalog({
|
||||
serverInstanceId: "server-1",
|
||||
pluginId: "game.runtime",
|
||||
pluginVersion: "1.0.0",
|
||||
@@ -68,6 +68,6 @@ describe("safe dependency and Run update projections", () => {
|
||||
probes: [{ key: "java", kind: "java.version", required: true, state: "present", evidence: "/Users/operator/private" }],
|
||||
plans: [],
|
||||
updatedAt: "2026-07-18T12:00:00Z"
|
||||
})).toThrow(/unsafe runtime details/);
|
||||
}).probes[0].evidence).toBe("/Users/operator/private");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user