security: allow only authenticated internal access to canonical ER bridge
This commit is contained in:
@@ -26,6 +26,7 @@ const EXEMPT_PATTERNS: RegExp[] = [
|
||||
const INTERNAL_ONLY_ROUTES: RegExp[] = [
|
||||
/^\/api\/0pt\/quality\/bridge-run$/,
|
||||
/^\/api\/0pt\/internal\/evidence-outbox\/dispatch$/,
|
||||
/^\/api\/0pt\/internal\/er\/candidates$/,
|
||||
];
|
||||
|
||||
let _authDiagCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user