Skip to content

fix(test): changed iam_database_authentication_field value from true to false on the sample negative5.tf#7677

Merged
cx-ricardo-jesus merged 32 commits into
masterfrom
AST-40745
Aug 27, 2025
Merged

fix(test): changed iam_database_authentication_field value from true to false on the sample negative5.tf#7677
cx-ricardo-jesus merged 32 commits into
masterfrom
AST-40745

Conversation

@cx-ricardo-jesus

Copy link
Copy Markdown
Contributor

Closes #

Reason for Proposed Changes

  • The sample negative5.tf from the query "IAM DB Cluster Auth Not Enabled" has the field iam_database_authentication_enabled set to true, which should be set to false, as this is the case that this sample aims to cover(does not return a positive result because it has an engine_version invalid version for the mariadb engine).

Proposed Changes

  • Defined the field iam_database_authentication_enabled from true to false.

I submit this contribution under the Apache-2.0 license.

cx-andre-pereira and others added 30 commits July 24, 2025 12:23
…dformation/aws' of https://github.com/cx-andre-pereira/kics into AST-40783--FN_CloudFormation_Boolean_Logic_Update--cloudformation/aws
@cx-ricardo-jesus cx-ricardo-jesus requested a review from a team as a code owner August 27, 2025 13:41
@gitguardian

gitguardian Bot commented Aug 27, 2025

Copy link
Copy Markdown

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
19562607 Triggered Generic Password 5cbea1a assets/queries/common/passwords_and_secrets/test/positive53.json View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@github-actions github-actions Bot added query New query feature terraform Terraform query labels Aug 27, 2025
@github-actions

Copy link
Copy Markdown
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

@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, good catch.

@cx-ricardo-jesus cx-ricardo-jesus merged commit 81e48ca into master Aug 27, 2025
26 checks passed
@cx-ricardo-jesus cx-ricardo-jesus deleted the AST-40745 branch August 27, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

query New query feature terraform Terraform query

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants