config

package
v0.0.0-...-a8b8e24 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SERVICE_NAME = "compliance"

Functions

This section is empty.

Types

type Authz

type Authz struct {
	Endpoint string
	HostBind string
	Port     int
}

Authz service specific config options

type CerealConfig

type CerealConfig struct {
	Endpoint string
	Workers  int
}

type DataRetention

type DataRetention struct {
	ComplianceReportDays int32
}

DataRetention describes data retention policies

type Delivery

type Delivery struct {
	Enterprise string
	User       string
	Token      string
	DCToken    string
}

Delivery specific options to authenticate to Automate

type ElasticSearch

type ElasticSearch struct {
	Url         string
	Token       string
	AuthVersion string
	AllowOrigin string
}

ElasticSearch specific options

type ElasticSearchSidecar

type ElasticSearchSidecar struct {
	Address string
}

ElasticSearchSidecar specific options

type EventConfig

type EventConfig struct {
	Endpoint string
}

type InspecAgent

type InspecAgent struct {
	JobBufferSize       int
	JobWorkers          int
	SocketPath          string
	BackendCache        string
	AuthnTarget         string
	AutomateFQDN        string
	TmpDir              string
	RemoteInspecVersion string
	ResultMessageLimit  int
	ControlResultsLimit int
	RunTimeLimit        float32
}

InspecAgent service specific config options

type LatestRebuilder

type LatestRebuilder struct {
	Clean                        bool
	StartFromDateInUtc           string
	DaysBeyondMostRecentScanDate int
	QuickMode                    bool
}

type Manager

type Manager struct {
	Host                       string
	Port                       int
	Endpoint                   string
	ManualPollIntervalMinutes  int
	AwsEc2PollIntervalMinutes  int
	AzureVMPollIntervalMinutes int
}

Manager service specific config options

type Notifications

type Notifications struct {
	Target string
}

type Postgres

type Postgres struct {
	ConnectionString string
	Database         string
	MigrationsPath   string
}

Postgres specific options

type Profiles

type Profiles struct {
	MarketPath   string
	ProfilesPath string
}

Profiles specific options

type ReportConfig

type ReportConfig struct {
	Endpoint string
}

type Secrets

type Secrets struct {
	Endpoint string
	HostBind string
	Port     int
}

Secrets service specific config options

type Service

type Service struct {
	Endpoint   string
	Name       string
	HostBind   string
	Port       int
	LogLevel   string
	ServerBind string
	certs.TLSConfig
	ConfigFilePath          string
	MessageBufferSize       int
	EnableLargeReporting    bool
	LcrOpenSearchRequests   int
	EnableEnhancedReporting bool
	ControlsPopulatorsCount int
	FirejailProfilePath     string
	FireJailExecProfilePath string
}

Service is a base config options struct for all services

Jump to

Keyboard shortcuts

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