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)
Click to show internal directories.
Click to hide internal directories.