Skip to content

Commit 1b20453

Browse files
develop-vijayvijgovin
andauthored
AMBARI-26537: Security: Remove command file json after execution of a task (#4045)
Co-authored-by: vijgovin <[email protected]>
1 parent ae28e6e commit 1b20453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ambari-agent/src/main/python/ambari_agent/AmbariConfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def command_file_retention_policy(self):
292292
policy = self.get(
293293
"agent",
294294
self.COMMAND_FILE_RETENTION_POLICY_PROPERTY,
295-
default=self.COMMAND_FILE_RETENTION_POLICY_KEEP,
295+
default=self.COMMAND_FILE_RETENTION_POLICY_REMOVE,
296296
)
297297
policies = [
298298
self.COMMAND_FILE_RETENTION_POLICY_KEEP,

0 commit comments

Comments
 (0)