2020-11-23 22:28:55 +00:00
|
|
|
id: terraform-detect
|
|
|
|
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
|
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:
|
2020-11-23 22:28:55 +00:00
|
|
|
- access_key
|
2020-11-24 20:11:47 +00:00
|
|
|
- terraform
|
|
|
|
condition: and
|
|
|
|
|
2020-11-23 22:28:55 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|