Skip to content

Conversation

@cx-artur-ribeiro
Copy link
Contributor

@cx-artur-ribeiro cx-artur-ribeiro commented Jan 9, 2026

Closes #7939

Reason for Proposed Changes

  • Query logic was inverted, causing false positive results;

Proposed Changes

  • Update query name for both k8s and terraform k8s query;
  • Update query logic similar to k8s counterpart query;
  • Update test cases;
  • Add missing search_line property;
  • Update query ID for similarityID issues;
  • Update query name path;
  • Migrate k8s linter to kubeconform and skip deprecated resources;

I submit this contribution under the Apache-2.0 license.

@cx-artur-ribeiro cx-artur-ribeiro self-assigned this Jan 9, 2026
@github-actions github-actions bot added query New query feature terraform Terraform query kubernetes Kubernetes query labels Jan 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

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-artur-ribeiro cx-artur-ribeiro marked this pull request as ready for review January 13, 2026 20:15
@cx-artur-ribeiro cx-artur-ribeiro requested a review from a team as a code owner January 13, 2026 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kubernetes Kubernetes query query New query feature terraform Terraform query

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(terraform): "Workload Host Port Not Specified" logic inverted

1 participant