Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: custom method uses post (#13298)
Danny Xue35cf7e2b8d5
diff --git a/frontend/src/types/proto/v1/audit_log_service.ts b/frontend/src/types/proto/v1/audit_log_service.tsindex ad04ee249c..2f15b51b55 100644--- a/frontend/src/types/proto/v1/audit_log_service.ts+++ b/frontend/src/types/proto/v1/audit_log_service.ts@@ -971,7 +971,7 @@ export const AuditLogServiceDefinition = {66,90,22,- 18,+ 34,20,47,118,@@ -993,7 +993,7 @@ export const AuditLogServiceDefinition = {114,99,104,- 18,+ 34,40,47,118,diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yamlindex edca45e509..9582f8ffb0 100644--- a/proto/gen/grpc-doc/openapi.yaml+++ b/proto/gen/grpc-doc/openapi.yaml@@ -226,7 +226,7 @@ paths:schema:$ref: '#/components/schemas/Status'/v1/auditLogs:search:- get:+ post:tags:- AuditLogServiceoperationId: AuditLogService_SearchAuditLogs@@ -3498,7 +3498,7 @@ paths:schema:$ref: '#/components/schemas/Status'/v1/projects/{project}/auditLogs:search:- get:+ post:tags:- AuditLogServiceoperationId: AuditLogService_SearchAuditLogsdiff --git a/proto/gen/grpc-doc/v1/index.html b/proto/gen/grpc-doc/v1/index.htmlindex f150e302d2..d889c27765 100644--- a/proto/gen/grpc-doc/v1/index.html+++ b/proto/gen/grpc-doc/v1/index.html@@ -4812,14 +4812,14 @@ to retrieve the next page of log entities. </p></td><tr><td>SearchAuditLogs</td>- <td>GET</td>+ <td>POST</td><td>/v1/{parent=projects/*}/auditLogs:search</td><td></td></tr><tr><td>SearchAuditLogs</td>- <td>GET</td>+ <td>POST</td><td>/v1/auditLogs:search</td><td></td></tr>diff --git a/proto/generated-go/v1/audit_log_service.pb.go b/proto/generated-go/v1/audit_log_service.pb.goindex 272c6955b4..f336eb6d40 100644--- a/proto/generated-go/v1/audit_log_service.pb.go+++ b/proto/generated-go/v1/audit_log_service.pb.go@@ -732,8 +732,8 @@ var file_v1_audit_log_service_proto_rawDesc = []byte{0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,0x73, 0x65, 0x22, 0x63, 0x8a, 0xea, 0x30, 0x13, 0x62, 0x62, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74,0x4c, 0x6f, 0x67, 0x73, 0x2e, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x90, 0xea, 0x30, 0x01, 0x82,- 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x5a, 0x16, 0x12, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64,- 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x28, 0x2f,+ 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x5a, 0x16, 0x22, 0x14, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64,+ 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x22, 0x28, 0x2f,0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x73,0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0xc4, 0x01, 0x0a, 0x0f, 0x45, 0x78, 0x70, 0x6f,diff --git a/proto/generated-go/v1/audit_log_service.pb.gw.go b/proto/generated-go/v1/audit_log_service.pb.gw.goindex 5faba4229e..528dc48de9 100644--- a/proto/generated-go/v1/audit_log_service.pb.gw.go+++ b/proto/generated-go/v1/audit_log_service.pb.gw.go@@ -240,7 +240,7 @@ func local_request_AuditLogService_ExportAuditLogs_1(ctx context.Context, marsha// GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.func RegisterAuditLogServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuditLogServiceServer) error {- mux.Handle("GET", pattern_AuditLogService_SearchAuditLogs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ mux.Handle("POST", pattern_AuditLogService_SearchAuditLogs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()var stream runtime.ServerTransportStream@@ -265,7 +265,7 @@ func RegisterAuditLogServiceHandlerServer(ctx context.Context, mux *runtime.Serv})- mux.Handle("GET", pattern_AuditLogService_SearchAuditLogs_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ mux.Handle("POST", pattern_AuditLogService_SearchAuditLogs_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()var stream runtime.ServerTransportStream@@ -381,7 +381,7 @@ func RegisterAuditLogServiceHandler(ctx context.Context, mux *runtime.ServeMux,// "AuditLogServiceClient" to call the correct interceptors. This client ignores the HTTP middlewares.func RegisterAuditLogServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuditLogServiceClient) error {- mux.Handle("GET", pattern_AuditLogService_SearchAuditLogs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ mux.Handle("POST", pattern_AuditLogService_SearchAuditLogs_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)@@ -403,7 +403,7 @@ func RegisterAuditLogServiceHandlerClient(ctx context.Context, mux *runtime.Serv})- mux.Handle("GET", pattern_AuditLogService_SearchAuditLogs_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {+ mux.Handle("POST", pattern_AuditLogService_SearchAuditLogs_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {ctx, cancel := context.WithCancel(req.Context())defer cancel()inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)diff --git a/proto/v1/audit_log_service.proto b/proto/v1/audit_log_service.protoindex 08db8d7964..3f8afadf63 100644--- a/proto/v1/audit_log_service.proto+++ b/proto/v1/audit_log_service.proto@@ -17,8 +17,8 @@ option go_package = "generated-go/v1";service AuditLogService {rpc SearchAuditLogs(SearchAuditLogsRequest) returns (SearchAuditLogsResponse) {option (google.api.http) = {- get: "/v1/{parent=projects/*}/auditLogs:search"- additional_bindings: {get: "/v1/auditLogs:search"}+ post: "/v1/{parent=projects/*}/auditLogs:search"+ additional_bindings: {post: "/v1/auditLogs:search"}};option (bytebase.v1.permission) = "bb.auditLogs.search";option (bytebase.v1.auth_method) = IAM;