If user triggers a scan and modifies the code in the editor, the security issue shows yellow squiggle lines at different place in the editor.
Solution:
To avoid this we compare the existing code diff from editor with the codeSnippet from response. If both matches we show the issue to the user if not we drop the suggestion.
Implemented only for Auto-Scans.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Problem
Solution:
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.