prowler icon indicating copy to clipboard operation
prowler copied to clipboard

feat(azure): New checks related to PostgreSQL service

Open pedrooot opened this issue 1 year ago • 1 comments

Context

This pr adds 7 new checks related to PostgreSQL service

Description

The new checks are:

  • [x] postgresql_flexible_server_enforce_ssl_enabled
  • [x] postgresql_flexible_server_log_checkpoints_on
  • [x] postgresql_flexible_server_log_connections_on
  • [x] postgresql_flexible_server_log_disconnections_on
  • [x] postgresql_flexible_server_connection_throttling_on
  • [x] postgresql_flexible_server_log_retention_days_greater_3
  • [x] postgresql_flexible_server_allow_access_services_disabled

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

pedrooot avatar Feb 13 '24 11:02 pedrooot

Codecov Report

Attention: 42 lines in your changes are missing coverage. Please review.

Comparison is base (cc71249) 85.85% compared to head (1dfa971) 85.83%.

Files Patch % Lines
...rs/azure/services/postgresql/postgresql_service.py 49.39% 42 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3396      +/-   ##
==========================================
- Coverage   85.85%   85.83%   -0.03%     
==========================================
  Files         586      595       +9     
  Lines       18893    19106     +213     
==========================================
+ Hits        16220    16399     +179     
- Misses       2673     2707      +34     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 13 '24 12:02 codecov[bot]

Updated to: https://github.com/prowler-cloud/prowler/pull/3409

pedrooot avatar Feb 19 '24 10:02 pedrooot