checkov icon indicating copy to clipboard operation
checkov copied to clipboard

fix: signal has no attribute SIGALRM on Windows

Open balihb opened this issue 2 years ago • 1 comments

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

Description

Helm fails on Windows with: module 'signal' has no attribute 'SIGALRM'

Fixes #3733

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
  • [ ] New and existing tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

balihb avatar Oct 24 '22 22:10 balihb

It fixes the crash, but swallows after that in the background _get_target_dir leaves the drive letter in the path and it fails to create the file to scan.

balihb avatar Oct 24 '22 22:10 balihb

Thanks for contributing to Checkov! We've automatically marked this issue as stale to keep our issues list tidy, because it has not had any activity for 6 months. It will be closed in 14 days if no further activity occurs. Commenting on this issue will remove the stale tag. If you want to talk through the issue or help us understand the priority and context, feel free to add a comment or join us in the Checkov slack channel at https://slack.bridgecrew.io Thanks!

stale[bot] avatar Jun 08 '23 16:06 stale[bot]

Closing issue due to inactivity. If you feel this is in error, please re-open, or reach out to the community via slack: https://slack.bridgecrew.io Thanks!

stale[bot] avatar Jun 22 '23 23:06 stale[bot]