Skip to content

feat(kubernetes): checks for memory limits, memory requests, and image tag#11373

Open
Nikhilkumar2311 wants to merge 1 commit into
prowler-cloud:masterfrom
Nikhilkumar2311:feat/kubernetes-workload-checks
Open

feat(kubernetes): checks for memory limits, memory requests, and image tag#11373
Nikhilkumar2311 wants to merge 1 commit into
prowler-cloud:masterfrom
Nikhilkumar2311:feat/kubernetes-workload-checks

Conversation

@Nikhilkumar2311
Copy link
Copy Markdown

Fixes #7630

Context

Previous PR #9353 attempted these checks but went stale due to metadata
formatting issues. This PR implements the same checks with correct metadata.

Changes

Added 3 new Kubernetes workload security checks:

  1. core_memory_limits_set — Ensure memory limits are set on all containers
  2. core_memory_requests_set — Ensure memory requests are set on all containers
  3. core_image_tag_fixed — Ensure image tag is not set to Latest or Blank

Metadata fixes from PR #9353 review

  • ✅ Description, Risk, Recommendation use Markdown formatting
  • ✅ RelatedUrl is empty for Kubernetes checks
  • ✅ CheckType is empty for Kubernetes checks
  • ✅ No hub links in Recommendation URL

Testing

Unit tests included for all 3 checks covering PASS, FAIL, and no-pods scenarios.

@Nikhilkumar2311 Nikhilkumar2311 requested a review from a team as a code owner May 27, 2026 08:11
@github-actions github-actions Bot added provider/kubernetes Issues/PRs related with the Kubernetes provider metadata-review labels May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Conflict Markers Resolved

All conflict markers have been successfully resolved in this pull request.

@github-actions github-actions Bot added the community Opened by the Community label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Opened by the Community metadata-review new-check provider/kubernetes Issues/PRs related with the Kubernetes provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing documented workload checks in prowler kubernetes scan output

2 participants