database

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

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

func (*Database) GetMetadata added in v0.3.24

func (d *Database) GetMetadata() *types.Metadata

func (*Database) GetRawValue added in v0.3.24

func (d *Database) GetRawValue() interface{}

type ExtendedAuditingPolicy

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

func (*ExtendedAuditingPolicy) GetMetadata added in v0.3.24

func (e *ExtendedAuditingPolicy) GetMetadata() *types.Metadata

func (*ExtendedAuditingPolicy) GetRawValue added in v0.3.24

func (e *ExtendedAuditingPolicy) GetRawValue() interface{}

type FirewallRule

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

func (*FirewallRule) GetMetadata added in v0.3.24

func (f *FirewallRule) GetMetadata() *types.Metadata

func (*FirewallRule) GetRawValue added in v0.3.24

func (f *FirewallRule) GetRawValue() interface{}

type MSSQLServer

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

func (*MSSQLServer) GetMetadata added in v0.3.24

func (m *MSSQLServer) GetMetadata() *types.Metadata

func (*MSSQLServer) GetRawValue added in v0.3.24

func (m *MSSQLServer) GetRawValue() interface{}

type MariaDBServer

type MariaDBServer struct {
	types.Metadata
	Server
}

func (*MariaDBServer) GetMetadata added in v0.3.24

func (m *MariaDBServer) GetMetadata() *types.Metadata

func (*MariaDBServer) GetRawValue added in v0.3.24

func (m *MariaDBServer) GetRawValue() interface{}

type MySQLServer

type MySQLServer struct {
	types.Metadata
	Server
}

func (*MySQLServer) GetMetadata added in v0.3.24

func (m *MySQLServer) GetMetadata() *types.Metadata

func (*MySQLServer) GetRawValue added in v0.3.24

func (m *MySQLServer) GetRawValue() interface{}

type PostgreSQLServer

type PostgreSQLServer struct {
	types.Metadata
	Server
	Config PostgresSQLConfig
}

func (*PostgreSQLServer) GetMetadata added in v0.3.24

func (p *PostgreSQLServer) GetMetadata() *types.Metadata

func (*PostgreSQLServer) GetRawValue added in v0.3.24

func (p *PostgreSQLServer) GetRawValue() interface{}

type PostgresSQLConfig

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

func (*PostgresSQLConfig) GetMetadata added in v0.3.24

func (p *PostgresSQLConfig) GetMetadata() *types.Metadata

func (*PostgresSQLConfig) GetRawValue added in v0.3.24

func (p *PostgresSQLConfig) GetRawValue() interface{}

type SecurityAlertPolicy

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

func (*SecurityAlertPolicy) GetMetadata

func (s *SecurityAlertPolicy) GetMetadata() *types.Metadata

func (*SecurityAlertPolicy) GetRawValue

func (s *SecurityAlertPolicy) GetRawValue() interface{}

type Server

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

func (*Server) GetMetadata

func (s *Server) GetMetadata() *types.Metadata

func (*Server) GetRawValue

func (s *Server) GetRawValue() interface{}

Jump to

Keyboard shortcuts

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