codescan-export

1.0.7 • Public • Published

codescan-export

CSV export is available in CodeScan Cloud with this command line tool available through npm.

oclif Version Downloads/week License

Prerequisites

You will need:

Installation

There are 2 ways to install the CodeScan Export tool.

Install from Git

  • Clone the repository.
  • Navigate to the folder in your command line.
  • Type npm install -g
  • Once the installation is finished, type codescan-export -v to check the tool is available.

Install from npm

  • In your command line, type npm install -g codescan-export
  • Once the installation is finished, type codescan-export -v to check the tool is available.

Usage

It is recommended that you create an environment variable for your CodeScan Cloud token to avoid using it in plaintext for each call. Name the variable CODESCAN_TOKEN and assign it the token created in your Account Security Settings.

With the token set as an environment variable you can run the tool with the following command.

codescan-export [ORGANISATION KEY] [PROJECT KEY]

How to find your Organisation Key

How to find your Project Key

Without the token set as an environment variable you can run the tool with the following command. Click on the links for information on how to find the keys.

CODESCAN_TOKEN=[TOKEN] codescan-export [ORGANISATION KEY] [PROJECT KEY]

Generate your Security Token

How to find your Organisation Key

How to find your Project Key

Type codescan-export -h to see the detailed usage for this tool including how to filter the issues.

Readme

Keywords

Package Sidebar

Install

npm i codescan-export

Weekly Downloads

40

Version

1.0.7

License

MIT

Unpacked Size

15.1 kB

Total Files

5

Last publish

Collaborators

  • bvanklinken
  • borisbsu