This is an automated email from the ASF dual-hosted git repository.

jialiang pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1b20453c19 AMBARI-26537: Security: Remove command file json after 
execution of a task (#4045)
1b20453c19 is described below

commit 1b20453c196491be786c7498df2821f0eb2c7625
Author: Vijayakumar Govindasamy <[email protected]>
AuthorDate: Fri Sep 12 14:42:18 2025 +0530

    AMBARI-26537: Security: Remove command file json after execution of a task 
(#4045)
    
    Co-authored-by: vijgovin <[email protected]>
---
 ambari-agent/src/main/python/ambari_agent/AmbariConfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py 
b/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
index 83b55d2059..a61be08141 100644
--- a/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
+++ b/ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
@@ -292,7 +292,7 @@ class AmbariConfig:
     policy = self.get(
       "agent",
       self.COMMAND_FILE_RETENTION_POLICY_PROPERTY,
-      default=self.COMMAND_FILE_RETENTION_POLICY_KEEP,
+      default=self.COMMAND_FILE_RETENTION_POLICY_REMOVE,
     )
     policies = [
       self.COMMAND_FILE_RETENTION_POLICY_KEEP,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to