Drift Engine Documentation
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Drift Engine Documentation
core
/
dev.gmitch215.drift.know
/
RuleMatch
Rule
Match
data
class
RuleMatch
(
val
ruleId
:
String
,
val
title
:
String
,
val
tier
:
RuleTier
,
val
severity
:
Severity
,
val
evidence
:
List
<
Evidence
>
,
val
mechanism
:
String
,
val
basis
:
Basis
)
(
source
)
A rule match with everything a renderer may want; verbosity is a presentation choice.
Members
Constructors
Rule
Match
Link copied to clipboard
constructor
(
ruleId
:
String
,
title
:
String
,
tier
:
RuleTier
,
severity
:
Severity
,
evidence
:
List
<
Evidence
>
,
mechanism
:
String
,
basis
:
Basis
)
Properties
basis
Link copied to clipboard
val
basis
:
Basis
evidence
Link copied to clipboard
val
evidence
:
List
<
Evidence
>
mechanism
Link copied to clipboard
val
mechanism
:
String
rule
Id
Link copied to clipboard
val
ruleId
:
String
severity
Link copied to clipboard
val
severity
:
Severity
tier
Link copied to clipboard
val
tier
:
RuleTier
title
Link copied to clipboard
val
title
:
String
Functions
to
Json
Link copied to clipboard
fun
toJson
(
)
:
JsonObject