mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 13:01:56 +00:00
fix: updated posthog init function to mask everything in session replays
This commit is contained in:
@@ -152,6 +152,5 @@ LANGSMITH_API_KEY=""
|
||||
LANGCHAIN_PROJECT=""
|
||||
|
||||
# posthog integration
|
||||
NEXT_PUBLIC_POSTHOG_HOST=""
|
||||
NEXT_PUBLIC_POSTHOG_KEY=""
|
||||
|
||||
NEXT_PUBLIC_POSTHOG_KEY=phc_dHS2LOFJ3gJWVt8kP6ruQgSTDuSAfRDStv6eMUMeMBt
|
||||
NEXT_PUBLIC_POSTHOG_HOST=https://eu.i.posthog.com
|
||||
|
||||
@@ -13,6 +13,10 @@ export const initializePostHog = (): void => {
|
||||
capture_exceptions: true,
|
||||
capture_pageview: false,
|
||||
capture_pageleave: false,
|
||||
session_recording: {
|
||||
maskAllInputs: true,
|
||||
maskTextSelector: "*",
|
||||
},
|
||||
});
|
||||
} catch (error) {
|
||||
console.error("Failed to initialize PostHog:", error);
|
||||
|
||||
Reference in New Issue
Block a user