Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate bot categories locally #2716

Closed
davidmytton opened this issue Jan 2, 2025 · 1 comment
Closed

Validate bot categories locally #2716

davidmytton opened this issue Jan 2, 2025 · 1 comment

Comments

@davidmytton
Copy link
Contributor

We see occasional errors where invalid bot categories are specified. This causes API errors like failed to detect bot: invalid category specified (CATEGORY: SEARCH_ENGINE). The SDK should validate the rule config before sending a decide request to ensure the category / UA is correct.

@blaine-arcjet
Copy link
Contributor

We already validate categories via the Wasm. Since we fail-open on an error, we need to send the data to the Decide service to check any rules that can't be run locally and to enhance any local rules with service-only data.

Some cases can be handled in #2641 but I don't think we can do anything more than we currently do for bots.

@blaine-arcjet blaine-arcjet closed this as not planned Won't fix, can't repro, duplicate, stale Jan 28, 2025
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

No branches or pull requests

2 participants