cwe

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CweDictEn = map[string]Cwe{}/* 733 elements not displayed */

CweDictEn is the Cwe dictionary

View Source
var CweDictJa = map[string]Cwe{}/* 146 elements not displayed */

CweDictJa is the Cwe dictionary

View Source
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",
}

OwaspTopTen2017 has CWE-ID in OWSP Top 10

View Source
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",
}

OwaspTopTen2017GitHubURLEn has GitHub links

View Source
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",
}

OwaspTopTen2017GitHubURLJa has GitHub links

Functions

This section is empty.

Types

type Cwe

type Cwe struct {
	CweID               string `json:"cweID"`
	Name                string `json:"name"`
	Description         string `json:"description"`
	ExtendedDescription string `json:"extendedDescription"`
	Lang                string `json:"-"`
}

Cwe has CWE information

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL