fix: remove some unused fields from the report object (#1342)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced configuration settings by adding secure placeholders for
sensitive data.

- **Chores**
- Refreshed internal timestamp records to reflect current download
times.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Eli Bosley
2025-04-08 16:12:44 -04:00
committed by GitHub
parent 457d338150
commit cd323acd49
5 changed files with 15 additions and 4 deletions

View File

@@ -62,6 +62,17 @@ export class ReportCommand extends CommandRunner {
connectionStatus: { running: 'yes' | 'no' };
};
config.connectionStatus.running = apiRunning ? 'yes' : 'no';
config.remote = {
...config.remote,
apikey: 'REDACTED',
localApiKey: 'REDACTED',
accesstoken: 'REDACTED',
idtoken: 'REDACTED',
refreshtoken: 'REDACTED',
ssoSubIds: 'REDACTED',
allowedOrigins: 'REDACTED',
email: 'REDACTED',
};
this.logger.clear();
this.logger.info(JSON.stringify(config, null, 2));
} catch (error) {