Skip to content

Conversation

@sagarvora
Copy link
Contributor

Adds semgrep rule to detect when test endpoints use @frappe.whitelist() instead of @whitelist_for_tests(). This ensures test endpoints are properly protected and only accessible in test environments.

Adds semgrep rule to detect when test endpoints use @frappe.whitelist()
instead of @whitelist_for_tests(). This ensures test endpoints are
properly protected and only accessible in test environments.
@sagarvora sagarvora force-pushed the add-whitelist-for-tests-rule branch from b18a1f5 to b8d8401 Compare November 21, 2025 10:59
@sagarvora sagarvora force-pushed the add-whitelist-for-tests-rule branch from 36c8247 to cf8eb22 Compare November 21, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant