Skip to content

Commit 0e8216a

Browse files
authored
Update schema for secret scanning data (#42842)
1 parent 7bed72b commit 0e8216a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/secret-scanning/lib/secret-scanning-schema.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,19 @@ export default {
5353
versions: versionsProps,
5454
isPublic: {
5555
description: 'whether the secret is publicly available',
56-
type: 'boolean',
56+
type: ['boolean', 'string'],
5757
},
5858
isPrivateWithGhas: {
5959
description: 'whether the secret is available in GHAS',
60-
type: 'boolean',
60+
type: ['boolean', 'string'],
6161
},
6262
hasPushProtection: {
6363
description: 'whether the secret has push protection',
64-
type: 'boolean',
64+
type: ['boolean', 'string'],
6565
},
6666
hasValidityCheck: {
6767
description: 'whether the secret has its validation status checked',
68-
type: 'boolean',
68+
type: ['boolean', 'string'],
6969
},
7070
},
7171
},

0 commit comments

Comments
 (0)