fix: don't expose sensible data
Signed-off-by: David Weber <david.weber@w3tec.ch>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-jenkins-backend': patch
|
||||
---
|
||||
|
||||
Don't expose username and authentication header if configured.
|
||||
Vendored
+7
-1
@@ -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;
|
||||
}>;
|
||||
}[];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user