database

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 1 Imported by: 1

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