Skip to content

fix original config files names - #58

Merged
DMarinhoCodacy merged 1 commit into
masterfrom
fix-original-config-files
Jul 23, 2026
Merged

DMarinhoCodacy merged 1 commit into
masterfrom
fix-original-config-files

Conversation

@DMarinhoCodacy

Copy link
Copy Markdown
Contributor

No description provided.

@DMarinhoCodacy
DMarinhoCodacy enabled auto-merge (squash) July 23, 2026 15:29
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request restricts Checkov configuration file discovery to only .yaml and .yml formats, intentionally removing support for .json and .toml extensions. While the implementation aligns with the stated intent and the code satisfies Codacy quality standards, the change is inherently breaking for users relying on the removed formats.

There is currently a lack of verification for these changes; all required test scenarios for both the identification of valid files and the exclusion of deprecated ones are missing from the current submission. Given the breaking nature of this update, documentation or a more detailed PR description explaining the rationale is recommended before merging.

About this PR

  • Removing support for .json and .toml configuration formats is a breaking change. This should be explicitly documented or communicated to users, especially since the PR description currently provides no context for this deprecation.
  • The PR description is empty. Providing a rationale for the restriction of configuration file types would help ensure the change aligns with the long-term project roadmap.

Test suggestions

  • Verify that .checkov.yaml is correctly identified when present in the source directory
  • Verify that .checkov.yml is correctly identified when present in the source directory
  • Verify that .checkov.json is no longer identified as a valid configuration file
  • Verify that .checkov.toml is no longer identified as a valid configuration file
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that .checkov.yaml is correctly identified when present in the source directory
2. Verify that .checkov.yml is correctly identified when present in the source directory
3. Verify that .checkov.json is no longer identified as a valid configuration file
4. Verify that .checkov.toml is no longer identified as a valid configuration file

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

@DMarinhoCodacy
DMarinhoCodacy merged commit aac6830 into master Jul 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants