KubescapeThe Visual studio extension lets utilize the power 💪 of Kubescape directly in your favorite text editor. ✨ FeaturesScan YAML files and get analysis from KubescapeYAML files can be scanned using a command. You can access any of this extension's commands by opening the Command Palette (Ctrl+Shift+P on Linux/Windows and Cmd+Shift+P on Mac), and then typing in the command name. The default behavior also scans YAML files on save 💾. Scanning results are marked and can be found in 🔒 RequirementsThis extension downloads the latest Kubescape version. However, it is recommended to have Kubescape installed in your path. ⚙️ ConfigurationCurrently the following options can be configured: Set custom directory for KubescapeBy default, this extension uses it's own Kubescape binary in order to provide as stable an experience as it can. If, however, you desire to use a different or maybe a custom Kubescape executable
you can use the option Scan triggersFor the time being, Kubescape scans can take a while, so it might be unwise to run scans without a good reason (like a dirty file). I chose to run a background scan only when a new file is saved on the disk. To choose between available files to scan on save use the option Default : scan on save for all supported files. FrameworksFrameworks are collections of controls. There are some built-in controls that Kubescape can use by default and can be downloaded locally for an offline scan. The Kubescape extension for VS code uses this method to increase it's scanning speed. Choosing required frameworksYou can choose which frameworks used by adding their names into the
Default : Empty. Meaning all available frameworks will be downloaded. Overriding the framework directoryThe used frameworks are downloaded to the Kubescape directory by default.
You can simply copy / download any desired framework to this directory.
Alternatively, you can use the Default: Not set. Uses the Kubescape binary directory. Specify frameworks for scanningTo specify which frameworks to use for scanning you can list them in the
The specified frameworks will be used for the scan. If they dont exist, they will be downloaded automatically. Default: Not set. Uses frameworks from the framework directory. Kubescape VersionBy default, I use a version of Kubescape that works well with this extension. If, however, you wish to use the latest and greatest it can be configured via
the 💼 MarketplaceThis extension is available officially at either: 🗒️ Release NotesSee Change Log |