To connect your GitHub repositories and enable PR comments, see the setup instructions in Pull Request Comments.
After setting up the GitHub integration, enable IaC Security for your repositories.
- On the Code Security Setup page, expand the Activate scanning for your repositories section.
- Under Select your source code management provider, select GitHub.
- Under Select where your scans should run, select Datadog.
- Under Connect your GitHub repositories, do one of the following:
- To connect a new GitHub account, click Add GitHub Account.
- To enable IaC Security for an existing account, click Select repositories, or Edit if Code Security is already enabled.
- To enable IaC Security, do one of the following:
- To enable it for all repositories, toggle Enable Infrastructure as Code Scanning (IaC) to the ON position.
- To enable it for a single repository, toggle the IaC switch to ON for that repository.
To connect your GitLab repositories and enable PR comments, see the setup instructions in GitLab Source Code.
After setting up the GitLab integration, enable IaC Security for your repositories.
- On the Code Security Setup page, expand the Activate scanning for your repositories section.
- Under Select your source code management provider, select GitLab.
- Under Select where your scans should run, select Datadog.
- Under Connect your GitLab repositories, do one of the following:
- To connect a new GitLab instance, click Connect GitLab Instance.
- To enable IaC Security for an existing account, click Select repositories, or Edit if Code Security is already enabled.
- To enable IaC Security, do one of the following:
- To enable it for all repositories, toggle Enable Infrastructure as Code Scanning (IaC) to the ON position.
- To enable it for a single repository, toggle the IaC switch to ON for that repository.
To connect your Azure DevOps repositories and enable PR comments, see the setup instructions in Azure DevOps Source Code.
After setting up the Azure DevOps integration, enable IaC Security for your repositories.
- On the Code Security Setup page, expand the Activate scanning for your repositories section.
- Under Select your source code management provider, select Azure DevOps.
- Under Select where your scans should run, select Datadog.
- Under Connect your Azure DevOps repositories, do one of the following:
- To connect a new Azure DevOps organization, click Connect Microsoft Entra App.
- To enable IaC Security for an existing account, click Select repositories, or Edit if Code Security is already enabled.
- To enable IaC Security, do one of the following:
- To enable it for all repositories, toggle Enable Infrastructure as Code Scanning (IaC) to the ON position.
- To enable it for a single repository, toggle the IaC switch to ON for that repository.