- {__(`Connect to ${title}'s Compliance Page`)}
+ {__(`Connect to ${entityName}'s Compliance Page`)}
{__(
diff --git a/apps/trust/src/queries/CompliancePortalGraph.ts b/apps/trust/src/queries/CompliancePortalGraph.ts
index bfd6a9b98..a49a92725 100644
--- a/apps/trust/src/queries/CompliancePortalGraph.ts
+++ b/apps/trust/src/queries/CompliancePortalGraph.ts
@@ -31,7 +31,7 @@ export const currentCompliancePortalGraphQuery = graphql`
currentCompliancePortal @required(action: THROW) {
id
slug
- title
+ entityName
description
websiteUrl
email
@@ -120,6 +120,7 @@ export const currentTrustSubprocessorsQuery = graphql`
query CompliancePortalGraphCurrentSubprocessorsQuery {
currentCompliancePortal {
id
+ entityName
subprocessors(first: 50) {
edges {
node {
diff --git a/e2e/console/compliance_portal_profile_test.go b/e2e/console/compliance_portal_profile_test.go
index c978a57a6..c2b1e95ee 100644
--- a/e2e/console/compliance_portal_profile_test.go
+++ b/e2e/console/compliance_portal_profile_test.go
@@ -61,7 +61,7 @@ func TestCompliancePortal_UpdateProfile(t *testing.T) {
updateCompliancePortal(input: $input) {
compliancePortal {
id
- title
+ entityName
description
websiteUrl
email
@@ -75,7 +75,7 @@ func TestCompliancePortal_UpdateProfile(t *testing.T) {
UpdateCompliancePortal struct {
CompliancePortal struct {
ID string `json:"id"`
- Title string `json:"title"`
+ EntityName string `json:"entityName"`
Description *string `json:"description"`
WebsiteURL *string `json:"websiteUrl"`
Email *string `json:"email"`
@@ -87,7 +87,7 @@ func TestCompliancePortal_UpdateProfile(t *testing.T) {
err = owner.Execute(updateMutation, map[string]any{
"input": map[string]any{
"compliancePortalId": compliancePortalID,
- "title": "Acme Security",
+ "entityName": "Acme Security",
"description": "We keep your data safe.",
"websiteUrl": "https://example.com",
"email": "security@example.com",
@@ -98,7 +98,7 @@ func TestCompliancePortal_UpdateProfile(t *testing.T) {
tc := result.UpdateCompliancePortal.CompliancePortal
assert.Equal(t, compliancePortalID, tc.ID)
- assert.Equal(t, "Acme Security", tc.Title)
+ assert.Equal(t, "Acme Security", tc.EntityName)
require.NotNil(t, tc.Description)
assert.Equal(t, "We keep your data safe.", *tc.Description)
require.NotNil(t, tc.WebsiteURL)
diff --git a/e2e/mcp/compliance_portal_test.go b/e2e/mcp/compliance_portal_test.go
index c790d4fc3..615747312 100644
--- a/e2e/mcp/compliance_portal_test.go
+++ b/e2e/mcp/compliance_portal_test.go
@@ -35,10 +35,10 @@ type mcpFile struct {
}
type compliancePortal struct {
- ID string `json:"id"`
- Title string `json:"title"`
- Active bool `json:"active"`
- Logo *mcpFile `json:"logo,omitempty"`
+ ID string `json:"id"`
+ EntityName string `json:"entity_name"`
+ Active bool `json:"active"`
+ Logo *mcpFile `json:"logo,omitempty"`
}
type compliancePortalReference struct {
@@ -175,7 +175,7 @@ func TestMCP_UpdateCompliancePortal(t *testing.T) {
var updateResult struct {
CompliancePortal struct {
ID string `json:"id"`
- Title string `json:"title"`
+ EntityName string `json:"entity_name"`
Description *string `json:"description"`
WebsiteURL *string `json:"website_url"`
Email *string `json:"email"`
@@ -184,7 +184,7 @@ func TestMCP_UpdateCompliancePortal(t *testing.T) {
}
mc.CallToolInto("updateCompliancePortal", map[string]any{
"compliance_portal_id": getResult.CompliancePortal.ID,
- "title": "Acme Security",
+ "entity_name": "Acme Security",
"description": "We keep your data safe.",
"website_url": "https://example.com",
"email": "security@example.com",
@@ -192,7 +192,7 @@ func TestMCP_UpdateCompliancePortal(t *testing.T) {
}, &updateResult)
assert.Equal(t, getResult.CompliancePortal.ID, updateResult.CompliancePortal.ID)
- assert.Equal(t, "Acme Security", updateResult.CompliancePortal.Title)
+ assert.Equal(t, "Acme Security", updateResult.CompliancePortal.EntityName)
require.NotNil(t, updateResult.CompliancePortal.Description)
assert.Equal(t, "We keep your data safe.", *updateResult.CompliancePortal.Description)
require.NotNil(t, updateResult.CompliancePortal.WebsiteURL)
diff --git a/e2e/trust/compliance_portal_oauth_connect_test.go b/e2e/trust/compliance_portal_oauth_connect_test.go
index 23e157e59..f27ec47b3 100644
--- a/e2e/trust/compliance_portal_oauth_connect_test.go
+++ b/e2e/trust/compliance_portal_oauth_connect_test.go
@@ -83,20 +83,20 @@ func TestCompliancePortal_VisitorConnectViaCIMD(t *testing.T) {
const query = `
query {
currentCompliancePortal {
- title
+ entityName
}
}
`
var result struct {
CurrentCompliancePortal struct {
- Title string `json:"title"`
+ EntityName string `json:"entityName"`
} `json:"currentCompliancePortal"`
}
err := visitor.ExecuteTrust(trustHost, query, nil, &result)
require.NoError(t, err, "visitor session must authenticate trust GraphQL after CIMD connect")
- assert.NotEmpty(t, result.CurrentCompliancePortal.Title)
+ assert.NotEmpty(t, result.CurrentCompliancePortal.EntityName)
}
func TestCompliancePortal_UnknownCIMDClientRejected(t *testing.T) {
diff --git a/packages/n8n-node/nodes/Probo/actions/compliancePortal/update.operation.ts b/packages/n8n-node/nodes/Probo/actions/compliancePortal/update.operation.ts
index d1ccf64cb..ca761e57b 100644
--- a/packages/n8n-node/nodes/Probo/actions/compliancePortal/update.operation.ts
+++ b/packages/n8n-node/nodes/Probo/actions/compliancePortal/update.operation.ts
@@ -77,8 +77,8 @@ export const description: INodeProperties[] = [
description: 'Whether search engines should index the compliance portal',
},
{
- displayName: 'Title',
- name: 'title',
+ displayName: 'Entity Name',
+ name: 'entityName',
type: 'string',
displayOptions: {
show: {
@@ -87,7 +87,7 @@ export const description: INodeProperties[] = [
},
},
default: '',
- description: 'The title shown on the public compliance page',
+ description: 'The entity name shown on the public compliance page',
},
{
displayName: 'Description',
@@ -155,7 +155,7 @@ export async function execute(
const websiteUrl = this.getNodeParameter('websiteUrl', itemIndex, '') as string;
const email = this.getNodeParameter('email', itemIndex, '') as string;
const headquarterAddress = this.getNodeParameter('headquarterAddress', itemIndex, '') as string;
- const title = this.getNodeParameter('title', itemIndex, '') as string;
+ const entityName = this.getNodeParameter('entityName', itemIndex, '') as string;
const query = `
mutation UpdateCompliancePortal($input: UpdateCompliancePortalInput!) {
@@ -164,7 +164,7 @@ export async function execute(
id
active
searchEngineIndexing
- title
+ entityName
description
websiteUrl
email
@@ -178,7 +178,7 @@ export async function execute(
const input: Record = {
compliancePortalId,
- title,
+ entityName,
description,
websiteUrl,
email,
diff --git a/pkg/cmd/compliance-portal/update/update.go b/pkg/cmd/compliance-portal/update/update.go
index df3be56d4..346e5a0c0 100644
--- a/pkg/cmd/compliance-portal/update/update.go
+++ b/pkg/cmd/compliance-portal/update/update.go
@@ -49,7 +49,7 @@ mutation($input: UpdateCompliancePortalInput!) {
id
active
searchEngineIndexing
- title
+ entityName
description
websiteUrl
email
@@ -74,7 +74,7 @@ type updateResponse struct {
ID string `json:"id"`
Active bool `json:"active"`
SearchEngineIndexing string `json:"searchEngineIndexing"`
- Title string `json:"title"`
+ EntityName string `json:"entityName"`
Description *string `json:"description"`
WebsiteURL *string `json:"websiteUrl"`
Email *string `json:"email"`
@@ -92,7 +92,7 @@ func NewCmdUpdate(f *cmdutil.Factory) *cobra.Command {
flagWebsiteURL string
flagEmail string
flagHeadquarterAddress string
- flagTitle string
+ flagEntityName string
)
cmd := &cobra.Command{
@@ -193,8 +193,8 @@ func NewCmdUpdate(f *cmdutil.Factory) *cobra.Command {
input["headquarterAddress"] = flagHeadquarterAddress
}
- if cmd.Flags().Changed("title") {
- input["title"] = flagTitle
+ if cmd.Flags().Changed("entity-name") {
+ input["entityName"] = flagEntityName
}
if len(input) == 1 {
@@ -232,7 +232,7 @@ func NewCmdUpdate(f *cmdutil.Factory) *cobra.Command {
cmd.Flags().StringVar(&flagWebsiteURL, "website-url", "", "Compliance page website URL")
cmd.Flags().StringVar(&flagEmail, "email", "", "Compliance page contact email")
cmd.Flags().StringVar(&flagHeadquarterAddress, "headquarter-address", "", "Compliance page headquarter address")
- cmd.Flags().StringVar(&flagTitle, "title", "", "Public compliance page title")
+ cmd.Flags().StringVar(&flagEntityName, "entity-name", "", "Entity name shown on the public compliance page")
return cmd
}
diff --git a/pkg/complianceportal/management/portal_service.go b/pkg/complianceportal/management/portal_service.go
index 73133bb01..064c3a542 100644
--- a/pkg/complianceportal/management/portal_service.go
+++ b/pkg/complianceportal/management/portal_service.go
@@ -46,7 +46,7 @@ type (
Slug *string
SearchEngineIndexing *coredata.SearchEngineIndexing
NonDisclosureAgreementFileID *gid.GID
- Title *string
+ EntityName *string
Description **string
WebsiteURL **string
Email **string
@@ -75,8 +75,8 @@ func (utcr *UpdateRequest) Validate() error {
v.Check(utcr.Slug, "slug", validator.SafeText(NameMaxLength))
v.Check(utcr.NonDisclosureAgreementFileID, "non_disclosure_agreement_file_id", validator.GID(coredata.FileEntityType))
- if utcr.Title != nil {
- v.Check(*utcr.Title, "title", validator.Required(), validator.SafeTextNoNewLine(TitleMaxLength))
+ if utcr.EntityName != nil {
+ v.Check(*utcr.EntityName, "entity_name", validator.Required(), validator.SafeTextNoNewLine(TitleMaxLength))
}
if utcr.Description != nil {
@@ -214,8 +214,8 @@ func (s *Service) Update(
portal.SearchEngineIndexing = *req.SearchEngineIndexing
}
- if req.Title != nil {
- portal.Title = *req.Title
+ if req.EntityName != nil {
+ portal.EntityName = *req.EntityName
}
if req.Description != nil {
diff --git a/pkg/complianceportal/visitor/cimd.go b/pkg/complianceportal/visitor/cimd.go
index c49555ae4..9b4c9b49b 100644
--- a/pkg/complianceportal/visitor/cimd.go
+++ b/pkg/complianceportal/visitor/cimd.go
@@ -85,7 +85,7 @@ func BuildClientMetadataDocument(
doc := oauth2.ClientMetadataDocument{
ClientID: clientID,
- ClientName: portal.Title,
+ ClientName: "Compliance at " + portal.EntityName + ".",
ClientURI: portalRootURL,
RedirectURIs: []string{redirectURI},
TokenEndpointAuthMethod: "none",
diff --git a/pkg/complianceportal/visitor/cimd_test.go b/pkg/complianceportal/visitor/cimd_test.go
index 27c6f60ab..021970468 100644
--- a/pkg/complianceportal/visitor/cimd_test.go
+++ b/pkg/complianceportal/visitor/cimd_test.go
@@ -66,7 +66,7 @@ func TestBuildClientMetadataDocument(t *testing.T) {
websiteURL := "https://www.acme.com"
portal := &coredata.CompliancePortal{
- Title: "Acme Compliance Page",
+ EntityName: "Acme",
WebsiteURL: &websiteURL,
}
@@ -76,7 +76,7 @@ func TestBuildClientMetadataDocument(t *testing.T) {
)
require.NoError(t, err)
assert.Equal(t, "https://acme.example.com/.well-known/oauth-client-metadata", doc.ClientID)
- assert.Equal(t, "Acme Compliance Page", doc.ClientName)
+ assert.Equal(t, "Compliance at Acme.", doc.ClientName)
assert.Equal(t, []string{"https://acme.example.com/callback"}, doc.RedirectURIs)
assert.Equal(t, "https://acme.example.com", doc.ClientURI)
assert.Equal(t, VisitorOAuthScope, doc.Scope)
@@ -88,7 +88,7 @@ func TestBuildClientMetadataDocument_LogoURIUsesBrandLogoEndpoint(t *testing.T)
logoFileID := gid.MustParseGID("WR-qMrB5AAEAGQAAAZ9mIO8B8vDFQ-i3")
portal := &coredata.CompliancePortal{
- Title: "Acme Compliance Page",
+ EntityName: "Acme",
LogoFileID: &logoFileID,
}
diff --git a/pkg/coredata/compliance_portal.go b/pkg/coredata/compliance_portal.go
index 1a39ba441..cb93bd116 100644
--- a/pkg/coredata/compliance_portal.go
+++ b/pkg/coredata/compliance_portal.go
@@ -49,7 +49,7 @@ type (
NonDisclosureAgreementFileID *gid.GID `db:"non_disclosure_agreement_file_id"`
DefaultDomainID *gid.GID `db:"default_domain_id"`
CustomDomainID *gid.GID `db:"custom_domain_id"`
- Title string `db:"title"`
+ EntityName string `db:"entity_name"`
Description *string `db:"description"`
WebsiteURL *string `db:"website_url"`
Email *string `db:"email"`
@@ -129,7 +129,7 @@ SELECT
non_disclosure_agreement_file_id,
default_domain_id,
custom_domain_id,
- title,
+ entity_name,
description,
website_url,
email,
@@ -188,7 +188,7 @@ SELECT
non_disclosure_agreement_file_id,
default_domain_id,
custom_domain_id,
- title,
+ entity_name,
description,
website_url,
email,
@@ -247,7 +247,7 @@ SELECT
non_disclosure_agreement_file_id,
default_domain_id,
custom_domain_id,
- title,
+ entity_name,
description,
website_url,
email,
@@ -306,7 +306,7 @@ SELECT
non_disclosure_agreement_file_id,
default_domain_id,
custom_domain_id,
- title,
+ entity_name,
description,
website_url,
email,
@@ -365,7 +365,7 @@ SELECT
non_disclosure_agreement_file_id,
default_domain_id,
custom_domain_id,
- title,
+ entity_name,
description,
website_url,
email,
@@ -420,7 +420,7 @@ INSERT INTO trust_centers (
non_disclosure_agreement_file_id,
default_domain_id,
custom_domain_id,
- title,
+ entity_name,
description,
website_url,
email,
@@ -440,7 +440,7 @@ INSERT INTO trust_centers (
@non_disclosure_agreement_file_id,
@default_domain_id,
@custom_domain_id,
- @title,
+ @entity_name,
@description,
@website_url,
@email,
@@ -463,7 +463,7 @@ INSERT INTO trust_centers (
"non_disclosure_agreement_file_id": tc.NonDisclosureAgreementFileID,
"default_domain_id": tc.DefaultDomainID,
"custom_domain_id": tc.CustomDomainID,
- "title": tc.Title,
+ "entity_name": tc.EntityName,
"description": tc.Description,
"website_url": tc.WebsiteURL,
"email": tc.Email,
@@ -502,7 +502,7 @@ SET
non_disclosure_agreement_file_id = @non_disclosure_agreement_file_id,
default_domain_id = @default_domain_id,
custom_domain_id = @custom_domain_id,
- title = @title,
+ entity_name = @entity_name,
description = @description,
website_url = @website_url,
email = @email,
@@ -525,7 +525,7 @@ WHERE
"non_disclosure_agreement_file_id": tc.NonDisclosureAgreementFileID,
"default_domain_id": tc.DefaultDomainID,
"custom_domain_id": tc.CustomDomainID,
- "title": tc.Title,
+ "entity_name": tc.EntityName,
"description": tc.Description,
"website_url": tc.WebsiteURL,
"email": tc.Email,
diff --git a/pkg/coredata/migrations/20260721T165706Z.sql b/pkg/coredata/migrations/20260721T165706Z.sql
new file mode 100644
index 000000000..656ce0aae
--- /dev/null
+++ b/pkg/coredata/migrations/20260721T165706Z.sql
@@ -0,0 +1,36 @@
+-- Copyright (c) 2026 Probo Inc .
+--
+-- Permission is hereby granted, free of charge, to any person obtaining a copy
+-- of this software and associated documentation files (the "Software"), to deal
+-- in the Software without restriction, including without limitation the rights
+-- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+-- copies of the Software, and to permit persons to whom the Software is
+-- furnished to do so, subject to the following conditions:
+--
+-- The above copyright notice and this permission notice shall be included in
+-- all copies or substantial portions of the Software.
+--
+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+-- SOFTWARE.
+
+-- entity_name is the short name shown in the hero ("Compliance at {{name}}.")
+-- and TopBar brand. Prefill from the organization so existing portals keep a
+-- sensible default; customized full titles in the old title column are dropped.
+ALTER TABLE trust_centers
+ ADD COLUMN entity_name TEXT NOT NULL DEFAULT '';
+
+UPDATE trust_centers tc
+SET entity_name = o.name
+FROM organizations o
+WHERE tc.organization_id = o.id;
+
+ALTER TABLE trust_centers
+ ALTER COLUMN entity_name DROP DEFAULT;
+
+ALTER TABLE trust_centers
+ DROP COLUMN title;
diff --git a/pkg/iam/organization_service.go b/pkg/iam/organization_service.go
index ee18d7262..2950f1fb4 100644
--- a/pkg/iam/organization_service.go
+++ b/pkg/iam/organization_service.go
@@ -614,7 +614,7 @@ func (s *OrganizationService) CreateOrganization(
TenantID: organization.TenantID,
Active: false,
Slug: slug.MakeWithEntropy(organization.Name),
- Title: "Compliance at " + organization.Name + ".",
+ EntityName: organization.Name,
SearchEngineIndexing: coredata.SearchEngineIndexingNotIndexable,
MailingListID: &mailingList.ID,
CreatedAt: now,
diff --git a/pkg/server/api/complianceportal/v1/graphql/compliance_portal.graphql b/pkg/server/api/complianceportal/v1/graphql/compliance_portal.graphql
index 11cfd83d5..d4f1b51bf 100644
--- a/pkg/server/api/complianceportal/v1/graphql/compliance_portal.graphql
+++ b/pkg/server/api/complianceportal/v1/graphql/compliance_portal.graphql
@@ -9,7 +9,7 @@ type CompliancePortal implements Node {
websiteUrl: String
email: String
headquarterAddress: String
- title: String!
+ entityName: String!
nonDisclosureAgreement: NonDisclosureAgreement @goField(forceResolver: true)
diff --git a/pkg/server/api/complianceportal/v1/mux.go b/pkg/server/api/complianceportal/v1/mux.go
index fd0e92873..4a791adb1 100644
--- a/pkg/server/api/complianceportal/v1/mux.go
+++ b/pkg/server/api/complianceportal/v1/mux.go
@@ -134,7 +134,8 @@ func compliancePageHeadData() HeadDataFunc {
compliancePageBaseURL := complianceportal.CompliancePortalBaseURLFromContext(r.Context())
- description := tc.Title
+ pageTitle := "Compliance at " + tc.EntityName + "."
+ description := pageTitle
if tc.Description != nil && *tc.Description != "" {
description = *tc.Description
}
@@ -142,7 +143,7 @@ func compliancePageHeadData() HeadDataFunc {
htmlLang, canonical, hreflang := SEOFromRequest(r)
headData := HeadData{
- Title: tc.Title,
+ Title: pageTitle,
Description: description,
HTMLLang: htmlLang,
OGURL: canonical,
diff --git a/pkg/server/api/complianceportal/v1/types/compliance_portal.go b/pkg/server/api/complianceportal/v1/types/compliance_portal.go
index 0c840daf5..0500a6b73 100644
--- a/pkg/server/api/complianceportal/v1/types/compliance_portal.go
+++ b/pkg/server/api/complianceportal/v1/types/compliance_portal.go
@@ -29,7 +29,7 @@ func NewCompliancePortal(cp *coredata.CompliancePortal) *CompliancePortal {
ID: cp.ID,
Active: cp.Active,
Slug: cp.Slug,
- Title: cp.Title,
+ EntityName: cp.EntityName,
Description: cp.Description,
WebsiteURL: cp.WebsiteURL,
Email: cp.Email,
diff --git a/pkg/server/api/console/v1/compliance_portal_resolvers.go b/pkg/server/api/console/v1/compliance_portal_resolvers.go
index 2c51c9748..e0af837f6 100644
--- a/pkg/server/api/console/v1/compliance_portal_resolvers.go
+++ b/pkg/server/api/console/v1/compliance_portal_resolvers.go
@@ -804,7 +804,7 @@ func (r *mutationResolver) UpdateCompliancePortal(ctx context.Context, input typ
WebsiteURL: gqlutils.UnwrapOmittable(input.WebsiteURL),
Email: gqlutils.UnwrapOmittable(input.Email),
HeadquarterAddress: gqlutils.UnwrapOmittable(input.HeadquarterAddress),
- Title: input.Title,
+ EntityName: input.EntityName,
},
)
if err != nil {
diff --git a/pkg/server/api/console/v1/graphql/compliance_portal.graphql b/pkg/server/api/console/v1/graphql/compliance_portal.graphql
index b5eac36f9..d1b9cf3cb 100644
--- a/pkg/server/api/console/v1/graphql/compliance_portal.graphql
+++ b/pkg/server/api/console/v1/graphql/compliance_portal.graphql
@@ -344,7 +344,7 @@ type CompliancePortal implements Node
websiteUrl: String
email: String
headquarterAddress: String
- title: String!
+ entityName: String!
createdAt: Datetime!
updatedAt: Datetime!
organization: Organization! @goField(forceResolver: true)
@@ -747,7 +747,7 @@ input UpdateCompliancePortalInput {
compliancePortalId: ID!
active: Boolean
searchEngineIndexing: SearchEngineIndexing
- title: String
+ entityName: String
description: String @goField(omittable: true)
websiteUrl: String @goField(omittable: true)
email: String @goField(omittable: true)
diff --git a/pkg/server/api/console/v1/types/compliance_portal.go b/pkg/server/api/console/v1/types/compliance_portal.go
index bfc384901..0e384165e 100644
--- a/pkg/server/api/console/v1/types/compliance_portal.go
+++ b/pkg/server/api/console/v1/types/compliance_portal.go
@@ -38,7 +38,7 @@ type CompliancePortal struct {
WebsiteURL *string `json:"websiteUrl,omitempty"`
Email *string `json:"email,omitempty"`
HeadquarterAddress *string `json:"headquarterAddress,omitempty"`
- Title string `json:"title"`
+ EntityName string `json:"entityName"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
Organization *Organization `json:"organization"`
@@ -67,7 +67,7 @@ func NewCompliancePortal(tc *coredata.CompliancePortal) *CompliancePortal {
WebsiteURL: tc.WebsiteURL,
Email: tc.Email,
HeadquarterAddress: tc.HeadquarterAddress,
- Title: tc.Title,
+ EntityName: tc.EntityName,
CreatedAt: tc.CreatedAt,
UpdatedAt: tc.UpdatedAt,
}
diff --git a/pkg/server/api/mcp/v1/schema.resolvers.go b/pkg/server/api/mcp/v1/schema.resolvers.go
index d2acb5b5b..16aadf7a3 100644
--- a/pkg/server/api/mcp/v1/schema.resolvers.go
+++ b/pkg/server/api/mcp/v1/schema.resolvers.go
@@ -4954,8 +4954,8 @@ func (r *Resolver) UpdateCompliancePortalTool(ctx context.Context, req *mcp.Call
updateReq.Email = UnwrapOmittable(input.Email)
updateReq.HeadquarterAddress = UnwrapOmittable(input.HeadquarterAddress)
- if title := UnwrapOmittable(input.Title); title != nil {
- updateReq.Title = *title
+ if entityName := UnwrapOmittable(input.EntityName); entityName != nil {
+ updateReq.EntityName = *entityName
}
compliancePortal, _, err := prb.Update(ctx, scope, updateReq)
diff --git a/pkg/server/api/mcp/v1/specification.yaml b/pkg/server/api/mcp/v1/specification.yaml
index 15ca56ff6..9bf5b3884 100644
--- a/pkg/server/api/mcp/v1/specification.yaml
+++ b/pkg/server/api/mcp/v1/specification.yaml
@@ -8832,7 +8832,7 @@ components:
- organization_id
- active
- search_engine_indexing
- - title
+ - entity_name
- created_at
- updated_at
properties:
@@ -8870,9 +8870,9 @@ components:
- string
- "null"
description: Compliance page headquarter address
- title:
+ entity_name:
type: string
- description: Public compliance page title
+ description: Entity name shown on the public compliance page
created_at:
type: string
format: date-time
@@ -9079,11 +9079,11 @@ components:
- "null"
description: Compliance page headquarter address
go.probo.inc/mcpgen/omittable: true
- title:
+ entity_name:
type:
- string
- "null"
- description: Public compliance page title
+ description: Entity name shown on the public compliance page
go.probo.inc/mcpgen/omittable: true
UpdateCompliancePortalOutput:
diff --git a/pkg/server/api/mcp/v1/types/compliance_portal.go b/pkg/server/api/mcp/v1/types/compliance_portal.go
index 310d8efd9..e53d99957 100644
--- a/pkg/server/api/mcp/v1/types/compliance_portal.go
+++ b/pkg/server/api/mcp/v1/types/compliance_portal.go
@@ -31,7 +31,7 @@ func NewCompliancePortal(tc *coredata.CompliancePortal) *CompliancePortal {
OrganizationID: tc.OrganizationID,
Active: tc.Active,
SearchEngineIndexing: tc.SearchEngineIndexing,
- Title: tc.Title,
+ EntityName: tc.EntityName,
Description: tc.Description,
WebsiteURL: tc.WebsiteURL,
Email: tc.Email,