MCP Tools Reference: chronicle.googleapis.com

Tool: generate_feed_secret

Generate authentication secret for a feed.

Generates a new secret for https push feeds which do not support jwt tokens. This replaces any existing secret.

Workflow Integration: - Use to generate or rotate secrets for push-based feeds. - Essential for managing credentials for certain feed types.

Use Cases: - Generate a secret for a new HTTPS push feed. - Rotate a compromised secret.

Args: feed_id (str): The unique ID of the feed. project_id (str): Google Cloud project ID (required). customer_id (str): Chronicle customer ID (required). region (str): Chronicle region (e.g., "us", "europe") (required).

Returns: str: Raw JSON response containing the new secret.

Example Usage: generate_feed_secret( feed_id="feed_12345", project_id="my-project", customer_id="my-customer", region="us" )

The following sample demonstrate how to use curl to invoke the generate_feed_secret MCP tool.

Curl Request
                  
curl --location 'https://chronicle.googleapis.com/mcp' \
--header 'content-type: application/json' \
--header 'accept: application/json, text/event-stream' \
--data '{
  "method": "tools/call",
  "params": {
    "name": "generate_feed_secret",
    "arguments": {
      // provide these details according to the tool's MCP specification
    }
  },
  "jsonrpc": "2.0",
  "id": 1
}'
                

Input Schema

Request message for GenerateSecret.

GenerateSecretRequest

JSON representation
{
  "projectId": string,
  "customerId": string,
  "region": string,
  "feedId": string
}
Fields
projectId

string

Project ID of the customer.

customerId

string

Customer ID of the customer.

region

string

Region of the customer.

feedId

string

The unique ID of the feed.

Output Schema

GenerateSecret response message.

GenerateSecretResponse

JSON representation
{
  "secret": string
}
Fields
secret

string

The generated secret. Store the secret value at a safe place and use it while configuring your https push feed.

Tool Annotations

Destructive Hint: ✅ | Idempotent Hint: ❌ | Read Only Hint: ❌ | Open World Hint: ❌