← All examples
69 / 100
Jev Abuse pattern triage Code Example
Spot requests that warrant investigation beyond simple rate limits.
Sequential account IDs requested
Requests Sequential account IDs requested
Successful Auth Yes
Normal Usage single account
Which investigation path fits?
0%
Enumeration review.
Send it to enumeration review.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"requests": "Sequential account IDs requested",
"successful_auth": true,
"normal_usage": "single account"
};
const decision = await evaluateDecision({
state,
question: "Which investigation path fits?",
options: ["Enumeration review","Normal usage","Performance review"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Enumeration review"
&& decision.probability >= 0.85) {
queueAbuseInvestigation(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.