nerdexam
Microsoft

GH-500 · Question #69

You are managing code scanning alerts for your repository. You receive an alert highlighting a problem with data flow. What do you click for additional context on the alert?

The correct answer is A. Show paths. When dealing with a data flow issue in a code scanning alert, clicking on "Show paths" provides a detailed view of the data's journey through the code. This includes the source of the data, the path it takes, and where it ends up (the sink). This information is crucial for…

Code Scanning

Question

You are managing code scanning alerts for your repository. You receive an alert highlighting a problem with data flow. What do you click for additional context on the alert?

Options

  • AShow paths
  • BCode scanning alerts
  • CSecurity

How the community answered

(50 responses)
  • A
    86% (43)
  • B
    4% (2)
  • C
    10% (5)

Explanation

When dealing with a data flow issue in a code scanning alert, clicking on "Show paths" provides a detailed view of the data's journey through the code. This includes the source of the data, the path it takes, and where it ends up (the sink). This information is crucial for understanding how untrusted data might reach sensitive parts of your application and helps in identifying where to implement proper validation or sanitization.

Topics

#Code Scanning#Data Flow Analysis#Alert Management#GitHub UI

Community Discussion

No community discussion yet for this question.

Full GH-500 Practice