Create circleci-config.yaml

patch-1
Geeknik Labs 2021-03-09 21:10:42 +00:00 committed by GitHub
parent 541635d3c5
commit 13155a5e70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
id: circleci-config
info:
name: circleci config.yml exposure
author: geeknik
severity: medium
reference: https://circleci.com/docs/2.0/sample-config/
requests:
- method: GET
redirects: true
max-redirects: 3
path:
- "{{BaseURL}}/config.yml"
- "{{BaseURL}}/.circleci/config.yml"
matchers-condition: and
matchers:
- type: dsl
dsl:
- 'regex("^version: ", body) && contains(body, "jobs:") == true'
- type: status
status:
- 200