From: quentin-jaquier-sonarsource Date: Thu, 14 Jul 2022 15:05:34 +0000 (+0200) Subject: Add "common" examples in JSON files examples X-Git-Tag: 9.6.0.59041~191 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d4fd354252a12858c79792be004e8328dd87ef79;p=sonarqube.git Add "common" examples in JSON files examples --- 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" +| } +| ] | } | } |