vuls: github.com/future-architect/vuls/cwe Index | Files

package cwe

import "github.com/future-architect/vuls/cwe"

Index

Package Files

en.go ja.go owasp.go

Variables

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

}

CweDictEn is the Cwe dictionary

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

}

CweDictJa is the Cwe dictionary

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

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

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

type Cwe Uses

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

Package cwe is imported by 6 packages. Updated 2018-08-28. Refresh now. Tools for package owners.