models

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	FilePath    string       `json:"file_path"`
	CheckID     string       `json:"check_id"`
	CheckName   string       `json:"check_name"`
	Resource    string       `json:"resource"`
	Guideline   string       `json:"guideline"`
	CheckResult *CheckResult `json:"check_result"`
}

Check is a struct unmarshalled from a JSON-formatted checkov output

type CheckResult

type CheckResult struct {
	Result          string `json:"result"`
	SuppressComment string `json:"suppress_comment"`
}

CheckResult is a struct unmarshalled from a JSON-formatted checkov output

type CheckovResults

type CheckovResults struct {
	Results *Results `json:"results"`
}

CheckovResults is a struct unmarshalled from a JSON-formatted checkov output

type Results

type Results struct {
	SkippedChecks []*Check `json:"skipped_checks"`
}

Results is a struct unmarshalled from a JSON-formatted checkov output

Jump to

Keyboard shortcuts

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