Skip to content

Chore/sanitize sensitive config 20260814 - #380

Merged
Qinyouzeng merged 7 commits into
mainfrom
chore/sanitize-sensitive-config-20260814
Aug 14, 2026
Merged

Qinyouzeng merged 7 commits into
mainfrom
chore/sanitize-sensitive-config-20260814

Conversation

@wzh425

@wzh425 wzh425 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

No description provided.

wzh425 and others added 7 commits January 9, 2026 14:12
Updated the filtering logic in AlarmHistoryQueryHandler, AlarmRuleQueryHandler, and WebHookQueryHandler to perform case-insensitive searches by converting both the filter and the target display names to lowercase. This enhancement ensures more accurate search results regardless of the case used in the input.
Remove hardcoded credentials from tracked configuration files and switch design-time database config loading to optional local secrets plus environment variables to satisfy repository secret scanning.

Co-authored-by: Cursor <cursoragent@cursor.com>
- Deleted the Masa.Alert.Web.Admin project, including all related components and files.
- Updated solution and project files to remove references to the deleted project.
- Added support for appsettings.secrets.json in PostgreSQL and SQL Server projects to manage sensitive configurations.
- Commented out the ITokenGenerater registration in the service configuration to prevent potential issues.

This refactor streamlines the project structure and enhances configuration management.
Removed a commented-out entry in appsettings.json to enhance clarity and maintainability of the configuration file.
Replaced placeholder values for DCC_SECRET and ADMIN_PWD with actual credentials. Updated Redis and PostgreSQL connection settings to reflect new server addresses and ports, enhancing the application's configuration for the development environment.
Uncommented the registration of ITokenGenerater in the service configuration to ensure proper token generation functionality is available in the application.
@Qinyouzeng
Qinyouzeng merged commit 357293d into main Aug 14, 2026
1 check passed
@Qinyouzeng
Qinyouzeng deleted the chore/sanitize-sensitive-config-20260814 branch August 14, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants