Skip to content

Resolve "Investigate vulnerability: Attribute 'restart:on-failure' should be set to 5. Restart policies in general should be used, and 5 retries is the recommended by CIS."

What does this MR do and why?

fix(deploy.compose): Use recommended max_attempts: 5 value in container restart_policy (#149 (closed))

MR acceptance checklist

  • My code follows the style guidelines of this project
  • I ran pylint and other linters for modified files
  • I have performed a self-review of my own code and tested it
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • My code needed automated testing. I have added them (this is optional task)
  • I have added user readable comment in the CHANGELOG

Closes #149 (closed)

Edited by Guillaume MARTINEZ

Merge request reports