id: jetbrains-datasource

info:
  name: Jetbrains IDE DataSources Config - Detect
  author: FlorianMaak
  severity: info
  description: Jetbrains IDE DataSources configuration information was detected.
  reference: https://www.jetbrains.com
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: config,exposure,jetbrains

http:
  - method: GET
    path:
      - "{{BaseURL}}/.idea/dataSources.xml"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "DataSourceManagerImpl"
        part: body

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100c1a7d66edc9baac66c6942c8f8eb5f3474516033c63bc81c047b0880026dd0f7022100857dc97455c72e6ae068393a1920b29bcadf46a33b1edb90c2aff8b6068dc979:922c64590222798bb761d5b6d8e72950