Delete a Rule

  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 →