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
Copy file name to clipboardExpand all lines: docs/user-guide/providers/iac/getting-started-iac.mdx
+33-10Lines changed: 33 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,26 @@ import { VersionBadge } from "/snippets/version-badge.mdx"
5
5
6
6
Prowler's Infrastructure as Code (IaC) provider enables scanning of local or remote infrastructure code for security and compliance issues using [Trivy](https://trivy.dev/). This provider supports a wide range of IaC frameworks, allowing assessment of code before deployment.
7
7
8
-
## Supported Scanners
9
-
10
-
The IaC provider leverages [Trivy](https://trivy.dev/latest/docs/scanner/vulnerability/) to support multiple scanners, including:
11
-
12
-
- Vulnerability
13
-
- Misconfiguration
14
-
- Secret
15
-
- License
8
+
## Supported IaC Formats
9
+
10
+
Prowler IaC provider scans the following Infrastructure as Code configurations for misconfigurations and secrets:
| Helm |`*.yml`, `*.yaml`, `*.tpl`, `*.tar.gz`, etc. |
21
+
| YAML |`*.yaml`, `*.yml`|
22
+
| JSON |`*.json`|
23
+
| Ansible |`*.yml`, `*.yaml`, `*.json`, `*.ini`, without extension |
16
24
17
25
## How It Works
18
26
19
-
-The IaC provider scans local directories (or specified paths) for supported IaC files, or scans remote repositories.
27
+
-Prowler App leverages [Trivy](https://trivy.dev/docs/latest/guide/coverage/iac/#scanner) to scan local directories (or specified paths) for supported IaC files, or scans remote repositories.
20
28
- No cloud credentials or authentication are required for local scans.
21
29
- For remote repository scans, authentication can be provided via [git URL](https://git-scm.com/docs/git-clone#_git_urls), CLI flags or environment variables.
22
30
- Check the [IaC Authentication](/user-guide/providers/iac/authentication) page for more details.
@@ -27,6 +35,10 @@ The IaC provider leverages [Trivy](https://trivy.dev/latest/docs/scanner/vulnera
27
35
28
36
<VersionBadgeversion="5.14.0" />
29
37
38
+
### Supported Scanners
39
+
40
+
Scanner selection is not configurable in Prowler App. Default scanners, misconfig and secret, run automatically during each scan.
41
+
30
42
### Step 1: Access Prowler Cloud/App
31
43
32
44
1. Navigate to [Prowler Cloud](https://cloud.prowler.com/) or launch [Prowler App](/user-guide/tutorials/prowler-app)
@@ -63,6 +75,17 @@ The IaC provider leverages [Trivy](https://trivy.dev/latest/docs/scanner/vulnera
By default, only misconfiguration and secret scanners run during a scan. To specify which scanners to use, refer to the [Specify Scanners](#specify-scanners) section below.
88
+
66
89
### Usage
67
90
68
91
Use the `iac` argument to run Prowler with the IaC provider. Specify the directory or repository to scan, frameworks to include, and paths to exclude.
@@ -103,7 +126,7 @@ Authentication for private repositories can be provided using one of the followi
103
126
104
127
#### Specify Scanners
105
128
106
-
Scan only vulnerability and misconfiguration scanners:
129
+
To run only specific scanners, use the `--scanners` flag. For example, to scan only for vulnerabilities and misconfigurations:
0 commit comments