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(ansible): Fix CKV2_ANSIBLE_2 #6610

Merged
merged 3 commits into from
Jul 29, 2024
Merged

fix(ansible): Fix CKV2_ANSIBLE_2 #6610

merged 3 commits into from
Jul 29, 2024

Conversation

tsmithv11
Copy link
Collaborator

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

Description

Variables are flagged by CKV2_ANSIBLE_2, so changed to explicitly flag http and ftp (required prefixes according to the docs: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/get_url_module.html#parameter-url

Fixes #6556

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

@tsmithv11 tsmithv11 merged commit ed148a6 into main Jul 29, 2024
41 checks passed
@tsmithv11 tsmithv11 deleted the fix-ckv-azure-145 branch July 29, 2024 03:29
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.

CKV2_ANSIBLE_2 false positive when variable is used
3 participants