/*
 * (C) Copyright 2020 Netcentric - a Cognizant Digital Business
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package biz.netcentric.security.scans

def scan = {

    /* Configures the base URL */
    target "http://localhost:45181/content/we-retail/us/en.html"

    /* Sets the scan configuration */
    config {
        authentication {
            username "admin"
            password "admin123"
        }

        categories "xss", "dispatcher"
    }

    /* Registers additional external checks */
    register {

    }

    /* Configures the reporting strategy */
    reporter {
        register "json-pretty", "html-table"
        config {
            setOutputLocation "/Users/thomas/temp"
        }
    }
}

scan