org

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	DomainAutoMembers []string `json:"domainAutoMembers,omitempty"`
	SamlOnly          bool     `json:"samlOnly,omitempty"`
}

type ObservabilityConfig

type ObservabilityConfig struct {
	LogsRetentionDays    float32  `json:"logsRetentionDays"`
	MetricsRetentionDays float32  `json:"metricsRetentionDays"`
	TracesRetentionDays  float32  `json:"tracesRetentionDays"`
	DefaultAlertEmail    []string `json:"defaultAlertEmail,omitempty"`
}

type Org

type Org struct {
	Id           string     `json:"id,omitempty"`
	Kind         base.Kind  `json:"kind,omitempty"`
	Version      float32    `json:"version"`
	Description  string     `json:"description,omitempty"`
	Tags         base.Tags  `json:"tags,omitempty"`
	Created      string     `json:"created,omitempty"`
	LastModified string     `json:"lastModified,omitempty"`
	Links        base.Links `json:"links,omitempty"`
	Name         string     `json:"name,omitempty"`
	Spec         OrgSpec    `json:"spec,omitempty"`
	Status       OrgStatus  `json:"status,omitempty"`
}

type OrgConfig

type OrgConfig struct {
	AwsPrivateLinks    []string        `json:"awsPrivateLinks,omitempty"`
	GcpServiceConnects []string        `json:"gcpServiceConnects,omitempty"`
	QuotaOverrides     []QuotaOverride `json:"quotaOverrides,omitempty"`
}

type OrgSpec

type OrgSpec struct {
	Logging               OrgSpecLogging        `json:"logging,omitempty"`
	ExtraLogging          []OrgSpecExtraLogging `json:"extraLogging,omitempty"`
	Tracing               tracing.Tracing       `json:"tracing,omitempty"`
	SessionTimeoutSeconds float32               `json:"sessionTimeoutSeconds"`
	AuthConfig            AuthConfig            `json:"authConfig,omitempty"`
	Observability         OrgSpecObservability  `json:"observability,omitempty"`
	Security              OrgSpecSecurity       `json:"security,omitempty"`
}

type OrgSpecExtraLogging

type OrgSpecExtraLogging struct {
	S3          orgLogging.S3Logging          `json:"s3,omitempty"`
	Coralogix   orgLogging.CoralogixLogging   `json:"coralogix,omitempty"`
	Datadog     orgLogging.DatadogLogging     `json:"datadog,omitempty"`
	Logzio      orgLogging.LogzioLogging      `json:"logzio,omitempty"`
	Elastic     orgLogging.ElasticLogging     `json:"elastic,omitempty"`
	CloudWatch  orgLogging.CloudWatchLogging  `json:"cloudWatch,omitempty"`
	Fluentd     orgLogging.FluentdLogging     `json:"fluentd,omitempty"`
	Stackdriver orgLogging.StackdriverLogging `json:"stackdriver,omitempty"`
	Syslog      orgLogging.SyslogLogging      `json:"syslog,omitempty"`
}

type OrgSpecLogging

type OrgSpecLogging struct {
	S3          orgLogging.S3Logging          `json:"s3,omitempty"`
	Coralogix   orgLogging.CoralogixLogging   `json:"coralogix,omitempty"`
	Datadog     orgLogging.DatadogLogging     `json:"datadog,omitempty"`
	Logzio      orgLogging.LogzioLogging      `json:"logzio,omitempty"`
	Elastic     orgLogging.ElasticLogging     `json:"elastic,omitempty"`
	CloudWatch  orgLogging.CloudWatchLogging  `json:"cloudWatch,omitempty"`
	Fluentd     orgLogging.FluentdLogging     `json:"fluentd,omitempty"`
	Stackdriver orgLogging.StackdriverLogging `json:"stackdriver,omitempty"`
	Syslog      orgLogging.SyslogLogging      `json:"syslog,omitempty"`
}

type OrgSpecObservability

type OrgSpecObservability struct {
	LogsRetentionDays    float32  `json:"logsRetentionDays"`
	MetricsRetentionDays float32  `json:"metricsRetentionDays"`
	TracesRetentionDays  float32  `json:"tracesRetentionDays"`
	DefaultAlertEmail    []string `json:"defaultAlertEmail,omitempty"`
}

type OrgSpecSecurity

type OrgSpecSecurity struct {
	ThreatDetection ThreatDetection `json:"threatDetection,omitempty"`
}

type OrgStatus

type OrgStatus struct {
	AccountLink string `json:"accountLink,omitempty"`
	Active      bool   `json:"active,omitempty"`
}

type QuotaOverride

type QuotaOverride struct {
	Name string  `json:"name,omitempty"`
	Max  float32 `json:"max"`
}

type ThreatDetection

type ThreatDetection struct {
	Enabled         bool                           `json:"enabled,omitempty"`
	MinimumSeverity ThreatDetectionMinimumSeverity `json:"minimumSeverity,omitempty"`
	Syslog          ThreatDetectionSyslog          `json:"syslog,omitempty"`
}

type ThreatDetectionMinimumSeverity

type ThreatDetectionMinimumSeverity string
const (
	ThreatDetectionMinimumSeverityWarning  ThreatDetectionMinimumSeverity = "warning"
	ThreatDetectionMinimumSeverityError    ThreatDetectionMinimumSeverity = "error"
	ThreatDetectionMinimumSeverityCritical ThreatDetectionMinimumSeverity = "critical"
)

type ThreatDetectionSyslog

type ThreatDetectionSyslog struct {
	Transport ThreatDetectionSyslogTransport `json:"transport,omitempty"`
	Host      string                         `json:"host,omitempty"`
	Port      float32                        `json:"port"`
}

type ThreatDetectionSyslogTransport

type ThreatDetectionSyslogTransport string
const (
	ThreatDetectionSyslogTransportTcp ThreatDetectionSyslogTransport = "tcp"
	ThreatDetectionSyslogTransportUdp ThreatDetectionSyslogTransport = "udp"
)

Jump to

Keyboard shortcuts

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