Skip to content

Commit

Permalink
Merge pull request #94 from padok-team/fix/README
Browse files Browse the repository at this point in the history
improved documentation about guacamole-ignore
  • Loading branch information
Laudenlaruto authored Dec 10, 2024
2 parents 98453b1 + 28f9c17 commit 96c7a24
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,27 @@ Three modes currently exist :

A verbose mode (`-v`) exists to add more information to the output.

**Skipping individual checks**

You can use inline code comments to skip individual checks for a particular resource.

To skip a check on a given Terraform definition block resource, apply the following comment pattern inside its scope: `# guacamole-ignore:<check_id> <suppression_comment>`

<check_id> is one of the available check scanners.
<suppression_comment> is an optional suppression reason.

Example:

The following comment skips the `TF_NAM_001` check on the resource identified by `network`

```bash
# guacamole-ignore:TF_NAM_001 We will be creating more rg
resource "azurerm_resource_group" "network" {
name...
```
⚠️ The following checks can't be whitelisted : `TF_MOD_002`
## List of checks
### Static module check for Terraform
Expand Down

0 comments on commit 96c7a24

Please sign in to comment.