struct RustSecurityTagger::Protection

Overview

A single detected protection: the tag to emit, its human description, the URL prefix it guards, and whether it is a risk (risk variants win dedup so the reviewer sees the alarming description, not the benign).

Defined in:

tagger/framework_taggers/rust/rust_security.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tag : String, description : String, prefix : String, risk : Bool) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(tag _tag = @tag, description _description = @description, prefix _prefix = @prefix, risk _risk = @risk) #

[View source]
def description : String #

def prefix : String #

def risk : Bool #

def tag : String #