← All examples
64 / 100
Jev Secret exposure classification Code Example
Distinguish test fixtures from potentially live credentials.
API key pattern in public commit
Finding API key pattern in public commit
Context production deployment config
Revoked No
How urgently should this finding be reviewed?
0%
Immediate review.
Send it to immediate review.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"finding": "API key pattern in public commit",
"context": "production deployment config",
"revoked": false
};
const decision = await evaluateDecision({
state,
question: "How urgently should this finding be reviewed?",
options: ["Immediate review","Fixture review","Low priority"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Immediate review"
&& decision.probability >= 0.85) {
escalateSecretFinding(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.