types

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KICSFile

type KICSFile struct {
	FileName      string `json:"file_name"`
	SimilarityID  string `json:"similarity_id"`
	Line          int    `json:"line"`
	ResourceType  string `json:"resource_type"`
	ResourceName  string `json:"resource_name"`
	IssueType     string `json:"issue_type"`
	SearchKey     string `json:"search_key"`
	SearchLine    int    `json:"search_line"`
	SearchValue   string `json:"search_value"`
	ExpectedValue string `json:"expected_value"`
	ActualValue   string `json:"actual_value"`
}

KICSFile represents the file section of a kics output.

type KICSOut

type KICSOut struct {
	Queries []KICSQuery `json:"queries"`
}

KICSOut represents the output of a KICS run.

type KICSQuery

type KICSQuery struct {
	QueryName     string     `json:"query_name"`
	QueryID       string     `json:"query_id"`
	QueryURL      string     `json:"query_url"`
	Severity      string     `json:"severity"`
	Platform      string     `json:"platform"`
	CloudProvider string     `json:"cloud_provider"`
	Category      string     `json:"category"`
	Description   string     `json:"description"`
	DescriptionID string     `json:"description_id"`
	Files         []KICSFile `json:"files"`
}

KICSQuery represents a KICS finding.

Jump to

Keyboard shortcuts

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