1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Update secret scanning schema (#51949)

This commit is contained in:
Rachael Sewell
2024-08-07 12:41:18 -07:00
committed by GitHub
parent be6344b65b
commit e6ea705a7e
2 changed files with 7 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ export default {
'isPrivateWithGhas',
'hasPushProtection',
'hasValidityCheck',
'isduplicate',
],
properties: {
provider: {
@@ -66,6 +67,11 @@ export default {
description: 'whether the secret has its validation status checked',
type: ['boolean', 'string'],
},
isduplicate: {
description:
'whether the token has more than one version, meaning there are more than one token descriptions with the same token key',
type: ['boolean'],
},
},
},
}

View File

@@ -298,6 +298,7 @@ export type SecretScanningData = {
isPrivateWithGhas: boolean
hasPushProtection: boolean
hasValidityCheck: boolean | string
isduplicate: boolean
}
type Language = {