fix: don't expose sensible data

Signed-off-by: David Weber <david.weber@w3tec.ch>
This commit is contained in:
David Weber
2023-05-17 21:54:21 +02:00
parent 41d2fb07df
commit 0f93b6707e
2 changed files with 12 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-jenkins-backend': patch
---
Don't expose username and authentication header if configured.
+7 -1
View File
@@ -38,11 +38,17 @@ export interface Config {
* instance.
*/
name: string;
baseUrl: string;
username: string;
/** @visibility secret */
apiKey: string;
extraRequestHeaders?: Partial<{
/** @visibility secret */
Authorization: string;
/** @visibility secret */
authorization: string;
[key: string]: string;
}>;
}[];
};
}