saas

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureUUIDs

func EnsureUUIDs(servers map[string]config.ServerInfo, path string, scanResults models.ScanResults) (err error)

EnsureUUIDs generate a new UUID of the scan target server if UUID is not assigned yet. And then set the generated UUID to config.toml and scan results.

Types

type TempCredential

type TempCredential struct {
	Credential   *sts.Credentials `json:"Credential"`
	S3Bucket     string           `json:"S3Bucket"`
	S3ResultsDir string           `json:"S3ResultsDir"`
}

TempCredential : TempCredential

type Writer

type Writer struct{}

Writer writes results to SaaS

func (Writer) Write

func (w Writer) Write(rs ...models.ScanResult) error

UploadSaas : UploadSaas

Jump to

Keyboard shortcuts

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