matcher fix n updates

patch-1
bauthard 2020-11-25 01:41:47 +05:30
parent 5f390de054
commit 1c912b753d
1 changed files with 8 additions and 4 deletions

View File

@ -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