You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/references/configuration.mdx
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,8 @@ Global configurations are provided through env variables or a YAML file. ConfigM
87
87
|`OTEL_SERVICE_NAME`| The service name reported to OpenTelemetry. If set, OpenTelemetry will be enabled. |`nil`| No |
88
88
|`PORTAL_BRAND_COLOR`| Primary brand color (hex code) for theming the Outpost Portal (e.g., '#6122E7'). Also referred to as Accent Color in some contexts. |`nil`| No |
89
89
|`PORTAL_DISABLE_OUTPOST_BRANDING`| If true, disables Outpost branding in the portal. |`false`| No |
90
+
|`PORTAL_ENABLE_DESTINATION_FILTER`| If true, enables destination filter UI in the portal. |`false`| No |
91
+
|`PORTAL_ENABLE_WEBHOOK_CUSTOM_HEADERS`| If true, enables custom headers UI for webhook destinations in the portal. |`false`| No |
90
92
|`PORTAL_FAVICON_URL`| URL for the favicon to be used in the Outpost Portal. |`nil`| No |
91
93
|`PORTAL_FORCE_THEME`| Force a specific theme for the Outpost Portal (e.g., 'light', 'dark'). |`nil`| No |
92
94
|`PORTAL_LOGO`| URL for the light-mode logo to be displayed in the Outpost Portal. |`nil`| No |
@@ -434,6 +436,12 @@ portal:
434
436
# If true, disables Outpost branding in the portal.
435
437
disable_outpost_branding: false
436
438
439
+
# If true, enables destination filter UI in the portal.
440
+
enable_destination_filter: false
441
+
442
+
# If true, enables custom headers UI for webhook destinations in the portal.
443
+
enable_webhook_custom_headers: false
444
+
437
445
# URL for the favicon to be used in the Outpost Portal.
Copy file name to clipboardExpand all lines: internal/config/portal.go
+24-20Lines changed: 24 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -8,33 +8,37 @@ import (
8
8
)
9
9
10
10
typePortalConfigstruct {
11
-
ProxyURLstring`yaml:"proxy_url" env:"PORTAL_PROXY_URL" desc:"URL to proxy the Outpost Portal through. If set, Outpost serves the portal assets, and this URL is used as the base. Must be a valid URL." required:"N"`
12
-
RefererURLstring`yaml:"referer_url" env:"PORTAL_REFERER_URL" desc:"The URL where the user is redirected when the JWT token is expired or when the user clicks 'back'. Required if the Outpost Portal is enabled/used." required:"C"`
13
-
FaviconURLstring`yaml:"favicon_url" env:"PORTAL_FAVICON_URL" desc:"URL for the favicon to be used in the Outpost Portal." required:"N"`
14
-
BrandColorstring`yaml:"brand_color" env:"PORTAL_BRAND_COLOR" desc:"Primary brand color (hex code) for theming the Outpost Portal (e.g., '#6122E7'). Also referred to as Accent Color in some contexts." required:"N"`
15
-
Logostring`yaml:"logo" env:"PORTAL_LOGO" desc:"URL for the light-mode logo to be displayed in the Outpost Portal." required:"N"`
16
-
LogoDarkstring`yaml:"logo_dark" env:"PORTAL_LOGO_DARK" desc:"URL for the dark-mode logo to be displayed in the Outpost Portal." required:"N"`
17
-
OrgNamestring`yaml:"org_name" env:"PORTAL_ORGANIZATION_NAME" desc:"Organization name displayed in the Outpost Portal." required:"N"`
18
-
ForceThemestring`yaml:"force_theme" env:"PORTAL_FORCE_THEME" desc:"Force a specific theme for the Outpost Portal (e.g., 'light', 'dark')." required:"N"`
19
-
DisableOutpostBrandingbool`yaml:"disable_outpost_branding" env:"PORTAL_DISABLE_OUTPOST_BRANDING" desc:"If true, disables Outpost branding in the portal." required:"N"`
11
+
ProxyURLstring`yaml:"proxy_url" env:"PORTAL_PROXY_URL" desc:"URL to proxy the Outpost Portal through. If set, Outpost serves the portal assets, and this URL is used as the base. Must be a valid URL." required:"N"`
12
+
RefererURLstring`yaml:"referer_url" env:"PORTAL_REFERER_URL" desc:"The URL where the user is redirected when the JWT token is expired or when the user clicks 'back'. Required if the Outpost Portal is enabled/used." required:"C"`
13
+
FaviconURLstring`yaml:"favicon_url" env:"PORTAL_FAVICON_URL" desc:"URL for the favicon to be used in the Outpost Portal." required:"N"`
14
+
BrandColorstring`yaml:"brand_color" env:"PORTAL_BRAND_COLOR" desc:"Primary brand color (hex code) for theming the Outpost Portal (e.g., '#6122E7'). Also referred to as Accent Color in some contexts." required:"N"`
15
+
Logostring`yaml:"logo" env:"PORTAL_LOGO" desc:"URL for the light-mode logo to be displayed in the Outpost Portal." required:"N"`
16
+
LogoDarkstring`yaml:"logo_dark" env:"PORTAL_LOGO_DARK" desc:"URL for the dark-mode logo to be displayed in the Outpost Portal." required:"N"`
17
+
OrgNamestring`yaml:"org_name" env:"PORTAL_ORGANIZATION_NAME" desc:"Organization name displayed in the Outpost Portal." required:"N"`
18
+
ForceThemestring`yaml:"force_theme" env:"PORTAL_FORCE_THEME" desc:"Force a specific theme for the Outpost Portal (e.g., 'light', 'dark')." required:"N"`
19
+
DisableOutpostBrandingbool`yaml:"disable_outpost_branding" env:"PORTAL_DISABLE_OUTPOST_BRANDING" desc:"If true, disables Outpost branding in the portal." required:"N"`
20
+
EnableDestinationFilterbool`yaml:"enable_destination_filter" env:"PORTAL_ENABLE_DESTINATION_FILTER" desc:"If true, enables destination filter UI in the portal." required:"N" default:"false"`
21
+
EnableWebhookCustomHeadersbool`yaml:"enable_webhook_custom_headers" env:"PORTAL_ENABLE_WEBHOOK_CUSTOM_HEADERS" desc:"If true, enables custom headers UI for webhook destinations in the portal." required:"N" default:"false"`
20
22
}
21
23
22
24
// GetPortalConfig returns the portal configuration with all necessary fields
0 commit comments