{"id":20447467,"url":"https://github.com/kubescape/lens-extension","last_synced_at":"2025-04-07T10:28:06.151Z","repository":{"id":41176815,"uuid":"485279821","full_name":"kubescape/lens-extension","owner":"kubescape","description":"A Lens extension for viewing Kubescape security information","archived":false,"fork":false,"pushed_at":"2024-12-11T15:55:24.000Z","size":3575,"stargazers_count":52,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T09:09:30.728Z","etag":null,"topics":["kubernetes","kubescape","lens","security"],"latest_commit_sha":null,"homepage":"https://github.com/armosec/kubescape","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kubescape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":"GOVERNANCE.md","roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-25T08:11:00.000Z","updated_at":"2024-11-26T10:18:24.000Z","dependencies_parsed_at":"2025-02-27T23:16:45.829Z","dependency_job_id":"603c3fe4-1a8a-45da-940b-902d22e6c65e","html_url":"https://github.com/kubescape/lens-extension","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubescape%2Flens-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubescape%2Flens-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubescape%2Flens-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubescape%2Flens-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubescape","download_url":"https://codeload.github.com/kubescape/lens-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247634839,"owners_count":20970613,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubernetes","kubescape","lens","security"],"created_at":"2024-11-15T10:26:45.825Z","updated_at":"2025-04-07T10:28:06.123Z","avatar_url":"https://github.com/kubescape.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubescape Lens Extension\n\n[This extension](https://www.armosec.io/blog/kubescape-integrates-with-prometheus-and-lens/?utm_source=github\u0026utm_medium=repository) brings  the power of [Kubescape][kubescape] to [Lens][lens] so managing clusters was never simpler and more secure.\n\n[![License][license-img]][license]\n![GitHub Workflow Status](https://img.shields.io/github/workflow/status/kubescape/lens-extension/publish)\n![GitHub package.json version](https://img.shields.io/github/package-json/v/kubescape/lens-extension)\n\n## Prerequisites\n\n* Lens should be [installed][lens-installation] on your workstation. Please consult the following support matrix for version compatibility:\n\n  | Lens | Kubescape Extension |\n  |------|---------------------|\n  | 5.4  | 0.1.x               |\n  | 5.5  | 0.1.x               |\n  | 6.0  | 0.2.x               |\n  | 6.1  | 0.2.x               |\n\n## Installation\n\n1. Open Lens and navigate to the __Extensions__ page (or press \u003ckbd\u003eCommand\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eE\u003c/kbd\u003e on macOS).\n\n2. Enter ``@kubescape/lens-extension`` into the __Install Extension__ box\n\n3. Click on the __Install__ button.\n\n\n\n\u003cimg src=\"docs/installation.gif\"\u003e \n\n\n## Getting Started\n\nThe Kubescape extension for Lens will help you to easily scan and detect misconfigurations, software vulnerabilities, and RBAC (role-based-access-control) violations in your Kubernetes cluster.\n\n#### Cluster-level information\n\n* Navigate to `Kubescape` from the side menu.\n* 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.\n* The table reflects a cluster-level summary of Kubescape scan results.\n\n\u003cimg src=\"docs/scan-results.png\"\u003e \n\n\u003cbr /\u003e\n\n* 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:\n\n\u003cimg src=\"docs/cluster-level-info.png\"\u003e \n\n#### Object-level information\n\n* Kubescape information is also available at the object level. Click on the desired resource to open the details side bar and scroll down to Kubescape section:\n\n\u003e_This view only shows failed controls. If you don't see any that's a good thing :sweat_smile:_\n\n\u003cimg src=\"docs/object-level-info.png\"\u003e \n\n\n\n## Development mode\n\n\u003e You must have a working [Node.js][nodejs] environment.\n\n1. Clone the repository and then link to it:\n\n```sh\ngit clone https://github.com/kubescape/lens-extension.git \nmkdir -p ~/.k8slens/extensions\nln -s $(pwd)/lens-extension ~/.k8slens/extensions/kubescape\n```\n\n2. Install dependencies and build the extension by running `make` or `npm` commands:\n\n```sh\ncd lens-extension\nmake build\n```\n\n__OR__\n\n```sh\ncd lens-extension\nnpm install\nnpm run build\n```\n\n3. To put your development build in watch mode you can run:\n\n```sh\nnpm start\n```\n\n4. Open Lens and navigate to the Extensions page (or press \u003ckbd\u003eCommand\u003c/kbd\u003e + \u003ckbd\u003eShift\u003c/kbd\u003e+\u003ckbd\u003eE\u003c/kbd\u003e on macOS).\n\n5. If everything is fine, you should see the ``@kubescape/lens-extension`` extension listed under __Installed Extensions__. Click __Enable__ to enable it.\n\n\nTo reflect your source code changes, reload the Lens window by pressing \u003ckbd\u003eCommand\u003c/kbd\u003e+\u003ckbd\u003eR\u003c/kbd\u003e (macOS). Note: Any changes which affect Len's main thread will require a restart to the Lens application.\n\n\n\u003cimg src=\"docs/development.gif\"\u003e \n\n### Uninstall\n\n1. Remove the link:\n```sh\nrm ~/.k8slens/extensions/kubescape\n```\n\n2. Restart Lens application.\n\n\n[lens]: https://github.com/lensapp/lens\n[kubescape]: https://github.com/armosec/kubescape\n[license]: https://github.com/kubescape/lens-extension/blob/master/LICENSE\n[license-img]: https://img.shields.io/github/license/kubescape/lens-extension\n[nodejs]: https://www.nodejs.org/en/\n[lens-installation]: https://github.com/lensapp/lens#installation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubescape%2Flens-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubescape%2Flens-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubescape%2Flens-extension/lists"}