[2022-09-29]: Secret scanning: comment on close - [GA] (#31133)
Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
This commit is contained in:
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
BIN
assets/images/help/repository/secret-scanning-dismiss-alert.png
Normal file
BIN
assets/images/help/repository/secret-scanning-dismiss-alert.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 116 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
@@ -33,14 +33,14 @@ shortTitle: Manage secret alerts
|
||||
{% data reusables.repositories.navigate-to-repo %}
|
||||
{% data reusables.repositories.sidebar-security %}
|
||||
1. In the left sidebar, click **Secret scanning alerts**.
|
||||
{% ifversion fpt or ghes or ghec %}
|
||||
{% ifversion ghes or ghec %}
|
||||

|
||||
{% endif %}
|
||||
{% ifversion ghae %}
|
||||

|
||||
{% endif %}
|
||||
1. Under "Secret scanning" click the alert you want to view.
|
||||
{% ifversion fpt or ghec %}
|
||||
{% ifversion ghec %}
|
||||

|
||||
{% endif %}
|
||||
{% ifversion ghes %}
|
||||
@@ -48,14 +48,21 @@ shortTitle: Manage secret alerts
|
||||
{% endif %}
|
||||
{% ifversion ghae %}
|
||||

|
||||
{% endif %}
|
||||
1. Optionally, select the {% ifversion fpt or ghec %}"Close as"{% elsif ghes or ghae %}"Mark as"{% endif %} drop-down menu and click a reason for resolving an alert.
|
||||
{% ifversion fpt or ghec %}
|
||||

|
||||
{% endif %}
|
||||
{% ifversion ghes or ghae %}
|
||||

|
||||
{% endif %}
|
||||
{% endif %}{% ifversion secret-scanning-dismissal-comment %}
|
||||
1. To dismiss an alert, select the "Dismiss alert" dropdown menu and click a reason for resolving an alert.
|
||||
|
||||
{% else %}
|
||||
1. To dismiss an alert, select the "Mark as" dropdown menu and click a reason for resolving an alert.
|
||||
|
||||

|
||||
|
||||
{% endif %}{% ifversion secret-scanning-dismissal-comment %}
|
||||
1. Optionally, add a dismissal comment. The dismissal comment will be added to the alert timeline and can be used as justification during auditing and reporting. You can view the history of all dismissed alerts and dismissal comments in the alert timeline. You can also retrieve or set a comment by using the {% data variables.product.prodname_secret_scanning_caps %} API. The comment is contained in the `resolution_comment` field. For more information, see "[{% data variables.product.prodname_secret_scanning_caps %}](/rest/secret-scanning#update-a-secret-scanning-alert)" in the REST API documentation.
|
||||
|
||||

|
||||
|
||||
1. Click **Dismiss alert**.
|
||||
{% endif %}
|
||||
|
||||
## Securing compromised secrets
|
||||
|
||||
|
||||
6
data/features/secret-scanning-dismissal-comment.yml
Normal file
6
data/features/secret-scanning-dismissal-comment.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# Reference: #7524.
|
||||
# Documentation for allowing users to add a comment when dismissing a secret scanning alert.
|
||||
versions:
|
||||
ghec: '*'
|
||||
ghes: '>=3.8'
|
||||
ghae: '>=3.8'
|
||||
Reference in New Issue
Block a user