Skip to content

Commit d2c7965

Browse files
author
flowcore-platform
committed
fix(index): 🔒 Update event stream projection description for sensitive data handling
1 parent d690c0d commit d2c7965

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,16 @@ module.exports = projectEvent;
180180

181181
server.tool(
182182
"start_event_stream_projection",
183-
"Start streaming events from Flowcore and projecting them to the database, Sensitive data should not be needed, but if you need it ask the user if they are sure they want to include sensitive data, is false by default",
183+
"Start streaming events from Flowcore and projecting them to the database, Sensitive data should not be needed as it is masked in a correct format in the response, but if you need it ask the user if they are sure they want to include sensitive data, is **false** by default. **DO NOT** fetch sensitive data from the event type on your own initiative, if you deem it necessary to fetch sensitive data, **ALWAYS** ask the user if they are sure they want to include sensitive data, is **false** by default",
184184
{
185185
tenant: z.string().describe("Tenant name"),
186186
dataCore: z.string().describe("Name of the data core"),
187187
flowTypeName: z.string().describe("Name of the flow type"),
188-
eventTypeNames: z.array(z.string()).describe("Name of the event types to project, can be multiple event types but only within the same flow type, this will maintain the ordering of the events"),
188+
eventTypeNames: z
189+
.array(z.string())
190+
.describe(
191+
"Name of the event types to project, can be multiple event types but only within the same flow type, this will maintain the ordering of the events",
192+
),
189193
startDate: z.string().describe("Start date for event streaming"),
190194
endDate: z.string().describe("End date for event streaming"),
191195
projectorName: z.string().describe("Name of the projector to use for events"),

0 commit comments

Comments
 (0)