vulnerability

package
v0.0.0-...-6af04dd Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package vulnerability implements functions to validate that the fields of vulnerability entities being passed into the API meet our requirements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateNote

func ValidateNote(v *gpb.VulnerabilityNote) []error

ValidateNote validates that a vulnerability note has all its required fields filled in.

func ValidateOccurrence

func ValidateOccurrence(d *gpb.VulnerabilityOccurrence) []error

ValidateOccurrence validates that a vulnerability occurrence has all its required fields filled in.

Types

This section is empty.

Jump to

Keyboard shortcuts

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