database

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	MSSQLServers      []MSSQLServer
	MariaDBServers    []MariaDBServer
	MySQLServers      []MySQLServer
	PostgreSQLServers []PostgreSQLServer
}

type ExtendedAuditingPolicy

type ExtendedAuditingPolicy struct {
	Metadata        defsecTypes.Metadata
	RetentionInDays defsecTypes.IntValue
}

type FirewallRule

type FirewallRule struct {
	Metadata defsecTypes.Metadata
	StartIP  defsecTypes.StringValue
	EndIP    defsecTypes.StringValue
}

type MSSQLServer

type MSSQLServer struct {
	Metadata defsecTypes.Metadata
	Server
	ExtendedAuditingPolicies []ExtendedAuditingPolicy
	SecurityAlertPolicies    []SecurityAlertPolicy
}

type MariaDBServer

type MariaDBServer struct {
	Metadata defsecTypes.Metadata
	Server
}

type MySQLServer

type MySQLServer struct {
	Metadata defsecTypes.Metadata
	Server
}

type PostgreSQLServer

type PostgreSQLServer struct {
	Metadata defsecTypes.Metadata
	Server
	Config PostgresSQLConfig
}

type PostgresSQLConfig

type PostgresSQLConfig struct {
	Metadata             defsecTypes.Metadata
	LogCheckpoints       defsecTypes.BoolValue
	ConnectionThrottling defsecTypes.BoolValue
	LogConnections       defsecTypes.BoolValue
}

type SecurityAlertPolicy

type SecurityAlertPolicy struct {
	Metadata           defsecTypes.Metadata
	EmailAddresses     []defsecTypes.StringValue
	DisabledAlerts     []defsecTypes.StringValue
	EmailAccountAdmins defsecTypes.BoolValue
}

type Server

type Server struct {
	Metadata                  defsecTypes.Metadata
	EnableSSLEnforcement      defsecTypes.BoolValue
	MinimumTLSVersion         defsecTypes.StringValue
	EnablePublicNetworkAccess defsecTypes.BoolValue
	FirewallRules             []FirewallRule
}

Jump to

Keyboard shortcuts

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