litellm/tests/test_litellm/proxy/guardrails/guardrail_hooks
yucheng-berri 4301ac4940
Merge pull request #41986 from BerriAI/litellm_revert_post_call_guardrail_context
revert(guardrails): drop the scoped request conversation and tools from post-call scans (#41220)
2026-09-19 12:06:30 -07:00
..
azure test(guardrails): drop regression docstrings from the api_version tests 2026-09-19 02:52:42 -07:00
content_filter fix(content_filter): refuse a trim that splits a conditional word across the cut 2026-09-16 12:45:58 +00:00
guardrails_ai style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
openai Revert "Merge pull request #41220 from BerriAI/litellm_post_call_guardrail_context" 2026-09-19 17:45:15 +00:00
unified_guardrails fix(guardrails): keep usage chunk and defer tool_calls finish_reason behind held text in incremental_diff 2026-09-17 05:11:04 +00:00
_cisco_ai_defense_test_utils.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
code_execution_compliance_dataset.json feat(add-new-block_code_execution-guardrail): prevent agent from executing code (#22154) 2026-02-25 22:02:14 -08:00
test_agent_365.py refactor(guardrails): keep Agent 365 PR to the guardrail, move MCP changes to stacked PRs 2026-09-15 00:29:58 +00:00
test_aim.py feat(guardrails): add inspect_embeddings toggle for AIM and Cato (#39918) 2026-09-05 17:15:46 -07:00
test_alice.py feat(guardrails): add Alice guardrail (#38898) 2026-09-01 12:33:39 -07:00
test_bedrock_guardrails.py fix(guardrails): hold tool-call windows until the final scan and expose Bedrock streaming flags to the UI 2026-09-16 18:30:12 +00:00
test_bedrock_invoke_guardrail_checks.py fix: sign Bedrock guardrail, embedding, and Mantle requests off the event loop 2026-09-08 16:59:34 -07:00
test_block_code_execution.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_block_code_execution_compliance.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_cato_networks.py feat(guardrails): add inspect_embeddings toggle for AIM and Cato (#39918) 2026-09-05 17:15:46 -07:00
test_cisco_ai_defense_chat.py test: drop the leftover set_verbose from eleven test files (#37845) 2026-08-22 08:23:27 -07:00
test_cisco_ai_defense_mcp.py fix(mcp): retain wire aliases in guardrail inspection payloads 2026-09-18 23:00:32 -07:00
test_compresr.py fix(guardrails): preserve cache_control breakpoints in compresr write-back 2026-07-25 14:47:25 -07:00
test_conduct.py feat(guardrails): add Conduct Guard integration with validated hooks and forwarded params (#40785) 2026-09-12 10:04:55 -07:00
test_crowdstrike_aidr.py Revert "Merge pull request #41220 from BerriAI/litellm_post_call_guardrail_context" 2026-09-19 17:45:15 +00:00
test_deepkeep.py test(guardrails): stop five guardrail test files leaking env vars on failure (#37828) 2026-08-21 21:29:31 -07:00
test_dynamoai.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_enkryptai.py test: require a match= on broad pytest.raises, and drop duplicate parametrize cases (#37769) 2026-08-20 20:24:49 -07:00
test_generic_guardrail_api.py fix(guardrails): read the rewrite from texts when a guardrail echoes every row back unchanged 2026-09-13 03:02:15 -07:00
test_grayswan.py fix(guardrails): forward grayswan scan id header (#32544) 2026-07-08 15:05:27 -07:00
test_headroom.py merge: main into litellm_headroom_protect_cached_prefix 2026-09-15 04:12:28 +00:00
test_hiddenlayer.py Revert "Merge pull request #41220 from BerriAI/litellm_post_call_guardrail_context" 2026-09-19 17:45:15 +00:00
test_javelin.py test(guardrails): drop regression docstrings from the api_version tests 2026-09-19 02:52:42 -07:00
test_lakera_ai_v2.py fix(guardrails): stop Lakera monitor mode forwarding unmasked PII on Responses-API bodies (#38841) 2026-08-29 17:07:39 -07:00
test_lasso.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_mcp_end_user_permission.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_mcp_security.py fix(guardrails): accept on_violation block and alert for mcp_security (#40155) 2026-09-07 14:33:02 -07:00
test_microsoft_purview.py test: enforce PT012 so a pytest.raises block cannot hide dead assertions (#37748) 2026-08-20 19:36:26 -07:00
test_model_armor.py test(model_armor): inject HTTP handler and token provider 2026-09-14 18:03:22 +00:00
test_noma.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_noma_v2.py perf(guardrails): stop sending the conversation twice in the noma v2 payload (#36764) 2026-08-17 15:37:17 -07:00
test_onyx.py test(guardrails): stop five guardrail test files leaking env vars on failure (#37828) 2026-08-21 21:29:31 -07:00
test_ovalix.py feat: litellm oss 110626 (#30202) 2026-06-11 22:30:26 -07:00
test_pangea.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_panw_prisma_airs.py fix(guardrails): count the PANW latest-user scan over the hoisted system prompt 2026-09-13 02:43:35 -07:00
test_presidio.py Merge pull request #36775 from MvdB/litellm_presidio_new_entities 2026-09-15 11:26:21 -07:00
test_presidio_union_fix.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_promptguard.py Revert "Merge pull request #41220 from BerriAI/litellm_post_call_guardrail_context" 2026-09-19 17:45:15 +00:00
test_qualifire.py Revert "Merge pull request #41220 from BerriAI/litellm_post_call_guardrail_context" 2026-09-19 17:45:15 +00:00
test_repelloai.py test(guardrails): stop five guardrail test files leaking env vars on failure (#37828) 2026-08-21 21:29:31 -07:00
test_response_rejection_guardrail_code.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_singulr.py fix(guardrails): run Singulr logging_only through the base hook, key MCP scans off the proxy call type and type the payloads 2026-09-15 19:14:49 -07:00
test_straiker.py Revert "Merge pull request #41220 from BerriAI/litellm_post_call_guardrail_context" 2026-09-19 17:45:15 +00:00
test_structured_messages_writeback.py fix(guardrails/headroom): stop compressing the turn the model must act on (#35294) 2026-07-30 18:53:31 -07:00
test_tool_permission.py fix(anthropic): satisfy strict lint and update tests pinned to the dropped served model 2026-09-16 17:44:59 +00:00
test_tool_policy_guardrail.py test: drop the cwd-relative sys.path.insert calls from the test suite (#37802) 2026-08-22 09:25:58 -07:00
test_typesafe.py fix(guardrails): keep typesafe registries as dicts so guardrail discovery finds them 2026-09-18 06:05:43 +00:00
test_vigil_guard.py Litellm OSS Staging 010626 (#29422) 2026-06-01 21:42:51 -07:00
test_xecguard.py fix(xecguard): sanitize scan result before recording it for logging (#32935) 2026-07-12 02:46:02 +00:00