这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@lirshindalman
Copy link
Contributor

@lirshindalman lirshindalman commented Apr 22, 2025

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

switch eval to asteval. This change ensures a safer evaluation environment by restricting operations to only those deemed secure, effectively reducing potential risks.

@Saarett
Copy link
Contributor

Saarett commented Apr 22, 2025

@lirshindalman Kindly update the root setup.py file as well, as it may otherwise prevent us from building Checkov into an executable and could result in the package not being included when installed via pip.

@lirshindalman lirshindalman merged commit 5ddad08 into main May 5, 2025
46 checks passed
@lirshindalman lirshindalman deleted the using_asteval branch May 5, 2025 10:57
Saarett pushed a commit that referenced this pull request May 5, 2025
* using asteval instead of using eval

* .

* asteval==1.0.5

* add test

* empty_string

* empty_string

* empty_string

* empty_string

* using only SAFE_EVAL_DICT dict

* using only SAFE_EVAL_DICT dict

* support dict string with trailing

* support dict string with trailing

* add test_dict_as_string

* add test_dict_as_string

* add test_dict_as_string

* add performance_configurations

* add performance_configurations

* add performance_configurations

* add performance_configurations

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* .

* min_rounds =8

* min_rounds =7

* min_rounds =7

* min_rounds =6

* min_rounds =5

* Linux 14

* min_rounds =10

* Linux 13

---------

Co-authored-by: lshindelman <lshindelman@paloaltonetworks.com>
thentenaar added a commit to thentenaar/checkov that referenced this pull request May 19, 2025
thentenaar added a commit to thentenaar/checkov that referenced this pull request Jun 6, 2025
thentenaar added a commit to thentenaar/checkov that referenced this pull request Jun 8, 2025
thentenaar added a commit to thentenaar/checkov that referenced this pull request Jun 9, 2025
thentenaar added a commit to thentenaar/checkov that referenced this pull request Jun 9, 2025
thentenaar added a commit to thentenaar/checkov that referenced this pull request Jun 10, 2025
thentenaar added a commit to thentenaar/checkov that referenced this pull request Aug 10, 2025
thentenaar added a commit to thentenaar/checkov that referenced this pull request Aug 20, 2025
kapyteinaikido added a commit to AikidoSec/checkov that referenced this pull request Aug 28, 2025
willem-delbare added a commit to AikidoSec/checkov that referenced this pull request Aug 28, 2025
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.

5 participants