org

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 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"`
	DefaultAlertEmails   []string `json:"defaultAlertEmails,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         OrgTags    `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"`
	Opentelemetry orgLogging.OpenTelemetryLogging `json:"opentelemetry,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"`
	Opentelemetry orgLogging.OpenTelemetryLogging `json:"opentelemetry,omitempty"`
}

type OrgSpecObservability

type OrgSpecObservability struct {
	LogsRetentionDays    float32  `json:"logsRetentionDays"`
	MetricsRetentionDays float32  `json:"metricsRetentionDays"`
	TracesRetentionDays  float32  `json:"tracesRetentionDays"`
	DefaultAlertEmails   []string `json:"defaultAlertEmails,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"`
	EndpointPrefix string `json:"endpointPrefix,omitempty"`
}

type OrgTags added in v1.0.0

type OrgTags map[string]any

type QuotaOverride

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

type ThreatDetection

type ThreatDetection struct {
	Enabled         bool                           `json:"enabled"`
	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"`
	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