* add top25 rank * add CweTop25 and SansTop25 * fix report * add cwetop25 and sanstop25 url * fix condition branch * fix condition branch
		
			
				
	
	
		
			34 lines
		
	
	
		
			592 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			592 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package cwe
 | 
						|
 | 
						|
// CweTopTwentyfive2019 has CWE-ID in CWE Top 25
 | 
						|
var CweTopTwentyfive2019 = map[string]string{
 | 
						|
	"119": "1",
 | 
						|
	"79":  "2",
 | 
						|
	"20":  "3",
 | 
						|
	"200": "4",
 | 
						|
	"125": "5",
 | 
						|
	"89":  "6",
 | 
						|
	"416": "7",
 | 
						|
	"190": "8",
 | 
						|
	"352": "9",
 | 
						|
	"22":  "10",
 | 
						|
	"78":  "11",
 | 
						|
	"787": "12",
 | 
						|
	"287": "13",
 | 
						|
	"476": "14",
 | 
						|
	"732": "16",
 | 
						|
	"434": "16",
 | 
						|
	"611": "17",
 | 
						|
	"94":  "18",
 | 
						|
	"798": "19",
 | 
						|
	"400": "20",
 | 
						|
	"772": "21",
 | 
						|
	"426": "22",
 | 
						|
	"502": "23",
 | 
						|
	"269": "24",
 | 
						|
	"295": "25",
 | 
						|
}
 | 
						|
 | 
						|
// CweTopTwentyfive2019URL has CWE Top25 links
 | 
						|
var CweTopTwentyfive2019URL = "https://cwe.mitre.org/top25/archive/2019/2019_cwe_top25.html"
 |