aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorquentin-jaquier-sonarsource <quentin.jaquier@sonarsource.com>2022-07-14 17:05:34 +0200
committersonartech <sonartech@sonarsource.com>2022-07-22 20:03:01 +0000
commitd4fd354252a12858c79792be004e8328dd87ef79 (patch)
treec868c604085928e0ac8982977b3ace4381ad68e7 /server
parentf90a535072a327e34998a1f905121336f95a10f7 (diff)
downloadsonarqube-d4fd354252a12858c79792be004e8328dd87ef79.tar.gz
sonarqube-d4fd354252a12858c79792be004e8328dd87ef79.zip
Add "common" examples in JSON files examples
Diffstat (limited to 'server')
-rw-r--r--server/sonar-docs/src/pages/analysis/security_configuration.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/server/sonar-docs/src/pages/analysis/security_configuration.md b/server/sonar-docs/src/pages/analysis/security_configuration.md
index b5d815c305c..6d0ebf0f169 100644
--- a/server/sonar-docs/src/pages/analysis/security_configuration.md
+++ b/server/sonar-docs/src/pages/analysis/security_configuration.md
@@ -256,6 +256,13 @@ Your JSON file should include the rule you're adding a custom element to, the el
| }
| }
| ]
+| },
+| "common": {
+| "sources": [
+| {
+| "methodId": "my.package.Input#getUserInput()Ljava/lang/String;"
+| }
+| ]
| }
| }
|```
@@ -339,6 +346,13 @@ Your JSON file should include the rule you're adding a custom element to, the el
| }
| }
| ]
+| },
+| "common": {
+| "sources": [
+| {
+| "methodId": "My\\Namespace\\ClassName\\Input::getUserInput"
+| }
+| ]
| }
| }
|```
@@ -423,6 +437,13 @@ Your JSON file should include the rule you're adding a custom element to, the el
| }
| }
| ]
+| },
+| "common": {
+| "sources": [
+| {
+| "methodId": "My.Namespace.Input.GetUserInput()"
+| }
+| ]
| }
| }
|```
@@ -506,6 +527,13 @@ Your JSON file should include the rule you're adding a custom element to, the el
| }
| }
| ]
+| },
+| "common": {
+| "sources": [
+| {
+| "methodId": "my.namespace.Input.get_input"
+| }
+| ]
| }
| }
|