types

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 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 TfSecLocation

type TfSecLocation struct {
	Filename  string `json:"filename"`
	StartLine int32  `json:"start_line"`
	EndLine   int32  `json:"end_line"`
}

TfSecLocation contains the location of a tfsec finding.

type TfSecOut

type TfSecOut struct {
	Results []TfSecResult
}

TfSecOut represents the output of a tfsec run.

type TfSecResult

type TfSecResult struct {
	RuleID          string        `json:"rule_id"`
	LongID          string        `json:"long_id"`
	RuleDescription string        `json:"rule_description"`
	RuleProvider    string        `json:"rule_provider"`
	RuleService     string        `json:"rule_service"`
	Impact          string        `json:"impact"`
	Resolution      string        `json:"resolution"`
	Links           []string      `json:"links"`
	Description     string        `json:"description"`
	Severity        string        `json:"severity"`
	Warning         bool          `json:"warning"`
	Status          int32         `json:"status"`
	Resource        string        `json:"resource"`
	Location        TfSecLocation `json:"location"`
}

TfSecResult represents a tfsec finding.

Jump to

Keyboard shortcuts

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