Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cloudformation): change parse log level #6794

Merged
merged 3 commits into from
Oct 30, 2024
Merged

Conversation

tsmithv11
Copy link
Collaborator

@tsmithv11 tsmithv11 commented Oct 26, 2024

User description

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Description

The other failure to parse log levels are INFO or DEBUG, so changing the YAML one to match

Fixes #6782

New/Edited policies (Delete if not relevant)

Description

Include a description of what makes it a violation and any relevant external links.

Fix

How does someone fix the issue in code and/or in runtime?

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my feature, policy, or fix is effective and works
  • New and existing tests pass locally with my changes

Generated description

Dear maintainer, below is a concise technical summary of the changes proposed in this PR:

Change the log level from warning to debug in the loads function of loader.py to align with other log level settings.

TopicDetails
Log Level Adjustment Adjust the log level in loader.py to debug for consistency with other modules.
Modified files (1)
  • checkov/common/parsers/yaml/loader.py
Latest Contributors(2)
EmailCommitDate
49649760+lirshindalman...fix-general-add-try-ex...August 19, 2024
[email protected]feat-general-support-U...July 10, 2023
This pull request is reviewed by Baz. Join @tsmithv11 and the rest of your team on (Baz).

@tsmithv11 tsmithv11 merged commit 016df8a into main Oct 30, 2024
38 of 39 checks passed
@tsmithv11 tsmithv11 deleted the yaml-parse-level branch October 30, 2024 17:17
tsmithv11 added a commit that referenced this pull request Oct 30, 2024
change parse log level

Co-authored-by: LirShindalman <[email protected]>
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.

!GetAtt from CFN YAML isn't handled gracefully
3 participants