common

package
v0.0.0-...-775e41a Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: MIT Imports: 0 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Content

type Content struct {
	Plain string `json:"plain"`
	Html  string `json:"html"`
}

type Report

type Report struct {
	RuleData       map[string]interface{} `json:"rule_data"`
	Title          *Content               `json:"title"`
	Summary        *Content               `json:"summary"`
	Description    *Content               `json:"description"`
	Details        *Content               `json:"details"`
	Reference      *Content               `json:"reference"`
	Resolution     *Content               `json:"resolution"`
	Severity       string                 `json:"severity"`
	Category       string                 `json:"category"`
	Impact         int                    `json:"impact"`
	Likelihood     int                    `json:"likelihood"`
	RebootRequired bool                   `json:"reboot_required"`
	Acks           []interface{}          `json:"acks"`
}

type ScanResponse

type ScanResponse struct {
	Version string                 `json:"version"`
	System  *System                `json:"system"`
	Reports map[string]Report      `json:"reports"`
	Upload  map[string]interface{} `json:"upload"`
}

type System

type System struct {
	Hostname string                 `json:"hostname"`
	Metadata map[string]interface{} `json:"metadata"`
}

Jump to

Keyboard shortcuts

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