sca

package
v0.0.0-...-0bbb64c Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 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 GetScaChecksResponse

type GetScaChecksResponse struct {
	Error int `json:"error"`
	Data  struct {
		TotalItems int        `json:"totalItems"`
		Items      []ScaCheck `json:"items"`
	} `json:"data"`
}

type GetScaResponse

type GetScaResponse struct {
	Error int `json:"error"`
	Data  struct {
		TotalItems int   `json:"totalItems"`
		Items      []Sca `json:"items"`
	} `json:"data"`
}

type Sca

type Sca struct {
	Score       int    `json:"score"`
	EndScan     string `json:"end_scan"`
	HashFile    string `json:"hash_file"`
	Pass        int    `json:"pass"`
	Fail        int    `json:"fail"`
	References  string `json:"references"`
	StartScan   string `json:"start_scan"`
	PolicyID    string `json:"policy_id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Invalid     int    `json:"invalid"`
	TotalChecks int    `json:"total_checks"`
}

type ScaCheck

type ScaCheck struct {
	Rationale   string `json:"rationale"`
	Remediation string `json:"remediation"`
	File        string `json:"file"`
	Title       string `json:"title"`
	Result      string `json:"result"`
	Description string `json:"description"`
	ID          int    `json:"id"`
	PolicyID    string `json:"policy_id"`
	Rules       []struct {
		Type string `json:"type"`
		Rule string `json:"rule"`
	} `json:"rules"`
}

Jump to

Keyboard shortcuts

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