mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-25 05:08:46 +00:00
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:
@@ -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 } },
|
||||||
|
|||||||
Reference in New Issue
Block a user