Skip to content

Commit 1ea9289

Browse files
committed
Added sslCA in sensitiveProps
1 parent 4f2081a commit 1ea9289

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

β€Žwren-ui/src/apollo/server/dataSource.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const dataSource = {
102102

103103
// mysql
104104
[DataSourceName.MYSQL]: {
105-
sensitiveProps: ['password'],
105+
sensitiveProps: ['password', 'sslCA'],
106106
toIbisConnectionInfo(connectionInfo) {
107107
const decryptedConnectionInfo = decryptConnectionInfo(
108108
DataSourceName.MYSQL,

β€Žwren-ui/src/apollo/server/types/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ export * from './manifest';
44
export * from './diagram';
55
export * from './metric';
66
export * from './context';
7+
export * from './sslMode';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export enum SSLMode {
2+
DISABLE = 'Disable',
3+
REQUIRE = 'Require',
4+
VERIFY_CA = 'Verify CA',
5+
}

0 commit comments

Comments
Β (0)