Skip to main content

💼 6.2.6 Ensure that the 'log_temp_files' database flag for Cloud SQL PostgreSQL instance is set to '0' (on)

  • ID: /frameworks/cis-gcp-v1.1.0/06/02/06

Description​

PostgreSQL can create a temporary file for actions such as sorting, hashing and temporary query results when these operations exceed 'work_mem'. The 'log_temp_files' flag controls logging names and the file size when it is deleted. Configuring 'log_temp_files' to '0' causes all temporary file information to be logged, while positive values log only files whose size is greater than or equal to the specified number of kilobytes. A value of '-1' disables temporary file information logging.

Similar​

  • Internal
    • ID: dec-c-454079ab

Sub Sections​

SectionSub SectionsInternal RulesPoliciesFlagsCompliance