Skip to content

Commit 4032316

Browse files
heiskrCopilot
andauthored
Make hasExtendedMetadata optional in secret scanning schema (#59675)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ea8401e commit 4032316

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/secret-scanning/data/public-docs-schema.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface SecretScanningEntry {
1919
isPrivateWithGhas: boolean | string
2020
hasPushProtection: boolean | string
2121
hasValidityCheck: boolean | string
22-
hasExtendedMetadata: boolean | string
22+
hasExtendedMetadata?: boolean | string
2323
base64Supported: boolean | string
2424
isduplicate: boolean
2525
}
@@ -37,7 +37,6 @@ export default {
3737
'isPrivateWithGhas',
3838
'hasPushProtection',
3939
'hasValidityCheck',
40-
'hasExtendedMetadata',
4140
],
4241
properties: {
4342
provider: {

src/types/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export type SecretScanningData = {
328328
isPrivateWithGhas: boolean
329329
hasPushProtection: boolean
330330
hasValidityCheck: boolean | string
331-
hasExtendedMetadata: boolean
331+
hasExtendedMetadata?: boolean
332332
ismultipart?: boolean
333333
base64Supported: boolean
334334
isduplicate: boolean

0 commit comments

Comments
 (0)