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.
Example Usage:
-
generate_feed_secret(feedId="feed_12345", projectId="my-project", customerId="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
|
Google Cloud project ID (required). |
customerId
|
Chronicle customer ID (required). |
region
|
Chronicle region (e.g., "us", "europe") (required). |
feedId
|
The unique ID of the feed. |
Output Schema
GenerateSecret response message.
GenerateSecretResponse
| JSON representation |
|---|
{ "secret" : string } |
| Fields | |
|---|---|
secret
|
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: ❌

