Giới thiệu
Kubescape là một nền tảng bảo mật mã nguồn mở dành cho Kubernetes, hỗ trợ phân tích rủi ro, kiểm tra tuân thủ các tiêu chuẩn bảo mật và phát hiện các cấu hình sai trong hệ thống. Phần mềm này phù hợp cho các kỹ sư DevSecOps và quản trị nền tảng nhằm đảm bảo an toàn cho các cụm Kubernetes, tệp YAML và biểu đồ Helm.
Với giao diện dòng lệnh dễ sử dụng và khả năng xuất báo cáo linh hoạt, Kubescape giúp tiết kiệm thời gian, công sức và tài nguyên khi đánh giá bảo mật cho môi trường Kubernetes.
Tính năng chính
- Phân tích rủi ro và kiểm tra tuân thủ bảo mật theo nhiều khuôn khổ như NSA-CISA, MITRE ATT&CK® và CIS Benchmark.
- Quét phát hiện cấu hình sai trong các cụm Kubernetes, tệp YAML và Helm charts.
- Giao diện dòng lệnh thân thiện, dễ tích hợp trong các pipeline CI/CD và IDE.
- Hỗ trợ nhiều định dạng xuất báo cáo giúp người dùng dễ dàng theo dõi và xử lý kết quả.
- Dự án mã nguồn mở, được phát triển bởi ARMO và là thành viên của CNCF sandbox.
Ai nên dùng
Kubescape phù hợp cho các kỹ sư DevSecOps, quản trị viên hệ thống và các nhà phát triển cần đảm bảo an ninh cho môi trường Kubernetes, giúp tự động hóa việc kiểm tra bảo mật và giảm thiểu rủi ro do cấu hình sai.
Cài đặt
- Bấm nút Tải về trên trang này để tải bộ cài gốc.
- Giải nén file tải về vì Kubescape là phiên bản portable, không cần cài đặt.
- Mở terminal và chạy Kubescape từ thư mục đã giải nén để sử dụng các lệnh quét và phân tích.
Lưu ý
Kubescape là phần mềm mã nguồn mở, miễn phí theo giấy phép Apache-2.0. Phần mềm hoạt động trên nền tảng dòng lệnh, phù hợp với người dùng có kiến thức cơ bản về terminal và Kubernetes.
Có gì mới trong 4.0.21
Changelog
- ea6c919 Test/evidence rule shapes (#4710)
- 5f8ae6a chore(examples): remove unused Prometheus v1 output mock (#4845)
- 17ff08d ci: bump cloud.google.com/go/containeranalysis from 0.19.0 to 0.21.1 (#4682)
- 24664c1 ci: bump docker/login-action from 4.7.0 to 4.8.0 (#4689)
- 160e750 ci: bump github.com/Azure/azure-sdk-for-go/sdk/azcore (#4686)
- 60e95c7 ci: bump github.com/armosec/armoapi-go from 0.0.760 to 0.0.774 (#4684)
- 32c71a3 ci: bump github.com/prometheus/common from 0.70.1 to 0.73.1 (#4685)
- 52f6fc5 ci: bump github.com/quay/claircore from 1.6.1 to 1.6.2 (#4683)
- c416c94 ci: bump github/codeql-action/upload-sarif from 4.39.1 to 4.39.3 (#4687)
- c4ee61e ci: bump helm/kind-action from 1.15.1 to 1.15.2 (#4691)
- f6413d5 ci: bump mikepenz/action-junit-report from 6.6.2 to 6.7.1 (#4688)
- 8ee7e20 docs(ci): correct JUnit support for image scans (#4847)
- 771b8ab docs(fleet): add --format json to the examples (#4760)
- 0881245 docs(fleet): soften the report format stability note (#4700)
- efa52bb docs(opaprocessor): update evaluation flow (#4671)
- 2b04fbf feat(core): reuse released policy store across scans (#4805)
- c8ae6a9 feat(fix): add --verify to check each fixed control with a rescan (#4765)
- 7abce96 feat(fix): export remediation changes as a unified diff with --output patch (#4753)
- fb757b9 feat(fleet): add json schema for the fleet report (#4624)
- 599024e feat(kustomize): attribute each rendered resource to the file Kustomize read it from (#4797)
- 682fd3d feat(mcpserver): add verify_remediation tool for local IaC (#4707)
- 1d4f71b feat(policy): select the cases policy test runs with --run (#4778)
- 3f3b7de feat(policy): write policy test results as a JUnit XML report (#4814)
- 471cae9 feat(printer): mark delete and review paths that do not resolve as unresolved under -E (#4794)
- 803f6fa feat(printer): print a kubectl command for each evidence path on clus… (#4754)
- 3421c7e feat(printer): show current values for delete paths in --show-evidence (#4623)
- ffbbaa1 feat(scan): support user-authored ValidatingAdmissionPolicy YAML in --custom-rules (#4838)
- 51cbf0e feat(watch): add a file watcher and a debounced, sequential scan scheduler (#4865)
- 96fc884 feat(watch): compare local manifest scans by stable resource identity (#4709)
- c6061d6 fix(anonymizer): anonymize RBAC relatedObjects to prevent ID leaks (#4793)
- d23ff8d fix(anonymizer): hide RBAC binding subject and role references (#4841)
- 5ea0b36 fix(anonymizer): hide and encrypt the exception audit (#4733)
- bf12f2a fix(anonymizer): hide skipped manifest paths (#4734)
- 32c20b8 fix(anonymizer): keep each resource's identity through transactional anonymization (#4771)
- 4d27022 fix(anonymizer): preserve empty evidence path resource IDs (#4788)
- 236059f fix(cautils): bound and validate Helm template file reads (CWE-400) (#4746)
- f0a8433 fix(cautils): bound and validate Kustomization file reads (CWE-400) (#4742)
- 8e37dd8 fix(cautils): bound and validate Terraform file reads to prevent DoS (CWE-400) (#4705)
- 068c557 fix(cautils): bound and validate artifact file reads in setUseArtifactsFrom (CWE-400) (#4740)
- 668ef4b fix(cautils): bound and validate ignore file reads in LoadIgnoreFilePatterns (CWE-400) (#4768)
- bad361c fix(cautils): fail the scan with the cause when the scanned Helm chart cannot be loaded (#4792)
- 7d38c3c fix(cautils): keep large integers exact in the YAML 1.1 fallback (#4807)
- 7180566 fix(cautils): re-read an invalid file-scan manifest the way kubectl does (YAML 1.1) (#4758)
- cac8639 fix(cautils): stop scanning raw templates of Helm charts that fail to render (#4770)
- a0c17d2 fix(cel): match "/*" admission rules against the object itself (#4830)
- af2b3ef fix(cel): skip a validation whose variable does not compile, like any other compile error (#4643)
- b21a7e5 fix(cli): remove backticks that replace the value placeholder in flag help (#4631)
- 0bffab6 fix(cmd/patch): clarify digest-pinned image error and validate whitespace flags (#4852)
- 8e4a38b fix(config): bound file reads and reject non-regular inputs in scancontract and fleetconfig loaders (#4628) (#4630)
- 2855166 fix(core): bound manifest and controls input reads in scan validation and incremental cache (CWE-400) (#4827)
- 5a963bb fix(core): prevent nil pointer dereference in Diff, Download, Patch, and List (#4853)
- f052c0b fix(decrypt): bound and validate report file reads to prevent DoS (CWE-400) (#4620)
- b0bde3f fix(diff): accept a scan report that has no results (#4730)
- 4f2119a fix(diff): preserve bare Windows drive output paths (#4787)
- 97661e7 fix(diff): preserve true base and head statuses for incomparable findings (#4867)
- b8b833a fix(diff): validate output flag and prevent silent fallback to stdout (#4781)
- 6156367 fix(exceptions): match merged exception scopes like the processor does (#4728)
- 87b3655 fix(exposure): don't report externalIPs on headless or ExternalName Services (#4633)
- c763655 fix(exposure): exclude redirect-only HTTP backends (#4677)
- db3ddfc fix(exposure): guard nil index with undetermined exposure in ServiceExposure and safe receiver methods (#4780)
- efb8d20 fix(fix): accept 'yes' in Kustomize overwrite confirmation prompt (#4650) (#4651)
- f92debc fix(fix): load the --verify controls config before any write and print every verdict (#4791)
- 361cefd fix(fix): validate empty and whitespace output flags (#4795) (#4796)
- 698ae21 fix(fixhandler): bound and validate manifest file reads in GetFileString (CWE-400) (#4748)
- 038c81c fix(fixhandler): bound manifest reads and reject non-regular files in applyFileChanges and readManifest (CWE-400) (#4819)
- d1560c4 fix(fixhandler): guard autofix against stale manifests (#4625)
- 8c36165 fix(fixhandler): normalize a padded base path before storing it (#4822)
- 61e8e4c fix(getter): bound and validate policy file reads to prevent DoS (CWE-400) (#4669)
- 2d4ed8f fix(gitlab): type image-scan identifiers by their advisory, not always as CVE (#4843)
- 1292904 fix(helm): resolve chart dependencies against values before rendering (#4703)
- ba79028 fix(helmprovenance): resolve values paths in with blocks (#4582)
- 7d7cf66 fix(httphandler): don't let an unparsable KS_ENABLE_HOST_SCANNER disable host sensor auto-detection (#4848)
- 32d467c fix(image): bound and validate exception file reads to prevent DoS (CWE-400) (#4681)
- 14d0189 fix(image): validate output safety upfront before pulling or scanning images (#4706)
- 9a9e659 fix(k8scveindex): bound local CVE feed file reads and reject non-regular files (CWE-400) (#4824)
- a558d4b fix(kustomize): restrict scanned file loads to their root (#4804)
- 79d4122 fix(locationresolver): bound YAML manifest decoding and validate regular files in NewPathLocationResolver (CWE-400) (#4820)
- 60706b4 fix(mapreconcile): never match an objectSelector on a CONNECT request (#4635)
- c802361 fix(mapreconcile): skip resources the apiserver exempts from all policies (#4637)
- aaf3adb fix(mcpserver): anchor workspace reads to root (#4863)
- caaa43f fix(mcpserver): confine report_path, base_path and diff reports to --workspace (#4826)
- 870c18d fix(mcpserver): include Deployment revision exposure (#4763)
- 3752275 fix(mcpserver): keep a JSON manifest JSON in apply_remediation (#4732)
- d385ab5 fix(mcpserver): keep envFrom ConfigMap exposure when an optional env ref may not resolve (#4660)
- 84ead13 fix(mcpserver): match Services that select one StatefulSet Pod by its identity labels (#4662)
- 4e177f3 fix(mcpserver): reject a subresource passed inside resource (#4656)
- 88cd1c4 fix(mcpserver): report finite bind and escalate grants in analyze_rbac_escalation_paths (#4718)
- 8525dc9 fix(networkpolicy): ignore fully excluded ipBlocks in ingress exposure (#4640)
- 57b8375 fix(networkpolicy): rate open-ended namespace selectors as any-namespace (#4829)
- 4accdec fix(networkpolicy,exposure): read resources in ID order, not map order (#4658)
- 6aa6ad5 fix(networkpolicy,vulnexposure): guard nil index with default-allow reachability and ingress exposure (#4663)
- 779c93b fix(opa): restrict control Rego capabilities (#4803)
- f30072c fix(opaprocessor): evaluate C-0302 against the whole cluster when streaming (#4812)
- 59583c3 fix(opaprocessor): redact secrets in container args, probe headers and annotations (#4783)
- ee7cf88 fix(opaprocessor): redact the related objects a rule attaches to its result (#4857)
- e9d5558 fix(opaprocessor): skip a control whose rule errors instead of failing the whole scan (#4832)
- 5d72ece fix(patch): use secure temporary file for intermediate scan report (#4645) (#4647)
- a46f7f0 fix(policy): propagate policy test output errors (#4646)
- ea2780f fix(policytest): bound and validate test case file reads (CWE-400) (#4769)
- cc03e4d fix(predict): enforce Cobra argument bounds on kubescape predict root command (#4667)
- a61fd7b fix(printer): don't label file scans with the ambient kube context (#4821)
- 9a1e4ca fix(printer): include exception audit and namespace summaries in YAML output (#4719)
- 8ab01ea fix(printer): return an error when CSV or JSON has no posture report (#4862)
- a29f14d fix(printer): show redacted instead of the scan's XXXXXX placeholder in evidence (#4670)
- 9655e1c fix(prometheus): emit one resource series per RBAC subject in cluster scans (#4721)
- 34b3faf fix(prometheus): label resource metrics with their source file so copies stay distinct (#4678)
- dd8a4cf fix(pss): bound and validate workload manifest reads to prevent DoS (CWE-400) (#4618)
- 1d5246f fix(rbacgraph): model bind combined with an update of an existing binding (#4716)
- 2d953cc fix(rbacgraph): require binding paths for role rewrite grants (#4653)
- a6e3a40 fix(reportcrypto): restore typed resource envelopes in DecryptReport (#4810)
- 684c11c fix(resultshandling): guard against nil dereference in score, result, and output writers (#4858)
- dc89cba fix(rules): bound and validate custom rule file reads to prevent DoS (CWE-400) (#4714)