Create circleci-config.yaml
parent
541635d3c5
commit
13155a5e70
|
@ -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
|
Loading…
Reference in New Issue