mirror of
				https://github.com/wazuh/wazuh-docker.git
				synced 2025-11-03 21:43:17 +00:00 
			
		
		
		
	delete single quotes for configurate vuln detection
This commit is contained in:
		
							
								
								
									
										2
									
								
								.env
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								.env
									
									
									
									
									
								
							@@ -2,5 +2,5 @@ WAZUH_VERSION=4.8.0
 | 
			
		||||
WAZUH_IMAGE_VERSION=4.8.0
 | 
			
		||||
WAZUH_TAG_REVISION=1
 | 
			
		||||
FILEBEAT_TEMPLATE_BRANCH=4.8.0
 | 
			
		||||
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.2.tar.gz
 | 
			
		||||
WAZUH_FILEBEAT_MODULE=wazuh-filebeat-0.3.tar.gz
 | 
			
		||||
WAZUH_UI_REVISION=1
 | 
			
		||||
 
 | 
			
		||||
@@ -115,7 +115,7 @@ function_entrypoint_scripts() {
 | 
			
		||||
function_configure_vulnerability_detection() {
 | 
			
		||||
if [ "$INDEXER_PASSWORD" != "" ]; then
 | 
			
		||||
  >&2 echo "Configuring password."
 | 
			
		||||
  sed -i "s|<password>VDPass</password>|<password>'$INDEXER_PASSWORD'</password>|g" /var/ossec/etc/ossec.conf
 | 
			
		||||
  sed -i "s|<password>VDPass</password>|<password>$INDEXER_PASSWORD</password>|g" /var/ossec/etc/ossec.conf
 | 
			
		||||
fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user