diff options
author | Dimitris Kavvathas <dimitris.kavvathas@sonarsource.com> | 2022-08-08 18:14:27 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-08-09 20:03:18 +0000 |
commit | 16ba3f5dffaf8bc835422584330c0902d4f4452e (patch) | |
tree | 74957e53c975bde810b6aa7bcd81dd5cce76a974 /server | |
parent | d0cf5ca5e7eb05a398f52f61e54f2921ee1137d0 (diff) | |
download | sonarqube-16ba3f5dffaf8bc835422584330c0902d4f4452e.tar.gz sonarqube-16ba3f5dffaf8bc835422584330c0902d4f4452e.zip |
SONAR-17109 Add Aknowledged as Reviewed hotspot status
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-docs/src/pages/setup/install-server.md | 2 | ||||
-rw-r--r-- | server/sonar-docs/src/pages/user-guide/metric-definitions.md | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/server/sonar-docs/src/pages/setup/install-server.md b/server/sonar-docs/src/pages/setup/install-server.md index 18dde613ad2..ad817e67a5c 100644 --- a/server/sonar-docs/src/pages/setup/install-server.md +++ b/server/sonar-docs/src/pages/setup/install-server.md @@ -321,7 +321,7 @@ In our official Docker images you can find the systems truststore in `$JAVA_HOME * bind mount an existing truststore containing your certificates to `$JAVA_HOME/lib/security/cacerts` [[collapse]] -| example: +| ## Example | | ```bash | docker run -d --name sonarqube -v /path/to/your/cacerts.truststore:/usr/lib/jvm/java-11-openjdk/lib/security/cacerts:ro -p 9000:9000 sonarqube diff --git a/server/sonar-docs/src/pages/user-guide/metric-definitions.md b/server/sonar-docs/src/pages/user-guide/metric-definitions.md index ce51caa07a8..a27c569825a 100644 --- a/server/sonar-docs/src/pages/user-guide/metric-definitions.md +++ b/server/sonar-docs/src/pages/user-guide/metric-definitions.md @@ -175,7 +175,9 @@ Number of new Security Hotspots on New Code. **Security Review Rating** (`security_review_rating`) -The Security Review Rating is a letter grade based on the percentage of Reviewed (Fixed or Safe) Security Hotspots. +**Note:** Security Hotspots are considered Reviewed if they are marked as _Acknowledged_, _Fixed_ or _Safe_. + +The Security Review Rating is a letter grade based on the percentage of Reviewed Security Hotspots. A = >= 80% B = >= 70% and <80% @@ -189,14 +191,14 @@ Security Review Rating for New Code. **Security Hotspots Reviewed** (`security_hotspots_reviewed`) -Percentage of Reviewed (Fixed or Safe) Security Hotspots. +Percentage of Reviewed Security Hotspots. Ratio Formula: -`Number of Reviewed (Fixed or Safe) Hotspots x 100 / (To_Review Hotspots + Reviewed Hotspots)` +`Number of Reviewed Hotspots x 100 / (To_Review Hotspots + Reviewed Hotspots)` **New Security Hotspots Reviewed** -Percentage of Reviewed Security Hotspots (Fixed or Safe) on New Code. +Percentage of Reviewed Security Hotspots on New Code. --- ## Size |