Add fixture expectations and CLI scan test
This commit is contained in:
@@ -17,3 +17,13 @@ fix_tier = "reencode"
|
||||
stop_scan = false
|
||||
patterns = ["(?i)File ended prematurely"]
|
||||
notes = "File appears truncated."
|
||||
|
||||
[[rule]]
|
||||
id = "ERROR_WHILE_DECODING"
|
||||
domain = "decode"
|
||||
severity = "high"
|
||||
confidence = 0.5
|
||||
fix_tier = "reencode"
|
||||
stop_scan = false
|
||||
patterns = ["(?i)Error while decoding"]
|
||||
notes = "Decoder reported an error while decoding stream."
|
||||
|
||||
Reference in New Issue
Block a user