2021-04-14 10:19:06 +00:00
|
|
|
id: sonarqube-public-projects
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Sonarqube with public projects
|
|
|
|
author: sickwell
|
2021-04-14 10:24:40 +00:00
|
|
|
severity: low
|
2024-01-03 06:08:41 +00:00
|
|
|
description: Sonarqube public projects detected.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://next.sonarqube.com/sonarqube/web_api/api/components/suggestions?internal=true
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: sonarqube,misconfig
|
2021-04-14 10:19:06 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-04-14 10:19:06 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2021-04-14 10:28:18 +00:00
|
|
|
- "{{BaseURL}}/api/components/suggestions?recentlyBrowsed="
|
2021-04-14 10:19:06 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-04-28 09:43:16 +00:00
|
|
|
- '"results":'
|
|
|
|
- '"items":'
|
|
|
|
- '"more":'
|
2021-04-14 10:19:06 +00:00
|
|
|
part: body
|
2023-10-14 11:27:55 +00:00
|
|
|
condition: and
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 490a0046304402202874fc45718b020a2300d5375200ddc43c5f1208fb54c0d7a2583cdc7bb9782d022071b324f8af77384bd1bff97c3bb6e46e7997a3e50b23afb6bb07394c2e331c82:922c64590222798bb761d5b6d8e72950
|