This article collects the operational guidance that matters once
llmshieldr is part of an application. It is not a
certification checklist and does not make a workflow production-ready by
itself.
policy_controls() behavior for prompt blocks,
context blocks, output blocks, refusals, and human escalation.scanner_options() for token limits, URL host
policy, topic bans, and language policy when those controls matter.llmshieldr audit logs can contain sensitive prompts,
retrieved context, model outputs, findings, and rule metadata. Treat
audit output as sensitive application telemetry.
Supported formats:
{
"input_report": {
"action": "redact",
"risk_score": 0.3,
"policy": "enterprise_default",
"checks": "rules",
"findings": [
{
"rule_id": "llm02.pii.email",
"owasp": "llm02",
"severity": "medium",
"action": "redact",
"description": "Email address.",
"source": "rules"
}
],
"metadata": {
"stage": "prompt",
"reviewer_errors": []
}
},
"output_report": null,
"context_reports": null,
"prompt_clean": "Contact [REDACTED] for details.",
"output_raw": null,
"elapsed_ms": 12,
"token_estimate": 8,
"action": "redact"
}| stage | context_row_index | context_source | tool_name | conversation_role | reviewer_error_count | report_index | action | risk_score | rule_id | owasp | severity | source |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| input | NA | NA | NA | NA | 0 | 1 | redact | 0.3 | llm02.pii.email | llm02 | medium | rules |
| context | 2 | unknown | NA | NA | 0 | 2 | block | 1.0 | llm01.injection.indirect | llm01 | critical | rules |
| output | NA | NA | search_docs | tool | 1 | 1 | redact | 0.3 | llm02.pii.email | llm02 | medium | scanner |
reviewer_error_count and nested
reviewer_errors when semantic checks are enabled; malformed
reviewer JSON is a safety signal.llmshieldr Alone For