Update schema for secret scanning data (#42842)
This commit is contained in:
@@ -53,19 +53,19 @@ export default {
|
|||||||
versions: versionsProps,
|
versions: versionsProps,
|
||||||
isPublic: {
|
isPublic: {
|
||||||
description: 'whether the secret is publicly available',
|
description: 'whether the secret is publicly available',
|
||||||
type: 'boolean',
|
type: ['boolean', 'string'],
|
||||||
},
|
},
|
||||||
isPrivateWithGhas: {
|
isPrivateWithGhas: {
|
||||||
description: 'whether the secret is available in GHAS',
|
description: 'whether the secret is available in GHAS',
|
||||||
type: 'boolean',
|
type: ['boolean', 'string'],
|
||||||
},
|
},
|
||||||
hasPushProtection: {
|
hasPushProtection: {
|
||||||
description: 'whether the secret has push protection',
|
description: 'whether the secret has push protection',
|
||||||
type: 'boolean',
|
type: ['boolean', 'string'],
|
||||||
},
|
},
|
||||||
hasValidityCheck: {
|
hasValidityCheck: {
|
||||||
description: 'whether the secret has its validation status checked',
|
description: 'whether the secret has its validation status checked',
|
||||||
type: 'boolean',
|
type: ['boolean', 'string'],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user