Skip to content

Commit 9d4c33f

Browse files
committed
Added screenshots except 1
1 parent 72381f6 commit 9d4c33f

File tree

9 files changed

+13
-1
lines changed

9 files changed

+13
-1
lines changed
124 KB
Loading
128 KB
Loading
125 KB
Loading
94.6 KB
Loading
80.2 KB
Loading
122 KB
Loading

content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ Each alert highlights a problem with the code and the name of the tool that iden
3131
{% data reusables.code-scanning.alert-default-branch %}
3232
{% endif %}
3333

34+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
3435
![Example alert from {% data variables.product.prodname_code_scanning %}](/assets/images/help/repository/code-scanning-alert.png)
36+
{% else %}
37+
![Example alert from {% data variables.product.prodname_code_scanning %}](/assets/images/help/repository/code-scanning-alert-old.png)
38+
{% endif %}
3539

3640
If you set up {% data variables.product.prodname_code_scanning %} using {% data variables.product.prodname_codeql %}, you can also find data-flow problems in your code. Data-flow analysis finds potential security issues in code, such as: using data insecurely, passing dangerous arguments to functions, and leaking sensitive information.
3741

content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/tracking-code-scanning-alerts-in-issues-using-task-lists.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ You can use more than one issue to track the same {% data variables.product.prod
3939

4040
- A "tracked in" section will also show in the corresponding alert page.
4141

42+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
43+
![Tracked in section on code scanning alert page](/assets/images/help/repository/code-scanning-alert-tracked-in-section.png)
44+
{% else %}
4245
![Tracked in section on code scanning alert page](/assets/images/help/repository/code-scanning-alert-tracked-in-pill.png)
46+
{% endif %}
4347

4448
- On the tracking issue, {% data variables.product.prodname_dotcom %} displays a security badge icon in the task list and on the hovercard.
4549

@@ -65,7 +69,11 @@ The status of the tracked alert won't change if you change the checkbox state of
6569
1. Optionally, to find the alert to track, you can use the free-text search or the drop-down menus to filter and locate the alert. For more information, see "[Managing code scanning alerts for your repository](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository#filtering-code-scanning-alerts)."
6670
{% endif %}
6771
1. Towards the top of the page, on the right side, click **Create issue**.
72+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
73+
![Create a tracking issue for the code scanning alert](/assets/images/help/repository/code-scanning-create-issue-for-alert-new.png)
74+
{% else %}
6875
![Create a tracking issue for the code scanning alert](/assets/images/help/repository/code-scanning-create-issue-for-alert.png)
76+
{% endif %}
6977
{% data variables.product.prodname_dotcom %} automatically creates an issue to track the alert and adds the alert as a task list item.
7078
{% data variables.product.prodname_dotcom %} prepopulates the issue:
7179
- The title contains the name of the {% data variables.product.prodname_code_scanning %} alert.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
The status and information on the alert page only reflects the state of the alert on the default branch of the repository, even if the alert exists in other branches. You can see the status of the alert on non-default branches in the **Affected branches** section on the right-hand side of the alert page. If an alert doesn't exist in the default branch, the status of the alert will display as "in pull request" or "in branch" and will be colored grey.
1+
The status and details on the alert page only reflect the state of the alert on the default branch of the repository, even if the alert exists in other branches. You can see the status of the alert on non-default branches in the **Affected branches** section on the right-hand side of the alert page. If an alert doesn't exist in the default branch, the status of the alert will display as "in pull request" or "in branch" and will be colored grey.

0 commit comments

Comments
 (0)