Ensure Azure Data Factory uses Git repository for source control

Error: Azure Data Factory does not use Git repository for source control

Bridgecrew Policy ID: BC_AZR_GENERAL_39
Checkov Check ID: CKV_AZURE_103
Severity: LOW

Azure Data Factory does not use Git repository for source control

Description

Azure Data Factory is an ETL service for serverless data integration and data transformation. Azure Data Factory allows you to configure a Git repository with either Azure Repos or GitHub. Git is a version control system that allows for easier change tracking and collaboration.

Fix - Buildtime

Terraform

  • Resource: azurerm_data_factory
  • Argument: github_configuration - (Optional) A github_configuration block as defined below.
resource "azurerm_data_factory" "example" {
  ....
    github_configuration {
    account_name    = "${var.account_name}"
    branch_name     = "${var.branch_name}"
    git_url         = "${var.git_url}"
    repository_name = "${var.repository_name}"
    root_folder     = "${var.root_folder}"
  }

}

Did this page help you?