checkov icon indicating copy to clipboard operation
checkov copied to clipboard

chore(sca): When trying to load policies, continue if it's custom

Open MaryArmaly opened this issue 1 year ago • 0 comments

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

Description

Checkov is currently unable to parse the new custom policies. Implementing this solution will prevent the occurrence of exceptions. Anyway, this change won't affect the results in the tables

Fixes # (issue)

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:

  • [x] My code follows the style guidelines of this project
  • [x] 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
  • [x] New and existing tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

MaryArmaly avatar May 02 '24 11:05 MaryArmaly