package cwe

// OwaspTopTen2017 has CWE-ID in OWSP Top 10
var OwaspTopTen2017 = map[string]string{
	"77":  "1",
	"89":  "1",
	"564": "1",
	"917": "1",

	"287": "2",
	"384": "2",

	"220": "3",
	"310": "3",
	"312": "3",
	"319": "3",
	"326": "3",
	"359": "3",

	"611": "4",

	"22":  "5",
	"284": "5",
	"285": "5",
	"639": "5",

	"2":   "6",
	"16":  "6",
	"388": "6",

	"79": "7",

	"502": "8",

	"223": "10",
	"778": "10",
}

// OwaspTopTen2017GitHubURLEn has GitHub links
var OwaspTopTen2017GitHubURLEn = map[string]string{
	"1":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa1-injection.md",
	"2":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa2-broken-authentication.md",
	"3":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa3-sensitive-data-disclosure.md",
	"4":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa4-xxe.md",
	"5":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa5-broken-access-control.md",
	"6":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa6-security-misconfiguration.md",
	"7":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa7-xss.md",
	"8":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa8-insecure-deserialization.md",
	"9":  "https://github.com/OWASP/Top10/blob/master/2017/en/0xa9-known-vulns.md<Paste>",
	"10": "https://github.com/OWASP/Top10/blob/master/2017/en/0xaa-logging-detection-response.md",
}

// OwaspTopTen2017GitHubURLJa has GitHub links
var OwaspTopTen2017GitHubURLJa = map[string]string{
	"1":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa1-injection.md",
	"2":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa2-broken-authentication.md",
	"3":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa3-sensitive-data-disclosure.md",
	"4":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa4-xxe.md",
	"5":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa5-broken-access-control.md",
	"6":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa6-security-misconfiguration.md",
	"7":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa7-xss.md",
	"8":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa8-insecure-deserialization.md",
	"9":  "https://github.com/OWASP/Top10/blob/master/2017/ja/0xa9-known-vulns.md<Paste>",
	"10": "https://github.com/OWASP/Top10/blob/master/2017/ja/0xaa-logging-detection-response.md",
}
