mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
bump max matches in dynamic mode to 25 matches per rule
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
* @param {Object} rules - The rules object from the rodc JSON data
|
||||
* @param {string} flavor - The flavor of the analysis (static or dynamic)
|
||||
* @param {Object} layout - The layout object from the rdoc JSON data
|
||||
* @param {number} [maxMatches=1] - Maximum number of matches to parse per rule
|
||||
* @param {number} [maxMatches=30] - Maximum number of matches to parse per rule
|
||||
* @returns {Array} - Parsed tree data for the TreeTable component
|
||||
*/
|
||||
export function parseRules(rules, flavor, layout, maxMatches = 1) {
|
||||
export function parseRules(rules, flavor, layout, maxMatches = 30) {
|
||||
return Object.entries(rules).map(([, rule], index) => {
|
||||
const ruleNode = {
|
||||
key: `${index}`,
|
||||
|
||||
Reference in New Issue
Block a user