2020-11-23 22:28:55 +00:00
|
|
|
id: terraform-detect
|
2021-09-09 13:38:13 +00:00
|
|
|
|
2020-11-23 22:28:55 +00:00
|
|
|
info:
|
2020-11-24 20:11:47 +00:00
|
|
|
name: Detect Terraform Provider
|
2020-11-23 22:28:55 +00:00
|
|
|
author: geeknik
|
|
|
|
description: Write Infrastructure as Code - https://www.terraform.io/
|
|
|
|
severity: info
|
2021-09-09 13:38:13 +00:00
|
|
|
tags: tech,terraform
|
2020-11-24 20:11:47 +00:00
|
|
|
|
2020-11-23 22:28:55 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/provider.tf"
|
2020-11-24 20:11:47 +00:00
|
|
|
|
2020-11-23 22:30:25 +00:00
|
|
|
matchers-condition: and
|
2020-11-23 22:28:55 +00:00
|
|
|
matchers:
|
2020-11-24 20:11:47 +00:00
|
|
|
- type: word
|
2020-11-23 22:28:55 +00:00
|
|
|
part: body
|
2020-11-24 20:11:47 +00:00
|
|
|
words:
|
2022-01-31 07:56:08 +00:00
|
|
|
- "access_key"
|
|
|
|
- "terraform"
|
2020-11-24 20:11:47 +00:00
|
|
|
condition: and
|
|
|
|
|
2020-11-23 22:28:55 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|