awsmod

package
v0.0.0-...-ca27bde Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsKmsDecrypt

func AwsKmsDecrypt(a string, b string) *kms.DecryptOutput

Types

type DetailType

type DetailType struct {
	ScanStatus            string                    `json:"scan-status"`
	RepositoryName        string                    `json:"repository-name"`
	FindingSeverityCounts FindingSeverityCountsType `json:"finding-severity-counts"`
	ImageDigest           string                    `json:"image-digest"`
	ImageTags             []string                  `json:"image-tags"`
}

type FindingSeverityCountsType

type FindingSeverityCountsType struct {
	Critical      int64 `json:"CRITICAL"`
	High          int64 `json:"HIGH"`
	Medium        int64 `json:"MEDIUM"`
	Low           int64 `json:"LOW"`
	Informational int64 `json:"INFORMATIONAL"`
	Undefined     int64 `json:"UNDEFINED"`
}

type SimpleType

type SimpleType struct {
	Version    string     `json:"version"`
	ID         string     `json:"id"`
	DetailType string     `json:"detail-type"`
	Source     string     `json:"source"`
	Time       string     `json:"time"`
	Region     string     `json:"region"`
	Resources  []string   `json:"resources"`
	Account    string     `json:"account"`
	Detail     DetailType `json:"detail"`
}

Jump to

Keyboard shortcuts

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