Show / Hide Table of Contents

Class Analyzer

Inheritance
System.Object
Analyzer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AttackSurfaceAnalyzer.Utils
Assembly: AsaLib.dll
Syntax
public class Analyzer

Constructors

| Improve this Doc View Source

Analyzer(PLATFORM, RuleFile)

Declaration
public Analyzer(PLATFORM platform, RuleFile filters)
Parameters
Type Name Description
PLATFORM platform
RuleFile filters
| Improve this Doc View Source

Analyzer(PLATFORM, String)

Declaration
public Analyzer(PLATFORM platform, string filterLocation = null)
Parameters
Type Name Description
PLATFORM platform
System.String filterLocation

Properties

| Improve this Doc View Source

DefaultLevels

Declaration
public Dictionary<RESULT_TYPE, ANALYSIS_RESULT_TYPE> DefaultLevels { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<RESULT_TYPE, ANALYSIS_RESULT_TYPE>

Methods

| Improve this Doc View Source

Analyze(CompareResult)

Declaration
public List<Rule> Analyze(CompareResult compareResult)
Parameters
Type Name Description
CompareResult compareResult
Returns
Type Description
System.Collections.Generic.List<Rule>
| Improve this Doc View Source

AnalyzeClause(Clause, CompareResult)

Declaration
protected static bool AnalyzeClause(Clause clause, CompareResult compareResult)
Parameters
Type Name Description
Clause clause
CompareResult compareResult
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Apply(Rule, CompareResult)

Declaration
public bool Apply(Rule rule, CompareResult compareResult)
Parameters
Type Name Description
Rule rule
CompareResult compareResult
Returns
Type Description
System.Boolean
| Improve this Doc View Source

DumpFilters()

Declaration
public void DumpFilters()
| Improve this Doc View Source

LoadEmbeddedFilters()

Declaration
public void LoadEmbeddedFilters()
| Improve this Doc View Source

LoadFilters(String)

Declaration
public void LoadFilters(string filterLoc = "")
Parameters
Type Name Description
System.String filterLoc
| Improve this Doc View Source

PrintViolations(List<(String, String[])>)

Declaration
public static void PrintViolations(List<(string, string[])> violations)
Parameters
Type Name Description
System.Collections.Generic.List<System.ValueTuple<System.String, System.String[]>> violations
| Improve this Doc View Source

VerifyRules()

Declaration
public List<(string, string[])> VerifyRules()
Returns
Type Description
System.Collections.Generic.List<System.ValueTuple<System.String, System.String[]>>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX