0.1.14 • Published 4 years ago

@inspektre/inspektre v0.1.14

Weekly downloads
26
License
APACHE-2.0
Repository
github
Last release
4 years ago

Inspektre CLI & SDK

Inspektre CLI and SDK is a command line tool and SDK for the Inspektre API.

Wiki

inspektre-cli Wiki can be found here

Purpose

This CLI utility is helpful in performing the following: 1. Query Inspektre Security Graphs. 2. Manage projects on Inspektre Platform. 3. Modify user roles or permissions. 4. Supress attack patterns or weaknesses or verifications.

inspektre-cli is a graphql client that queries to api.inspektre.io and query the inspektre security graphs.

Usage

Usage: cli [options] [command]

  _                      _    _                           _ _
 (_)_ __  ___ _ __   ___| | _| |_ _ __ ___            ___| (_)
 | | '_ \/ __| '_ \ / _ \ |/ / __| '__/ _ \  _____   / __| | |
 | | | | \__ \ |_) |  __/   <| |_| | |  __/ |_____| | (__| | |
 |_|_| |_|___/ .__/ \___|_|\_\\__|_|  \___|          \___|_|_|
             |_|                                               

Options:
  -V, --version          output the version number
  -h, --help             display help for command

Commands:
  version               Display the version of Inspektre-CLI in use.
  auth [options]        Authenticate to Inspektre Platform.
  projects [options]    List/Create/Update projects on Inspektre Platform.
  playground            Manage temporary access the Inspektre  GraphQLPlayground.

Authorize

Inspektre CLI command authorize is Device Authorization Grant as specified in OAuth 2.0 RFC 8628 located here.

  • To Authorize a device, run inspektre-cli authorize.
  • For verbose mode, run inspektre-cli authorize -v.

Reauthorize

Reauthroize command is used to refresh device authorization and extending the device authorization.

  • To reauthorize, run inspektre-cli reauthorize.
  • For Verbose, run inspektre-cli reauthorize -v.

Environment Variables

  • In order to use Inspektre CLI, Please ensure that an environment variable CLIENT_ID is set.
  • You will be able find the CLIENT_ID under your account at https://app.inspektre.io/app/account.

Development

  • When bumping cli version, Please change it in the package.json manifest file.
  • This entry in the manifestis used to get the version into the CLI Client.

Builds

In order to generate binaries for Mac OS X orWindows or Linux, Vercel pkg is required.

With Yarn

yarn global add pkg

With NPM

npm i -g pkg

Typical Severity

  • Critical, High, Medium, Low, Very Low

Likelihood of Attack

  • High, Low, Medium
0.1.14

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.8

4 years ago

0.1.4

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.0

4 years ago

0.0.51

4 years ago

0.0.50

4 years ago

0.0.49

4 years ago

0.0.47

4 years ago

0.0.48

4 years ago

0.0.46

4 years ago

0.0.44

4 years ago

0.0.45

4 years ago

0.0.40

4 years ago

0.0.43

4 years ago

0.0.39

5 years ago

0.0.38

5 years ago

0.0.37

5 years ago

0.0.33

5 years ago

0.0.34

5 years ago

0.0.35

5 years ago

0.0.36

5 years ago

0.0.32

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.27

5 years ago

0.0.26

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.22

5 years ago

0.0.20

5 years ago

0.0.21

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.14

5 years ago

0.0.15

5 years ago

0.0.16

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago