Add "multi-part secrets" section to "Supported secret scanning patterns" article (#57088)
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com> Co-authored-by: Erin Havens <erinhav@github.com>
This commit is contained in:
@@ -199,6 +199,7 @@
|
||||
isPrivateWithGhas: true
|
||||
hasPushProtection: true
|
||||
hasValidityCheck: '{% ifversion fpt or ghes %}false{% else %}true{% endif %}'
|
||||
ismultipart: true
|
||||
base64Supported: false
|
||||
isduplicate: false
|
||||
- provider: Amazon AWS
|
||||
|
||||
@@ -46,6 +46,9 @@ export default async function secretScanning(
|
||||
if (entry.isduplicate) {
|
||||
entry.secretType += ' <br/><a href="#token-versions">Token versions</a>'
|
||||
}
|
||||
if (entry.ismultipart) {
|
||||
entry.secretType += ' <br/><a href="#multi-part-secrets">Multi-part secrets</a>'
|
||||
}
|
||||
})
|
||||
|
||||
return next()
|
||||
|
||||
@@ -311,6 +311,7 @@ export type SecretScanningData = {
|
||||
isPrivateWithGhas: boolean
|
||||
hasPushProtection: boolean
|
||||
hasValidityCheck: boolean | string
|
||||
ismultipart?: boolean
|
||||
base64Supported: boolean
|
||||
isduplicate: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user