internal/

directory
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: Apache-2.0

Directories

Path Synopsis
Package auth provides fail-closed authentication middleware wrapping MCP tool, resource, and prompt handlers.
Package auth provides fail-closed authentication middleware wrapping MCP tool, resource, and prompt handlers.
Package logging provides logger initialization, MCP server logging hooks, and an HTTP round-tripper that logs TheHive requests and responses.
Package logging provides logger initialization, MCP server logging hooks, and an HTTP round-tripper that logs TheHive requests and responses.
Package permissions defines the permissions configuration model and the access-control checks (tools, entity operations, analyzers, responders and filters) applied to TheHive MCP requests.
Package permissions defines the permissions configuration model and the access-control checks (tools, entity operations, analyzers, responders and filters) applied to TheHive MCP requests.
Package resources exposes TheHive metadata, schemas, rules, and facts as MCP resources, covering both static embedded content and dynamic API-backed lookups.
Package resources exposes TheHive metadata, schemas, rules, and facts as MCP resources, covering both static embedded content and dynamic API-backed lookups.
Package testutils provides helpers for the integration test suite: the docker-compose-managed TheHive bootstrap, API/MCP test clients, and fixtures.
Package testutils provides helpers for the integration test suite: the docker-compose-managed TheHive bootstrap, API/MCP test clients, and fixtures.
Package tools defines the MCP tools exposed by the server and their shared registration, validation, and error-handling helpers.
Package tools defines the MCP tools exposed by the server and their shared registration, validation, and error-handling helpers.
execute_automation
Package execute_automation implements the execute-automation MCP tool for running Cortex analyzers and responders and reading their execution status.
Package execute_automation implements the execute-automation MCP tool for running Cortex analyzers and responders and reading their execution status.
manage
Package manage implements the manage-entities MCP tool, exposing CRUD and workflow operations (create, update, delete, comment, promote, merge, apply-template) over TheHive entities.
Package manage implements the manage-entities MCP tool, exposing CRUD and workflow operations (create, update, delete, comment, promote, merge, apply-template) over TheHive entities.
resource
Package resource implements the get-resource MCP tool that exposes TheHive's hierarchical resources (schemas, metadata, docs, config) to clients.
Package resource implements the get-resource MCP tool that exposes TheHive's hierarchical resources (schemas, metadata, docs, config) to clients.
search
Package search implements the MCP search tool that queries TheHive entities using the TheHive filter DSL.
Package search implements the MCP search tool that queries TheHive entities using the TheHive filter DSL.
Package types defines the configuration options, context/env/flag keys, and shared entity constants used across the TheHiveMCP server.
Package types defines the configuration options, context/env/flag keys, and shared entity constants used across the TheHiveMCP server.
Package utils provides shared helpers for the MCP server: TheHive query building, entity-scope permission checks, filter normalization, result date/untrusted-data processing, and the elicitation HTTP transport.
Package utils provides shared helpers for the MCP server: TheHive query building, entity-scope permission checks, filter normalization, result date/untrusted-data processing, and the elicitation HTTP transport.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL