Пример #1
0
 public AnalysisReport(string id, string summary, string description, string category, /*string severity,*/ Exploitability exploitability, SecurityGoals threats, Uri moreDetails,
                       string solutionRemarks = null, object additionalContent = null,
                       params NamedLink[] relatedLinks)
 {
     if (id == null || string.IsNullOrEmpty(id))
     {
         throw new ArgumentNullException(nameof(id));
     }
     Id             = id;
     Summary        = summary;
     Description    = description;
     Category       = category;
     Exploitability = exploitability;
     //Severity = severity;
     ExposedSecurityGoals = threats;
     SolutionRemarks      = solutionRemarks;
     RelatedLinks         = relatedLinks;
     AdditionalContent    = additionalContent;
     MoreDetailsUrl       = moreDetails;
 }
Пример #2
0
 public AnalysisReport(string id, string summary, string description, string category, /*string severity*/ Exploitability exploitability, SecurityGoals threats, Uri moreDetails, string solutionRemarks = null,
                       params NamedLink[] relatedLinks) : this(id, summary, description, category, /*severity*/ exploitability, threats, moreDetails, solutionRemarks, null, relatedLinks)
 {
 }