Versions in this module Expand all Collapse all v0 v0.0.2 Jul 29, 2019 Changes in this version + const CweMitreOrgDefinitionsUrl + var ReportStatusAll = []string + var ReportStatusFixedOrIgnored = []string + var ReportStatusToFixed = []string + type Column struct + Label string + Name string + type DefectDetails struct + CweCategory int + FunctionName string + LocalEffect string + LongDescription string + MergedDefectCID int + ShortDescription string + type HttpService struct + Password string + Url string + User string + func (svc *HttpService) DoAuthRequest(method, endPoint string, headers, params map[string]string, body interface{}, ...) error + func (svc *HttpService) DoAuthRequestReturnSession(method, endPoint string, headers, params map[string]string, body interface{}, ...) (*http.Cookie, error) + func (svc *HttpService) DoCookieRequest(method, endPoint string, cookie *http.Cookie, ...) error + type NextPagePost struct + PageNum int + ProjectId int + ViewId int + type Project struct + Id string + Label string + Type string + type ProjectSearchResult struct + Result []Project + type ProjectSearchResultSet struct + ResultSet ProjectSearchResult + type ProjectService struct + HttpSvc *HttpService + func (svc *ProjectService) GetProjectByName(name string) (*Project, error) + type ReportResult struct + Action string + Checker string + Cid int + Classification string + Comment string + Committed bool + Cwe int + DisplayCategory string + DisplayComparison string + DisplayComponent string + DisplayFile string + DisplayFirstDetectedBy string + DisplayFunction string + DisplayImpact string + DisplayIssueKind string + DisplayType string + Domain string + ExternalReference string + FileInstanceId int + FileLanguage string + FirstDetected string + FirstSnapshotDate string + FirstSnapshotDescription string + FirstSnapshotId int + FirstSnapshotStream string + FirstSnapshotTarget string + FirstSnapshotVersion string + FixTarget string + FunctionMergeName string + Id int + LastDefectInstanceId int + LastDetected string + LastDetectedDescription string + LastDetectedId int + LastDetectedStream string + LastDetectedTarget string + LastDetectedVersion string + LastFixed string + LastTriaged string + Legacy string + MergeExtra string + MergeKey string + OccurrenceCount int + Owner string + OwnerFullName string + OwnerId int + PivotKey string + ProjectId int + RuleStrength string + Severity string + Status string + Subcategory string + type ReportResultSet struct + Limit int + PageNum int + Results []ReportResult + TotalCount int + type ReportService struct + HttpSvc *HttpService + func (svc *ReportService) GetProjectReports(projectId int, viewId int, statusRange []string) ([]*ReportResult, error) + type ReportsResponse struct + ActiveViewKey ViewKey + ResultSet ReportResultSet + type SourceBrowserService struct + HttpSvc *HttpService + func (svc *SourceBrowserService) GenerateCweUrl(cweCategory int) string + func (svc *SourceBrowserService) GetDefectDetails(projectId, defectInstanceId int) (*DefectDetails, error) + func (svc *SourceBrowserService) GetSourceEvents(projectId, fileInstanceId, defectInstanceId, mergedDefectId int) ([]*SourceEvent, error) + type SourceEvent struct + Description string + Id string + LineNumber int + OrderLabel string + Ordered bool + Polarity string + Tag string + type SourceEventsResponse struct + Events []SourceEvent + type View struct + Columns []Column + GroupBy bool + Id int + Name string + Type string + type ViewKey struct + GroupBy bool + ProjectId int + ViewId int + type ViewService struct + HttpSvc *HttpService + func (svc *ViewService) GetDefectsView(opt *View) (*View, error) + type ViewsResponse struct + Views []View