All Downloads are FREE. Search and download functionalities are using the official Maven repository.

c.security.pickaxe-checks-example-aem-cli.2.4.3.source-code.scan.groovy Maven / Gradle / Ivy

The newest version!
/*
 * (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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy