Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pull-taint-example.proto 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # The response contains a single protocol buffer message: TaintVulnerabilityPullQueryTimestamp followed by 0..n number of TaintVulnerabilityLite protocol buffer messages.
  2. message TaintVulnerabilityPullQueryTimestamp {
  3. required int64 queryTimestamp = 1;
  4. }
  5. message TaintVulnerabilityLite {
  6. required string key = 1;
  7. optional int64 creationDate = 2;
  8. optional bool resolved = 3;
  9. optional string ruleKey = 4;
  10. optional sonarqube.ws.commons.Severity severity = 5;
  11. optional sonarqube.ws.commons.RuleType type = 6;
  12. optional Location mainLocation = 7;
  13. optional bool closed = 8;
  14. repeated Flow flows = 9;
  15. optional bool assignedToSubscribedUser = 10;
  16. optional string ruleDescriptionContextKey = 11;
  17. optional sonarqube.ws.commons.CleanCodeAttribute cleanCodeAttribute = 12;
  18. optional sonarqube.ws.commons.CleanCodeAttributeCategory cleanCodeAttributeCategory = 13;
  19. repeated sonarqube.ws.commons.Impact impacts = 14;
  20. }
  21. message Location {
  22. optional string filePath = 1;
  23. optional string message = 2;
  24. optional TextRange textRange = 3;
  25. }
  26. message Flow {
  27. repeated Location locations = 1;
  28. }
  29. message TextRange {
  30. optional int32 startLine = 1;
  31. optional int32 startLineOffset = 2;
  32. optional int32 endLine = 3;
  33. optional int32 endLineOffset = 4;
  34. optional string hash = 5;
  35. }