Skip to content

Commit 77a3872

Browse files
committed
renaming images
1 parent 9d4c33f commit 77a3872

File tree

7 files changed

+13
-6
lines changed

7 files changed

+13
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Each alert highlights a problem with the code and the name of the tool that iden
3232
{% endif %}
3333

3434
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
35-
![Example alert from {% data variables.product.prodname_code_scanning %}](/assets/images/help/repository/code-scanning-alert.png)
35+
![Example alert from {% data variables.product.prodname_code_scanning %}](/assets/images/help/repository/code-scanning-alert-page.png)
3636
{% else %}
37-
![Example alert from {% data variables.product.prodname_code_scanning %}](/assets/images/help/repository/code-scanning-alert-old.png)
37+
![Example alert from {% data variables.product.prodname_code_scanning %}](/assets/images/help/repository/code-scanning-alert.png)
3838
{% endif %}
3939

4040
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.

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,14 @@ By default, the code scanning alerts page is filtered to show alerts for the def
4848
{% endif %}
4949
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
5050
{% data reusables.code-scanning.alert-default-branch %}
51-
<!-- Insert screenshot with status and Affected branches sections highlighted-->{% endif %}
51+
![The "Affected branches" section in an alert](/assets/images/help/repository/code-scanning-affected-branches.png){% endif %}
5252
1. Optionally, if the alert highlights a problem with data flow, click **Show paths** to display the path from the data source to the sink where it's used.
53+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
54+
![The "Show paths" link on an alert](/assets/images/help/repository/code-scanning-show-paths-link.png)
55+
{% else %}
5356
![The "Show paths" link on an alert](/assets/images/help/repository/code-scanning-show-paths.png)
54-
1. Alerts from {% data variables.product.prodname_codeql %} analysis include a description of the problem. Click **Show more** for guidance on how to fix your code.
57+
{% endif %}
58+
2. Alerts from {% data variables.product.prodname_codeql %} analysis include a description of the problem. Click **Show more** for guidance on how to fix your code.
5559
![Details for an alert](/assets/images/help/repository/code-scanning-alert-details.png)
5660

5761
For more information, see "[About {% data variables.product.prodname_code_scanning %} alerts](/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning-alerts)."

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The status of the tracked alert won't change if you change the checkbox state of
7070
{% endif %}
7171
1. Towards the top of the page, on the right side, click **Create issue**.
7272
{% 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)
73+
![Create a tracking issue for the code scanning alert](/assets/images/help/repository/code-scanning-create-issue-for-alert-button.png)
7474
{% else %}
7575
![Create a tracking issue for the code scanning alert](/assets/images/help/repository/code-scanning-create-issue-for-alert.png)
7676
{% endif %}

content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/triaging-code-scanning-alerts-in-pull-requests.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,11 @@ To see more information about an alert, users with write permission can click th
8080

8181
In the detailed view for an alert, some {% data variables.product.prodname_code_scanning %} tools, like {% data variables.product.prodname_codeql %} analysis, also include a description of the problem and a **Show more** link for guidance on how to fix your code.
8282

83+
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-6249 %}
84+
![Alert description and link to show more information](/assets/images/help/repository/code-scanning-alert-description.png)
85+
{% else %}
8386
![Alert description and link to show more information](/assets/images/help/repository/code-scanning-pr-alert.png)
84-
87+
{% endif %}
8588
## Fixing an alert on your pull request
8689

8790
Anyone with push access to a pull request can fix a {% data variables.product.prodname_code_scanning %} alert that's identified on that pull request. If you commit changes to the pull request this triggers a new run of the pull request checks. If your changes fix the problem, the alert is closed and the annotation removed.

0 commit comments

Comments
 (0)