You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Setting up Source Code Integrations for Cloud Security Management
3
+
---
4
+
5
+
Use the following instructions to enable Infrastructure as Code (IaC) remediation for Cloud Security Management (CSM). IaC remediation is available for [CSM Misconfigurations][1] and [CSM Identity Risks][2].
6
+
7
+
## Set up the GitHub integration
8
+
9
+
Follow [the instructions][3] for creating a GitHub app for your organization.
10
+
11
+
<divclass="alert alert-info">To use IaC remediation, you must give the Github App <code>Read & Write</code> permissions for <code>Contents</code> and <code>Pull Requests</code>. These permissions can be applied to all or select repositories.
12
+
</div>
13
+
14
+
## Enable IaC remediation for your repositories
15
+
16
+
After you set up the GitHub integration, enable IaC remediation for the repositories in your GitHub account.
17
+
18
+
1. On the [CSM Setup page][4], expand the **Source Code Integrations** section.
19
+
2. Click **Configure** for the GitHub account you want to configure.
20
+
3. To enable IaC:
21
+
- For all repositories, switch on the IAC toggle under Enable Infrastructure as Code (IaC).
22
+
- For a single repository, switch on the IAC toggle for that repository.
0 commit comments