diff --git a/technologies/cloudfoundry-detect.yaml b/technologies/cloudfoundry-detect.yaml index 880dd65693..d8c1f55e16 100644 --- a/technologies/cloudfoundry-detect.yaml +++ b/technologies/cloudfoundry-detect.yaml @@ -1,27 +1,28 @@ id: cloudfoundry-detect info: - name: cloudfoundry detection + name: Cloudfoundry Detect author: uomogrande severity: info - description: detect cloudfoundry based on response headers - tags: cloudfoundry,tech + description: Detects cloudfoundry based on response headers reference: https://docs.cloudfoundry.org/concepts/cf-routing-architecture.html + tags: cloudfoundry,tech requests: - raw: - | GET / HTTP/1.1 + Host: {{Hostname}} # request unknown (random) route - | GET / HTTP/1.1 Host: {{randstr}}.com + stop-at-first-match: true - req-condition: true matchers: + - type: dsl - name: header detection dsl: - 'contains(all_headers, "X-Vcap-Request-Id:") || contains(all_headers, "X-Cf-Routererror:")'