model

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CISDescriptions

type CISDescriptions struct {
	DescriptionID    string `json:"cisDescriptionRuleID"`
	DescriptionTitle string `json:"cisDescriptionTitle"`
	DescriptionText  string `json:"cisDescriptionText"`
	RationaleText    string `json:"cisRationaleText"`
	BenchmarkName    string `json:"cisBenchmarkName"`
	BenchmarkVersion string `json:"cisBenchmarkVersion"`
}

CISDescriptions - is the model for the description response

type DescriptionRequest

type DescriptionRequest struct {
	DescriptionIDs []string `json:"descriptions"`
	Version        string   `json:"version"`
}

DescriptionRequest - is the model for the description request

type DescriptionResponse

type DescriptionResponse struct {
	ID           string                     `json:"RequestID"`
	Descriptions map[string]CISDescriptions `json:"Descriptions"`
	Timestamp    string                     `json:"Timestamp"`
}

DescriptionResponse - is the model for the description response

type VersionRequest added in v1.4.6

type VersionRequest struct {
	Version string `json:"version"`
}

VersionRequest - is the model for the version request

Jump to

Keyboard shortcuts

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