matcher fix n updates
parent
5f390de054
commit
1c912b753d
|
@ -1,20 +1,24 @@
|
||||||
id: terraform-detect
|
id: terraform-detect
|
||||||
info:
|
info:
|
||||||
name: Detect Terraform
|
name: Detect Terraform Provider
|
||||||
author: geeknik
|
author: geeknik
|
||||||
description: Write Infrastructure as Code - https://www.terraform.io/
|
description: Write Infrastructure as Code - https://www.terraform.io/
|
||||||
severity: info
|
severity: info
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- "{{BaseURL}}/provider.tf"
|
- "{{BaseURL}}/provider.tf"
|
||||||
|
|
||||||
matchers-condition: and
|
matchers-condition: and
|
||||||
matchers:
|
matchers:
|
||||||
- type: words
|
- type: word
|
||||||
part: body
|
part: body
|
||||||
word:
|
words:
|
||||||
- access_key
|
- access_key
|
||||||
- private_key
|
- terraform
|
||||||
|
condition: and
|
||||||
|
|
||||||
- type: status
|
- type: status
|
||||||
status:
|
status:
|
||||||
- 200
|
- 200
|
||||||
|
|
Loading…
Reference in New Issue