okorach / sonar-tools

Additional command line based tools to help in SonarQube administration tasks
GNU Lesser General Public License v3.0
47 stars 17 forks source link

Remove useless data from background tasks extract #1380

Closed okorach closed 1 week ago

okorach commented 1 week ago

This creates a log of junk data in background tasks. Items to remove: SCANNER CONTEXT: "sonar.announcement.message", "sonar.auth.github.allowUsersToSignUp", "sonar.auth.github.apiUrl", "sonar.auth.github.appId", "sonar.auth.github.enabled", "sonar.auth.github.groupsSync", "sonar.auth.github.organizations", "sonar.auth.github.webUrl", "sonar.builtInQualityProfiles.disableNotificationOnUpdate", "sonar.core.id", "sonar.core.serverBaseURL", "sonar.core.startTime", "sonar.dbcleaner.branchesToKeepWhenInactive", "sonar.forceAuthentication", "sonar.host.url", "sonar.java.jdkHome", "sonar.links.ci", "sonar.links.homepage", "sonar.links.issue", "sonar.links.scm", "sonar.links.scm_dev", "sonar.plugins.risk.consent",

BACKGROUND_TASKS: "analysisId", "componentId", "hasScannerContext", "id", "warningCount", "componentQualifier", "nodeName", "componentName", "componentKey", "submittedAt", "executedAt", "type",