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

package wordpress

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

Index

Package Files

wordpress.go

func FillWordPress Uses

func FillWordPress(r *models.ScanResult, token string) (int, error)

FillWordPress access to wpvulndb and fetch scurity alerts and then set to the given ScanResult. https://wpvulndb.com/

type References Uses

type References struct {
    URL     []string `json:"url"`
    Cve     []string `json:"cve"`
    Secunia []string `json:"secunia"`
}

References is for wpvulndb's json

type WpCveInfo Uses

type WpCveInfo struct {
    ID        int    `json:"id"`
    Title     string `json:"title"`
    CreatedAt string `json:"created_at"`
    UpdatedAt string `json:"updated_at"`
    // PublishedDate string     `json:"published_date"`
    VulnType   string     `json:"vuln_type"`
    References References `json:"references"`
    FixedIn    string     `json:"fixed_in"`
}

WpCveInfo is for wpvulndb's json

type WpCveInfos Uses

type WpCveInfos struct {
    ReleaseDate  string `json:"release_date"`
    ChangelogURL string `json:"changelog_url"`
    // Status        string `json:"status"`
    LatestVersion string `json:"latest_version"`
    LastUpdated   string `json:"last_updated"`
    // Popular         bool        `json:"popular"`
    Vulnerabilities []WpCveInfo `json:"vulnerabilities"`
    Error           string      `json:"error"`
}

WpCveInfos is for wpvulndb's json

Package wordpress imports 10 packages (graph) and is imported by 2 packages. Updated 2019-10-05. Refresh now. Tools for package owners.