C# 클래스 Microsoft.CodeAnalysis.Sarif.Converters.FortifyIssue

A Fortify result element.
파일 보기 프로젝트 열기: Microsoft/sarif-sdk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Abstract string
AbstractCustom string
Category string
CweIds ImmutableArray
InstanceId string
Kingdom string
PrimaryOrSink FortifyPathElement
Priority string
RuleId string
Source FortifyPathElement

공개 메소드들

메소드 설명
FortifyIssue ( string ruleId, string iid, string category, string kingdom, string abs, string abstractCustom, string priority, FortifyPathElement primaryOrSink, FortifyPathElement source, ImmutableArray cweIds ) : System

Initializes a new instance of the FortifyIssue class.

Parse ( XmlReader xmlReader, FortifyStrings strings ) : FortifyIssue

Parses a Fortify Result element from an XmlReader.

ParseCweIds ( string cweIdSource ) : ImmutableArray

Converts the CWE ID format from Fortify to a plain list of integers.

메소드 상세

FortifyIssue() 공개 메소드

Initializes a new instance of the FortifyIssue class.
public FortifyIssue ( string ruleId, string iid, string category, string kingdom, string abs, string abstractCustom, string priority, FortifyPathElement primaryOrSink, FortifyPathElement source, ImmutableArray cweIds ) : System
ruleId string The Rule ID stored in the Fortify result.
iid string The Instance ID stored in the Fortify result.
category string The category of Fortify result.
kingdom string The kingdom of the Fortify result.
abs string The abstract (description) message of the Fortify result if present; otherwise, null.
abstractCustom string A custom user-provided abstract (description) message of the Fortify result if it is present; /// otherwise, null.
priority string The "friority" (which appears to be an intentional misspelling of "priority") of the Fortify /// result if present; otherwise, null.
primaryOrSink FortifyPathElement The primary location for the Fortify result; this will be the sink for data flow rules.
source FortifyPathElement Source for the flagged data flow if present; otherwise, null.
cweIds ImmutableArray List of CWE IDs stapled to the Fortify result, if present.
리턴 System

Parse() 공개 정적인 메소드

Parses a Fortify Result element from an XmlReader.
public static Parse ( XmlReader xmlReader, FortifyStrings strings ) : FortifyIssue
xmlReader System.Xml.XmlReader The from which an element containing a Fortify result shall be /// consumed. When this method returns, this is positioned on the following element.
strings FortifyStrings Strings used in processing a Fortify report.
리턴 FortifyIssue

ParseCweIds() 공개 정적인 메소드

Converts the CWE ID format from Fortify to a plain list of integers.
public static ParseCweIds ( string cweIdSource ) : ImmutableArray
cweIdSource string The string from which CWE IDs shall be parsed.
리턴 ImmutableArray

프로퍼티 상세

Abstract 공개적으로 프로퍼티

The abstract (description) message of the Fortify result if present; otherwise, null.
public string Abstract
리턴 string

AbstractCustom 공개적으로 프로퍼티

A custom user-provided abstract (description) message of the Fortify result if it is present; otherwise, null.
public string AbstractCustom
리턴 string

Category 공개적으로 프로퍼티

The category of Fortify result.
public string Category
리턴 string

CweIds 공개적으로 프로퍼티

List of CWE IDs stapled to the Fortify result, if present.
public ImmutableArray CweIds
리턴 ImmutableArray

InstanceId 공개적으로 프로퍼티

The Instance ID stored in the Fortify result if present; otherwise, null.
public string InstanceId
리턴 string

Kingdom 공개적으로 프로퍼티

The kingdom of the Fortify result.
public string Kingdom
리턴 string

PrimaryOrSink 공개적으로 프로퍼티

The primary location for the Fortify result; this will be the sink for data flow rules.
public FortifyPathElement,Microsoft.CodeAnalysis.Sarif.Converters PrimaryOrSink
리턴 FortifyPathElement

Priority 공개적으로 프로퍼티

The "friority" (which appears to be an intentional misspelling of "priority") of the Fortify result if present; otherwise, null.
public string Priority
리턴 string

RuleId 공개적으로 프로퍼티

The Rule ID stored in the Fortify result if present; otherwise, null.
public string RuleId
리턴 string

Source 공개적으로 프로퍼티

Source for the flagged data flow if present; otherwise, null.
public FortifyPathElement,Microsoft.CodeAnalysis.Sarif.Converters Source
리턴 FortifyPathElement