Merge pull request #4859 from Dokploy/fix/idor-application-one-secret-redaction

fix(security): git provider secret disclosure via application.one
This commit is contained in:
Mauricio Siu
2026-07-19 21:46:29 -06:00
committed by GitHub
+18 -4
View File
@@ -102,10 +102,24 @@ export const findApplicationById = async (applicationId: string) => {
redirects: true, redirects: true,
security: true, security: true,
ports: true, ports: true,
gitlab: true, gitlab: {
github: true, columns: { secret: false, accessToken: false, refreshToken: false },
bitbucket: true, },
gitea: true, github: {
columns: {
githubClientSecret: false,
githubPrivateKey: false,
githubWebhookSecret: false,
},
},
bitbucket: { columns: { appPassword: false, apiToken: false } },
gitea: {
columns: {
clientSecret: false,
accessToken: false,
refreshToken: false,
},
},
server: true, server: true,
previewDeployments: true, previewDeployments: true,
registry: { columns: { password: false } }, registry: { columns: { password: false } },