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

feat(general): add Azure Pipelines framework #3579

Merged
merged 4 commits into from
Oct 11, 2022

Conversation

gruebel
Copy link
Contributor

@gruebel gruebel commented Sep 28, 2022

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

Description

  • added support for scanning azure-pipelines.yml files, which are the main entrypoint for configuring an Azure Pipeline
  • added 3 checks
    • Ensure container job uses a non latest version tag
    • Ensure container job uses a version digest
    • Ensure set variable is not marked as a secret
  • added docs and hopefully all other minor references, like check docs creation

Future PR:

  • support for Image Referencer

Out of scope:

  • support for template file references

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

@tsmithv11 tsmithv11 requested a review from metahertz October 3, 2022 03:50
@gruebel gruebel merged commit 4226ab8 into bridgecrewio:master Oct 11, 2022
@gruebel gruebel deleted the add-azure-pipelines-runner branch October 11, 2022 20:44
gruebel added a commit to gruebel/checkov that referenced this pull request Oct 11, 2022
* add Azure Pipelines framework

* update readme

* fix tests

* add set secret variable check
gruebel added a commit to gruebel/checkov that referenced this pull request Oct 11, 2022
* add Azure Pipelines framework

* update readme

* fix tests

* add set secret variable check
gruebel added a commit to gruebel/checkov that referenced this pull request Oct 11, 2022
* add Azure Pipelines framework

* update readme

* fix tests

* add set secret variable check
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.

3 participants