You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

search-example.json 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "paging": {
  3. "pageIndex": 1,
  4. "pageSize": 100,
  5. "total": 3
  6. },
  7. "hotspots": [
  8. {
  9. "key": "hotspot-0",
  10. "component": "com.sonarsource:test-project:src/main/java/com/sonarsource/FourthClass.java",
  11. "project": "com.sonarsource:test-project",
  12. "securityCategory": "others",
  13. "vulnerabilityProbability": "LOW",
  14. "status": "TO_REVIEW",
  15. "line": 10,
  16. "message": "message-0",
  17. "assignee": "assignee-uuid",
  18. "author": "joe",
  19. "creationDate": "2020-01-02T15:43:10+0100",
  20. "updateDate": "2020-01-02T15:43:10+0100",
  21. "flows": [],
  22. "ruleKey": "repository-0:rule-0"
  23. },
  24. {
  25. "key": "hotspot-1",
  26. "component": "com.sonarsource:test-project:src/main/java/com/sonarsource/FourthClass.java",
  27. "project": "com.sonarsource:test-project",
  28. "securityCategory": "others",
  29. "vulnerabilityProbability": "LOW",
  30. "status": "TO_REVIEW",
  31. "line": 11,
  32. "message": "message-1",
  33. "assignee": "assignee-uuid",
  34. "author": "joe",
  35. "creationDate": "2020-01-02T15:43:10+0100",
  36. "updateDate": "2020-01-02T15:43:10+0100",
  37. "flows": [],
  38. "ruleKey": "repository-1:rule-1"
  39. },
  40. {
  41. "key": "hotspot-2",
  42. "component": "com.sonarsource:test-project:src/main/java/com/sonarsource/FourthClass.java",
  43. "project": "com.sonarsource:test-project",
  44. "securityCategory": "others",
  45. "vulnerabilityProbability": "LOW",
  46. "status": "TO_REVIEW",
  47. "line": 12,
  48. "message": "message-2",
  49. "assignee": "assignee-uuid",
  50. "author": "joe",
  51. "creationDate": "2020-01-02T15:43:10+0100",
  52. "updateDate": "2020-01-02T15:43:10+0100",
  53. "flows": [],
  54. "ruleKey": "repository-2:rule-2"
  55. }
  56. ],
  57. "components": [
  58. {
  59. "key": "com.sonarsource:test-project:src/main/java/com/sonarsource/FourthClass.java",
  60. "qualifier": "FIL",
  61. "name": "FourthClass.java",
  62. "longName": "src/main/java/com/sonarsource/FourthClass.java",
  63. "path": "src/main/java/com/sonarsource/FourthClass.java"
  64. },
  65. {
  66. "key": "com.sonarsource:test-project",
  67. "qualifier": "TRK",
  68. "name": "test-project",
  69. "longName": "test-project"
  70. }
  71. ]
  72. }