Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pregress/tflint-ruleset-azurerm-security
TFLint ruleset to enforce security best practices on the AzureRM provider
https://github.com/pregress/tflint-ruleset-azurerm-security
azure azure-resource-manager azurerm azurerm-terraform-provider security terraform tflint tflint-ruleset
Last synced: 13 days ago
JSON representation
TFLint ruleset to enforce security best practices on the AzureRM provider
- Host: GitHub
- URL: https://github.com/pregress/tflint-ruleset-azurerm-security
- Owner: pregress
- License: 0bsd
- Created: 2024-10-31T10:50:39.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-10T06:57:51.000Z (24 days ago)
- Last Synced: 2024-12-10T07:49:46.968Z (24 days ago)
- Topics: azure, azure-resource-manager, azurerm, azurerm-terraform-provider, security, terraform, tflint, tflint-ruleset
- Language: Go
- Homepage:
- Size: 102 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TFLint Ruleset AzureRm Security
[![build](https://github.com/pregress/tflint-ruleset-azurerm-securirty/actions/workflows/build.yml/badge.svg)](https://github.com/pregress/tflint-ruleset-azurerm-securirty/actions/workflows/build.yml)
[![codecov](https://codecov.io/github/pregress/tflint-ruleset-azurerm-security/graph/badge.svg?token=J3ZJ051YQQ)](https://codecov.io/github/pregress/tflint-ruleset-azurerm-security)This is a repository for an azurerm tflint rule set to enforce security best practices.
## Requirements
- TFLint v0.42+
- Go v1.22## Installation
You can install the plugin with `tflint --init`. Declare a config in `.tflint.hcl` as follows:
```hcl
plugin "azurerm-security" {
enabled = trueversion = "0.1.6"
source = "github.com/pregress/tflint-ruleset-azurerm-security"
}
```## Rules
See the [documentation](docs/README.md).
## Building the plugin
Clone the repository locally and run the following command:
```
$ make
```You can easily install the built plugin with the following:
```
$ make install
```Note that if you install the plugin with make install, you must omit the version and source attributes in .tflint.hcl:
```
plugin "azurerm-security" {
enabled = true
}
```