Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

merge main checkov #5

Merged
merged 33 commits into from
Feb 6, 2023
Merged

merge main checkov #5

merged 33 commits into from
Feb 6, 2023

Conversation

achiar99
Copy link
Collaborator

@achiar99 achiar99 commented Feb 6, 2023

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

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

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:

  • My code follows the style guidelines of this project
  • 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

ayajbara and others added 30 commits February 1, 2023 16:09
* create bom report when extra_resources is not empty

* added tests
* create bom report when extra_resources is not empty

* added tests
Revert "feat(sca): Add a --support flag (#4323)"

This reverts commit 9b7a112.
Revert "feat(sca): Add a --support flag --revert (#4396)"

This reverts commit dae55bc.
* adjust Docker labels

* remove None links in GitLab SAST output

* fix typing
…ombinator (#4385)

* extract new detector_utils file from entropy keyword combinator

* move import to type checking block

* fix according to comments

* add detector utils fixes

* fix according to comments

* change type hint

---------

Co-authored-by: Max Amelchenko <mamelchenko@paloaltonetworks.com>
Co-authored-by: gruebel <anton.gruebel@gmail.com>
…ombinator (#4385)

* extract new detector_utils file from entropy keyword combinator

* move import to type checking block

* fix according to comments

* add detector utils fixes

* fix according to comments

* change type hint

---------

Co-authored-by: Max Amelchenko <mamelchenko@paloaltonetworks.com>
Co-authored-by: gruebel <anton.gruebel@gmail.com>
* add workdir info to secrets scanner

* switch path to str

---------

Co-authored-by: Max Amelchenko <mamelchenko@paloaltonetworks.com>
* add workdir info to secrets scanner

* switch path to str

---------

Co-authored-by: Max Amelchenko <mamelchenko@paloaltonetworks.com>
* fix compact json output

* pin GHA macOS runner version to 11

* upper bound kustomize version to 4
…g set (#4316)

* Fix CKV_AWS_157 CloudFormation false positive for Aurora instances

* Add comment to explain Aurora logic

* Fix import

* Update comments with link to AWS docs

* Change MultiAZ test for Aurora to UNKNOWN

* Fix DBInstanceClass for Aurora

* Fix expected 2 blank lines linting error

* Remove fields that failed linting since they are not applicable to Aurora

* fix linting

---------

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
…t statement (#4398)

* Render dynamic foreach/count statement

* CR fixes + UT foe build_sub_graph

* CR fixes

* Lint fix
* support kustomize v5

* fix wrong command

* nosec subprocess
leverage freezegun to freeze time for a test
* fix in PathSchemeDefineHTTP check

* fix in GoogleKMSKeyIsPublic check

* fix in ECRPolicy check

---------

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
* fix in PathSchemeDefineHTTP check

* fix in GoogleKMSKeyIsPublic check

* fix in ECRPolicy check

---------

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
add GH token to setup-kustomize action
* SQS check is all wrong

* remove unused import

* adjust check

---------

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
…ng wildcards for resource types leads to crash (#4408)

Update base_check_registry.py to resolve Issue #4407

Update base_check_registry.py to resolve Issue #4407

Verify `entity` has a value (not the None placeholder when `Type` is not available in the template) before trying to string-match

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
retire CKV_AWS_128 in favour of CKV_AWS_162
…4418)

fix getting the module for resource with the name module
@achiar99 achiar99 merged commit eb58a8b into rotem-avni:main Feb 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet