Skip to content

How do you calculate the number of rules in CRS? #3

@yashhere

Description

@yashhere

Hi, I am trying to reproduce the results given on the wiki page. But I am not able to get the number of rules in CRS that you have posted on the very bottom of the wiki page. It says that CRS v3.1.0 has 1634 rules. How did you calculate this? I tried calculating, but I am getting 847 as a result. I used the following command -

# running it in the rules directory of CRS
grep -c "Sec" *.conf | cut -d':' -f2 | awk '{total = total + $1}END{print total}'

I think I am missing something here. Can you share your method/command of counting the number of rules? It would be of great help.

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions