model

package
v1.6.8-integrations Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 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 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