-- [Configure and Use Code Scanning]
After investigating a code scanning alert related to injection, you determine that the input is properly sanitized using custom logic. What should be your next step?
When you identify that a code scanning alert is a false positive---such as when your code uses a custom sanitization method not recognized by the analysis---you should dismiss the alert with the reason 'false positive.' This action helps improve the accuracy of future analyses and maintains the relevance of your security alerts.
As per GitHub's documentation:
'If you dismiss a CodeQL alert as a false positive result, for example because the code uses a sanitization library that isn't supported, consider contributing to the CodeQL repository and improving the analysis.'
By dismissing the alert appropriately, you ensure that your codebase's security alerts remain actionable and relevant.
Breana
20 days agoJacklyn
21 days agoMitzie
26 days agoArmando
26 days agoTemeka
29 days agoMelissia
30 days agoCaitlin
16 days agoOlene
1 months agoKristofer
18 days agoFausto
25 days agoTrinidad
1 months agoJennifer
16 days agoYaeko
18 days agoSol
2 months ago