saas

package
v0.33.2 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 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   *types.Credentials `json:"Credential"`
	S3Bucket     string             `json:"S3Bucket"`
	S3ResultsDir string             `json:"S3ResultsDir"`
}

TempCredential : TempCredential

type Writer

type Writer struct {
	Cnf        config.SaasConf
	Proxy      string
	TimeoutSec int
}

Writer writes results to SaaS

func (Writer) Write

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

Write :

Jump to

Keyboard shortcuts

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