Skip to content

Conversation

@princeparmar
Copy link
Contributor

Summary

This PR includes two major enhancements:

  1. PostgreSQL 17 Support: Added comprehensive checks for PostgreSQL 17 across all categories
  2. SSL Handling Improvements: Enhanced SSL handling for PostgreSQL with ping check flags and execution structure changes

Changes Made

PostgreSQL 17 Support (Commit: 87a6f0f)

  • postgres/check.go: Added new checks for PostgreSQL 17 across multiple categories
  • postgres/installation/installation.go: Added systemd service verification for PostgreSQL 17

SSL Handling and Structure Improvements (Commit: 830c261)

  • Configuration: Updated config handling for SSL and ping check flags
  • Database Connections: Enhanced PostgreSQL and MySQL connection handling
  • Log Parser: Improved log parsing with better SSL handling
  • Templates: Updated HTML report templates
  • Integration Tests: Enhanced test case structure

Key Features

PostgreSQL 17 Support

  • Introduced new checks for PostgreSQL 17 across various categories including installation, permissions, authentication, connection, settings, replication, and special checks
  • Added systemd service verification for PostgreSQL 17
  • Updated existing maps to include checks specific to version 17

SSL and Connection Improvements

  • Enhanced SSL handling for PostgreSQL connections
  • Added ping check flag functionality
  • Improved execution structure for better performance
  • Updated configuration management
  • Enhanced log parsing capabilities

Files Modified

PostgreSQL 17 Support:

  • postgres/check.go
  • postgres/installation/installation.go

SSL and Structure Improvements:

  • .gitignore
  • README.md
  • cmd/ciscollector/logparserrunner.go
  • docker_testing/integrationtest/testcase.go
  • htmlreport/logparser_helper.go
  • htmlreport/template/logparser.tmpl
  • kshieldconfig_example.toml
  • pkg/config/config.go
  • pkg/logparser/hba_unused_lines.go
  • pkg/logparser/inactive_users.go
  • pkg/logparser/init.go
  • pkg/logparser/unique_ips.go
  • pkg/mysqldb/connect.go
  • pkg/parselog/parse.go
  • pkg/postgresdb/connect.go
  • pkg/runner/fastrunner.go
  • postgres/sslaudit/audit.go
  • postgresconfig/compareconfig.go

Testing

  • Verified existing functionality remains intact
  • Tested new PostgreSQL 17 checks
  • Validated SSL handling improvements
  • Tested ping check functionality
  • Validated systemd service verification

Related Issues

Closes #10
Closes #15
Closes #16

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • No breaking changes introduced
  • Configuration examples updated

@klouddb-dev klouddb-dev force-pushed the release-v2.3 branch 2 times, most recently from 778e69d to 1ece720 Compare September 30, 2025 16:36
- Introduced new checks for PostgreSQL 17 across various categories including installation, permissions, authentication, connection, settings, replication, and special checks.
- Added a new function to verify that systemd service files are enabled for PostgreSQL 17.
- Updated existing maps to include checks specific to version 17, ensuring comprehensive coverage for the latest PostgreSQL release.
@princeparmar princeparmar merged commit 929ab0f into main Oct 1, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants