Skip to content

Remediations should be disabled if docker file path is not correct

Nick Ilieskou requested to merge nilieskou/378003_fix_remidiation into master

What does this MR do?

  • Makes sure that disabled? function returns the right response when the docker_file path refers to a directory and not to a file. Before this change disabled? would be false if we provided a valid directory.
  • Adds a test for this corner case

What are the relevant issue numbers?

Container Scanning - Do not attempt remediation... (gitlab-org/gitlab#378003 - closed)

Does this MR meet the acceptance criteria?

/label typebug

Edited by Nick Ilieskou

Merge request reports