Excluding multiple URL's from scanning scope

Piyush's Avatar

Piyush

27 Sep, 2017 12:06 PM

I am feeding my own generated vector.yaml for scanning. I want to exclude multiple URL's from scanning. I tried with --scope-exclude-pattern and it worked for single URL but not for multiple URL's. E.g.

Works
--scope-exclude-pattern=/test1/*

Didn't Work
--scope-exclude-pattern=/test1/,/test2/

  1. Support Staff 1 Posted by Tasos Laskos on 28 Sep, 2017 05:17 PM

    Tasos Laskos's Avatar

    The option values aren't globs, they are regexps.

    This would do:

     --scope-exclude-pattern=/test1/
    

    Also, you can supply multiple --scope-exclude-pattern options for different URLs.

  2. Tasos Laskos closed this discussion on 28 Sep, 2017 05:17 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac