CLD-7353 E2E: Disable sending diagnostics and security alert on test servers (#26510)

* test: disable sending diagnostics and security alert on test servers

* log notable server config
Этот коммит содержится в:
Saturnino Abril
2024-03-28 16:43:53 +08:00
коммит произвёл GitHub
родитель b6da56e44d
Коммит ed00cf78ff
6 изменённых файлов: 27 добавлений и 8 удалений

Просмотреть файл

@@ -35,7 +35,7 @@
"DeveloperFlags": "",
"EnableClientPerformanceDebugging": false,
"EnableOpenTracing": false,
"EnableSecurityFixAlert": true,
"EnableSecurityFixAlert": false,
"EnableInsecureOutgoingConnections": false,
"AllowedUntrustedInternalConnections": "localhost",
"EnableMultifactorAuthentication": false,

Просмотреть файл

@@ -36,7 +36,7 @@
"DeveloperFlags": "",
"EnableClientPerformanceDebugging": false,
"EnableOpenTracing": false,
"EnableSecurityFixAlert": true,
"EnableSecurityFixAlert": false,
"EnableInsecureOutgoingConnections": false,
"AllowedUntrustedInternalConnections": "localhost",
"EnableMultifactorAuthentication": false,
@@ -170,7 +170,7 @@
"FileJson": true,
"FileLocation": "",
"EnableWebhookDebugging": true,
"EnableDiagnostics": true,
"EnableDiagnostics": false,
"VerboseDiagnostics": false,
"EnableSentry": false,
"AdvancedLoggingJSON": {},

Просмотреть файл

@@ -180,6 +180,11 @@ function printServerDetails() {
- TelemetryId = ${config.TelemetryId}
- ServiceEnvironment = ${config.ServiceEnvironment}`);
});
cy.apiGetConfig().then(({config}) => {
cy.log(`Notable Server Config:
- ServiceSettings.EnableSecurityFixAlert = ${config.ServiceSettings.EnableSecurityFixAlert}
- LogSettings.EnableDiagnostics = ${config.LogSettings.EnableDiagnostics}`);
});
}
function sysadminSetup(user) {