class NessusAdapterV1 extends AbstractAdapter<NessusAdapterContext, NessusAdapterConfig> implements NessusAdapter {

	String createNewScanJSON(NessusAdapterContext context) {
		NessusAdapterConfig config = context.getConfig();
		/* @formatter:off */
		return createNewScanJSONBuilder().
				uuid(context.getNessusPolicyUID()).
				name(config.getTraceID()+"_"+config.getTargetType()).
				description("SecHub scan "+config.getTraceID()+" for target type "+config.getTargetType()).
				targetsURIs(config.getTargetURIs()).
				targetIPs(config.getTargetIPs()).build();
		/* @formatter:on */

	}

}