diff --git a/package.json b/package.json index 5d7dfb7..6826bdf 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Transcend Inc.", "name": "@transcend-io/privacy-types", "description": "Core enums and types that can be useful when interacting with Transcend's public APIs.", - "version": "4.59.1", + "version": "4.60.0", "homepage": "https://github.com/transcend-io/privacy-types", "repository": { "type": "git", diff --git a/src/scopes.ts b/src/scopes.ts index 21c2114..9f7ddbd 100644 --- a/src/scopes.ts +++ b/src/scopes.ts @@ -74,6 +74,8 @@ export enum ScopeName { ApprovePrompts = 'approvePrompts', ManageAuditor = 'manageAuditor', ExecuteAuditor = 'executeAuditor', + ViewCodeScanning = 'viewCodeScanning', + ManageCodeScanning = 'manageCodeScanning', ViewPathfinder = 'viewPathfinder', ManagePathfinder = 'managePathfinder', ViewContractScanning = 'viewContractScanning', @@ -732,6 +734,20 @@ const SCOPES_WITHOUT_VIEW_ONLY: { type: ScopeType.Modify, products: [TranscendProduct.PromptManager], }, + [ScopeName.ViewCodeScanning]: { + title: 'View Code Scanning', + dependencies: [], + description: 'View the code scanning tables.', + type: ScopeType.View, + products: [TranscendProduct.DataMapping], + }, + [ScopeName.ManageCodeScanning]: { + title: 'Manage Code Scanning', + dependencies: [ScopeName.ViewCodeScanning], + description: 'Manage, edit and create records in code scanning', + type: ScopeType.Modify, + products: [TranscendProduct.DataMapping], + }, [ScopeName.ExecutePrompt]: { title: 'Execute Prompt', dependencies: [ScopeName.ViewPromptRuns, ScopeName.ViewPrompts],