Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Remove BC references #142

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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/)
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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: `\"<AccessKey>::<SecretKey>\"`. \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: `\"<AccessKey>::<SecretKey>\"`. \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": {
Expand All @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions src/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export const assureTokenSet = (logger: Logger, openConfigurationCommand: string,
const configuration: vscode.WorkspaceConfiguration = vscode.workspace.getConfiguration('checkov');
const token = configuration.get<string>('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()) {
Expand Down
2 changes: 1 addition & 1 deletion src/userInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down
Loading