Skip to content

Conversation

cx-andre-pereira
Copy link
Contributor

@cx-andre-pereira cx-andre-pereira commented Aug 28, 2025

Reason for Proposed Changes

Proposed Changes

  • Updated the queries results and auxiliary functions to properly detect and handle the two relevant fields.
  • Added positive2/negative2 test files to both queries that contain samples relying on the "destination_port_ranges" field. The original test files now named positive1/negative1 will keep all samples that use the simple "destination_port_range" field.
  • This changes should prevent valid False Negative results when the samples provided rely on the newly supported field.
  • Added support for "Udp" protocol to the "rdp_is_exposed_to_the_internet" query since RDP8.0+ allows so; tests were adjusted/added accordingly.

I submit this contribution under the Apache-2.0 license.

@github-actions github-actions bot added query New query feature terraform Terraform query azure PR related with Azure Cloud labels Aug 28, 2025
Copy link
Contributor

kics-logo

KICS version: v2.1.11

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
azure PR related with Azure Cloud query New query feature terraform Terraform query
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant