Rule

data class Rule(val id: String, val title: String, val applies: List<String>, val difference: String, val symptoms: List<Symptom>, val mechanism: String, val probe: String?, val detect: Node, val severity: Severity, val provenance: List<Source>, val fixtures: Fixtures, val status: Status = Status.ACTIVE)(source)

Rule.applies holds dimension ids; Rule.detect reads a as passing and b as failing.

Constructors

Link copied to clipboard
constructor(id: String, title: String, applies: List<String>, difference: String, symptoms: List<Symptom>, mechanism: String, probe: String?, detect: Node, severity: Severity, provenance: List<Source>, fixtures: Fixtures, status: Status = Status.ACTIVE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun hash(): String
Link copied to clipboard