In a pull request, you notice that a colleague has introduced a security vulnerability. How would you handle this issue to ensure the security of the codebase?

  • Approve the pull request and fix the vulnerability later
  • Comment on the pull request, highlighting the vulnerability, and suggest a fix
  • Share the concern privately with the colleague
  • Reject the pull request and discuss the issue with the team
Option d is the correct choice. Rejecting the pull request ensures that the vulnerability is not merged. Discussing it with the team promotes awareness and collaboration for a robust solution.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *