Create terraform-detect.yaml
More info on Terraform and their configuration files can be found here: https://www.freecodecamp.org/news/build-a-screenshot-capture-api-using-terraform-aws-api-gateway-and-aws-lambda/patch-1
parent
9d51cec01e
commit
e041688b8d
|
@ -0,0 +1,19 @@
|
||||||
|
id: terraform-detect
|
||||||
|
info:
|
||||||
|
name: Detect Terraform
|
||||||
|
author: geeknik
|
||||||
|
description: Write Infrastructure as Code - https://www.terraform.io/
|
||||||
|
severity: info
|
||||||
|
requests:
|
||||||
|
- method: GET
|
||||||
|
path:
|
||||||
|
- "{{BaseURL}}/provider.tf"
|
||||||
|
matchers:
|
||||||
|
- type: words
|
||||||
|
part: body
|
||||||
|
word:
|
||||||
|
- access_key
|
||||||
|
- private_key
|
||||||
|
- type: status
|
||||||
|
status:
|
||||||
|
- 200
|
Loading…
Reference in New Issue