1
0
mirror of synced 2026-01-05 03:06:35 -05:00

Minimum changes for secret scanning dry-runs (#24548)

Co-authored-by: Mariam <15mariams@github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
This commit is contained in:
Felicity Chapman
2022-02-10 22:36:17 +00:00
committed by GitHub
parent 19a196328e
commit 8ccd2a8672
7 changed files with 21 additions and 3 deletions

View File

@@ -2,6 +2,8 @@
1. You must at least provide the name for your pattern, and a regular expression for the format of your secret pattern.
1. You can click **More options {% octicon "chevron-down" aria-label="down" %}** to provide other surrounding content or additional match requirements for the secret format.
1. Provide a sample test string to make sure your configuration is matching the patterns you expect.
{% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5499 %}
![Create a custom {% data variables.product.prodname_secret_scanning %} pattern form](/assets/images/help/repository/secret-scanning-create-custom-pattern.png)
1. When you are satisfied with your new custom pattern, click {% ifversion fpt or ghes > 3.2 or ghae or ghec %}**Create pattern**{% elsif ghes = 3.2 %}**Create custom pattern**{% endif %}.
{% else %}
![Create a custom {% data variables.product.prodname_secret_scanning %} pattern form](/assets/images/enterprise/3.2/repository/secret-scanning-create-custom-pattern.png)
{% endif %}

View File

@@ -0,0 +1 @@
1. When you're satisfied with your new custom pattern, click {% ifversion fpt or ghec or ghes > 3.4 or ghae-issue-5499 %}**Publish pattern**{% elsif ghes > 3.2 or ghae %}**Create pattern**{% elsif ghes = 3.2 %}**Create custom pattern**{% endif %}.

View File

@@ -0,0 +1,6 @@
{% note %}
**Note:** The dry run feature is currently in beta and subject to change.
{% endnote %}