Update secret scanning schema (#51949)
This commit is contained in:
@@ -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'],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -298,6 +298,7 @@ export type SecretScanningData = {
|
||||
isPrivateWithGhas: boolean
|
||||
hasPushProtection: boolean
|
||||
hasValidityCheck: boolean | string
|
||||
isduplicate: boolean
|
||||
}
|
||||
|
||||
type Language = {
|
||||
|
||||
Reference in New Issue
Block a user