Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove url_set (#21214)

ecmadao94f1560b41da
diff --git a/backend/api/mcp/gen/openapi.yaml b/backend/api/mcp/gen/openapi.yaml
index 5d3cc1ca33..359b532e87 100644
--- a/backend/api/mcp/gen/openapi.yaml
+++ b/backend/api/mcp/gen/openapi.yaml
@@ -21186,18 +21186,11 @@ components:
Write-only: an incoming-webhook url is the whole credential for posting
into the customer's chat, so reads leave it empty, the same way a data
- source's password and SSL material are left empty. Set it to change it;
- read url_set to know whether one is configured.
+ source's password and SSL material are left empty. Set it to change it.
Required to create a webhook. Not required on TestWebhook, where an empty
url on a request that names a webhook means the one already stored, so the
field carries no REQUIRED behavior it would contradict there.
- urlSet:
- type: boolean
- title: url_set
- description: |-
- Whether a url is configured, since the url itself does not come back on
- reads.
urlSupportsDirectMessage:
type: boolean
title: url_supports_direct_message
diff --git a/backend/api/v1/mcp_gate_test.go b/backend/api/v1/mcp_gate_test.go
index 69c06f70f3..5773dfb1b5 100644
--- a/backend/api/v1/mcp_gate_test.go
+++ b/backend/api/v1/mcp_gate_test.go
@@ -573,8 +573,8 @@ func TestForbiddenClassLeavesReadsAlone(t *testing.T) {
// (audit.go) beside the OIDC client secret and the LDAP bind password.
// ListProjects pages the whole workspace, so one call took the lot. The url
// is write-only now, the way a data source's password is: reads leave it
-// empty and url_set says whether one is configured. TestWebhook takes the
-// stored url when the request names a webhook and sends none of its own.
+// empty. TestWebhook takes the stored url when the request names a webhook
+// and sends none of its own.
//
// - The two instance reads and ListInstanceRoles share InstanceRole.Attribute
// (convertInstanceRoles, instance_service_converter.go), which is the raw
diff --git a/backend/api/v1/project_service_converter.go b/backend/api/v1/project_service_converter.go
index 3520d760eb..88dfd594bd 100644
--- a/backend/api/v1/project_service_converter.go
+++ b/backend/api/v1/project_service_converter.go
@@ -260,15 +260,12 @@ func convertToProject(projectMessage *store.ProjectMessage) *v1pb.Project {
for _, webhook := range projectMessage.Webhooks {
// We don't return the webhook URL on reads. An incoming-webhook URL is
// the whole credential: whoever holds it posts into the customer's
- // Slack, Feishu, WeCom or Teams as Bytebase. url_set carries the one
- // thing a client still needs, which is whether one is configured, and
- // TestWebhook takes the stored URL when the request names a webhook and
- // leaves url empty.
+ // Slack, Feishu, WeCom or Teams as Bytebase. TestWebhook takes the stored
+ // URL when the request names a webhook and leaves url empty.
projectWebhooks = append(projectWebhooks, &v1pb.Webhook{
Name: fmt.Sprintf("%s/%s%s", common.FormatProject(projectMessage.ResourceID), common.WebhookIDPrefix, webhook.ResourceID),
Type: convertToV1WebhookType(webhook.Payload.GetType()),
Title: webhook.Payload.GetTitle(),
- UrlSet: webhook.Payload.GetUrl() != "",
NotificationTypes: convertToV1ActivityTypes(webhook.Payload.GetActivities()),
DirectMessage: webhook.Payload.GetDirectMessage(),
UrlSupportsDirectMessage: webhookplugin.URLSupportsDirectMessage(
diff --git a/backend/api/v1/read_redaction_test.go b/backend/api/v1/read_redaction_test.go
index dbbfa5fcd9..17e4128ac2 100644
--- a/backend/api/v1/read_redaction_test.go
+++ b/backend/api/v1/read_redaction_test.go
@@ -137,10 +137,9 @@ func TestConvertInstanceRolesRedactsOnTheReadPath(t *testing.T) {
// the same converter, which is correct, because the caller of AddWebhook is the
// one who supplied the URL and does not need it read back.
//
-// url_set is what a client reads instead, so it can say a webhook is configured
-// without being told what to. The rest of the webhook stays: type, title,
-// events and the direct-message flag are configuration, not a credential, and a
-// client still has to be able to list what is configured and edit it.
+// The rest of the webhook stays: type, title, events and the direct-message flag
+// are configuration, not a credential, and a client still has to be able to
+// list what is configured and edit it.
func TestConvertToProjectWithholdsTheWebhookURL(t *testing.T) {
const storedURL = "https://hooks.slack.com/services/fixture-not-a-real-token"
project := convertToProject(&store.ProjectMessage{
@@ -156,10 +155,6 @@ func TestConvertToProjectWithholdsTheWebhookURL(t *testing.T) {
Activities: []storepb.Activity_Type{storepb.Activity_ISSUE_CREATED},
},
},
- {
- ResourceID: "2",
- Payload: &storepb.ProjectWebhook{Type: storepb.WebhookType_SLACK, Title: "no url yet"},
- },
{
// The one URL form direct messages bypass. The console hides
// the option for it and cannot see the URL to know that.
@@ -173,18 +168,14 @@ func TestConvertToProjectWithholdsTheWebhookURL(t *testing.T) {
},
})
- require.Len(t, project.Webhooks, 3)
+ require.Len(t, project.Webhooks, 2)
require.Empty(t, project.Webhooks[0].Url,
"the incoming-webhook URL is the credential; a read must not return it")
- require.True(t, project.Webhooks[0].UrlSet,
- "a configured webhook still reads back as configured")
require.True(t, project.Webhooks[0].UrlSupportsDirectMessage,
"and the console still learns what it can no longer work out from the URL")
require.Equal(t, "release channel", project.Webhooks[0].Title)
require.Equal(t, []v1pb.Activity_Type{v1pb.Activity_ISSUE_CREATED}, project.Webhooks[0].NotificationTypes)
- require.False(t, project.Webhooks[1].UrlSet,
- "a webhook with no URL must not read back as one that has one")
- require.False(t, project.Webhooks[2].UrlSupportsDirectMessage,
+ require.False(t, project.Webhooks[1].UrlSupportsDirectMessage,
"a Power Automate workflow endpoint is the URL direct messages bypass")
}
diff --git a/backend/generated-go/v1/project_service.pb.go b/backend/generated-go/v1/project_service.pb.go
index 125fd1c600..53c1a00962 100644
--- a/backend/generated-go/v1/project_service.pb.go
+++ b/backend/generated-go/v1/project_service.pb.go
@@ -1401,16 +1401,12 @@ type Webhook struct {
//
// Write-only: an incoming-webhook url is the whole credential for posting
// into the customer's chat, so reads leave it empty, the same way a data
- // source's password and SSL material are left empty. Set it to change it;
- // read url_set to know whether one is configured.
+ // source's password and SSL material are left empty. Set it to change it.
//
// Required to create a webhook. Not required on TestWebhook, where an empty
// url on a request that names a webhook means the one already stored, so the
// field carries no REQUIRED behavior it would contradict there.
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
- // Whether a url is configured, since the url itself does not come back on
- // reads.
- UrlSet bool `protobuf:"varint,7,opt,name=url_set,json=urlSet,proto3" json:"url_set,omitempty"`
// Whether the stored url's endpoint form can carry a direct message to the
// users an event mentions, rather than only a post to the channel the url
// names. False for a Microsoft Teams Power Automate workflow endpoint, which
@@ -1497,13 +1493,6 @@ func (x *Webhook) GetUrl() string {
return ""
}
-func (x *Webhook) GetUrlSet() bool {
- if x != nil {
- return x.UrlSet
- }
- return false
-}
-
func (x *Webhook) GetUrlSupportsDirectMessage() bool {
if x != nil {
return x.UrlSupportsDirectMessage
@@ -1709,13 +1698,12 @@ const file_v1_project_service_proto_rawDesc = "" +
"\x14bytebase.com/ProjectR\aproject\x123\n" +
"\awebhook\x18\x02 \x01(\v2\x14.bytebase.v1.WebhookB\x03\xe0A\x02R\awebhook\"+\n" +
"\x13TestWebhookResponse\x12\x14\n" +
- "\x05error\x18\x01 \x01(\tR\x05error\"\x9d\x03\n" +
+ "\x05error\x18\x01 \x01(\tR\x05error\"\xff\x02\n" +
"\aWebhook\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x121\n" +
"\x04type\x18\x02 \x01(\x0e2\x18.bytebase.v1.WebhookTypeB\x03\xe0A\x02R\x04type\x12\x19\n" +
"\x05title\x18\x03 \x01(\tB\x03\xe0A\x02R\x05title\x12\x15\n" +
- "\x03url\x18\x04 \x01(\tB\x03\xe0A\x04R\x03url\x12\x1c\n" +
- "\aurl_set\x18\a \x01(\bB\x03\xe0A\x03R\x06urlSet\x12B\n" +
+ "\x03url\x18\x04 \x01(\tB\x03\xe0A\x04R\x03url\x12B\n" +
"\x1burl_supports_direct_message\x18\b \x01(\bB\x03\xe0A\x03R\x18urlSupportsDirectMessage\x12%\n" +
"\x0edirect_message\x18\x06 \x01(\bR\rdirectMessage\x12N\n" +
"\x12notification_types\x18\x05 \x03(\x0e2\x1a.bytebase.v1.Activity.TypeB\x03\xe0A\x06R\x11notificationTypes:@\xeaA=\n" +
diff --git a/backend/generated-go/v1/project_service_equal.pb.go b/backend/generated-go/v1/project_service_equal.pb.go
index 6803106969..579b5d04f4 100644
--- a/backend/generated-go/v1/project_service_equal.pb.go
+++ b/backend/generated-go/v1/project_service_equal.pb.go
@@ -459,9 +459,6 @@ func (x *Webhook) Equal(y *Webhook) bool {
if x.Url != y.Url {
return false
}
- if x.UrlSet != y.UrlSet {
- return false
- }
if x.UrlSupportsDirectMessage != y.UrlSupportsDirectMessage {
return false
}
diff --git a/backend/tests/read_path_secret_test.go b/backend/tests/read_path_secret_test.go
index d719068bf7..f0e55f159a 100644
--- a/backend/tests/read_path_secret_test.go
+++ b/backend/tests/read_path_secret_test.go
@@ -53,7 +53,6 @@ func TestReadPathHidesTheWebhookURL(t *testing.T) {
// supplied the URL, so losing it costs nothing, and keeping the rule in one
// place is what stops a read from finding a way around it.
a.Empty(added.Msg.Webhooks[0].Url)
- a.True(added.Msg.Webhooks[0].UrlSet)
get, err := ctl.projectServiceClient.GetProject(ctx, connect.NewRequest(&v1pb.GetProjectRequest{Name: project.Name}))
a.NoError(err)
@@ -79,10 +78,6 @@ func TestReadPathHidesTheWebhookURL(t *testing.T) {
a.Equal(connect.CodeInvalidArgument, connect.CodeOf(err),
"writing the read-back webhook back must be refused, not saved")
- stillThere, err := ctl.projectServiceClient.GetProject(ctx, connect.NewRequest(&v1pb.GetProjectRequest{Name: project.Name}))
- a.NoError(err)
- a.True(stillThere.Msg.Webhooks[0].UrlSet, "and the stored URL must still be there")
-
read := map[string][]*v1pb.Project{
"GetProject": {get.Msg},
"ListProjects": list.Msg.Projects,
@@ -99,8 +94,6 @@ func TestReadPathHidesTheWebhookURL(t *testing.T) {
a.Len(p.Webhooks, 1, "%s", rpc)
a.Empty(p.Webhooks[0].Url,
"%s returns the webhook URL, which is the whole credential", rpc)
- a.True(p.Webhooks[0].UrlSet,
- "%s must still say the webhook has a URL configured", rpc)
a.Equal("release channel", p.Webhooks[0].Title, "%s", rpc)
}
a.True(found, "%s did not return the project under test", rpc)
diff --git a/backend/tests/webhook_test.go b/backend/tests/webhook_test.go
index 21520f10e5..1cd275b25d 100644
--- a/backend/tests/webhook_test.go
+++ b/backend/tests/webhook_test.go
@@ -203,7 +203,6 @@ func TestWebhookIntegration(t *testing.T) {
require.Len(t, projectResp.Msg.Webhooks, 1)
saved := projectResp.Msg.Webhooks[0]
require.Empty(t, saved.Url, "the read path must not hand the URL back")
- require.True(t, saved.UrlSet, "and must still say one is configured")
result, err := ctl.projectServiceClient.TestWebhook(ctx, connect.NewRequest(&v1pb.TestWebhookRequest{
Project: project.Name,
diff --git a/frontend/src/routes/project/ProjectWebhookForm.test.tsx b/frontend/src/routes/project/ProjectWebhookForm.test.tsx
new file mode 100644
index 0000000000..f80b689d71
--- /dev/null
+++ b/frontend/src/routes/project/ProjectWebhookForm.test.tsx
@@ -0,0 +1,125 @@
+import { create } from "@bufbuild/protobuf";
+import { act } from "react";
+import { createRoot } from "react-dom/client";
+import { afterEach, describe, expect, test, vi } from "vitest";
+import { WebhookType } from "@/types/proto-es/v1/common_pb";
+import {
+ Activity_Type,
+ ProjectSchema,
+ WebhookSchema,
+} from "@/types/proto-es/v1/project_service_pb";
+import { ProjectWebhookForm } from "./ProjectWebhookForm";
+
+(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT =
+ true;
+
+const mocks = vi.hoisted(() => ({
+ getOrFetchSettingByName: vi.fn(),
+}));
+
+vi.mock("react-i18next", async (importOriginal) => ({
+ ...(await importOriginal<typeof import("react-i18next")>()),
+ useTranslation: () => ({ t: (key: string) => key }),
+}));
+
+vi.mock("@/app/router", () => ({
+ router: {
+ push: vi.fn(),
+ resolve: vi.fn(() => ({ href: "#" })),
+ },
+}));
+
+vi.mock("@/components/ExternalUrlAlert", () => ({
+ ExternalUrlAlert: () => null,
+}));
+
+vi.mock("@/stores", () => ({
+ pushNotification: vi.fn(),
+}));
+
+vi.mock("@/types", () => ({
+ projectWebhookV1TypeItemList: () => [
+ {
+ type: WebhookType.SLACK,
+ name: "Slack",
+ supportDirectMessage: false,
+ },
+ ],
+ projectWebhookV1ActivityItemList: () => [
+ {
+ activity: Activity_Type.ISSUE_CREATED,
+ title: "Issue creation",
+ label: "When an issue is created",
+ supportDirectMessage: false,
+ },
+ ],
+}));
+
+const store = {
+ createProjectWebhook: vi.fn(),
+ updateProjectWebhook: vi.fn(),
+ deleteProjectWebhook: vi.fn(),
+ testProjectWebhook: vi.fn(),
+ settingsByName: new Map(),
+ getSettingByName: vi.fn(),
+ getOrFetchSettingByName: mocks.getOrFetchSettingByName,
+};
+
+vi.mock("@/stores/app", () => ({
+ useAppStore: Object.assign(
+ (selector: (state: typeof store) => unknown) => selector(store),
+ { getState: () => store }
+ ),
+}));
+
+const rendered: Array<{
+ container: HTMLDivElement;
+ root: ReturnType<typeof createRoot>;
+}> = [];
+
+afterEach(() => {
+ for (const { container, root } of rendered.splice(0)) {
+ act(() => root.unmount());
+ container.remove();
+ }
+ vi.clearAllMocks();
+});
+
+const renderForm = (createMode: boolean) => {
+ const container = document.createElement("div");
+ document.body.appendChild(container);
+ const root = createRoot(container);
+ rendered.push({ container, root });
+
+ act(() => {
+ root.render(
+ <ProjectWebhookForm
+ allowEdit={true}
+ create={createMode}
+ project={create(ProjectSchema, { name: "projects/p" })}
+ webhook={create(WebhookSchema, {
+ name: createMode ? "" : "projects/p/webhooks/w",
+ title: "release channel",
+ type: WebhookType.SLACK,
+ notificationTypes: [Activity_Type.ISSUE_CREATED],
+ })}
+ />
+ );
+ });
+
+ return container;
+};
+
+describe("ProjectWebhookForm", () => {
+ test("treats an empty URL on a saved webhook as redacted", () => {
+ const container = renderForm(false);
+
+ expect(container.textContent).toContain("project.webhook.url-hidden");
+ });
+
+ test("treats an empty URL on a new webhook as missing", () => {
+ const container = renderForm(true);
+
+ expect(container.textContent).not.toContain("project.webhook.url-hidden");
+ });
+});
diff --git a/frontend/src/routes/project/ProjectWebhookForm.tsx b/frontend/src/routes/project/ProjectWebhookForm.tsx
index 3c797f2da6..454761c282 100644
--- a/frontend/src/routes/project/ProjectWebhookForm.tsx
+++ b/frontend/src/routes/project/ProjectWebhookForm.tsx
@@ -136,14 +136,11 @@ export function ProjectWebhookForm({
}
}, [state.url]);
- // A saved webhook reads back with no URL and url_set true, since the URL is
- // the credential for posting into the customer's chat. The field is empty
- // until the user types a replacement, and testing an untouched webhook sends
- // no URL at all: the server posts to the one it has stored.
- const urlHidden = useMemo(
- () => !state.url && webhook.urlSet,
- [state.url, webhook.urlSet]
- );
+ // A saved webhook reads back with no URL, since the URL is the credential for
+ // posting into the customer's chat. The field is empty until the user types a
+ // replacement, and testing an untouched webhook sends no URL at all: the
+ // server posts to the one it has stored.
+ const urlHidden = useMemo(() => !create && !state.url, [create, state.url]);
// Whether the URL in play rules direct messages out. For a saved webhook the
// client cannot tell, because the read does not return the URL, so the server
diff --git a/frontend/src/types/proto-es/v1/project_service_pb.d.ts b/frontend/src/types/proto-es/v1/project_service_pb.d.ts
index 75babc9cbb..61c14daa16 100644
--- a/frontend/src/types/proto-es/v1/project_service_pb.d.ts
+++ b/frontend/src/types/proto-es/v1/project_service_pb.d.ts
@@ -767,8 +767,7 @@ export declare type Webhook = Message<"bytebase.v1.Webhook"> & {
*
* Write-only: an incoming-webhook url is the whole credential for posting
* into the customer's chat, so reads leave it empty, the same way a data
- * source's password and SSL material are left empty. Set it to change it;
- * read url_set to know whether one is configured.
+ * source's password and SSL material are left empty. Set it to change it.
*
* Required to create a webhook. Not required on TestWebhook, where an empty
* url on a request that names a webhook means the one already stored, so the
@@ -778,14 +777,6 @@ export declare type Webhook = Message<"bytebase.v1.Webhook"> & {
*/
url: string;
- /**
- * Whether a url is configured, since the url itself does not come back on
- * reads.
- *
- * @generated from field: bool url_set = 7;
- */
- urlSet: boolean;
-
/**
* Whether the stored url's endpoint form can carry a direct message to the
* users an event mentions, rather than only a post to the channel the url
diff --git a/frontend/src/types/proto-es/v1/project_service_pb.js b/frontend/src/types/proto-es/v1/project_service_pb.js
index f0df07b276..732b19493b 100644
--- a/frontend/src/types/proto-es/v1/project_service_pb.js
+++ b/frontend/src/types/proto-es/v1/project_service_pb.js
@@ -18,7 +18,7 @@ import { file_v1_iam_policy } from "./iam_policy_pb";
* Describes the file v1/project_service.proto.
*/
export const file_v1_project_service = /*@__PURE__*/
- fileDesc("Chh2MS9wcm9qZWN0X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIj8KEUdldFByb2plY3RSZXF1ZXN0EioKBG5hbWUYASABKAlCHOBBAvpBFgoUYnl0ZWJhc2UuY29tL1Byb2plY3QiRgoXQmF0Y2hHZXRQcm9qZWN0c1JlcXVlc3QSKwoFbmFtZXMYASADKAlCHOBBAvpBFgoUYnl0ZWJhc2UuY29tL1Byb2plY3QiQgoYQmF0Y2hHZXRQcm9qZWN0c1Jlc3BvbnNlEiYKCHByb2plY3RzGAEgAygLMhQuYnl0ZWJhc2UudjEuUHJvamVjdCJ0ChNMaXN0UHJvamVjdHNSZXF1ZXN0EhEKCXBhZ2Vfc2l6ZRgBIAEoBRISCgpwYWdlX3Rva2VuGAIgASgJEhQKDHNob3dfZGVsZXRlZBgDIAEoCBIOCgZmaWx0ZXIYBCABKAkSEAoIb3JkZXJfYnkYBSABKAkiVwoUTGlzdFByb2plY3RzUmVzcG9uc2USJgoIcHJvamVjdHMYASADKAsyFC5ieXRlYmFzZS52MS5Qcm9qZWN0EhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSJ2ChVTZWFyY2hQcm9qZWN0c1JlcXVlc3QSFAoMc2hvd19kZWxldGVkGAEgASgIEg4KBmZpbHRlchgCIAEoCRIRCglwYWdlX3NpemUYAyABKAUSEgoKcGFnZV90b2tlbhgEIAEoCRIQCghvcmRlcl9ieRgFIAEoCSJZChZTZWFyY2hQcm9qZWN0c1Jlc3BvbnNlEiYKCHByb2plY3RzGAEgAygLMhQuYnl0ZWJhc2UudjEuUHJvamVjdBIXCg9uZXh0X3BhZ2VfdG9rZW4YAiABKAkiVgoUQ3JlYXRlUHJvamVjdFJlcXVlc3QSKgoHcHJvamVjdBgBIAEoCzIULmJ5dGViYXNlLnYxLlByb2plY3RCA+BBAhISCgpwcm9qZWN0X2lkGAIgASgJIooBChRVcGRhdGV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2VcVjFcR1BCTWV0YWRhdGHqAgxCeXRlYmFzZTo6VjFiBnByb3RvMw", [file_buf_validate_validate, file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_type_color, file_v1_annotation, file_v1_common, file_v1_iam_policy]);
+ fileDesc("Chh2MS9wcm9qZWN0X3NlcnZpY2UucHJvdG8SC2J5dGViYXNlLnYxIj8KEUdldFByb2plY3RSZXF1ZXN0EioKBG5hbWUYASABKAlCHOBBAvpBFgoUYnl0ZWJhc2UuY29tL1Byb2plY3QiRgoXQmF0Y2hHZXRQcm9qZWN0c1JlcXVlc3QSKwoFbmFtZXMYASADKAlCHOBBAvpBFgoUYnl0ZWJhc2UuY29tL1Byb2plY3QiQgoYQmF0Y2hHZXRQcm9qZWN0c1Jlc3BvbnNlEiYKCHByb2plY3RzGAEgAygLMhQuYnl0ZWJhc2UudjEuUHJvamVjdCJ0ChNMaXN0UHJvamVjdHNSZXF1ZXN0EhEKCXBhZ2Vfc2l6ZRgBIAEoBRISCgpwYWdlX3Rva2VuGAIgASgJEhQKDHNob3dfZGVsZXRlZBgDIAEoCBIOCgZmaWx0ZXIYBCABKAkSEAoIb3JkZXJfYnkYBSABKAkiVwoUTGlzdFByb2plY3RzUmVzcG9uc2USJgoIcHJvamVjdHMYASADKAsyFC5ieXRlYmFzZS52MS5Qcm9qZWN0EhcKD25leHRfcGFnZV90b2tlbhgCIAEoCSJ2ChVTZWFyY2hQcm9qZWN0c1JlcXVlc3QSFAoMc2hvd19kZWxldGVkGAEgASgIEg4KBmZpbHRlchgCIAEoCRIRCglwYWdlX3NpemUYAyABKAUSEgoKcGFnZV90b2tlbhgEIAEoCRIQCghvcmRlcl9ieRgFIAEoCSJZChZTZWFyY2hQcm9qZWN0c1Jlc3BvbnNlEiYKCHByb2plY3RzGAEgAygLMhQuYnl0ZWJhc2UudjEuUHJvamVjdBIXCg9uZXh0X3BhZ2VfdG9rZW4YAiABKA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FzZS9iYWNrZW5kL2dlbmVyYXRlZC1nby92MaICA0JYWKoCC0J5dGViYXNlLlYxygILQnl0ZWJhc2VcVjHiAhdCeXRlYmFzZVxWMVxHUEJNZXRhZGF0YeoCDEJ5dGViYXNlOjpWMWIGcHJvdG8z", [file_buf_validate_validate, file_google_api_annotations, file_google_api_client, file_google_api_field_behavior, file_google_api_resource, file_google_protobuf_empty, file_google_protobuf_field_mask, file_google_type_color, file_v1_annotation, file_v1_common, file_v1_iam_policy]);
/**
* Describes the message bytebase.v1.GetProjectRequest.
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 64ff2d83b8..5380aae069 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -32380,20 +32380,12 @@ components:
Write-only: an incoming-webhook url is the whole credential for posting
into the customer's chat, so reads leave it empty, the same way a data
- source's password and SSL material are left empty. Set it to change it;
- read url_set to know whether one is configured.
+ source's password and SSL material are left empty. Set it to change it.
Required to create a webhook. Not required on TestWebhook, where an empty
url on a request that names a webhook means the one already stored, so the
field carries no REQUIRED behavior it would contradict there.
writeOnly: true
- urlSet:
- type: boolean
- title: url_set
- description: |-
- Whether a url is configured, since the url itself does not come back on
- reads.
- readOnly: true
urlSupportsDirectMessage:
type: boolean
title: url_supports_direct_message
diff --git a/proto/gen/grpc-doc/v1/README.md b/proto/gen/grpc-doc/v1/README.md
index ddb310bfe0..2db88972be 100644
--- a/proto/gen/grpc-doc/v1/README.md
+++ b/proto/gen/grpc-doc/v1/README.md
@@ -9999,10 +9999,9 @@ The project&#39;s `name` field is used to identify the project to update. Format
| title | [string](#string) | | title is the title of the webhook. |
| url | [string](#string) | | url is the url of the webhook, should be unique within the project.
-Write-only: an incoming-webhook url is the whole credential for posting into the customer&#39;s chat, so reads leave it empty, the same way a data source&#39;s password and SSL material are left empty. Set it to change it; read url_set to know whether one is configured.
+Write-only: an incoming-webhook url is the whole credential for posting into the customer&#39;s chat, so reads leave it empty, the same way a data source&#39;s password and SSL material are left empty. Set it to change it.
Required to create a webhook. Not required on TestWebhook, where an empty url on a request that names a webhook means the one already stored, so the field carries no REQUIRED behavior it would contradict there. |
-| url_set | [bool](#bool) | | Whether a url is configured, since the url itself does not come back on reads. |
| url_supports_direct_message | [bool](#bool) | | Whether the stored url&#39;s endpoint form can carry a direct message to the users an event mentions, rather than only a post to the channel the url names. False for a Microsoft Teams Power Automate workflow endpoint, which direct messages bypass entirely: a webhook with direct_message set sends them and returns, so the workflow post never happens.
Reads do not return the url, so a client editing a saved webhook cannot work this out for itself. It is a fact about the stored url and says nothing about what the url is. |
diff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.html
index 97440613d4..f1961fc280 100644
--- a/proto/gen/grpc-doc/v1/index.html
+++ b/proto/gen/grpc-doc/v1/index.html
@@ -28337,22 +28337,13 @@ type is the type of the webhook. </p></td>
Write-only: an incoming-webhook url is the whole credential for posting
into the customer&#39;s chat, so reads leave it empty, the same way a data
-source&#39;s password and SSL material are left empty. Set it to change it;
-read url_set to know whether one is configured.
+source&#39;s password and SSL material are left empty. Set it to change it.
Required to create a webhook. Not required on TestWebhook, where an empty
url on a request that names a webhook means the one already stored, so the
field carries no REQUIRED behavior it would contradict there. </p></td>
</tr>
- <tr>
- <td>url_set</td>
- <td><a href="#bool">bool</a></td>
- <td></td>
- <td><p>Whether a url is configured, since the url itself does not come back on
-reads. </p></td>
- </tr>
-
<tr>
<td>url_supports_direct_message</td>
<td><a href="#bool">bool</a></td>
diff --git a/proto/v1/v1/project_service.proto b/proto/v1/v1/project_service.proto
index 1f6e4592d7..290d125163 100644
--- a/proto/v1/v1/project_service.proto
+++ b/proto/v1/v1/project_service.proto
@@ -562,18 +562,13 @@ message Webhook {
//
// Write-only: an incoming-webhook url is the whole credential for posting
// into the customer's chat, so reads leave it empty, the same way a data
- // source's password and SSL material are left empty. Set it to change it;
- // read url_set to know whether one is configured.
+ // source's password and SSL material are left empty. Set it to change it.
//
// Required to create a webhook. Not required on TestWebhook, where an empty
// url on a request that names a webhook means the one already stored, so the
// field carries no REQUIRED behavior it would contradict there.
string url = 4 [(google.api.field_behavior) = INPUT_ONLY];
- // Whether a url is configured, since the url itself does not come back on
- // reads.
- bool url_set = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
// Whether the stored url's endpoint form can carry a direct message to the
// users an event mentions, rather than only a post to the channel the url
// names. False for a Microsoft Teams Power Automate workflow endpoint, which