From 919e22b9be5c267278ffddc14ccecb0f0bf3f32a Mon Sep 17 00:00:00 2001 From: Taylor Date: Fri, 16 Feb 2024 12:20:25 -0800 Subject: [PATCH] Remove BC references --- README.md | 2 -- package.json | 6 +++--- src/configuration.ts | 4 ++-- src/userInterface.ts | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index df013cc..1ee4281 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -[![checkov](https://raw.githubusercontent.com/bridgecrewio/checkov/master/docs/web/images/checkov_by_bridgecrew.png)](https://checkov.io) - [![build status](https://github.com/bridgecrewio/checkov-vscode/workflows/build/badge.svg)](https://github.com/bridgecrewio/checkov-vscode/actions?query=workflow%3Abuild) [![Installs-count](https://vsmarketplacebadges.dev/installs-short/Bridgecrew.checkov.png)](https://marketplace.visualstudio.com/items?itemName=Bridgecrew.checkov) [![slack-community](https://img.shields.io/badge/Slack-contact%20us-lightgrey.svg?logo=slack)](https://codifiedsecurity.slack.com/) diff --git a/package.json b/package.json index 977cd47..0af3bdc 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "checkov.token": { "title": "Token", "type": "string", - "markdownDescription": "In order to activate inline infrastructure-as-code fixes, you need to integrate with Bridgecrew's fixes API. \n It's free to create an account and takes less than 2 minutes, Go to [Bridgecrew Platform](https://bridgecrew.cloud/) to get started. \n Your API token can be found in the integrations tab, under \"API Token\". \n For Prisma Cloud users - use your access keys as token in the following format: `\"::\"`. \n The extension will provide API access to the file, if checkov finds policy violations, in order to generate and supply the suggested fixes.", + "markdownDescription": "This plugin requires a valid Prisma Cloud Access Key and Secret Key. Use your access keys as token in the following format: `\"::\"`. \n The extension will provide API access to the file, if Checkov finds policy violations, in order to generate and supply the suggested fixes.", "readOnly": true }, "checkov.certificate": { @@ -74,9 +74,9 @@ "readOnly": true }, "checkov.useBridgecrewIDs": { - "title": "Use Bridgecrew platform IDs", + "title": "Use Legacy Bridgecrew platform IDs", "type": "boolean", - "markdownDescription": "Whether to use Bridgecrew platform IDs (BC_...) instead of Checkov IDs (CKV_...)", + "markdownDescription": "Whether to use Legacy Bridgecrew platform IDs (BC_...) instead of Checkov IDs (CKV_...)", "readOnly": true }, "checkov.checkovVersion": { diff --git a/src/configuration.ts b/src/configuration.ts index 60b1026..eb974d9 100644 --- a/src/configuration.ts +++ b/src/configuration.ts @@ -14,8 +14,8 @@ export const assureTokenSet = (logger: Logger, openConfigurationCommand: string, const configuration: vscode.WorkspaceConfiguration = vscode.workspace.getConfiguration('checkov'); const token = configuration.get('token'); if (!token) { - logger.error('Bridgecrew API token was not found. Please add it to the configuration.'); - vscode.window.showErrorMessage('Bridgecrew API token was not found. Please add it to the configuration in order to scan your code.', 'Open configuration') + logger.error('API token was not found. Please add it to the configuration.'); + vscode.window.showErrorMessage('API token was not found. Please add it to the configuration in order to scan your code.', 'Open configuration') .then(choice => choice === 'Open configuration' && vscode.commands.executeCommand(openConfigurationCommand)); setMissingConfigurationStatusBarItem(checkovInstallation?.version); } else if (getTokenType(token) === 'prisma' && !getPrismaUrl()) { diff --git a/src/userInterface.ts b/src/userInterface.ts index eae89c4..8ca5d52 100644 --- a/src/userInterface.ts +++ b/src/userInterface.ts @@ -15,7 +15,7 @@ export const showContactUsDetails = (logDirectoryPath: vscode.Uri, logFileName: const uri = choice === 'Open issue' ? vscode.Uri.parse('https://github.com/bridgecrewio/checkov-vscode') - : vscode.Uri.parse('https://slack.bridgecrew.io'); + : vscode.Uri.parse('https://codifiedsecurity.slack.com/'); vscode.env.openExternal(uri); });