Class MobileScanGate

java.lang.Object
io.jenkins.plugins.secone.security.mobile.MobileScanGate

public final class MobileScanGate extends Object
Vulnerability threshold for a completed mobile scan, with the same semantics as the sec1Security step: a severity breaches when its count is non-zero and greater than or equal to its threshold, so criticalThreshold: '0' fails on the first critical finding and a blank threshold is not checked.
  • Method Details

    • evaluate

      public static List<String> evaluate(Map<String,Integer> bySeverity, Integer score, Threshold threshold, Integer minScore)
      Parameters:
      bySeverity - counts keyed by tier name (case-insensitive); may be null
      score - summary.aggregate_score; may be null
      threshold - per-severity thresholds; may be null
      minScore - minimum aggregate score; may be null
      Returns:
      breach messages; empty when nothing breached