Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { RuleID string `json:"ruleId"` Message struct { Text string `json:"text"` } `json:"message"` Locations []struct { PhysicalLocation physicalLocation `json:"physicalLocation"` } `json:"locations"` Fingerprints struct { Id string `json:"matchBasedId/v1"` } `json:"fingerprints"` CodeFlows []codeFlow `json:"codeFlows"` Suppressions []struct { Kind string `json:"kind"` // values= 'inSource', 'external' Status string `json:"status,omitempty"` // values= empty,'accepted','underReview','rejected' GUID string `json:"guid,omitempty"` } `json:"suppressions,omitempty"` }
func (*Result) GetCodeFlow ¶
func (result *Result) GetCodeFlow() []analyzer.FindingLocation
type Rule ¶
type Rule struct { ID string `json:"id"` Name string `json:"name"` ShortDescription struct { Text string `json:"text"` } `json:"shortDescription"` FullDescription struct { Text string `json:"text"` } `json:"fullDescription"` DefaultConfiguration struct { Level string `json:"level"` } `json:"defaultConfiguration"` Properties ruleProperties `json:"properties"` HelpURI string `json:"helpUri"` Help struct { Markdown string `json:"markdown"` Text string `json:"text"` } `json:"help"` }
Click to show internal directories.
Click to hide internal directories.