You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/code-security/secret-scanning/secret-scanning-partner-program.md
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,8 @@ The following diagram summarizes the {% data variables.product.prodname_secret_s
31
31
## Joining the {% data variables.product.prodname_secret_scanning %} program on {% data variables.product.prodname_dotcom %}
32
32
33
33
1. Contact {% data variables.product.prodname_dotcom %} to get the process started.
34
-
1. Identify the relevant secrets you want to scan for and create regular expressions to capture them.
35
-
1. For secret matches found publicly, create a secret alert service which accepts webhooks from {% data variables.product.prodname_dotcom %} that contain the {% data variables.product.prodname_secret_scanning %} message payload.
34
+
1. Identify the relevant secrets you want to scan for and create regular expressions to capture them. For more detailed information and recommendations, see "[Identify your secrets and create regular expressions](#identify-your-secrets-and-create-regular-expressions)" below.
35
+
1. For secret matches found publicly, create a secret alert service which accepts webhooks from {% data variables.product.prodname_dotcom %} that contain the {% data variables.product.prodname_secret_scanning %} message payload.
36
36
1. Implement signature verification in your secret alert service.
37
37
1. Implement secret revocation and user notification in your secret alert service.
38
38
1. Provide feedback for false positives (optional).
@@ -46,10 +46,16 @@ You will receive details on the {% data variables.product.prodname_secret_scanni
46
46
### Identify your secrets and create regular expressions
47
47
48
48
To scan for your secrets, {% data variables.product.prodname_dotcom %} needs the following pieces of information for each secret that you want included in the {% data variables.product.prodname_secret_scanning %} program:
49
+
- A unique, human-readable name for the secret type. We'll use this to generate the `Type` value in the message payload later.
50
+
- A regular expression which finds the secret type. We recommend you are as precise as possible, because this will help reduce the number of false positives. Some best practices for high quality, identifiable secrets are:
51
+
- A uniquely defined prefix
52
+
- High entropy random strings
53
+
- A 32-bit checksum
49
54
50
-
- A unique, human readable name for the secret type. We'll use this to generate the `Type` value in the message payload later.
51
-
- A regular expression which finds the secret type. Be as precise as possible, because this will reduce the number of false positives.
52
-
- The URL of the endpoint that receives messages from {% data variables.product.prodname_dotcom %}. This does not have to be unique for each secret type.
55
+

56
+
57
+
- A test account for your service. This will allow us to generate and analyze examples of the secrets, further reducing false positives.
58
+
- The URL of the endpoint that receives messages from {% data variables.product.prodname_dotcom %}. The URL doesn't have to be unique for each secret type.
53
59
54
60
Send this information to <ahref="mailto:secret-scanning@github.com">secret-scanning@github.com</a>.
0 commit comments