Delete a Rule

You can delete a Rule with the Delete button next to the Rule name.

Alternatively, you can delete Rules using the command line:

  1. Find the ID of the Rule you want to delete.
    You can find the Rule ID in the browser URL bar after clicking on the issue, or in the status bar while hovering over the link on the Rules index page.

  2. Run the following commands in the console as "dradispro":
    $ cd /opt/dradispro/dradispro/current/
    $ RAILS_ENV=production bundle exec rails console
    irb> Dradis::Pro::Rules::Rule.find( #ID# ).destroy
    Don't forget to substitue in the actual Rule ID for #ID# above!

Next help article: Reorder your Rules →

Seven Strategies To Differentiate Your Cybersecurity Consultancy

You don’t need to reinvent the wheel to stand out from other cybersecurity consultancies. Often, it's about doing the simple things better, and clearly communicating what sets you apart.

  • Tell your story better
  • Improve your testimonials and case studies
  • Build strategic partnerships

Your email is kept private. We don't do the spam thing.