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.
Loading...
Related Quiz
- What is a popular platform used for version control and collaboration in software development?
- What does SDLC stand for?
- One common technique for dealing with errors in distributed systems is _______.
- Among the options, which language is often preferred for server-side scripting due to its versatility and support for frameworks like Ruby on Rails?
- You notice that the website you designed is not rendering properly on a particular mobile device. How would you troubleshoot and resolve this issue?