fugue

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultHost is the default hostname of the Fugue API
	DefaultHost = "api.riskmanager.fugue.co"

	// DefaultBase is the base path of the Fugue API
	DefaultBase = "v0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FugueClient

type FugueClient interface {
	RuleBundleProvider(rootDir string) rego.RegoProvider
	CustomRulesProvider() rego.RegoProvider
	CustomRuleProvider(ruleID string) rego.RegoProvider
	EnvironmentRegulaConfigProvider(environmentID string) rego.RegoProvider
	PostProcessReport(ctx context.Context, configs loader.LoadedConfigurations, environmentID string, report *reporter.RegulaReport) error
	UploadScan(ctx context.Context, environmentId string, scanView reporter.ScanView) error
}

func NewFugueClient

func NewFugueClient() (FugueClient, error)

Jump to

Keyboard shortcuts

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