npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@kubescape/lens-extension

v0.2.4

Published

Kubescape extension for Lens

Downloads

88

Readme

Kubescape Lens Extension

This extension brings out the power of Kubescape into Lens so managing cluster was never simpler and safer.

License GitHub Workflow Status GitHub package.json version

Prerequisites

  • Lens should be installed on your workstation. Please consult the following support matrix for version compatibility:

    | Lens | Kubescape Extension | |------|---------------------| | 5.4 | 0.1.x | | 5.5 | 0.1.x | | 6.0 | 0.2.x | | 6.1 | 0.2.x |

Installation

  1. Open Lens and navigate to the Extensions page (or press Command + Shift+E on macOS).

  2. Enter @kubescape/lens-extension into the Install Extension box

  3. Click on the Install button.

Getting Started

Kubescape extension for Lens will help you to easily scan and detect misconfigurations, software vulnerabilities, and RBAC (role-based-access-control) violations in your K8S cluster.

Cluster-level information

  • Navigate to Kubescape from the side menu.
  • A Kubescape scan runs automatically on your cluster for the first time. You can also run a scan on-demand by clicking the Scan button.
  • The table reflects a cluster-level summary of kubescape scan results.
  • To find out more information on a specific Kubescape control and its failed resources, click on it to open the side bar for a detailed view:

Object-level information

  • Kubescape information is also available at the object level. Click on the desired resource to open the details side bar and scroll down for Kubescape section:

This view shows only failed controls. If you don't see any that's a good thing :)

Development mode

You must have a working Node.js environment.

  1. Clone the repository and then link to it:
git clone https://github.com/kubescape/lens-extension.git 
mkdir -p ~/.k8slens/extensions
ln -s $(pwd)/lens-extension ~/.k8slens/extensions/kubescape
  1. Install dependencies and build the extension by running make or npm commands:
cd lens-extension
make build

OR

cd lens-extension
npm install
npm run build
  1. To put your development build into watch mode you can run:
npm start
  1. Open Lens and navigate to the Extensions page (or press Command + Shift+E on macOS).

  2. If everything is fine, you should see the @kubescape/lens-extension extension listed under Installed Extensions. Click Enable to enable it

To reflect your source code changes, reload the Lens window by pressing Command+R (macOS). Note: Any changes which affect Len's main thread will require a restart to the Lens application.

Uninstall

  1. Remove the link:
rm ~/.k8slens/extensions/kubescape
  1. Restart Lens application.