Get Started in 60 seconds !
Make sure you meet the following prerequisites
Prerequisites:
- kubectl is configured to connect to cluster.
- Optional, but highly recommended: make sure you are in a python venv.
Simply run the following commands, and run your first scan.
pip install ismyk8ssecure
ismyk8ssecure
How It Works:
This tool consists of 3 components:
Advisories:
These are yaml files with following schema:
vulnerability_id:
vulnerability_description:
vulnerable_components:
- component_name:
vulnerable_versions: [] # These are computed from `vulnerable_version_ranges`
vulnerable_version_ranges: [] # These are manually filled
references: []
last_updated_at:
created_at:
Advisories can be found in the advisories directory in this repo.
Version Detectors:
These are functions which detects the version of a particular k8s component. See examples in TODO.
Vulnerability Detectors:
These are functions defined per (vulnerability, k8s component) pair. They are called depending upon the results of above 2 components. They verify whether the corresponding "vulnerability" is present in the detected "k8s component".
Roadmap:
-
Convert most of the kubernetes security advisories into machine readable format.
-
Implement fine tuned vulnerability detectors and eventually become a smart npm audit.
Metadata
Release files for ismyk8ssecure 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ismyk8ssecure-0.0.2.tar.gz | 7.0 kB | Without provenance | Details for ismyk8ssecure-0.0.2.tar.gz |
Release files / ismyk8ssecure-0.0.2.tar.gz
| Download URL | ismyk8ssecure-0.0.2.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7627825e5106056e31a306df61a8fd88e85fbb74a1c98e88db6ba7c2243fb96a
|
|
BLAKE2b-256 checksum How to use checksums |
860469b5116b5930f49148d9cc45c0b543cc1dd249239c8613932ac74f8d1042
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Security for ismyk8ssecure 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.