Examples of VulnerabilityMap


Examples of com.denimgroup.threadfix.data.entities.VulnerabilityMap

                if (genericVulnerability == null) {
                    LOG.warn("Unable to find GenericVulnerability with code " + genericVulnerabilityId);
                    result = MappingCreateResult.BAD_GENERIC_VULNERABILITY_ID;
                } else {

                    VulnerabilityMap newMap = new VulnerabilityMap();
                    newMap.setChannelVulnerability(channelVulnerability);
                    newMap.setGenericVulnerability(genericVulnerability);

                    channelVulnerability.setVulnerabilityMaps(Arrays.asList(newMap));
                    channelVulnerability.setUserCreated(true);

                    channelVulnerabilityDao.saveOrUpdate(channelVulnerability);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.