Skip to content

docs: add Vaultak runtime security integration for Haystack#487

Open
samueloladji-beep wants to merge 1 commit into
deepset-ai:mainfrom
samueloladji-beep:add-vaultak-integration
Open

docs: add Vaultak runtime security integration for Haystack#487
samueloladji-beep wants to merge 1 commit into
deepset-ai:mainfrom
samueloladji-beep:add-vaultak-integration

Conversation

@samueloladji-beep
Copy link
Copy Markdown

Summary

Adds a new integration page for Vaultak — a runtime security platform that wraps Haystack pipelines with real-time input screening and PII masking via two custom @component classes.

Install: pip install haystack-vaultak

Changes

integrations/vaultak.md (new) — covers:

  • VaultakSecurityChecker: a @component inserted before the retriever/LLM that risk-scores every query (0–10) via the Vaultak SDK and raises RuntimeError to halt the pipeline if the score exceeds the configured threshold; also runs a policy check on the input
  • VaultakPIIMasker: a @component inserted after the LLM generator that scans all replies for PII (names, emails, phone numbers, etc.) and masks them before they reach users
  • Full RAG pipeline example wiring both components around InMemoryBM25RetrieverPromptBuilderOpenAIGenerator

Test plan

  • Page renders correctly on the Haystack integrations site
  • Code examples are syntactically correct Python
  • Component interfaces match Haystack 2.0 @component contract (output_types, run method)

🤖 Generated with Claude Code

Adds integrations/vaultak.md with two Haystack @component classes:
- VaultakSecurityChecker: inserted before the retriever/LLM to
  risk-score queries (0–10) and check policy; raises RuntimeError
  to halt the pipeline if the score exceeds the threshold
- VaultakPIIMasker: inserted after the LLM generator to scan and
  redact PII from replies before they reach users

Includes a full RAG pipeline example wiring both components around
InMemoryBM25Retriever + PromptBuilder + OpenAIGenerator.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@samueloladji-beep samueloladji-beep requested a review from a team as a code owner May 29, 2026 08:39
@samueloladji-beep
Copy link
Copy Markdown
Author

@TuanaCelik @bilgeyucel @anakin87 — ready for review. This adds a Vaultak runtime security integration page with VaultakSecurityChecker and VaultakPIIMasker pipeline components.

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