vulnerabilities

package
v0.0.0-...-c4fe937 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const V1CVEsExposedClustersTableName = "crc_openshift_insights_vulnerabilities_v1_cves_exposed_clusters"
View Source
const V1CVEsExposedImagesTableName = "crc_openshift_insights_vulnerabilities_v1_cves_exposed_images"
View Source
const V1CVEsTableName = "crc_openshift_insights_vulnerabilities_v1_cves"
View Source
const V1ClusterCVEsTableName = "crc_openshift_insights_vulnerabilities_v1_cluster_cves"
View Source
const V1ClusterExposedImagesTableName = "crc_openshift_insights_vulnerabilities_v1_cluster_exposed_images"
View Source
const V1ClustersTableName = "crc_openshift_insights_vulnerabilities_v1_clusters"

Variables

This section is empty.

Functions

func TableCVEsExposedClustersV1

func TableCVEsExposedClustersV1(_ context.Context) *plugin.Table

func TableCVEsExposedImagesV1

func TableCVEsExposedImagesV1(_ context.Context) *plugin.Table

func TableCVEsV1

func TableCVEsV1(_ context.Context) *plugin.Table

func TableClusterCVEsV1

func TableClusterCVEsV1(_ context.Context) *plugin.Table

func TableClusterExposedImagesV1

func TableClusterExposedImagesV1(_ context.Context) *plugin.Table

func TableClustersV1

func TableClustersV1(_ context.Context) *plugin.Table

Types

type VulnerabilitiesV1ClustersResponse

type VulnerabilitiesV1ClustersResponse struct {
	Data []struct {
		CvesSeverity struct {
			Critical  int `json:"critical"`
			Important int `json:"important"`
			Low       int `json:"low"`
			Moderate  int `json:"moderate"`
		} `json:"cves_severity"`
		DisplayName string `json:"display_name"`
		ID          string `json:"id"`
		LastSeen    string `json:"last_seen"`
		Provider    string `json:"provider"`
		Status      string `json:"status"`
		Type        string `json:"type"`
		Version     string `json:"version"`
	} `json:"data"`
	Meta struct{} `json:"meta"`
}

Jump to

Keyboard shortcuts

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