module NoirPassiveScan
Defined in:
passive_scan/detect.crpassive_scan/rules.cr
Class Method Summary
-
.detect(file_path : String, file_content : String, rules : Array(PassiveScan), logger : NoirLogger) : Array(PassiveScanResult)
Original detect method for backward compatibility
-
.detect_with_severity(file_path : String, file_content : String, rules : Array(PassiveScan), logger : NoirLogger, min_severity : String) : Array(PassiveScanResult)
Enhanced detect method with severity filtering
- .load_rules(path : String, logger : NoirLogger) : Array(PassiveScan)
Class Method Detail
def self.detect(file_path : String, file_content : String, rules : Array(PassiveScan), logger : NoirLogger) : Array(PassiveScanResult)
#
Original detect method for backward compatibility
def self.detect_with_severity(file_path : String, file_content : String, rules : Array(PassiveScan), logger : NoirLogger, min_severity : String) : Array(PassiveScanResult)
#
Enhanced detect method with severity filtering