grpcvulnerabilities

package
v0.0.0-...-7a08299 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	vulnerabilities.UnimplementedVulnerabilitiesServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(pool *pgxpool.Pool, field *logrus.Entry) *Server

func (*Server) GetVulnerabilitySummary

TODO: if no summaries are found, handle this case by not returning the summary? and maybe handle it in the sql query, right now we return 0 on all fields TLDR: make distinction between no summary found and summary found with 0 values

func (*Server) ListVulnerabilities

TODO: add input validation for request, especially for filter values

func (*Server) ListVulnerabilitySummaries

TODO: do we want image_name and image_tag as filter aswell? must update sql query

Jump to

Keyboard shortcuts

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