Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(settings): take CSP reporting out of beta and drop the gating flag (#58591)

Paul D'Ambraa4fb9e96187d
diff --git a/frontend/src/lib/constants.tsx b/frontend/src/lib/constants.tsx
index 60690c77544a..4ef75a33e9f0 100644
--- a/frontend/src/lib/constants.tsx
+++ b/frontend/src/lib/constants.tsx
@@ -187,7 +187,6 @@ export const FEATURE_FLAGS = {
BOX_PLOT_INSIGHT: 'box-plot-insight', // owner: @pauldambra #team-product-analytics
CALENDAR_HEATMAP_INSIGHT: 'calendar-heatmap-insight', // owner: @jabahamondes #team-web-analytics
COOKIELESS_SERVER_HASH_MODE_SETTING: 'cookieless-server-hash-mode-setting', // owner: #team-web-analytics
- CSP_REPORTING: 'mexicspo', // owner @pauldambra @lricoy @robbiec
ERROR_TRACKING_ALERT_ROUTING: 'error-tracking-alert-routing', // owner: #team-error-tracking
EXPERIMENT_INTERVAL_TIMESERIES: 'experiments-interval-timeseries', // owner: @jurajmajerik #team-experiments
/* The below flag is used to activate unmounting charts outside the viewport, as we're currently investigating frontend performance
diff --git a/frontend/src/scenes/settings/SettingsMap.tsx b/frontend/src/scenes/settings/SettingsMap.tsx
index e39eae169bf0..a66f6fe09e8a 100644
--- a/frontend/src/scenes/settings/SettingsMap.tsx
+++ b/frontend/src/scenes/settings/SettingsMap.tsx
@@ -393,18 +393,10 @@ export const SETTINGS_MAP: SettingSection[] = [
level: 'environment',
id: 'environment-csp-reporting',
title: 'CSP reporting',
- flag: 'CSP_REPORTING',
settings: [
{
id: 'csp-reporting',
- title: (
- <>
- CSP reporting{' '}
- <LemonTag type="warning" className="ml-1 uppercase">
- Beta
- </LemonTag>
- </>
- ),
+ title: 'CSP reporting',
description:
'Collect Content Security Policy violation reports to monitor and debug CSP issues on your site.',
component: <CSPReportingSettings />,