Skip to content

fix(bug): improve helm scanning for empty files and duplicated results#7937

Merged
cx-miguel-dasilva merged 10 commits into
masterfrom
AST-128910
Jan 29, 2026
Merged

fix(bug): improve helm scanning for empty files and duplicated results#7937
cx-miguel-dasilva merged 10 commits into
masterfrom
AST-128910

Conversation

@cx-miguel-dasilva

@cx-miguel-dasilva cx-miguel-dasilva commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

Proposed Changes

  • Remove empty files from Helm chart rendering that cause parsing errors
  • Remove duplicated vulnerabilities during scanning for Helm charts, which may be found when a parse error occurs from double file scanning. One for the Raw k8s file and the Helm rendered file

I submit this contribution under the Apache-2.0 license.

@cx-miguel-dasilva cx-miguel-dasilva self-assigned this Jan 7, 2026
@github-actions github-actions Bot added bug Something isn't working kubernetes Kubernetes query labels Jan 7, 2026
@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

kics-logo

KICS version: v2.1.18

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 1
Files parsed placeholder 1
Files failed to scan placeholder 0
Total executed queries placeholder 47
Queries failed to execute placeholder 0
Execution time placeholder 0

@cx-miguel-dasilva cx-miguel-dasilva changed the title fix(bug): add filtering to duplicated k8s & helm results fix(bug): improve helm scaning for empty fiels and duplcated results Jan 8, 2026
@cx-miguel-dasilva cx-miguel-dasilva changed the title fix(bug): improve helm scaning for empty fiels and duplcated results fix(bug): improve helm scanning for empty files and duplicated results Jan 8, 2026
@cx-miguel-dasilva cx-miguel-dasilva marked this pull request as ready for review January 8, 2026 16:09
@cx-miguel-dasilva cx-miguel-dasilva requested a review from a team as a code owner January 8, 2026 16:09

@cx-eduardo-semanas cx-eduardo-semanas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cx-artur-ribeiro cx-artur-ribeiro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread pkg/engine/inspector.go
cx-rui-araujo
cx-rui-araujo previously approved these changes Jan 9, 2026

@cx-rui-araujo cx-rui-araujo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cx-miguel-dasilva cx-miguel-dasilva merged commit 6c1a312 into master Jan 29, 2026
27 checks passed
@cx-miguel-dasilva cx-miguel-dasilva deleted the AST-128910 branch January 29, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working kubernetes Kubernetes query

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants