id: aws-cloudfront-service

info:
  name: AWS Cloudfront service detection
  author: jiheon-dev
  severity: info
  description: Detect websites using AWS cloudfront service
  metadata:
    max-request: 1
  tags: aws,tech,service

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: dsl
        condition: or
        dsl:
          - "contains(tolower(header), 'x-cache: hit from cloudfront')"
          - "contains(tolower(header), 'x-cache: refreshhit from cloudfront')"
          - "contains(tolower(header), 'x-cache: miss from cloudfront')"
          - "contains(tolower(header), 'x-cache: error from cloudfront')"

# digest: 490a0046304402205194b5f1c14b4bbbe7a92308b198368f53a70c03cb4b4313bcc1ba95f7ed2d55022029fdac767b00d013e9f912c931baee9e352913fc826b8454e788c3c8c6ea5dd3:922c64590222798bb761d5b6d8e72950
